/* ==========================================================================
   WISSMANN INNOVATION – Stylesheet
   Farben:  Petrol #033744 | Hellgrün #84D1BF | Orange #E55838 | Hellorange/Creme #F2E5DD
   Schrift: Poppins (lokal eingebunden, siehe Block "Webfont" unten)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Webfont: Poppins – lokal eingebunden (DSGVO: keine Verbindung zu Google Fonts)
   Bitte Poppins (SIL Open Font License – kostenlos, auch kommerziell nutzbar)
   als WOFF2 in /fonts/ ablegen. Siehe README.txt für Download-Hinweise.
   Bis dahin greift automatisch eine hochwertige System-Schrift als Ersatz.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-light.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-medium.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-semibold.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-bold.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   Design Tokens
   -------------------------------------------------------------------------- */
:root{
  --c-petrol: #033744;
  --c-petrol-soft: #0f5468;
  --c-petrol-tint: #e7eef0;
  --c-green: #84D1BF;
  --c-green-tint: #eaf6f2;
  --c-orange: #E55838;
  --c-orange-dark: #c8462a;
  --c-cream: #F2E5DD;
  --c-white: #ffffff;
  --c-text: #2d4147;
  --c-text-soft: #5e7177;

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1180px;
  --boxed: 1440px;
  --gutter: 32px;
  --radius: 18px;
  --radius-sm: 10px;
  --section-py: clamp(60px, 8vw, 116px);
  --ease: 0.25s cubic-bezier(.4,0,.2,1);
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
}
img, svg{ max-width: 100%; display: block; }
a{ color: var(--c-petrol); text-decoration: none; }
ul, ol{ margin: 0; padding: 0; }
button{ font-family: inherit; cursor: pointer; }
h1, h2, h3, h4{
  font-family: var(--font);
  color: var(--c-petrol);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h1{ font-size: clamp(2.3rem, 4.6vw, 3.5rem); font-weight: 600; letter-spacing: -0.01em; }
h2{ font-size: clamp(1.8rem, 3.4vw, 2.5rem); letter-spacing: -0.01em; }
h3{ font-size: clamp(1.2rem, 2vw, 1.4rem); }
p{ margin: 0 0 1em; }
p.lead{ font-size: 1.15rem; color: var(--c-text-soft); }
strong{ color: var(--c-petrol); font-weight: 600; }

::selection{ background: var(--c-green); color: var(--c-petrol); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 3px solid var(--c-green);
  outline-offset: 2px;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: auto;
  background: var(--c-petrol);
  color: var(--c-cream);
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus{ left: 0; top: 0; }

/* --------------------------------------------------------------------------
   Boxed Layout
   Desktop: Inhalt sitzt in einer zentrierten "Box" auf hellem Hintergrund.
   Mobil:   volle Breite.
   -------------------------------------------------------------------------- */
.site{
  max-width: var(--boxed);
  margin: 0 auto;
  background: var(--c-white);
  box-shadow: 0 0 80px rgba(3,55,68,0.06);
}
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section{ padding: var(--section-py) 0; }
.section--tight{ padding: clamp(40px,5vw,72px) 0; }
.section--cream{ background: var(--c-cream); }
.section--petrol{ background: var(--c-petrol); color: var(--c-cream); }
.section--petrol h2, .section--petrol h3{ color: var(--c-white); }
.section--petrol p{ color: rgba(242,229,221,0.86); }
.section--petrol strong{ color: var(--c-green); }
.section--green-tint{ background: var(--c-green-tint); }

/* Eyebrow / Kicker */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 18px;
}
.eyebrow::before{
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--c-orange);
}
.section--petrol .eyebrow{ color: var(--c-green); }
.section--petrol .eyebrow::before{ background: var(--c-green); }

.section-head{ max-width: 700px; margin: 0 0 56px; }
.section-head.center{ margin-inline: auto; text-align: center; }
.section-head p.lead{ margin-top: 14px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
}
.btn svg{ width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--ease); }
.btn:hover svg{ transform: translateX(3px); }

.btn-primary{ background: var(--c-orange); color: var(--c-white); border-color: var(--c-orange); }
.btn-primary:hover{ background: var(--c-orange-dark); border-color: var(--c-orange-dark); box-shadow: 0 10px 24px -10px rgba(229,88,56,0.6); }

