/* =============================================
   PASTABIENE – main.css
   Design-System: Barlow Condensed + Orange
============================================= */
:root {
  --gruen:      #1e3a1e;
  --gruen-mid:  #2d5a27;
  --orange:     #FEAE02;
  --orange-hov: #c98a00;
  --creme:      #faf8f4;
  --hell:       #f4f1eb;
  --text:       #1a1a1a;
  --text-mid:   #4a4a4a;
  --text-hell:  #7a7a6a;
  --weiss:      #ffffff;
  --radius:     3px;
  --font-head:  'Barlow Condensed', Impact, sans-serif;
  --font-body:  'Barlow', system-ui, sans-serif;
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 40px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--weiss); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

h1 { font-family: var(--font-head); font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.01em; text-transform: uppercase; }
h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 4.5vw, 3.6rem); font-weight: 800; line-height: 1.05; letter-spacing: 0.02em; text-transform: uppercase; }
h3 { font-family: var(--font-head); font-size: clamp(1.1rem, 2.2vw, 1.6rem); font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
p  { font-family: var(--font-body); line-height: 1.7; color: var(--text-mid); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; border: none; text-align: center;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-orange { background: var(--orange); color: var(--gruen); font-weight: 800; box-shadow: 0 4px 20px rgba(254,174,2,0.35); }
.btn-orange:hover { background: var(--orange-hov); color: var(--gruen); box-shadow: 0 8px 32px rgba(254,174,2,0.5); }
.btn-gruen  { background: var(--gruen); color: var(--weiss); }
.btn-gruen:hover { background: #152a15; color: var(--weiss); }
.btn-white  { background: var(--weiss); color: var(--gruen); font-weight: 800; }
.btn-white:hover { background: var(--creme); color: var(--gruen); transform: translateY(-2px); }
.btn-outline-w { background: transparent; color: var(--weiss); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline-w:hover { background: rgba(255,255,255,0.1); border-color: var(--weiss); color: var(--weiss); }
.btn-outline-d { background: transparent; color: var(--gruen); border: 2px solid var(--gruen); }
.btn-outline-d:hover { background: var(--gruen); color: var(--weiss); }
.btn-outline-o { background: transparent; color: var(--orange); border: 2px solid var(--orange); }
.btn-outline-o:hover { background: var(--orange); color: var(--gruen); }

/* ── Container ── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
section { padding: 100px 0; }

/* ── Helpers ── */
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: 0.82rem;
  font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.divider-o { width: 48px; height: 3px; background: var(--orange); margin: 16px 0 32px; border-radius: 2px; }
.divider-w { width: 48px; height: 3px; background: var(--weiss); margin: 16px 0 32px; border-radius: 2px; opacity: 0.4; }

/* ── Page-Hero Unterseiten ── */
.page-hero {
  background: var(--gruen); padding: 140px 0 72px;
  position: relative; overflow: hidden;
  background-size: cover; background-position: center;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(30,58,30,0.92) 0%, rgba(30,58,30,0.7) 60%, rgba(30,58,30,0.4) 100%);
  z-index: 0;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1     { color: var(--weiss); margin-bottom: 16px; }
.page-hero p.lead { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 560px; line-height: 1.7; }
.page-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,0.4); font-size: 0.82rem; margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: rgba(255,255,255,0.7); }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--weiss); border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo-wrap { display: flex; align-items: center; transition: opacity 0.2s; }
.nav-logo-wrap:hover { opacity: 0.8; }
.nav-logo { height: 40px; width: auto; display: block; }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a {
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gruen);
  transition: color 0.2s; position: relative; padding-bottom: 3px; white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--orange); transform: scaleX(0);
  transition: transform 0.22s; border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 8px; padding: 10px 24px; font-size: 0.88rem; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--gruen); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--weiss); border-top: 1px solid rgba(0,0,0,0.08);
  padding: 20px 32px 28px; z-index: 999; flex-direction: column; gap: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--gruen);
  padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,0.06); transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .btn { text-align: center; margin-top: 16px; }

