/*
Theme Name: preweal
Theme URI: https://p.michael-jung.com
Author: Michael Jung – Webseitenprofi
Author URI: https://michael-jung.com
Description: Custom WordPress Theme für preweal sports GmbH – Schultertrainingsgerät ROTATOR. CI: #214A47 · #F5B000 · #C6D9DC. Font: Wix Madefor. Zweisprachig DE/EN via Polylang.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: Private
Text Domain: preweal
*/

/* ================================================================
   PREWEAL THEME – MAIN STYLESHEET
   CI: Dunkelgrün #214A47 · Gold #F5B000 · Hellblau #C6D9DC
   Font: Wix Madefor Display + Wix Madefor Text
================================================================ */



:root {
  --green:      #214A47;
  --green-dark: #172f2d;
  --green-pale: #e4eef0;
  --gold:       #F5B000;
  --blue:       #C6D9DC;
  --blue-light: #deeaec;
  --off-white:  #f7f7f7;
  --white:      #ffffff;
  --text:       #1a2e2c;
  --text-soft:  #5a7472;
  --max-w:      1200px;

  /* Asymmetrische Radien – Signature-Look */
  --r-left:  0px 8px 8px 0px;   /* rechte Seite abgerundet */
  --r-right: 8px 0px 0px 8px;   /* linke Seite abgerundet  */
  --r-card:  24px;
  --r-sm:    6px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Wix Madefor Text', sans-serif;
  color: var(--text);
  background: var(--off-white);
  overflow-x: hidden;
  line-height: 1.7;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
h1,h2,h3,h4,h5 { font-family: 'Wix Madefor Display', sans-serif; line-height: 1.15; }
h2 { font-size: clamp(1.4rem, 2.08vw, 1.875rem); font-weight: 700; } /* 30px @ 1440px – matches original */
h3 { font-size: 1.15rem; font-weight: 700; }
p { color: var(--text-soft); font-size: 1.125rem; line-height: 1.4; } /* 18px – matches original madefor-text */

/* ─── KICKER BADGES (Asymmetrisch) ─── */
.kicker {
  display: inline-block;
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: 0.75rem; /* HERO-01: was 0.7rem (11.2px) — Wix measured 12px = 0.75rem @ 16px base */
  font-weight: 700;
  letter-spacing: 0.2em; /* HERO-01: was 0.14em (1.568px) — Wix measured 2.4px = 0.2em @ 12px */
  line-height: normal; /* HERO-01: was 19.04px explicit — Wix uses normal */
  text-transform: uppercase;
  color: var(--white);
  background: var(--green);
  padding: 0.35em 0.9em;
  border-radius: var(--r-left);   /* links gerade, rechts rund */
  margin-bottom: 1.25rem;
}
.kicker--inverted {
  color: var(--green);
  background: var(--white);
}
.kicker--dark {
  color: var(--white);
  background: var(--green);
}

/* ─── CONTAINER ─── */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  font-family: 'Wix Madefor Display', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 0.85rem 2rem;
  border-radius: var(--r-left);
  transition: background 0.15s, color 0.15s, transform 0.1s;
  cursor: pointer;
  border: none;
}
.btn--primary { background: var(--gold); color: var(--green); }
.btn--primary:hover { background: #d99e00; transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn--outline:hover { background: rgba(255,255,255,0.1); }

/* ─── SITE HEADER ─── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 86px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-logo img { height: 46px; width: auto; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 2.5rem; }
.main-nav a {
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.15s;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
}
.main-nav a:hover,
.main-nav a.active { color: var(--green); border-bottom-color: var(--green); }
.nav-right { display: flex; align-items: center; gap: 1rem; margin-left: auto; }

/* Language Switcher */
.lang-switcher { display: flex; gap: 0; }
.lang-switcher a {
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.6rem;
  border: 1.5px solid rgba(33,74,71,0.15);
  color: rgba(33,74,71,0.4);
  transition: color 0.15s, background 0.15s;
}
.lang-switcher a:first-child { border-radius: 4px 0 0 4px; border-right: none; }
.lang-switcher a:last-child  { border-radius: 0 4px 4px 0; }
.lang-switcher a:hover,
.lang-switcher a.current { color: var(--white); background: var(--green); border-color: var(--green); }

/* Kontakt Button Nav */
.btn--nav {
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: var(--green);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn--nav:hover { background: var(--green); color: var(--white); border-color: var(--green); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ─── HERO ─── */
/* HERO-04: antialiased font smoothing — matches preweal.com (Wix) on all dark sections */
.hero,
.intro-band,
.section-kontakt {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 200px;
}
.hero__video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,87,51,0.39); /* HERO-02: preweal.com rgb(0,87,51) — 0.60 × 0.65 = 0.39 nach User-Feedback */
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}
.hero__content .kicker {
  margin-bottom: 1rem;
}
.hero__title {
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* 5vw = 72px @ 1440px */
  font-weight: 700;
  color: var(--white);
  letter-spacing: normal; /* HERO-01: was -0.01em — Wix has no tightening (measured 0px) */
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.hero__tagline {
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: clamp(1rem, 1.94vw, 1.75rem); /* 1.94vw = 28px @ 1440px */
  font-weight: 700; /* HERO-01: was 400 — Wix renders with weight 700 on the span */
  letter-spacing: normal; /* HERO-01: was 0.15em — Wix uses NO letter-spacing (measured 0px) */
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero__desc {
  max-width: 700px;
  color: var(--white);
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: clamp(1rem, 1.94vw, 1.75rem); /* 1.94vw = 28px @ 1440px */
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 0;
}
.hero__scroll {
  position: absolute;
  bottom: calc(2.5rem + 50px);
  left: calc(max((100% - 1440px) / 2, 0px) + 90px);
  z-index: 2;
  width: 57px;
  height: 57px;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
  animation: breathe 5s linear infinite;
}
.hero__scroll svg { width: 28px; height: 28px; }
.hero__scroll:hover { color: var(--white); }
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%      { transform: scale(0.85); opacity: 0.6; }
}

/* ─── INTRO BAND ─── */
.intro-band {
  background: var(--green);
  border-radius: 0 0 0 24px; /* nur unten-links abgerundet */
}
.intro-band__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 3rem 1rem;
}
.intro-band p {
  font-family: 'Wix Madefor Text', sans-serif;
  font-size: clamp(0.9rem, 1.42vw, 1.28rem); /* ~20.5px @ 1440px */
  font-weight: 400;
  color: var(--white);
  line-height: 1.4;
  letter-spacing: -0.005em; /* subtle tightening for Google Fonts vs Wix-native */
  max-width: 800px;
}

/* ─── WARUM ─── */
.section-warum {
  background: var(--white);
  padding: 120px 0;
}
.warum__grid {
  display: grid;
  grid-template-columns: 1fr 538px;
  gap: 5rem;
  align-items: center;
}
.warum__video-wrap {
  overflow: hidden;
  border-radius: 0 var(--r-card) 0 0;  /* nur oben-rechts rund */
  line-height: 0;
  background: var(--white);
}
.warum__video-wrap video {
  width: 100%;
  height: auto;
  display: block;
}
.warum__text h2 { color: var(--text); font-weight: 400; margin-bottom: 1.5rem; }
.warum__text p { margin-bottom: 1rem; }
.warum__text p:last-child { margin-bottom: 0; }

/* ─── FUNKTION ─── */
.section-funktion {
  background: var(--blue);
  padding: 160px 0;
}
.funktion__header {
  margin-bottom: 3rem;
}
.funktion__header h2 { color: var(--text); }
.funktion__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 520px 1fr;
  align-items: center;
  min-height: 160px;
  padding: 2rem 2rem;
  border-radius: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
  cursor: default;
}
.feature-row:last-child { border-bottom: none; }
.feature-row:hover {
  background: var(--green);
  border-bottom-color: transparent;
}

