/* ==========================================================================
   Health Space Zug — Design System
   Palette (strikt): Taupe #6f5d4f · Sand #efe7e0 · Weiss #ffffff · Schwarz #232323
   Sand = Flächenfarbe aus den Räumen (Wände/Vorhänge); Taupe = Text-/UI-Akzent
   Keine Schatten — Trennung über Linien, Farbe und Abstand.
   Fonts: Libre Baskerville (Display) · Be Vietnam Pro (Text/UI)
   ========================================================================== */

:root {
  --accent: #6f5d4f;   /* Kontrast 6.3:1 auf Weiss, 5:1 auf Sand */
  --sand: #efe7e0;
  --ink: #232323;
  --white: #ffffff;
  --muted: rgba(35, 35, 35, 0.68);
  --line: rgba(111, 93, 79, 0.2);
  --line-strong: rgba(111, 93, 79, 0.4);

  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body: "Be Vietnam Pro", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1320px;
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --radius: 22px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1rem;
  text-wrap: balance;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.375rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

::selection { background: var(--accent); color: var(--white); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  transition: top 0.3s;
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* ---------- Layout ---------- */
/* clip statt hidden: kein Scroll-Container, sticky/fixed Header bleibt intakt */
main { overflow-x: clip; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

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

.section--tint,
.section--sand {
  background: var(--sand);
  color: var(--ink);
}
.section--sand a { color: var(--accent); }

.grid { display: grid; gap: clamp(2rem, 4vw, 4rem); }

/* ---------- Typo helpers ---------- */
.lead {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.65;
  font-weight: 300;
  max-width: 62ch;
}

.text-muted { color: var(--muted); }
.font-body { font-family: var(--font-body); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 0.95rem 2.1rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  transition: transform 0.18s var(--ease-out), background-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.btn--sm { padding: 0.6rem 1.5rem; font-size: 0.9rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

/* Arrow link */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.link-more .arrow { transition: transform 0.2s var(--ease-out); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
/* Logo mit Kreis: über die Höhe skalieren (Seitenverhältnis ~2.2:1) */
.brand-mark img { height: clamp(50px, 5vw, 66px); width: auto; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 0.55rem 1.05rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--accent);
  border-radius: var(--radius-pill);
  transition: color 0.18s var(--ease-out), background-color 0.18s var(--ease-out),
    transform 0.15s var(--ease-out);
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
.site-nav a:active { transform: scale(0.96); }
.site-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 7px;
}
.site-nav .nav-cta {
  margin-left: 0.5rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.55rem 1.4rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 130;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  transition: transform 0.15s var(--ease-out);
}
.nav-toggle:active { transform: scale(0.92); }
.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--ink);
  transition: transform 0.3s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.25s var(--ease-out), background 0.25s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] span { background: var(--ink); }
.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 (max-width: 1023px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: var(--white);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease-out), visibility 0.3s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }

  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .site-nav a {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    padding: 0.5rem 1.4rem;
  }
  .site-nav .nav-cta { margin-left: 0; font-family: var(--font-body); font-size: 1.1rem; }
}

body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.25rem, 6.5vw, 6rem) clamp(2.5rem, 4.5vw, 3.75rem);
}
.hero h1 { max-width: 15ch; }
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero .lead { max-width: 56ch; }

/* ---------- Fullscreen-Hero (Startseite) ---------- */
.hero--fullscreen {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 0;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(36, 29, 24, 0.66) 0%,
    rgba(36, 29, 24, 0.42) 45%,
    rgba(36, 29, 24, 0.74) 100%);
}
.hero--fullscreen .container {
  position: relative;
  z-index: 1;
  padding-block: clamp(7rem, 16vh, 10rem) clamp(3.5rem, 9vh, 6rem);
}
.hero--fullscreen h1 {
  color: var(--white);
  max-width: none;
  line-height: 1.08;
  letter-spacing: -0.015em;
  /* zweiter Term: "ganzheitliche Gesundheit." (~11.4em breit in Libre Baskerville Italic) bleibt auf einer Zeile */
  font-size: min(clamp(1.75rem, 4.6vw + 0.9rem, 4.375rem), calc((100vw - 2.5rem) / 12.2));
}
.hero--fullscreen h1 em { color: var(--white); white-space: nowrap; }
.hero--fullscreen .lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 52ch;
}
/* Dezent: Outline statt Füllung über dem Bild */
.hero--fullscreen .btn,
.hero--fullscreen .btn--primary {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: var(--white);
  font-weight: 400;
}

