:root {
  --bg:     #f7f5f0;
  --bg-2:   #efece5;
  --bg-3:   #e8e4db;
  --teal:   #4a6a8a;
  --cyan:   #5d80a0;
  --grad:   linear-gradient(90deg, #4a6a8a, #5d80a0);
  --text:   #2c2e38;
  --dim:    #8a8c96;
  --border: rgba(74,106,138,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", -apple-system, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  padding: 0 5%; height: 66px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo-img {
  height: 44px; width: auto; display: block;
  filter: sepia(0.4) hue-rotate(180deg) saturate(0.9) brightness(1.1);
}
nav ul { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
nav ul a {
  color: var(--dim); font-size: 0.85rem; font-weight: 500;
  text-decoration: none; letter-spacing: 0.5px; transition: color 0.2s;
}
nav ul a:hover, nav ul a.active { color: var(--teal); font-weight: 600; }
.nav-cta {
  background: var(--teal); color: #ffffff !important;
  padding: 0.6rem 1.4rem; font-weight: 700 !important;
  font-size: 0.85rem !important; border-radius: 4px; transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.88; }
.nav-outline {
  background: transparent; color: var(--teal) !important;
  padding: 0.6rem 1.4rem; font-weight: 700 !important;
  font-size: 0.85rem !important; border-radius: 4px;
  border: 1px solid var(--teal); transition: background 0.2s, color 0.2s;
}
.nav-outline:hover { background: var(--teal); color: #ffffff !important; }

/* Hamburger */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.4rem; flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.nav-mobile {
  display: none;
  position: fixed; top: 66px; left: 0; right: 0; bottom: 0;
  background: #ffffff; z-index: 99;
  flex-direction: column; padding: 2rem 5%;
  border-top: 1px solid var(--border);
  gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--text); font-size: 1.1rem; font-weight: 500;
  text-decoration: none; padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--teal); }
.nav-mobile .nav-cta {
  margin-top: 1.5rem; text-align: center;
  border-radius: 4px; border-bottom: none;
}
.nav-mobile .nav-outline {
  margin-top: 1.5rem; text-align: center;
  border: 1px solid var(--teal); border-radius: 4px;
  color: var(--teal);
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--teal); color: #ffffff;
  padding: 0.9rem 1.8rem; border-radius: 4px;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  transition: opacity 0.2s; display: inline-flex; align-items: center; gap: 0.5rem;
  border: none; cursor: pointer; font-family: "DM Sans", sans-serif;
}
.btn-primary:hover { opacity: 0.88; }
.btn-secondary {
  background: transparent; color: var(--teal);
  padding: 0.9rem 1.8rem; border-radius: 4px;
  font-weight: 500; font-size: 0.9rem; text-decoration: none;
  border: 1px solid var(--border); transition: border-color 0.2s, color 0.2s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-secondary:hover { border-color: var(--teal); }

/* ── SECTIONS ── */
.sec { padding: 5rem 5%; }
.sec-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sec-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.5rem;
}
.sec-title {
  font-family: "Bebas Neue", cursive;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: 2px; color: #1a1c26; line-height: 1; margin-bottom: 0.6rem;
}
.sec-title span {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sec-sub { color: var(--dim); font-size: 0.92rem; line-height: 1.75; max-width: 560px; }
.sec-sub a { color: var(--teal); text-decoration: none; font-weight: 600; }
.sec-sub a:hover { text-decoration: underline; }

/* ── PAGE HERO (Unterseiten) ── */
.page-hero {
  padding: 4rem 5% 3rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  border-left: 4px solid var(--teal);
}
.page-hero-inner { padding-left: 2rem; }
.breadcrumb { font-size: 0.75rem; color: var(--dim); margin-bottom: 0.8rem; }
.breadcrumb a { color: var(--teal); text-decoration: none; }
.page-hero h1 {
  font-family: "Bebas Neue", cursive;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  letter-spacing: 2px; color: #1a1c26; line-height: 1; margin-bottom: 0.8rem;
}
.page-hero h1 span {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p { color: var(--dim); font-size: 1rem; line-height: 1.75; max-width: 580px; }

/* ── CTA BAND ── */
.cta-band {
  padding: 4rem 5%; text-align: center;
  background: linear-gradient(135deg, #3a546e 0%, #4a6a8a 60%, #5d80a0 100%);
}
.cta-band h2 {
  font-family: "Bebas Neue", cursive;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 3px; color: #ffffff; line-height: 1; margin-bottom: 0.6rem;
}
.cta-band h2 span { color: #ffe566; -webkit-text-fill-color: #ffe566; }
.cta-band p { color: rgba(255,255,255,0.8); font-size: 0.95rem; max-width: 440px; margin: 0 auto 2rem; line-height: 1.75; }
.cta-phone {
  font-family: "Bebas Neue", cursive;
  font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: 3px;
  color: #ffe566; -webkit-text-fill-color: #ffe566; background: none;
  text-decoration: none; display: inline-block; margin-bottom: 0.4rem; transition: opacity 0.2s;
}
.cta-phone:hover { opacity: 0.8; }
.cta-hours {
  font-size: 0.7rem; color: rgba(255,255,255,0.6); letter-spacing: 2px;
  text-transform: uppercase; font-weight: 600; margin-bottom: 1.8rem;
}
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary { background: #ffffff; color: #3a546e; }
.cta-band .btn-primary:hover { background: var(--bg); opacity: 1; }
.cta-band .btn-secondary { color: #ffffff; border-color: rgba(255,255,255,0.4); }
.cta-band .btn-secondary:hover { border-color: #ffffff; }

/* ── KONTAKTFORMULAR (geteilt, auf jeder Seite) ── */
.contact-cta { padding: 4.5rem 5%; background: linear-gradient(135deg, #3a546e 0%, #4a6a8a 60%, #5d80a0 100%); }
.contact-cta-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact-cta-text .sec-label { color: rgba(255,255,255,0.7); }
.contact-cta-text h2 { font-family: "Bebas Neue", cursive; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: 2.5px; color: #ffffff; line-height: 1; margin-bottom: 1rem; }
.contact-cta-text h2 span { color: #ffe566; -webkit-text-fill-color: #ffe566; }
.contact-cta-text p { color: rgba(255,255,255,0.85); font-size: 1rem; line-height: 1.7; max-width: 420px; }
.contact-cta-text p a { color: #ffe566; text-decoration: none; font-weight: 600; }
.contact-cta-text p a:hover { text-decoration: underline; }

.form-box { background: #ffffff; border: 1px solid var(--border); border-top: 2px solid var(--teal); padding: 2.5rem; }
.form-title { font-family: "Bebas Neue", cursive; font-size: 1.2rem; letter-spacing: 2px; color: #1a1c26; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.78rem; font-weight: 700; color: var(--dim); letter-spacing: 0.5px; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg); border: 1px solid var(--border);
  padding: 0.75rem 1rem; font-family: "DM Sans", sans-serif;
  font-size: 0.9rem; color: var(--text); border-radius: 3px;
  transition: border-color 0.2s; outline: none; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.75rem; color: var(--dim); margin-bottom: 1.2rem; line-height: 1.6; }
.form-note a { color: var(--teal); text-decoration: none; }
.form-note a:hover { text-decoration: underline; }

/* Honeypot: für Menschen unsichtbar, nur Bots füllen das Feld aus (Formspree wertet _gotcha serverseitig aus) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 1rem; font-size: 0.85rem; line-height: 1.5; display: none; padding: 0.9rem 1.1rem; border-radius: 3px; }
.form-status.success { display: block; color: #1a7f5a; background: #e9f7f1; border: 1px solid #bfe6d6; }
.form-status.error { display: block; color: #c0392b; background: #fcebea; border: 1px solid #f5c6c2; }

@media (max-width: 900px) {
  .contact-cta-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
footer {
  background: #ffffff; border-top: 1px solid var(--border);
  padding: 1.6rem 5%;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo { height: 34px; width: auto; filter: sepia(0.4) hue-rotate(180deg) saturate(0.9) brightness(1.1); }
.footer-copy { font-size: 0.75rem; color: var(--dim); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.75rem; color: var(--dim); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav ul { display: none; }
  .nav-toggle { display: flex; }
  .sec { padding: 3.5rem 5%; }
  .page-hero { padding: 3rem 5% 2rem; }
  .page-hero-inner { padding-left: 1rem; }
}
