/* Herzwesen — Farbwelt aus dem Logo (Salbei/Mint) plus warmes Sand und
   tiefes Waldgrün als Textfarbe. */

:root {
  --ink: #26352c;
  --ink-soft: #4d6154;
  --ink-faint: #7a8c80;

  --mint: #a9cca4;
  --mint-light: #e4efe1;
  --mint-pale: #f2f7ef;
  --teal: #4c9784;
  --teal-deep: #2f6d5d;

  --sand: #c49a57;
  --sand-pale: #f4ecdd;
  --cream: #fbf8f2;
  --white: #fff;

  --wrap: 1140px;
  --wrap-narrow: 720px;
  --pad: clamp(20px, 5vw, 48px);

  /* Apple-ähnlich: response ~0.3–0.4s, kritisch gedämpft (kein Bounce) */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-press: ease-out;
  --dur-press: 100ms;
  --dur-ui: 320ms;
  --dur-reveal: 480ms;
  --space-section: clamp(64px, 10vw, 120px);
  --space-section-tight: clamp(44px, 7vw, 80px);
  --space-stack: clamp(18px, 2.4vw, 28px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  font-variant-ligatures: none;
  overflow-x: hidden;
}

h1,
h2,
h3,
.font-display {
  font-family: 'Quicksand', system-ui, sans-serif;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
  font-optical-sizing: auto;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.wrap-narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding-block: var(--space-section);
}

.section-tight {
  padding-block: var(--space-section-tight);
}

.bg-mint {
  background: var(--mint-pale);
}

.bg-sand {
  background: var(--sand-pale);
}

.bg-white {
  background: var(--white);
}

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.lead {
  font-size: clamp(18px, 2.1vw, 21px);
  line-height: 1.62;
  color: var(--ink-soft);
}

h1 {
  font-size: clamp(34px, 6.4vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(26px, 3.9vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.2;
  letter-spacing: -0.012em;
}

/* ------------------------------------------------------------ Kopfzeile */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 248, 242, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition: background var(--dur-ui) var(--ease), box-shadow var(--dur-ui) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(251, 248, 242, 0.92);
  box-shadow: 0 1px 0 rgba(38, 53, 44, 0.06);
}

.site-header.is-scrolled::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  height: 20px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(38, 53, 44, 0.1) 0%,
    rgba(38, 53, 44, 0.04) 40%,
    transparent 100%
  );
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.brand-name {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-desktop {
  display: none;
  gap: 4px;
}

.nav-desktop a {
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: color var(--dur-ui) var(--ease), background var(--dur-ui) var(--ease),
    transform var(--dur-press) var(--ease-press);
}

.nav-desktop a:active {
  transform: scale(0.97);
}

@media (hover: hover) {
  .nav-desktop a:hover {
    color: var(--ink);
    background: var(--mint-light);
  }
}

.nav-desktop a[aria-current='page'] {
  color: var(--teal-deep);
  background: var(--mint-light);
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform var(--dur-press) var(--ease-press), background var(--dur-ui) var(--ease);
}

.nav-toggle:active {
  transform: scale(0.94);
  background: var(--mint-light);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur-ui) var(--ease), opacity var(--dur-press) var(--ease-press);
}

.nav-toggle span + span {
  margin-top: 5px;
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* Mobiles Menü — Sheet vom Header (spatial: öffnet vom Toggle) */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 54;
  background: rgba(18, 30, 23, 0.34);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-ui) var(--ease), visibility var(--dur-ui);
}

.nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile {
  --sheet-y: 0px;
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  z-index: 55;
  max-height: min(78svh, 640px);
  background: rgba(251, 248, 242, 0.96);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  padding: 8px var(--pad) 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 24px 48px -20px rgba(38, 53, 44, 0.35);
  visibility: hidden;
  transform: translate3d(0, calc(-104% + var(--sheet-y)), 0);
  transform-origin: top center;
  transition: transform var(--dur-ui) var(--ease), visibility var(--dur-ui);
  touch-action: pan-y;
}