.feature-row__left {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.feature-row__icon {
  width: 96px; height: 96px;
  flex-shrink: 0;
  color: var(--text);
  transition: color 0.2s ease;
}
.feature-row__icon svg { width: 100%; height: 100%; }
.feature-row:hover .feature-row__icon { color: var(--white); }

.feature-row__left h3 {
  font-size: 1.75rem; /* 28px */
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  margin: 0;
  transition: color 0.2s ease;
}
.feature-row:hover .feature-row__left h3 { color: var(--white); }

.feature-row__desc {
  padding-left: 3rem;
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--text-soft);
  margin: 0;
  transition: color 0.2s ease;
}
.feature-row:hover .feature-row__desc { color: rgba(255,255,255,0.85); }

/* ─── FÜR WEN ─── */
.section-fuerwen { background: var(--off-white); }
.fuerwen__heading {
  padding: 80px 0 48px;
}
.fuerwen__heading .kicker { margin-bottom: 1.25rem; }
.fuerwen__heading h2 { color: var(--text); margin-bottom: 0; }
.fuerwen__intro {
  padding: 0;
}
.fuerwen__intro-card {
  background: var(--green);
  border-radius: 0 46px 0 0;
  /* left edge aligns with container content at any viewport width */
  margin-left: max(calc((100vw - 1440px) / 2 + 1rem), 1rem);
  padding: 60px 100px 60px 6rem;
}
.fuerwen__intro p {
  color: rgba(255,255,255,0.9);
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: clamp(1rem, 1.46vw, 1.3125rem); /* 21px @ 1440px ≈ Wix-native 24px */
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  max-width: 1100px;
  margin-bottom: 1.5rem;
}
.fuerwen__intro p:last-child { margin-bottom: 0; }

