/* =========================================================
   KURTA Fenster- und Gebäudereinigung – Stylesheet
   Läuft auch auf älteren iPhones (Safari ab iOS 12):
   kein "inset", kein "aspect-ratio", kein Flexbox-"gap".
   ========================================================= */

/* ---------- Schriften (lokal, kein Google-Server) ---------- */
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Farben & Grundwerte ---------- */
:root {
  --primary: #25834F;       /* Hauptgrün (Buttons, Überschriften) – abgeleitet vom Logo-Grün #2F9B62 */
  --primary-hover: #1D6B40;
  --accent: #2F9B62;        /* Logo-Grün */
  --tint: #E7F8EA;          /* zartes Grün */
  --blue: #2F76A1;          /* Blau für Text (Labels, Links) */
  --blue-soft: #E8F2F8;
  --blue-logo: #2CA5D8;
  --soft: #F5F8F5;          /* heller Abschnittshintergrund */
  --border: #E1E6E2;
  --text: #2B2F2C;
  --muted: #5A5C5B;
  --placeholder: #A7ACA8;
  --white: #FFFFFF;

  --font-head: "Outfit", "Avenir Next", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --radius: 16px;
  --radius-btn: 10px;
  --header-h: 72px;
  --container: 1180px;
}
@media (min-width: 1080px) { :root { --header-h: 92px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--primary); }

h1, h2, h3 {
  margin: 0 0 .5em;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--primary);
}
h2 { font-size: 32px; font-size: clamp(32px, 2.6vw + 18px, 46px); }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 1000;
  padding: 10px 16px;
  background: var(--primary); color: #fff;
  border-radius: var(--radius-btn);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: -webkit-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