.nav-mobile.is-open {
  visibility: visible;
  transform: translate3d(0, var(--sheet-y), 0);
}

.nav-mobile.is-dragging {
  transition: none;
}

.nav-sheet-handle {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 28px;
  margin: 0 auto 4px;
  cursor: grab;
  touch-action: none;
}

.nav-sheet-handle::before {
  content: '';
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: rgba(38, 53, 44, 0.22);
}

.nav-mobile a {
  display: block;
  padding: 15px 2px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(38, 53, 44, 0.1);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--dur-ui) var(--ease), transform var(--dur-ui) var(--ease),
    color var(--dur-press) var(--ease-press);
}

.nav-mobile a:active {
  color: var(--teal-deep);
}

.nav-mobile.is-open a {
  opacity: 1;
  transform: none;
}

.nav-mobile a[aria-current='page'] {
  color: var(--teal-deep);
}

.nav-mobile-meta {
  margin-top: 28px;
  font-size: 15px;
  color: var(--ink-soft);
}

.nav-mobile-meta a {
  all: unset;
  color: var(--teal-deep);
  font-weight: 700;
  cursor: pointer;
}

@media (min-width: 900px) {
  .nav-backdrop,
  .nav-mobile {
    display: none !important;
  }
}

/* ------------------------------------------------------------------ Hero */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  /* Kein vh/svh — iOS Browser-Chrome lässt Höhe springen */
  min-height: 560px;
  padding-block: clamp(48px, 10vw, 96px);
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero {
    min-height: min(86vh, 760px);
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(18, 30, 23, 0.9) 0%,
    rgba(18, 30, 23, 0.66) 32%,
    rgba(18, 30, 23, 0.3) 62%,
    rgba(18, 30, 23, 0.52) 100%
  );
}

.hero-inner {
  max-width: 660px;
  color: #fff;
}

.hero .kicker {
  color: var(--mint);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.hero h1 {
  white-space: pre-line;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.28);
}

.hero p {
  margin-top: 20px;
  font-size: clamp(17px, 2vw, 19.5px);
  line-height: 1.66;
  color: rgba(255, 255, 255, 0.93);
  max-width: 52ch;
}

/* Kleinerer Seitenkopf für Unterseiten */
.pagehead {
  min-height: 420px;
}

@media (min-width: 900px) {
  .pagehead {
    min-height: min(62vh, 560px);
  }
}

.pagehead h1 {
  font-size: clamp(30px, 5.2vw, 50px);
}

/* --------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform var(--dur-press) var(--ease-press), background var(--dur-ui) var(--ease),
    border-color var(--dur-ui) var(--ease), color var(--dur-ui) var(--ease);
}

/* Feedback sofort auf Press — nicht erst auf Release */
.btn:active {
  transform: scale(0.97);
}

@media (hover: hover) {
  .btn:hover {
    transform: translateY(-2px);
  }
  .btn:hover:active {
    transform: scale(0.97);
  }
}

.btn-primary {
  background: var(--teal-deep);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

.btn-outline {
  border-color: var(--teal-deep);
  color: var(--teal-deep);
}

.btn-outline:hover {
  background: var(--teal-deep);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-stack);
  margin-top: 30px;
}

.duo-text .btn-row {
  margin-top: 26px;
}

/* ------------------------------------------------- Text-Bild-Kombination */

.duo {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 860px) {
  .duo {
    grid-template-columns: 1fr 1fr;
  }
  .duo.is-flipped .duo-media {
    order: 2;
  }
  .duo-text {
    max-width: 52ch;
  }
}

.duo-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--mint-light);
}

.duo-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

@media (hover: hover) {
  .duo-media:hover img {
    transform: scale(1.03);
  }
}

.duo-media.is-portrait img {
  aspect-ratio: 3 / 4;
}

/* Bildzitat über volle Breite */
.bandshot {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: min(60svh, 520px);
  padding-block: clamp(56px, 9vw, 104px);
  overflow: hidden;
  text-align: center;
}