/* ── Footer ── */
footer { background: var(--gruen); color: rgba(255,255,255,0.65); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo-wrap { display: inline-block; background: #f5f0e8; border-radius: 4px; padding: 6px 12px; margin-bottom: 16px; }
.footer-logo     { height: 34px; width: auto; display: block; }
.footer-tagline  { font-size: 0.875rem; line-height: 1.7; }
.footer-social   { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.footer-social a:hover { background: var(--orange); }
.footer-social svg { width: 15px; height: 15px; fill: rgba(255,255,255,0.8); }
.footer-social a:hover svg { fill: var(--weiss); }
.footer-col h4 { font-family: var(--font-head); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--weiss); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a, .footer-col ul span { color: rgba(255,255,255,0.6); font-size: 0.875rem; display: block; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--orange); }

/* ── WhatsApp Float ── */
.wa {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  display: flex; align-items: center; gap: 10px;
  background: #25d366; color: var(--weiss);
  padding: 13px 20px 13px 14px; border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(37,211,102,0.55); color: var(--weiss); }
.wa svg { width: 20px; height: 20px; fill: var(--weiss); flex-shrink: 0; }

/* ── Formular ── */
.f { margin-bottom: 18px; }
.f label { display: block; font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; color: var(--gruen); margin-bottom: 7px; letter-spacing: 0.1em; text-transform: uppercase; }
.f input, .f textarea, .f select {
  width: 100%; padding: 13px 16px; border: 1.5px solid #ddd; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text);
  background: var(--weiss); transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.f input:focus, .f textarea:focus, .f select:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(254,174,2,0.1);
}
.f textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.f .hint { font-size: 0.75rem; color: var(--text-hell); margin-top: 5px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.btn-send {
  width: 100%; padding: 15px; font-size: 1rem; font-weight: 700;
  background: var(--orange); color: var(--weiss); border: none; border-radius: var(--radius);
  cursor: pointer; font-family: var(--font-head); letter-spacing: 0.08em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(254,174,2,0.3);
}
.btn-send:hover { background: var(--orange-hov); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(254,174,2,0.4); }
.btn-send svg { width: 18px; height: 18px; fill: currentColor; }
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.9rem; line-height: 1.6; }
.a-ok  { background: rgba(30,58,30,0.07); border: 1.5px solid var(--gruen); color: var(--gruen); }
.a-err { background: rgba(192,57,43,0.07); border: 1.5px solid #c0392b; color: #7b241c; }
.a-err ul { margin: 6px 0 0 18px; }
.char-count { font-size: 0.75rem; color: var(--text-hell); text-align: right; margin-top: 4px; }
.privacy { font-size: 0.75rem; color: var(--text-hell); margin-top: 12px; text-align: center; line-height: 1.6; }
.privacy a { color: var(--orange); }

/* ── CTA-Band ── */
.cta-band { background: var(--orange); padding: 80px 0; text-align: center; }
.cta-band h2 { color: var(--weiss); margin-bottom: 14px; }
.cta-band p  { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── USP-Band ── */
.usp-band { background: var(--gruen); padding: 16px 24px; }
.usp-band-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-around; gap: 16px; flex-wrap: wrap; }
.usp-item { display: flex; align-items: center; gap: 10px; color: var(--weiss); font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

/* ── Datenschutz / Impressum ── */
.ds h2, .imp h2 { font-size: 1.1rem; margin: 32px 0 10px; color: var(--gruen); border-bottom: 2px solid var(--orange); padding-bottom: 8px; font-family: var(--font-body); font-weight: 700; text-transform: none; letter-spacing: 0; }
.ds h3, .imp h3 { font-size: 0.95rem; margin: 18px 0 6px; font-family: var(--font-body); font-weight: 700; color: var(--text); text-transform: none; letter-spacing: 0; }
.ds p, .imp p { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 10px; line-height: 1.8; }
.ds ul, .imp ul { padding-left: 20px; margin-bottom: 10px; }
.ds ul li, .imp ul li { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 5px; line-height: 1.7; }
.ds a, .imp a { color: var(--orange); }

/* ── Animationen ── */
.sr { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.sr.on { opacity: 1; transform: none; }
.sr-d1 { transition-delay: 0.1s; }
.sr-d2 { transition-delay: 0.2s; }
.sr-d3 { transition-delay: 0.3s; }
.sr-d4 { transition-delay: 0.4s; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  section { padding: 64px 0; }
  .page-hero { padding: 120px 0 56px; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
}
@media (max-width: 450px) {
  .footer-grid { grid-template-columns: 1fr; }
  .wa span { display: none; }
  .wa { padding: 13px; }
}