@media (hover: hover) { .btn:hover { -webkit-transform: translateY(-1px); transform: translateY(-1px); } }
.btn .ic { width: 18px; height: 18px; flex-shrink: 0; }
.btn .ic-l { margin-right: 10px; }
.btn .ic-r { margin-left: 10px; }
.btn-lg { min-height: 54px; padding: 14px 24px; font-size: 17px; }
.btn-small { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.btn-block { display: flex; width: 100%; }
.btn-pill { border-radius: 999px; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-white { background: #fff; color: var(--primary); border-color: var(--border); }
.btn-white:hover { background: var(--tint); color: var(--primary); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; margin: -6px; }
.btn-row > * { margin: 6px; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
}
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
  .site-header {
    background: rgba(255,255,255,.86);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    backdrop-filter: saturate(160%) blur(10px);
  }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand { display: block; flex-shrink: 0; padding: 4px 0; margin-right: 16px; }
.brand img { height: 52px; width: auto; }
@media (min-width: 1080px) { .brand img { height: 70px; } }

.nav-toggle {
  display: block;
  width: 48px; height: 48px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-btn);
}
.nav-toggle-bar {
  display: block;
  width: 26px; height: 2px;
  margin: 6px auto;
  border-radius: 2px;
  background: var(--text);
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { -webkit-transform: translateY(8px) rotate(45deg); transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(4) { -webkit-transform: translateY(-8px) rotate(-45deg); transform: translateY(-8px) rotate(-45deg); }

.main-nav ul { margin: 0; padding: 0; list-style: none; }
.main-nav a:not(.btn) {
  display: block;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
}
.main-nav a:not(.btn):hover { color: var(--primary); background: var(--soft); }

/* Handy & Tablet: Menü klappt unter dem Header auf */
@media (max-width: 1079px) {
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(0,0,0,.08);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { padding: 10px 20px 22px; }
  .main-nav a:not(.btn) { padding: 13px 10px; font-size: 18px; border-bottom: 1px solid var(--soft); }
  .main-nav .nav-cta { margin-top: 14px; }
  .main-nav .btn { width: 100%; min-height: 50px; font-size: 16px; }
}
/* Desktop: Menü in einer Zeile */
@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .main-nav ul { display: flex; align-items: center; }
  .main-nav li { margin-left: 4px; }
  .main-nav a:not(.btn) { padding: 10px 12px; font-size: 16px; }
  .main-nav .nav-cta { margin-left: 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-top: var(--header-h);
  overflow: hidden;
  background: #15241A;
  color: #fff;
}
@media (min-width: 1080px) { .hero { min-height: 680px; } }
.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 62% center;
}
.hero-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    linear-gradient(180deg, rgba(12,30,18,.22) 0%, rgba(12,30,18,.18) 45%, rgba(12,30,18,.55) 100%),
    linear-gradient(90deg, rgba(12,30,18,.62) 0%, rgba(12,30,18,.38) 60%, rgba(12,30,18,.18) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  padding-top: 36px;
  padding-bottom: 20px;
}
.hero-content { max-width: 780px; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  margin: 0 0 22px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
}
.hero-eyebrow .dot {
  width: 10px; height: 10px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  -webkit-animation: dotPulse 2.6s ease-in-out infinite;
  animation: dotPulse 2.6s ease-in-out infinite;
}
@-webkit-keyframes dotPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(47,155,98,.55); } 50% { box-shadow: 0 0 0 6px rgba(47,155,98,0); } }
@keyframes dotPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(47,155,98,.55); -webkit-transform: scale(1); transform: scale(1); } 50% { box-shadow: 0 0 0 6px rgba(47,155,98,0); -webkit-transform: scale(1.12); transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .hero-eyebrow .dot { -webkit-animation: none !important; animation: none !important; } }
.hero h1 {
  margin-bottom: 22px;
  font-size: 40px;
  font-size: clamp(36px, 10.2vw, 84px);
  line-height: 1.04;
  color: #fff;
  -webkit-hyphens: manual;
  hyphens: manual;
}
.hero-lead {
  max-width: 34em;
  margin-bottom: 32px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.9);
}
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; }
.hero-actions .btn { margin-bottom: 12px; font-weight: 500; }
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.3);
}
.hero-google {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}
@media (hover: hover) { .hero-google:hover { color: #fff; text-decoration: underline; } }
.hero-google .ic { width: 18px; height: 18px; margin-left: 10px; }
.g-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  margin-right: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  line-height: 1;
}
.g-badge-lg { width: 56px; height: 56px; font-size: 26px; margin: 0 0 16px; border: 1px solid var(--border); }
.hero-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-right: -10px;
  color: #fff;
  border-radius: 50%;
}
.hero-scroll:hover { color: #fff; background: rgba(255,255,255,.1); }
.hero-scroll svg { width: 26px; height: 26px; }

@media (max-width: 359px) {
  .hero-actions .btn { font-size: 15px; padding: 12px 16px; }
  .hero-actions .btn .ic-r { margin-left: 8px; }
}
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { margin: 0 12px 12px 0; }
  .hero-lead { font-size: 21px; }
}
@media (min-width: 1080px) {
  .hero-inner { padding-top: 80px; padding-bottom: 28px; }
  .hero-bottom { margin-top: auto; }
  .hero-content { margin-bottom: 48px; }
  .hero-eyebrow { font-size: 16px; }
  .hero-lead { font-size: 23px; }
}

/* ---------- Abschnitte ---------- */
.section { padding: 68px 0; }
@media (min-width: 900px) { .section { padding: 100px 0; } }
.section-soft { background: var(--soft); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 18px; }
@media (min-width: 900px) { .section-head { margin-bottom: 48px; } }
.label {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.lead { font-size: 19px; color: var(--text); }

/* ---------- Icon-Box ---------- */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--primary);
}
.icon-box svg { width: 26px; height: 26px; }
.icon-box.blue { background: var(--tint); color: var(--primary); }  /* alle Icons grün */

/* ---------- Leistungen ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 16px;
  margin: 0; padding: 0;
  list-style: none;
}
@media (min-width: 680px) { .cards { grid-template-columns: 1fr 1fr; grid-gap: 20px; } }
@media (min-width: 1000px) { .cards { grid-template-columns: 1fr 1fr 1fr; grid-gap: 24px; } }
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: var(--accent); -webkit-transform: translateY(-3px); transform: translateY(-3px); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card-cta { background: var(--primary); border-color: var(--primary); justify-content: center; }
.card-cta:hover { border-color: var(--primary); }
.card-cta h3 { color: #fff; }
.card-cta p { color: rgba(255,255,255,.88); margin-bottom: 20px; }

/* ---------- Vorher & Nachher ---------- */
.ba-figure { margin: 0; max-width: 1040px; }
.ba {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  height: 0;
  padding-bottom: 75%;            /* 4:3 – ohne aspect-ratio, damit es auch auf alten iPhones klappt */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--soft);
  cursor: ew-resize;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 900px) { .ba { padding-bottom: 56.25%; } }  /* 16:9 am Desktop */