/* Header über dunklem Hero: fixed, liegt AUF dem Bild; beim Scrollen weiss */
.site-header.header--overlay {
  position: fixed;
  left: 0;
  right: 0;
}
.site-header.header--overlay:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header.header--overlay:not(.is-scrolled) .site-nav a { color: var(--white); }
.site-header.header--overlay:not(.is-scrolled) .site-nav a[aria-current="page"] {
  color: var(--white);
  text-decoration-color: var(--white);
}
.site-header.header--overlay:not(.is-scrolled) .site-nav .nav-cta {
  background: var(--white);
  color: var(--ink);
}
/* Geöffnetes Mobile-Menü liegt ÜBER dem Hero (weisser Layer): Links zurück auf Violett */
.site-header.header--overlay .site-nav.is-open a {
  color: var(--accent);
}
.site-header.header--overlay .site-nav.is-open a[aria-current="page"] {
  color: var(--ink);
  text-decoration-color: var(--accent);
}
.site-header.header--overlay .site-nav.is-open .nav-cta {
  background: var(--ink);
  color: var(--white);
}
.site-header.header--overlay:not(.is-scrolled) .nav-toggle span { background: var(--white); }
/* Geöffnetes Menü hat weissen Hintergrund → Hamburger dunkel */
.site-header.header--overlay .nav-toggle[aria-expanded="true"] span { background: var(--ink); }
.brand-mark .logo-light { display: none; }
.site-header.header--overlay:not(.is-scrolled) .brand-mark .logo-dark { display: none; }
.site-header.header--overlay:not(.is-scrolled) .brand-mark .logo-light { display: block; }

/* Hero mit Bild (Split-Layout) */
.hero--split .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}
.hero--split h1 { max-width: 13ch; }

.hero__figure { position: relative; margin: 0; }
.hero__figure img { width: 100%; }

/* Hero-Fotos immer als Kreis – Echo auf den Logo-Kreis */
.hero__figure--photo { max-width: 560px; margin-inline: auto; width: 100%; }
.hero__figure--photo img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.hero__figure--art img {
  max-height: 460px;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
}

.hero__badge {
  position: absolute;
  left: clamp(0.9rem, 3vw, 1.8rem);
  bottom: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}
.hero__badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero__figure--photo .hero__badge {
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  white-space: nowrap;
}

@media (max-width: 899px) {
  .hero--split .container { grid-template-columns: 1fr; }
  .hero--split h1 { max-width: none; }
  .hero__figure--art img { max-width: min(420px, 88%); margin-inline: auto; }
}

/* Marquee */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--sand);
  overflow: hidden;
  padding-block: 1.1rem;
}
.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
/* Stern als SVG-Maske statt Unicode "✳" – iOS rendert das Zeichen sonst als grünes Emoji */
.marquee__item::after {
  content: "";
  flex-shrink: 0;
  width: 0.9rem;
  height: 0.9rem;
  background-color: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2v20M2 12h20M4.93 4.93l14.14 14.14M19.07 4.93 4.93 19.07' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2v20M2 12h20M4.93 4.93l14.14 14.14M19.07 4.93 4.93 19.07' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Themen (alternating rows) ---------- */
.split {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
}
.split:last-child { margin-bottom: 0; }

.split__media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.split > * { min-width: 0; }
.split__claim {
  font-weight: 600;
  color: var(--ink);
}
.split__body .link-more { margin-top: 0.4rem; }

/* Hochformat-Bilder auf Mobile nicht bildschirmfüllend werden lassen */
@media (max-width: 899px) {
  /* Einspaltig: Bild immer über dem Text, egal auf welcher Seite es am Desktop steht */
  .split__media { order: -1; }
  .split__media img {
    max-height: 70svh;
    object-fit: cover;
    object-position: center 25%;
  }
}

/* Zweiter Personenblock im selben Text (Über uns: ein gemeinsames Foto) */
.founder-next {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}

@media (min-width: 900px) {
  .split { grid-template-columns: 6fr 5fr; }
  .split--media-left { grid-template-areas: "media text"; }
  .split--media-left .split__media { grid-area: media; }
  .split--media-left .split__body { grid-area: text; }
}

/* ---------- Cards ---------- */
/* Karten ohne Rahmen und ohne Schatten: Trennung nur über die Fläche.
   Auf Weiss → Sand, auf Sand → Weiss. */
:is(.section--sand, .section--tint, .cta-band) :is(.card, .event, .contact-card) { background: var(--white); }

.card-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
/* Ab Tablet: alle Zeilen gleich hoch → einheitliche Kartenhöhen, Buttons fluchten unten */
@media (min-width: 700px) {
  .card-grid { grid-auto-rows: 1fr; }
}
@media (min-width: 700px) and (max-width: 1023px) { .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) and (max-width: 1199px) { .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out);
}
.card__media { overflow: hidden; }
.card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}
.card__body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  flex: 1;
}
.card__body > :last-child { margin-top: auto; padding-top: 0.8rem; }
/* Ganze Karte klickbar: der "Mehr erfahren"-Link spannt sich über die Karte */
.card--link .link-more::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.card--link { cursor: pointer; }
.card--link:has(.link-more:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.card--link .link-more:focus-visible { outline: none; }

.card__title {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 1.05rem;
  margin: 0;
}
.card__text { font-size: 0.98rem; color: var(--ink); }

/* "New"-Kennzeichnung auf dem Kartenbild */
.card__media { position: relative; }
.card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
/* Book the Hub: jede Reihe so hoch wie ihre längste Karte, statt alle Reihen gleich hoch */
.card-grid--hub { grid-auto-rows: auto; }

/* Preisliste in Karten */
.price-list { margin: 0; font-size: 0.95rem; }
.price-list > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.15rem 1rem;
  padding-block: 0.6rem;
  border-top: 1px solid var(--line);
}
.price-list > div:last-child { border-bottom: 1px solid var(--line); }
.price-list > div:first-child { display: grid; }
.price-list dt { font-weight: 600; color: var(--ink); }
.price-list dd { margin: 0; color: var(--muted); }