.btn-outline{ background: transparent; color: var(--c-petrol); border-color: var(--c-petrol); }
.btn-outline:hover{ background: var(--c-petrol); color: var(--c-white); }

.btn-light{ background: var(--c-cream); color: var(--c-petrol); border-color: var(--c-cream); }
.btn-light:hover{ background: var(--c-green); border-color: var(--c-green); }

.btn-ghost-light{ background: transparent; color: var(--c-cream); border-color: rgba(242,229,221,0.4); }
.btn-ghost-light:hover{ background: rgba(242,229,221,0.12); border-color: var(--c-cream); }

.btn-row{ display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(3,55,68,0.08);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  gap: 24px;
}
.logo{ display: flex; align-items: center; gap: 12px; }
.logo-icon{ width: 44px; height: 44px; flex-shrink: 0; }
.logo-text{ display: flex; flex-direction: column; line-height: 1.25; }
.logo-text .word{ font-size: 1.05rem; font-weight: 700; letter-spacing: 0.16em; color: var(--c-petrol); }
.logo-text .sub{ font-size: 0.74rem; font-weight: 400; letter-spacing: 0.08em; color: var(--c-text-soft); }

.main-nav ul{ display: flex; align-items: center; gap: 38px; list-style: none; }
.main-nav a{
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--c-petrol);
  padding: 6px 0;
  position: relative;
}
.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--c-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.main-nav a:hover::after,
.main-nav a.is-active::after{ transform: scaleX(1); }
.main-nav a.is-active{ color: var(--c-orange); }

.main-nav .nav-cta{
  background: var(--c-petrol);
  color: var(--c-white);
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 600;
}
.main-nav .nav-cta::after{ display: none; }
.main-nav .nav-cta:hover{ background: var(--c-orange); }

.nav-toggle{
  display: none;
  width: 44px; height: 44px;
  border: none;
  background: none;
  position: relative;
  z-index: 210;
}
.nav-toggle span{
  display: block;
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--c-petrol);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease), top var(--ease);
}
.nav-toggle span:nth-child(1){ top: 15px; }
.nav-toggle span:nth-child(2){ top: 21px; }
.nav-toggle span:nth-child(3){ top: 27px; }
body.nav-open .nav-toggle span:nth-child(1){ top: 21px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3){ top: 21px; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero{ padding: clamp(56px,7vw,100px) 0 var(--section-py); }
.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px,5vw,72px);
  align-items: center;
}
.hero h1{ margin-bottom: 22px; }
.hero p.lead{ max-width: 48ch; }
.hero .btn-row{ margin-top: 36px; }

.media{ position: relative; }
.media::before{
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  background: var(--c-green);
  border-radius: var(--radius);
  z-index: 0;
}
.media .frame{
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-cream);
}
.media .frame img{ width: 100%; height: 100%; object-fit: cover; }
.media.accent-orange::before{ background: var(--c-orange); }
.media.accent-petrol::before{ background: var(--c-petrol); }

/* Duotone-Vorbereitung fuer echte Fotos:
   <div class="media"><div class="frame duotone"><img ...></div></div>
   Sobald echte Fotos eingesetzt werden, sorgt .duotone fuer einen
   einheitlichen Bild-Look passend zur Farbwelt. */
.frame.duotone img{ filter: grayscale(1) contrast(1.05) brightness(1.03); }
.frame.duotone::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, var(--c-petrol) 0%, var(--c-green) 100%);
  mix-blend-mode: color;
  opacity: 0.85;
  pointer-events: none;
}
.frame{ position: relative; }

/* --------------------------------------------------------------------------
   Service / numbered cards (Startseite – Meine Unterstuetzung)
   -------------------------------------------------------------------------- */