.fuerwen__photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-left: max(calc((100vw - 1440px) / 2 + 1rem), 1rem);
}
.fuerwen__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 13/10;
}
.fuerwen__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.fuerwen__photo:hover img { transform: scale(1.04); }
.fuerwen__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(33,74,71,0.85), transparent);
  color: var(--white);
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.fuerwen__benefits-header {
  padding: 80px 0 60px;
}

.fuerwen__grid6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.fuerwen__grid6-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 480/371;
}
.fuerwen__grid6-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease-in-out;
}
.fuerwen__grid6-photo:hover img { transform: scale(1.04); }

/* Dim overlay for photos with low contrast */
.fuerwen__grid6-photo--dim::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
  transition: opacity 0.4s ease-in-out;
}
.fuerwen__grid6-photo--dim:hover::before { opacity: 0; }

/* Gold overlay */
.fuerwen__grid6-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  z-index: 2;
}
.fuerwen__grid6-photo:hover::after { opacity: 1; }

.fuerwen__grid6-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  z-index: 3;
  pointer-events: none;
}
.grid6-title {
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  text-align: center;
  transition: color 0.4s ease-in-out, text-shadow 0.4s ease-in-out;
}
.fuerwen__grid6-photo:hover .grid6-title {
  color: var(--green);
  text-shadow: none;
}
.grid6-desc {
  font-family: 'Wix Madefor Text', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--green);
  text-align: center;
  padding: 0 2rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}
.fuerwen__grid6-photo:hover .grid6-desc {
  opacity: 1;
  transform: translateY(0);
}

.fuerwen__summary {
  background: var(--blue);
  border-radius: 0 0 0 24px; /* nur unten-links abgerundet — preweal.com original */
  padding: 60px 0;
}
.fuerwen__summary p {
  max-width: 980px;
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: clamp(1rem, 1.667vw, 1.5rem); /* 24px @ 1440px — gemessen auf preweal.com */
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
}

/* ─── TEAM ─── */
.section-team {
  background: var(--white);
  padding: 120px 0;
}
.team__header {
  margin-bottom: 4rem;
}
.team__header h2 { color: var(--text); margin-bottom: 1.25rem; }
.team__header p {
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: 1.125rem; /* 18px – same as original madefor-display */
  line-height: 1.6;
  margin-bottom: 1rem;
}
.team__header p:last-child { margin-bottom: 0; }
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem; /* 20px – matches original */
}
.team__member {}
.team__photo-wrap {
  overflow: hidden;
  margin-bottom: 1.25rem;
  border-radius: var(--r-card);
  background: var(--off-white);
}
.team__photo-wrap img {
  width: 100%;
  aspect-ratio: 13/15; /* 390:450px = original proportions */
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}
.team__member:hover .team__photo-wrap img { transform: scale(1.03); }
.team__member h3 { font-size: 1.375rem; color: var(--text); margin-bottom: 0.2rem; } /* 22px = Wix-native 22px */
.team__role {
  display: block;
  font-size: 1rem; /* 16px = Wix-native madefor-text 16px */
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.4rem;
}
.team__mail {
  font-size: 0.85rem;
  color: var(--green);
  transition: color 0.15s;
}
.team__mail:hover { color: var(--gold); }