/* Portrait card (therapists) */
.card--portrait .card__media img { aspect-ratio: 3 / 4; }
.card--portrait .card__body { text-align: left; }

/* Tags / pills */
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.tag--flag {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.meta-line strong { color: var(--ink); font-weight: 600; }

/* ---------- Quote ---------- */
.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.55;
  max-width: 30ch;
}
.quote::before {
  content: "“";
  display: block;
  font-size: 3.5rem;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding-top: 1.2rem;
  border-top: 2px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.step h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; }
.step p { font-size: 0.98rem; color: var(--muted); }

/* ---------- Events timeline ---------- */
.event-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.event {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  background: var(--sand);
  border-radius: var(--radius);
  padding: 1.3rem 1.6rem;
  transition: transform 0.25s var(--ease-out);
}
.event__date {
  display: grid;
  place-items: center;
  min-width: 74px;
  padding: 0.55rem 0.4rem;
  border-radius: 16px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}
.event__date .day { font-size: 1.35rem; font-family: var(--font-display); }
.event__date .month { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.event__title { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; margin: 0 0 0.2rem; }
.event__desc { font-size: 0.92rem; color: var(--muted); margin: 0; }
.event__cat {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .event { grid-template-columns: auto 1fr; }
  .event__cat { grid-column: 2; }
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  /* Pro 10 Bilder zwei grosse Kacheln → je 4 volle Reihen, keine Lücken */
  .gallery { grid-auto-flow: dense; }
  .gallery a:nth-child(10n+1), .gallery a:nth-child(10n+7) { grid-column: span 2; grid-row: span 2; }
}
.gallery a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.45s var(--ease-out);
}
/* Grosse Kacheln füllen nur ihre Fläche; die Zeilenhöhe geben die kleinen 4:3-Kacheln vor,
   sonst bläht ein Hochformat-Foto das ganze Raster auf */
@media (min-width: 900px) {
  .gallery a:nth-child(10n+1) img, .gallery a:nth-child(10n+7) img {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
  }
}

/* ---------- Bewertungen ---------- */
.reviews { columns: 1; column-gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 700px) { .reviews { columns: 2; } }
@media (min-width: 1024px) { .reviews { columns: 3; } }
.review {
  break-inside: avoid;
  margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  background: var(--sand);
  border-radius: var(--radius);
}
.review blockquote {
  margin: 0 0 1.2rem;
  font-size: 1rem;
  line-height: 1.7;
}
.review blockquote::before {
  content: "“";
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.review figcaption { font-weight: 600; font-size: 0.9rem; }
.review figcaption span { font-weight: 400; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--sand);
  color: var(--ink);
  border: 0;
  border-radius: var(--radius);
  padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -10%;
  width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}