.service-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}
.service-card{
  background: var(--c-cream);
  border-radius: var(--radius);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
}
.service-card .num{
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-green);
  margin-bottom: 18px;
}
.service-card h3{ margin-bottom: 12px; }
.service-card p{ color: var(--c-text-soft); font-size: 0.97rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Split section (Bild + Text) – Ueber-mich Teaser etc.
   -------------------------------------------------------------------------- */
.split{
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(40px,6vw,80px);
  align-items: center;
}
.split.reverse{ grid-template-columns: 1.14fr 0.86fr; }
.split.reverse .media{ order: 2; }
.split .content .eyebrow{ margin-bottom: 14px; }

/* Pull-Quote (z. B. "Mein Ansatz") */
.pull-quote{
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 500;
  color: var(--c-petrol);
  border-left: 3px solid var(--c-green);
  padding-left: 22px;
  margin: 0 0 1.4em;
}
.pull-quote::before{ content: "\201E"; }
.pull-quote::after{ content: "\201C"; }

/* --------------------------------------------------------------------------
   Werte / Value cards
   -------------------------------------------------------------------------- */
.values-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.value-card .icon{
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--c-green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.value-card .icon svg{ width: 26px; height: 26px; stroke: var(--c-petrol); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.value-card h3{ margin-bottom: 10px; }
.value-card p{ color: var(--c-text-soft); font-size: 0.96rem; margin-bottom: 0; }
.section--petrol .value-card .icon{ background: rgba(132,209,191,0.18); }
.section--petrol .value-card .icon svg{ stroke: var(--c-green); }
.section--petrol .value-card p{ color: rgba(242,229,221,0.82); }

/* --------------------------------------------------------------------------
   CTA Kontakt-Band
   -------------------------------------------------------------------------- */
.cta-band{
  background: var(--c-petrol);
  border-radius: var(--radius);
  padding: clamp(40px,5vw,72px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px,5vw,64px);
  align-items: center;
}
.cta-band h2, .cta-band p{ color: var(--c-cream); }
.cta-band p{ color: rgba(242,229,221,0.85); }
.cta-band .media{ order: 2; }
.cta-band .media::before{ background: var(--c-green); }

/* --------------------------------------------------------------------------
   Leistungen – Detail-Bloecke
   -------------------------------------------------------------------------- */
.service-block{ padding: clamp(48px,6vw,88px) 0; border-top: 1px solid rgba(3,55,68,0.08); }
.service-block:first-of-type{ border-top: none; }
.service-block .block-head{ max-width: 760px; margin-bottom: 44px; }
.service-block .block-head .index{
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--c-orange);
  margin-bottom: 14px;
}
.subblocks{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.subblocks.single{ grid-template-columns: 1fr; max-width: 760px; }
.subcard{
  background: var(--c-cream);
  border-radius: var(--radius);
  padding: 34px 32px;
}
.subcard h4{ font-size: 1.15rem; color: var(--c-petrol); margin-bottom: 14px; }
.subcard p{ color: var(--c-text-soft); font-size: 0.97rem; }
.subcard ul{ margin: 14px 0 18px; }
.subcard li{
  list-style: none;
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 0.96rem;
  color: var(--c-text-soft);
}
.subcard li::before{
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--c-green);
}
.subcard .label{
  display: block;
  font-weight: 600;
  color: var(--c-petrol);
  margin: 18px 0 8px;
  font-size: 0.95rem;
}
.subcard p:last-child{ margin-bottom: 0; }

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-list{ border-top: 1px solid rgba(3,55,68,0.12); max-width: 820px; }
.faq-item{ border-bottom: 1px solid rgba(3,55,68,0.12); }
.faq-question{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: none;
  border: none;
  text-align: left;
  padding: 26px 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--c-petrol);
}
.faq-question .icon{
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--c-cream);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: background var(--ease);
}
.faq-question .icon::before, .faq-question .icon::after{
  content: "";
  position: absolute;
  background: var(--c-petrol);
  transition: transform var(--ease), opacity var(--ease);
}
.faq-question .icon::before{ width: 12px; height: 2px; }
.faq-question .icon::after{ width: 2px; height: 12px; }
.faq-item.is-open .faq-question .icon{ background: var(--c-orange); }
.faq-item.is-open .faq-question .icon::before, .faq-item.is-open .faq-question .icon::after{ background: var(--c-white); }
.faq-item.is-open .faq-question .icon::after{ transform: rotate(90deg); opacity: 0; }
.faq-answer{
  height: 0;
  overflow: hidden;
  transition: height var(--ease);
}
.faq-answer-inner{ padding: 0 0 26px; max-width: 70ch; color: var(--c-text-soft); }
.faq-answer-inner p{ margin: 0; }