.bandshot img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bandshot::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(22, 35, 27, 0.55);
}

.bandshot blockquote {
  margin: 0;
  max-width: 26ch;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 4.2vw, 40px);
  line-height: 1.24;
  color: #fff;
  text-wrap: balance;
}

.bandshot .attrib {
  margin-top: 26px;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
}

/* ---------------------------------------------------------------- Karten */

.cards {
  display: grid;
  gap: var(--space-stack);
  margin-top: 44px;
}

@media (min-width: 760px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(38, 53, 44, 0.07);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform var(--dur-ui) var(--ease), box-shadow var(--dur-ui) var(--ease);
}

.card:active {
  transform: scale(0.985);
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -18px rgba(38, 53, 44, 0.38);
  }
  .card:hover:active {
    transform: scale(0.985);
  }
}

.card-media {
  overflow: hidden;
  background: var(--mint-light);
}

.card-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

@media (hover: hover) {
  .card:hover .card-media img {
    transform: scale(1.04);
  }
}

.card-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body p {
  color: var(--ink-soft);
  font-size: 16px;
  margin-top: 9px;
}

.card-more {
  margin-top: auto;
  padding-top: 16px;
  font-weight: 700;
  font-size: 15px;
  color: var(--teal-deep);
}

.card-more::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform var(--dur-ui) var(--ease);
}

@media (hover: hover) {
  .card:hover .card-more::after {
    transform: rotate(45deg) translate(2px, -3px);
  }
}

/* --------------------------------------------------- Hirnentwicklungsstufen */

.stufen {
  margin-top: 40px;
  display: grid;
  gap: 12px;
}

@media (min-width: 700px) {
  .stufen {
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;
  }
}

.stufe {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(38, 53, 44, 0.07);
}

.stufe-icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--mint-light);
}

.stufe-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stufe strong {
  font-family: 'Quicksand', sans-serif;
  display: block;
  font-size: 17px;
}

.stufe span {
  display: block;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ------------------------------------------------------------- Galerie */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 40px;
}

@media (min-width: 760px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.gallery figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--mint-light);
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

@media (hover: hover) {
  .gallery figure:hover img {
    transform: scale(1.05);
  }
}

/* --------------------------------------------------------------- Offline */

.checklist {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 38px;
  font-size: 17px;
  line-height: 1.6;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0.55em;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}

.preise {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  font-size: 17px;
}

.preise th,
.preise td {
  padding: 14px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--teal) 25%, transparent);
  text-align: left;
  vertical-align: baseline;
}

.preise th {
  font-weight: 600;
  padding-right: 24px;
}

.preise td {
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.inline-quote {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.45;
  font-style: italic;
  color: var(--ink);
}

.gruppen {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

@media (min-width: 700px) {
  .gruppen {
    grid-template-columns: 1fr 1fr;
  }
}

.gruppe {
  padding: 28px 28px 30px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(38, 53, 44, 0.08);
}

.gruppe h3 {
  color: var(--teal-deep);
}

.gruppe dl {
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 16px;
  font-size: 16px;
}

.gruppe dt {
  color: var(--ink-faint);
}

.gruppe dd {
  margin: 0;
  font-weight: 700;
}

.factline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 30px;
}

.fact {
  display: inline-flex;
  align-items: center;
  padding: 9px 17px;
  border-radius: 999px;
  background: var(--sand-pale);
  color: #7d5a1e;
  font-weight: 700;
  font-size: 15px;
}

/* ---------------------------------------------------------------- Kontakt */

.contact-grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-list {
  display: grid;
  gap: 4px;
  margin-top: 26px;
  font-size: 18px;
}

.contact-list a {
  font-weight: 700;
}

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 700;
  text-decoration: none;
  color: var(--teal-deep);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: color var(--dur-press) var(--ease-press), transform var(--dur-press) var(--ease-press);
}

.ig-link:active {
  transform: scale(0.97);
}