.cta-band h2 { position: relative; }
.cta-band p {
  position: relative;
  max-width: 52ch;
  margin-inline: auto;
  color: var(--muted);
}
.cta-band .btn-row { position: relative; justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  transition: transform 0.25s var(--ease-out);
}
.contact-card h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.contact-card p, .contact-card a { font-size: 1rem; }

/* Form */
.form {
  display: grid;
  gap: 1.8rem;
  max-width: 640px;
}
.form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.form input, .form textarea {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  padding: 0.6rem 0.1rem;
  outline: none;
  transition: border-color 0.2s var(--ease-out);
}
.form input:focus, .form textarea:focus { border-bottom-color: var(--accent); }
.form textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: var(--muted); }

/* ---------- Legal ---------- */
.legal h1 { margin-bottom: 2.5rem; }
.legal h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 2.6rem;
}
.legal p, .legal li { font-size: 1rem; line-height: 1.85; }
.legal ul { padding-left: 1.3rem; margin-bottom: 1.25rem; }
.legal li { margin-bottom: 0.4rem; }
.legal .stand { margin-top: 3rem; color: var(--muted); font-size: 0.9rem; }

/* ---------- Einwilligungs-Banner ---------- */
.consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 150;
  max-width: 560px;
  margin-inline: auto;
  padding: 1.2rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 0.92rem;
  line-height: 1.6;
}
.consent[hidden] { display: none; }
.consent__text { margin: 0 0 1rem; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
/* Beide Buttons gleich gewichtet – Ablehnen ist so einfach wie Akzeptieren */
.consent__actions .btn { flex: 1 1 8rem; }
.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- E-Mail-Schutz ---------- */
.email-reveal {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.7rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.email-reveal__blur {
  filter: blur(5px);
  -webkit-user-select: none;
  user-select: none;
}
.email-reveal__label {
  padding: 0.15rem 0.75rem;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  font-size: 0.8em;
  font-weight: 600;
  white-space: nowrap;
}
.site-footer .email-reveal, .site-footer .email-revealed { color: rgba(255, 255, 255, 0.85); }
@media (hover: hover) and (pointer: fine) {
  .email-reveal:hover .email-reveal__label { background: var(--accent); border-color: var(--accent); color: var(--white); }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.footer-top {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 900px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand p { color: rgba(255, 255, 255, 0.85); font-size: 0.98rem; }
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-col a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
  display: inline-block;
  padding-block: 0.15rem;
  transition: color 0.2s var(--ease-out), transform 0.22s var(--ease-out);
}

.footer-logo {
  display: block;
  width: min(260px, 80%);
  height: auto;
  margin: 0 0 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.72); }

/* Instagram icon */
.icon-instagram {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}
.icon-instagram svg { width: 22px; height: 22px; stroke: var(--white); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal--left { transform: translateX(-56px); }
.reveal--right { transform: translateX(56px); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 899px) {
  .reveal--left:not(.is-visible),
  .reveal--right:not(.is-visible) { transform: translateY(36px); }
}

/* ---------- Hover-Effekte: nur für Geräte mit echtem Zeiger, nur Farbe, keine Bewegung ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { color: var(--ink); }
  .btn--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
  .link-more:hover { color: var(--ink); }
  .site-nav a:hover {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 7px;
  }
  .site-header.header--overlay:not(.is-scrolled) .site-nav a:hover {
    color: var(--white);
    text-decoration-color: var(--white);
  }
  .site-nav .nav-cta:hover { background: var(--accent); color: var(--white); }
  .hero--fullscreen .btn:hover,
  .hero--fullscreen .btn--primary:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
  }
  .icon-instagram:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--white); }
  .footer-col a:hover { color: var(--white); }
  .footer-bottom a:hover { color: var(--white); }
}

/* Reduzierte Bewegung: sanft statt null — Fade bleibt, Bewegung fällt weg. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal--left:not(.is-visible),
  .reveal--right:not(.is-visible) {
    transform: none;
    transition: opacity 0.3s ease-out;
  }
  .marquee__track { animation: none; }
  .btn,
  .btn:active,
  .site-nav a:active,
  .nav-toggle:active { transition: none; transform: none; }
  .card,
  .event,
  .contact-card,
  .card__media img,
  .gallery img,
  .icon-instagram,
  .footer-col a,
  .link-more .arrow { transition: none; }
}