/* --------------------------------------------------------------------------
   Themen-Slider (Ueber mich)
   -------------------------------------------------------------------------- */
.themen-wrap{ position: relative; }

.themen-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.themen-tab{
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-petrol);
  background: var(--c-white);
  border: 1px solid rgba(3,55,68,0.14);
  border-radius: 999px;
  padding: 10px 20px;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.themen-tab:hover{ border-color: var(--c-petrol); }
.themen-tab.is-active{ background: var(--c-petrol); color: var(--c-cream); border-color: var(--c-petrol); }

.themen-viewport{
  overflow: hidden;
  border-radius: var(--radius);
}
.themen-track{
  display: flex;
  transition: transform 0.45s var(--ease);
}
.themen-card{
  flex: 0 0 100%;
  background: var(--c-white);
  border: 1px solid rgba(3,55,68,0.1);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.themen-card .icon{
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-green-tint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.themen-card .icon svg{ width: 26px; height: 26px; stroke: var(--c-petrol); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.themen-card .tag{
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-petrol);
  background: var(--c-green);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.themen-card h3{ margin-bottom: 12px; }
.themen-card p{ color: var(--c-text-soft); font-size: 0.96rem; margin-bottom: 0; max-width: 62ch; }

.themen-nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}
.themen-arrow{
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(3,55,68,0.14);
  background: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-petrol);
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.themen-arrow:hover{ background: var(--c-petrol); color: var(--c-cream); border-color: var(--c-petrol); }
.themen-arrow svg{ width: 16px; height: 16px; }
.themen-dots{ display: flex; gap: 8px; }
.themen-dot{
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(3,55,68,0.16);
  transition: background var(--ease), transform var(--ease);
}
.themen-dot.is-active{ background: var(--c-orange); transform: scale(1.15); }

@media (prefers-reduced-motion: reduce){
  .themen-track{ transition: none; }
  .themen-dot{ transition: none; }
}

/* --------------------------------------------------------------------------
   Kontaktformular
   -------------------------------------------------------------------------- */
.contact-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px,6vw,72px);
  align-items: start;
}
.contact-info .info-item{ margin-bottom: 28px; }
.contact-info .info-item h3{ font-size: 1rem; margin-bottom: 6px; }
.contact-info .info-item p{ color: var(--c-text-soft); margin-bottom: 0; }
.contact-info .info-item a{ color: var(--c-petrol); font-weight: 500; }
.contact-info .info-item a:hover{ color: var(--c-orange); }