.ig-link .ig-icon {
  flex: 0 0 auto;
  display: block;
}

.contact-list .ig-link {
  font-size: 18px;
}

.site-footer .ig-link {
  color: inherit;
}

.site-footer .ig-link:hover {
  color: #fff;
}

.notice {
  padding: 24px 26px;
  border-radius: 18px;
  background: var(--sand-pale);
  border-left: 4px solid var(--sand);
}

.notice h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.notice p {
  color: var(--ink-soft);
  font-size: 16px;
}

/* ------------------------------------------------------------------ CTA */

.cta {
  text-align: center;
}

.cta h2 {
  max-width: 18ch;
  margin-inline: auto;
}

.cta p {
  max-width: 46ch;
  margin-inline: auto;
  margin-top: 14px;
  color: var(--ink-soft);
}

.cta .btn-row {
  justify-content: center;
}

/* -------------------------------------------------------------- Sticky CTA */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(251, 248, 242, 0.9);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 -12px 32px -18px rgba(38, 53, 44, 0.35);
  /* Nur Opacity — kein translate (Layout-Padding ist immer reserviert) */
  opacity: 0;
  pointer-events: none;
  transform: none;
  transition: opacity 0.35s var(--ease);
}

.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.sticky-cta .btn {
  flex: 1 1 auto;
  max-width: 220px;
  justify-content: center;
  padding-block: 12px;
}

@media (min-width: 900px) {
  .sticky-cta {
    display: none;
  }
}

/* Platz immer reserviert — kein Layout-Sprung wenn CTA erscheint */
@media (max-width: 899px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-transparency: reduce) {
  .sticky-cta {
    background: var(--cream);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* --------------------------------------------------------------- Fusszeile */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
  padding-block: clamp(44px, 6vw, 68px) 30px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  gap: 34px;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h4 {
  font-family: 'Quicksand', sans-serif;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.footer-brand span {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* ------------------------------------------------------------ Animation */

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-delay='1'] {
  transition-delay: 0.06s;
}

[data-reveal-delay='2'] {
  transition-delay: 0.12s;
}

[data-reveal-delay='3'] {
  transition-delay: 0.18s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .hero-media img {
    transform: none;
  }
  .nav-mobile {
    transform: none !important;
  }
  .sticky-cta {
    transition: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .nav-mobile,
  .sticky-cta {
    background: var(--cream);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--teal-deep);
  color: #fff;
  border-radius: 0 0 10px 0;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
  outline: none;
}

.skip-link:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(47, 109, 93, 0.35);
}

/* Tastatur-Fokus: klar, aber nicht bei Maus-Klick */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2.5px solid var(--teal);
  outline-offset: 3px;
  border-radius: 8px;
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.nav-desktop a:focus-visible,
.brand:focus-visible,
.card:focus-visible,
.ig-link:focus-visible {
  outline: 2.5px solid var(--teal);
  outline-offset: 3px;
}

.btn-primary:focus-visible {
  outline-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(47, 109, 93, 0.28);
}

.nav-mobile a:focus-visible {
  outline-offset: 0;
  background: var(--mint-light);
}

/* ------------------------------------------------------------ Rechtstexte */

.legal-head {
  padding-block: clamp(48px, 8vw, 92px) clamp(24px, 4vw, 40px);
  background: var(--mint-pale);
}

.legal-body {
  padding-block: clamp(40px, 6vw, 72px) clamp(56px, 9vw, 104px);
}

.legal-block + .legal-block {
  margin-top: clamp(30px, 4vw, 46px);
  padding-top: clamp(30px, 4vw, 46px);
  border-top: 1px solid rgba(38, 53, 44, 0.1);
}

.legal-block h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  margin-bottom: 14px;
}

.legal-block p {
  color: var(--ink-soft);
}

.legal-block .checklist {
  margin-top: 6px;
}

.legal-block .checklist li {
  color: var(--ink-soft);
  font-size: 16.5px;
}

.footer-legal {
  display: flex;
  gap: 20px;
}