.ba-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}
.ba-before {
  -webkit-clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-chip {
  position: absolute;
  top: 18px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 10px;
  background: #fff;
  color: var(--primary);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: opacity .2s;
}
.ba-chip-before { left: 18px; }
.ba-chip-after { right: 18px; }
.ba.pos-low .ba-chip-before, .ba.pos-high .ba-chip-after { opacity: 0; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  left: var(--pos);
  z-index: 3;
  width: 2px;
  margin-left: -1px;
  background: var(--primary);
  pointer-events: none;
}
.ba-knob {
  position: absolute;
  top: 50%; left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  transition: transform .2s;
}
.ba-knob svg { width: 22px; height: 22px; }
.ba.is-dragging .ba-knob { -webkit-transform: scale(1.08); transform: scale(1.08); }
.ba-range {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.ba.has-focus .ba-knob { outline: 3px solid var(--blue); outline-offset: 3px; }
.ba-hint { margin-top: 14px; font-size: 15px; color: var(--muted); }
@media (min-width: 900px) { .ba-knob { width: 56px; height: 56px; margin: -28px 0 0 -28px; } }

/* ---------- Warum KURTA ---------- */
.features { display: grid; grid-template-columns: 1fr; grid-gap: 16px; }
@media (min-width: 900px) { .features { grid-template-columns: 1fr 1fr 1fr; grid-gap: 24px; } }
.feature {
  padding: 28px 24px;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Ablauf ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 16px;
  margin: 0; padding: 0;
  list-style: none;
}
@media (min-width: 900px) { .steps { grid-template-columns: 1fr 1fr 1fr; grid-gap: 24px; } }
.step {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-number {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Bewertungen ---------- */
.reviews-consent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 720px;
  padding: 32px 26px;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.reviews-consent h3 { margin-bottom: 8px; }
.reviews-consent p { color: var(--muted); font-size: 16px; }
.reviews-consent .btn { margin: 4px 0 14px; }
.reviews-consent .small { margin: 0; font-size: 14px; }

.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.reviews-summary > * { margin: 0 14px 6px 0; }
.rating-value { font-family: var(--font-head); font-size: 40px; font-weight: 700; color: var(--primary); line-height: 1; }
.rating-count { color: var(--muted); }
.stars { display: inline-block; color: #E9A916; font-size: 18px; letter-spacing: 2px; line-height: 1; white-space: nowrap; }
.stars .off { color: #D5DAD6; }
.reviews-list {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 16px;
  margin: 0; padding: 0;
  list-style: none;
}
@media (min-width: 700px) { .reviews-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .reviews-list { grid-template-columns: 1fr 1fr 1fr; grid-gap: 24px; } }
.review {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.review-head { display: flex; align-items: center; margin-bottom: 12px; }
.review-avatar {
  width: 44px; height: 44px;
  margin-right: 12px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: var(--tint);
}
.review-avatar-fallback { display: flex; align-items: center; justify-content: center; color: var(--primary); font-weight: 700; }
.review-name { display: block; font-weight: 600; color: var(--text); line-height: 1.3; }
.review-name a { color: inherit; text-decoration: none; }
.review-name a:hover { text-decoration: underline; }
.review-time { font-size: 14px; color: var(--muted); }
.review-text {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review.is-expanded .review-text { -webkit-line-clamp: unset; display: block; }
.review-more {
  align-self: flex-start;
  margin-top: 8px;
  padding: 4px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
}
.reviews-attribution { margin-top: 16px; font-size: 14px; color: var(--muted); }
.reviews-message { color: var(--muted); margin: 0; }
.reviews-links { display: flex; flex-wrap: wrap; margin: 22px -6px -6px; }
.reviews-links .btn { margin: 6px; }

/* ---------- Einsatzgebiet ---------- */
.split { display: grid; grid-template-columns: 1fr; grid-gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; grid-gap: 64px; } }
.split p:last-child { margin-bottom: 0; }
.split-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.split-media img { width: 100%; }

/* ---------- Über mich ---------- */
.about { display: grid; grid-template-columns: 1fr; grid-gap: 32px; align-items: center; }
@media (min-width: 860px) { .about { grid-template-columns: 5fr 7fr; grid-gap: 64px; } }
.about-media { max-width: 420px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.about-media img { width: 100%; }
.about-text p { color: var(--muted); }
.about-sign { margin-top: 4px; font-weight: 700; color: var(--primary) !important; }
.about-sign span { display: block; font-weight: 400; font-size: 15px; color: var(--muted); }
.about-text .btn { margin-top: 6px; }

/* ---------- CTA-Banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background: var(--primary);
  color: #fff;
}
.cta-banner::after {
  content: "";
  position: absolute;
  right: -70px; bottom: -90px;
  width: 360px; height: 360px;
  background: url("../img/logo-k.png") center / contain no-repeat;
  opacity: .09;
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-text { max-width: 640px; margin-bottom: 26px; }
.cta-banner h2 { color: #fff; margin-bottom: .3em; }
.cta-banner p { margin: 0; font-size: 18px; color: rgba(255,255,255,.88); }
@media (min-width: 900px) {
  .cta-banner { padding: 80px 0; }
  .cta-inner { display: flex; align-items: center; justify-content: space-between; }
  .cta-text { margin: 0 32px 0 0; }
  .cta-inner .btn-row { flex-wrap: nowrap; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details {
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .2s;
}
.faq details[open] { border-color: var(--accent); }
.faq summary {
  position: relative;
  display: block;
  padding: 20px 60px 20px 20px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.35;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px; top: 50%;
  width: 10px; height: 10px;
  margin-top: -8px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transition: transform .25s;
}
.faq details[open] summary::after { margin-top: -3px; -webkit-transform: rotate(-135deg); transform: rotate(-135deg); }
.faq .faq-answer { padding: 0 20px 20px; color: var(--muted); font-size: 16px; }
.faq .faq-answer p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .faq summary { padding: 24px 64px 24px 26px; font-size: 19px; }
  .faq .faq-answer { padding: 0 26px 24px; }
}

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr; grid-gap: 20px; align-items: start; }
@media (min-width: 940px) { .contact { grid-template-columns: 5fr 7fr; grid-gap: 32px; } }
.contact-info {
  padding: 30px 24px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
}
.contact-info h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.contact-info > p { color: rgba(255,255,255,.85); }
.contact-list { margin: 24px 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: flex-start; margin-bottom: 18px; }
.ci-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  margin-right: 14px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
}
.ci-icon svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: 13px; color: rgba(255,255,255,.72); }
.contact-list a, .contact-list .value { color: #fff; font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; color: #fff; }
.contact-info .btn-block + .btn-block { margin-top: 12px; }

.contact-form {
  padding: 30px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
@media (min-width: 600px) { .contact-info, .contact-form { padding: 38px 34px; } }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15px; }
.req { color: #B3261E; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1.5px solid #CBD2CD;
  border-radius: var(--radius-btn);
  font: inherit;
  font-size: 16px;                 /* 16px verhindert Auto-Zoom auf dem iPhone */
  color: var(--text);
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-row textarea { min-height: 150px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42,90,60,.18);
}
.form-row [aria-invalid="true"] { border-color: #B3261E; }
.form-hint { display: block; margin-top: 5px; font-size: 14px; color: var(--muted); }
.form-error { display: block; margin-top: 5px; font-size: 14px; font-weight: 600; color: #B3261E; }
.form-error:empty { display: none; }
.checkbox-row { display: flex; align-items: flex-start; }
.checkbox-row input { width: 22px; height: 22px; margin: 2px 12px 0 0; flex-shrink: 0; accent-color: var(--primary); }
.checkbox-row label { margin: 0; font-weight: 400; font-size: 15px; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; border-radius: var(--radius-btn); font-weight: 600; }
.form-status.success { padding: 14px 16px; background: var(--tint); color: var(--primary); }
.form-status.error { padding: 14px 16px; background: #FDECEA; color: #8C1D18; }
.form-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- Footer (hell, damit das Logo ohne Hintergrund gut sichtbar ist) ---------- */
.site-footer {
  padding: 56px 0 28px;
  background: var(--soft);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 16px;
}
.footer-grid { display: grid; grid-template-columns: 1fr; grid-gap: 32px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; grid-gap: 40px; } }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { width: 170px; height: auto; }
.footer-brand p { margin: 0; }
.footer-title {
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--primary);
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--primary); text-decoration: underline; }
.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.link-button:hover { color: var(--primary); text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.footer-bottom > span { margin: 0 16px 6px 0; }

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 500;
  max-width: 520px;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 26px 22px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(0,0,0,.2);
}
@media (min-width: 600px) { .cookie-banner { left: 20px; bottom: 20px; right: auto; padding: 30px 28px 26px; } }
.cookie-banner h2 { margin-bottom: 10px; font-size: 24px; }
.cookie-banner h2:focus { outline: none; }
.cookie-banner p { margin-bottom: 18px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.cookie-banner p a { color: var(--muted); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 10px; }
.cookie-actions .btn { min-height: 46px; padding: 10px 14px; font-size: 16px; }
.cookie-actions .cookie-accept { grid-column: 1 / -1; justify-self: start; padding: 10px 26px; }
@media (min-width: 600px) { .cookie-actions .cookie-accept { justify-self: stretch; } }
.cookie-settings { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.cookie-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.cookie-option:last-child { border-bottom: 1px solid var(--border); }
.cookie-option > div { padding-right: 16px; }
.cookie-option strong { display: block; color: var(--text); font-size: 16px; }
.cookie-option .desc { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; }
.switch { position: relative; flex-shrink: 0; width: 50px; height: 28px; margin-top: 2px; }
.switch input { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch input:disabled { cursor: not-allowed; }
.switch .slider { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 999px; background: #C9D0CB; transition: background .2s; }
.switch .slider::before {
  content: "";
  position: absolute; left: 3px; top: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform .2s;
}
.switch input:checked + .slider { background: var(--primary); }
.switch input:checked + .slider::before { -webkit-transform: translateX(22px); transform: translateX(22px); }
.switch input:disabled + .slider { opacity: .55; }
.switch input:focus + .slider { box-shadow: 0 0 0 3px rgba(47,118,161,.35); }

/* ---------- Einblenden beim Scrollen ---------- */
.js [data-reveal] {
  opacity: 0;
  -webkit-transform: translateY(26px);
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js [data-reveal].is-visible { opacity: 1; -webkit-transform: none; transform: none; }
.js .hero-anim {
  opacity: 0;
  -webkit-animation: heroIn .8s cubic-bezier(.2,.7,.2,1) forwards;
  animation: heroIn .8s cubic-bezier(.2,.7,.2,1) forwards;
  -webkit-animation-delay: calc(var(--d, 0) * 120ms + 80ms);
  animation-delay: calc(var(--d, 0) * 120ms + 80ms);
}
@-webkit-keyframes heroIn { from { opacity: 0; -webkit-transform: translateY(18px); } to { opacity: 1; -webkit-transform: none; } }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .hero-anim { opacity: 1 !important; -webkit-transform: none !important; transform: none !important; }
}

/* ---------- Rechtliche Unterseiten ---------- */
.legal { padding: calc(var(--header-h) + 48px) 0 80px; }
.legal .container { max-width: 860px; }
.legal h1 { font-size: 34px; font-size: clamp(32px, 4vw, 46px); }
.legal h2 { font-size: 24px; margin-top: 2em; }
.legal h3 { font-size: 19px; margin-top: 1.5em; color: var(--text); }
.legal p, .legal li, .legal address { color: var(--muted); }
.legal address { font-style: normal; margin-bottom: 1em; }
.legal ul { padding-left: 1.3em; }
.legal-notice {
  margin: 0 0 36px;
  padding: 18px 20px;
  background: #FFF6D6;
  border-left: 4px solid #D9A400;
  border-radius: 8px;
  font-size: 16px;
  color: var(--text) !important;
}
.legal-notice strong { color: #6B5000; }
.back-link { display: inline-block; margin-bottom: 24px; font-weight: 600; text-decoration: none; }
.header-cta { flex-shrink: 0; }