.form-card{
  background: var(--c-cream);
  border-radius: var(--radius);
  padding: clamp(28px,4vw,48px);
}
.form-row{ margin-bottom: 22px; }
.form-row label{
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--c-petrol);
  margin-bottom: 8px;
}
.form-row label .req{ color: var(--c-orange); }
.form-row input,
.form-row textarea{
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(3,55,68,0.16);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.97rem;
  color: var(--c-petrol);
  background: var(--c-white);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-row input::placeholder, .form-row textarea::placeholder{ color: #9fb0b4; }
.form-row input:focus, .form-row textarea:focus{
  outline: none;
  border-color: var(--c-green);
  box-shadow: 0 0 0 4px rgba(132,209,191,0.25);
}
.form-row textarea{ resize: vertical; min-height: 140px; }

.form-consent{ display: flex; gap: 12px; align-items: flex-start; margin-bottom: 26px; }
.form-consent input{ margin-top: 5px; width: 18px; height: 18px; accent-color: var(--c-petrol); flex-shrink: 0; }
.form-consent label{ font-size: 0.92rem; color: var(--c-text-soft); font-weight: 400; }
.form-consent label a{ color: var(--c-petrol); text-decoration: underline; }

.hp-field{ position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }

.form-message{
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  font-weight: 500;
}
.form-message.success{ background: var(--c-green-tint); color: var(--c-petrol); border: 1px solid var(--c-green); }
.form-message.error{ background: #fbe9e5; color: var(--c-orange-dark); border: 1px solid var(--c-orange); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer{ background: var(--c-petrol); color: var(--c-cream); padding: clamp(56px,7vw,88px) 0 28px; }
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(242,229,221,0.14);
}
.footer-brand .logo-text .word{ color: var(--c-cream); }
.footer-brand .logo-text .sub{ color: rgba(242,229,221,0.6); }
.footer-brand p{ color: rgba(242,229,221,0.7); margin-top: 18px; max-width: 32ch; font-size: 0.95rem; }
.footer-col h4{ color: var(--c-cream); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.footer-col ul{ list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a{ color: rgba(242,229,221,0.78); font-size: 0.96rem; }
.footer-col a:hover{ color: var(--c-green); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(242,229,221,0.55);
}
.footer-bottom a{ color: rgba(242,229,221,0.55); }
.footer-bottom a:hover{ color: var(--c-green); }

/* --------------------------------------------------------------------------
   Seitenkopf (Unterseiten)
   -------------------------------------------------------------------------- */
.page-header{ padding: clamp(48px,6vw,80px) 0 0; }
.page-header .section-head{ margin-bottom: 0; }
.page-header h1{ margin-bottom: 18px; }

/* --------------------------------------------------------------------------
   Rechtstexte (Impressum / Datenschutz)
   -------------------------------------------------------------------------- */
.legal{ max-width: 760px; }
.legal h2{ font-size: 1.35rem; margin-top: 2.2em; }
.legal h2:first-of-type{ margin-top: 1.2em; }
.legal h3{ font-size: 1.05rem; margin-top: 1.6em; color: var(--c-petrol); }
.legal p, .legal li{ color: var(--c-text-soft); }
.legal ul{ padding-left: 22px; margin: 0 0 1em; }
.legal li{ margin-bottom: 6px; }
.legal a{ color: var(--c-petrol); text-decoration: underline; }
.legal a:hover{ color: var(--c-orange); }

/* --------------------------------------------------------------------------
   Scroll reveal (dezent)
   -------------------------------------------------------------------------- */
.reveal{ opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
  html{ scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px){
  .site{ max-width: 100%; box-shadow: none; }
}

@media (max-width: 980px){
  :root{ --gutter: 24px; }

  /* backdrop-filter auf .site-header erzeugt einen "containing block" fuer
     position:fixed-Kindelemente. Dadurch wuerde .main-nav (mobil fixed)
     relativ zur ~78px hohen Header-Leiste statt zum Viewport positioniert
     und auf nahezu 0px Hoehe zusammenschrumpfen -> Menue oeffnet sich
     optisch nicht / zeigt keine Einträge. Daher hier deaktivieren. */
  .site-header{ backdrop-filter: none; -webkit-backdrop-filter: none; }

  .main-nav{
    position: fixed;
    inset: 0;
    top: 78px;
    background: var(--c-white);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
    overflow-y: auto;
  }
  body.nav-open .main-nav{ opacity: 1; transform: translateY(0); visibility: visible; }
  .main-nav ul{ flex-direction: column; align-items: flex-start; gap: 8px; padding: 32px var(--gutter) 40px; }
  .main-nav a{ font-size: 1.3rem; padding: 14px 0; width: 100%; }
  .main-nav a::after{ display: none; }
  .main-nav .nav-cta{ margin-top: 12px; text-align: center; justify-content: center; width: 100%; }
  .nav-toggle{ display: block; }

  .hero-grid, .split, .split.reverse, .cta-band, .contact-grid{
    grid-template-columns: 1fr;
  }
  .split .media, .split.reverse .media, .cta-band .media{ order: -1; }
  .service-grid, .values-grid{ grid-template-columns: repeat(2, 1fr); }
  .subblocks{ grid-template-columns: 1fr; }
  .media::before{ inset: 12px -12px -12px 12px; }
}

@media (max-width: 640px){
  :root{ --section-py: 56px; --radius: 14px; }
  .service-grid, .values-grid{ grid-template-columns: 1fr; }
  .btn{ width: 100%; justify-content: center; }
  .btn-row{ flex-direction: column; }
  .cta-band, .form-card, .subcard, .service-card, .themen-card{ padding: 28px 22px; }
  .footer-grid{ grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
  h1{ font-size: 2rem; }
}