/* ─── KONTAKT ─── */
.section-kontakt {
  background: var(--green);
  padding: 100px 0 60px;
}
.kontakt__card {
  background: var(--blue);
  border-radius: 32px;
  padding: 4rem 4.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.kontakt__left .kicker { margin-bottom: 1rem; }
.kontakt__left h2 {
  color: rgba(33,74,71,0.75);
  font-size: clamp(2rem, 3.33vw, 3rem); /* 48px @ 1440px */
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.kontakt__left > p { color: var(--text); font-weight: 400; font-size: 1.125rem; margin-bottom: 2rem; }
.kontakt__info { display: flex; flex-direction: column; gap: 1rem; }
.kontakt__info-item { display: flex; flex-direction: column; gap: 0.2rem; }
.ki-label {
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.kontakt__info-item span,
.kontakt__info-item a {
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.15s;
}
.kontakt__info-item a:hover { color: var(--green); }

/* ─── CONTACT FORM 7 in Kontakt-Card ─── */
.wpcf7 { margin-top: 0; }
.wpcf7 br { display: none; }
.cf7-row p {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0;
}
.wpcf7 label,
.cf7-label {
  display: flex;
  flex-direction: column;
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-bottom: 0; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(33,74,71,0.15);
  border-radius: var(--r-sm);
  background: rgba(198,217,220,0.25);
  color: var(--text);
  font-family: 'Wix Madefor Text', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.15s;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--green);
}
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder { color: rgba(33,74,71,0.35); }
.wpcf7 textarea { min-height: 120px; resize: vertical; }
.wpcf7 input[type="submit"] {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 0.9rem 2.5rem;
  border-radius: var(--r-left);
  font-family: 'Wix Madefor Display', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 0.5rem;
}
.wpcf7 input[type="submit"]:hover { background: var(--green-dark, #172f2d); }
.wpcf7 .wpcf7-response-output {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  border: 1px solid rgba(33,74,71,0.2);
  color: var(--text);
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--green-dark);
}
.footer__main-wrap {
  background: var(--green);
}

/* Main section */
.footer__main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem 5rem 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.footer__col--logo { display: flex; align-items: flex-start; }
.footer__logo-link { display: inline-block; }
.footer__logo-link img,
.footer__logo-link svg {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 1;
}
.footer__heading {
  font-family: 'Wix Madefor Display', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.footer__col p {
  font-family: 'Wix Madefor Text', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
}
.footer__col p a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.15s;
}
.footer__col p a:hover { color: #ffffff; }
.footer__col p:has(a[href^="mailto"]) a { text-decoration: underline; }

/* Bottom bar */
.footer__bar {
  border-top: 1px solid rgba(255,255,255,0.25);
}
.footer__bar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.25rem 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__legal { display: flex; gap: 2rem; }
.footer__legal a {
  font-family: 'Wix Madefor Text', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.15s;
}
.footer__legal a:hover { color: #ffffff; }
.footer__copy {
  font-family: 'Wix Madefor Text', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
}

/* --- COOKIE BANNER (DSGVO) --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--green-dark);
  color: rgba(255,255,255,0.9);
  font-family: 'Wix Madefor Text', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cookie-banner__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.25rem 5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
}
.cookie-banner__text { flex: 1; }
.cookie-banner__text a {
  color: var(--gold);
  text-decoration: underline;
  margin-left: 0.25rem;
}
.cookie-banner__text a:hover { color: #ffffff; }
.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.cookie-banner__settings {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 0.6rem 1.5rem;
  border-radius: var(--r-left);
  font-family: 'Wix Madefor Display', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.cookie-banner__settings:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.08);
}
.cookie-banner__accept {
  background: var(--green);
  color: #ffffff;
  border: 1.5px solid var(--green);
  padding: 0.6rem 1.5rem;
  border-radius: var(--r-left);
  font-family: 'Wix Madefor Display', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-banner__accept:hover { background: #2a5e5a; }
.cookie-banner__close {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  transition: color 0.15s;
}
.cookie-banner__close:hover { color: #ffffff; }

/* ─── WORDPRESS ADMIN BAR ─── */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .warum__grid { gap: 3.5rem; }
  .kontakt__card { padding: 3rem; gap: 2.5rem; }
  .hero__scroll { left: 1rem; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 86px; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid rgba(0,0,0,0.07);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    padding: 0.5rem 0;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid rgba(0,0,0,0.05); }
  .main-nav a { display: block; padding: 0.9rem 2.5rem; }

  .warum__grid,
  .kontakt__card { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; min-height: auto; padding: 1.5rem 1rem; min-width: 0; overflow: hidden; }
  .feature-row__left { min-width: 0; }
  .feature-row__left h3 { min-width: 0; overflow-wrap: break-word; }
  .feature-row__desc { padding-left: 0; padding-top: 0.75rem; min-width: 0; overflow-wrap: break-word; }
  .fuerwen__photos { grid-template-columns: repeat(2, 1fr); }
  .fuerwen__photos .fuerwen__photo:nth-child(3),
  .fuerwen__photos .fuerwen__photo:nth-child(4) { display: none; }
  .team__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .kontakt__card { border-radius: 16px; padding: 2.5rem; }
  .cookie-banner__inner { padding: 1rem 2rem; }
}

@media (max-width: 640px) {
  .container { padding: 0 1.25rem; }
  .section-warum,
  .section-funktion,
  .section-team { padding: 80px 0; }
  .fuerwen__intro { padding: 0; }
  .fuerwen__intro-card { padding: 40px 1.25rem; border-radius: 0; }
  .fuerwen__photos { grid-template-columns: 1fr 1fr; }
  .fuerwen__photos .fuerwen__photo:nth-child(3),
  .fuerwen__photos .fuerwen__photo:nth-child(4) { display: block; }
  .team__grid { grid-template-columns: 1fr; max-width: 360px; }
  .kontakt__card { padding: 2rem 1.5rem; }
  .footer__main { grid-template-columns: 1fr; padding: 2.5rem 1.5rem 2rem; gap: 2rem; }
  .footer__bar-inner { padding: 1rem 1.5rem; flex-direction: column; gap: 0.75rem; text-align: center; }
  .footer__legal { justify-content: center; }
  /* 390/375px overflow guard — feature-row h3 reduced to prevent grid blowout */
  .feature-row__left h3 { font-size: clamp(1.1rem, 4.5vw, 1.75rem); }
  .cookie-banner__inner { padding: 1rem 1.25rem; flex-direction: column; align-items: stretch; gap: 1rem; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__settings,
  .cookie-banner__accept { flex: 1; text-align: center; justify-content: center; }
  .cookie-banner__close { top: 0.35rem; right: 0.5rem; }
}

/* ─── 404 PAGE ─── */
.section-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 86px);
  padding: 6rem 1.5rem;
  background: var(--off-white);
}
.error404__inner {
  text-align: center;
  max-width: 540px;
}
.error404__number {
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
}
.error404__heading {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}
.error404__text {
  font-size: 1.125rem;
  color: var(--text-soft);
  margin-bottom: 2.5rem;
}
.error404__btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: 'Wix Madefor Display', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.875rem 2.25rem;
  border-radius: var(--r-left);
  text-decoration: none;
  transition: background 0.2s;
}
.error404__btn:hover { background: var(--green-dark); }

/* ─── STATIC PAGES (Datenschutz, Impressum, AGB, etc.) ───────── */
.page-content {
  padding: 8rem 1.5rem 4rem;
  max-width: 860px;
  margin: 0 auto;
  color: var(--text);
}
.page-content__inner h1 {
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--green);
  margin-bottom: 2rem;
}
.page-content__inner h2 {
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--green);
  margin: 2rem 0 0.5rem;
}
.page-content__inner p {
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

/* MR-2 Badge – unten rechts, bündig mit Textunterkante */
.hero__badge {
  position: absolute;
  bottom: 200px;
  right: 1.5rem;
  width: 234px;
  height: auto;
  z-index: 10;
  pointer-events: none;
}
@media (max-width: 600px) {
  .hero__badge {
    width: 143px;
    right: 1rem;
  }
}

/* Cloudflare Turnstile */
.cf7-cf-turnstile {
  display: flex;
  justify-content: flex-start;
  margin-bottom: -8px !important;
}
.cf7-cf-turnstile .cf-turnstile {
  margin-left: 0 !important;
}
