/* =========================================================
   dance-move.ch – Stylesheet
   1  Schriften
   2  Design-Tokens
   3  Basis & Typografie
   4  Buttons & Utilities
   5  Kopfbereich / Navigation
   6  Hero
   7  Sektionen & Karten
   8  Spezifische Bausteine
   9  Formular
   10 Fussbereich
   11 Popup / Banner / Nach-oben
   12 Animationen & Reduced Motion
   ========================================================= */

/* 1 ── Schriften (selbst gehostet, kein externer Request) ── */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/jost-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/jost-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/open-sans-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/open-sans-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2 ── Design-Tokens ────────────────────────────────────── */
:root {
  /* Marken-Blau aus dem Dance-&-Move-Logo (#98a3d3) – nur dekorativ
     (Linien, Punkte, Akzente auf dunklem Grund). */
  --blue: #98a3d3;
  /* Flächen, auf denen weisse Schrift steht: 8,2:1 */
  --blue-solid: #3e4b86;
  --blue-solid-dark: #2f3968;   /* Mauszeiger darüber: 11,3:1 */
  /* Blaue Schrift auf hellem Grund: 8,2:1 auf Weiss, 6,7:1 auf Hellblau */
  --blue-700: #3e4b86;
  --blue-050: #eef0f8;

  --ink: #1b1c22;
  --ink-soft: #33343d;  /* Grundfarbe der Fliesstexte */
  --muted: #64656f;     /* Nebentexte: 6,0:1 auf Weiss, 5,2:1 auf Hellblau */
  --line: #dde0ec;

  --shell: #f6f7fb;
  --tint: #e6e9f5;      /* helles Logo-Blau für Sektionshintergründe */
  --white: #ffffff;
  --dark: #1c2140;      /* Nachtblau für Kopf- und Fussbereich */
  --dark-soft: #262c50;

  --font-display: 'Jost', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 10px rgba(35, 38, 42, .06);
  --shadow: 0 16px 40px -22px rgba(35, 38, 42, .35);
  --shadow-lg: 0 30px 70px -35px rgba(35, 38, 42, .45);

  --header-h: 82px;
  --top-h: 82px;      /* tatsächliche Höhe von Banner + Kopfzeile, per JS gesetzt */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 3 ── Basis & Typografie ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top-h) + 1rem);
}

body {
  margin: 0;
  background: var(--shell);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

body.is-locked { overflow: hidden; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 300; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; }

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

a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-solid-dark); }

strong { color: var(--ink); font-weight: 600; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.25rem; }
li { margin-bottom: .4em; }

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

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.container--narrow { width: min(100% - (var(--gutter) * 2), 820px); }

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  padding: .8rem 1.2rem;
  background: var(--blue-solid);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

.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;
}

.icon { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.icon--xs { width: .95rem; height: .95rem; }
.icon--sm { width: 1.1rem; height: 1.1rem; }
.icon--lg { width: 1.75rem; height: 1.75rem; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin: 0 0 1rem;
  font-family: var(--font-body);
}
.eyebrow--light { color: rgba(255, 255, 255, .85); }

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 4 ── Buttons ──────────────────────────────────────────── */
.btn {
  --btn-bg: var(--blue-solid);
  --btn-fg: #fff;
  --btn-bd: var(--blue-solid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.9rem;
  border: 1.5px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--btn-fg);
}
.btn:active { transform: translateY(0); }

.btn--primary:hover { --btn-bg: var(--blue-solid-dark); --btn-bd: var(--blue-solid-dark); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--shell); --btn-bd: var(--shell); }

.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.6); }
.btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.55); }
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,.16); --btn-bd: #fff; }

.btn--sm { padding: .7rem 1.35rem; font-size: .85rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}
.btn-row--center { justify-content: center; }

/* 5 ── Kopfbereich / Navigation ─────────────────────────── */
.topbar {
  position: relative;
  z-index: 1;
  background: var(--blue-solid);
  color: #fff;
  font-size: .92rem;
}
.topbar--dark { background: var(--dark); }
.topbar--tint { background: var(--tint); color: var(--ink); }

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .35rem 1rem;
  padding: .65rem 0;
  text-align: center;
}
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: inherit;
  font-weight: 600;
  white-space: nowrap;
}

/* Banner und Kopfzeile bilden zusammen den fixierten Seitenkopf. */
.site-top {
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-top--overlay {
  position: fixed;
  inset: 0 0 auto;
}

.site-header {
  background: var(--dark);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-top--overlay .site-header { background: transparent; }
.site-top--overlay.is-solid .site-header {
  background: rgba(52, 52, 49, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { width: clamp(150px, 17vw, 200px); height: auto; }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  margin: 0; padding: 0;
  list-style: none;
}
.nav__list li { margin: 0; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: .4rem 0;
  color: rgba(255, 255, 255, .82);
  font-size: .93rem;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
  text-decoration: none;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-current { color: #fff; }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social {
  display: flex;
  align-items: center;
  gap: .3rem;
  margin: 0; padding: 0;
  list-style: none;
}
.social li { margin: 0; }
.social a {
  display: grid;
  place-items: center;
  width: 2.35rem; height: 2.35rem;
  border-radius: 50%;
  color: rgba(255, 255, 255, .78);
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.social a:hover {
  background: var(--blue-solid);
  color: #fff;
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 2.9rem; height: 2.9rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  place-items: center;
  align-content: center;
  justify-items: center;
  gap: 5px;
}
.nav-toggle__bar {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: calc(var(--top-h) + 2rem) var(--gutter) 3rem;
  background: var(--dark);
  overflow-y: auto;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav.is-open { opacity: 1; }

.mobile-nav__list { margin: 0; padding: 0; list-style: none; }
.mobile-nav__list li { margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mobile-nav__link {
  display: block;
  padding: 1rem 0;
  color: rgba(255, 255, 255, .85);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.7rem;
  text-decoration: none;
}
.mobile-nav__link.is-current, .mobile-nav__link:hover { color: var(--blue); }

.mobile-nav__foot { display: grid; gap: 1.25rem; justify-items: start; }
.mobile-nav__phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* 6 ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}
.hero--full { min-height: min(94vh, 860px); padding: calc(var(--top-h) + 4rem) 0 5rem; }
.hero--page { min-height: 46vh; padding: clamp(3.5rem, 8vw, 6rem) 0; }

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 20, 38, .55) 0%, rgba(18, 20, 38, .28) 38%, rgba(18, 20, 38, .62) 100%);
}
/* Das Titelbild ist hell (weisse Wand) – der Text steht links und braucht
   dort deutlich mehr Abdunklung, damit Logo, Menü und Titel sicher lesbar sind. */
.hero--full .hero__scrim {
  background:
    linear-gradient(96deg, rgba(18, 20, 38, .86) 0%, rgba(18, 20, 38, .66) 34%, rgba(18, 20, 38, .28) 64%, rgba(18, 20, 38, .12) 100%),
    linear-gradient(180deg, rgba(18, 20, 38, .5) 0%, rgba(18, 20, 38, 0) 28%, rgba(18, 20, 38, .42) 100%);
}
.hero--page .hero__scrim { background: linear-gradient(100deg, rgba(18, 20, 38, .74), rgba(18, 20, 38, .5)); }

/* Auf schmalen Geräten läuft der Text über die ganze Breite und damit auch
   über die helle Wand im Bild – dort dunkelt ein senkrechter Verlauf besser ab. */
@media (max-width: 760px) {
  .hero--full .hero__scrim {
    background: linear-gradient(180deg, rgba(18, 20, 38, .60) 0%, rgba(18, 20, 38, .52) 35%, rgba(18, 20, 38, .74) 100%);
  }
}

.hero__inner { max-width: 46rem; }
.hero--full .hero__inner { max-width: 42rem; }

.hero__title {
  color: #fff;
  font-weight: 300;
  margin-bottom: .35em;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.hero__text {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, .92);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* 7 ── Sektionen & Karten ───────────────────────────────── */
.section { padding: var(--section-y) 0; }
.section--tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.section--tint { background: var(--tint); }
.section--white { background: var(--white); }
.section--dark { background: var(--dark); color: rgba(255, 255, 255, .78); }
.section--dark h2, .section--dark h3 { color: #fff; }

.section__head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__head--center { margin-inline: auto; text-align: center; }
.section__head p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid--prices { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); align-items: start; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }

.card__body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card__title { margin: 0; font-size: 1.3rem; font-weight: 500; }
.card__text { margin: 0; font-size: .97rem; color: var(--ink-soft); }
.card__link {
  margin-top: auto;
  padding-top: .5rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.card__link .icon { transition: transform .25s var(--ease); }
.card__link:hover .icon { transform: translateX(4px); }

/* 8 ── Spezifische Bausteine ────────────────────────────── */

/* Bild + Text nebeneinander */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split + .split { margin-top: clamp(3rem, 6vw, 5.5rem); }
.split__media { position: relative; }
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split__media--portrait img { aspect-ratio: 3 / 4; }
.split--reverse .split__media { order: 2; }
.split__body > *:last-child { margin-bottom: 0; }

.split__badge {
  position: absolute;
  right: clamp(-.5rem, -1vw, -1.5rem);
  bottom: 1.5rem;
  display: grid;
  gap: .1rem;
  padding: 1.1rem 1.5rem;
  background: var(--blue-solid);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.split__badge strong { color: #fff; font-size: 1.5rem; font-family: var(--font-display); font-weight: 500; line-height: 1; }
.split__badge span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }

/* Merkmalliste mit Häkchen */
.checklist { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .7rem; }
.checklist li {
  position: relative;
  margin: 0;
  padding-left: 2.1rem;
  line-height: 1.65;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: .35em;
  width: 1.35rem; height: 1.35rem;
  border-radius: 50%;
  background: var(--blue-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='%233e4b86'%3E%3Cpath d='m11.4 18.2-4.6-4.6 1.5-1.5 3.1 3.1 8-8 1.5 1.5-9.5 9.5Z'/%3E%3C/svg%3E") center / 1rem no-repeat;
}
.section--dark .checklist li::before { background-color: rgba(152, 163, 211, .25); }

/* Nummerierte Schritte */
.steps { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { margin: 0; padding-top: 3.4rem; position: relative; }
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--blue);
  opacity: .55;
}
.steps h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.steps p { font-size: .97rem; margin: 0; }

/* Info-Karten */
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.info-card--accent { border-color: transparent; background: var(--blue-050); }
.info-card h3 { margin-bottom: .6rem; }
.info-card__icon {
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--blue-050);
  color: var(--blue-700);
  margin-bottom: 1.1rem;
}
.info-card__icon .icon { width: 1.5rem; height: 1.5rem; }

/* Schriftzug einer Fremdmarke im Fliesstext (Dancess von Life Junkie Fitness) */
.brand-mark { width: clamp(130px, 18vw, 168px); height: auto; margin: 0 0 1.1rem; opacity: .88; }

/* Angebots-Karten (Schnuppern, Einzellektion, Abos) */
.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem 1.6rem 1.8rem;
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.offer:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.offer--marked { border-color: var(--blue); }

.offer__badge {
  position: absolute;
  top: -.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: .3rem 1rem;
  border-radius: 999px;
  background: var(--blue-solid);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.offer__title { margin: 0 0 .8rem; font-size: 1.25rem; font-weight: 500; }
.offer__price {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.35rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--blue-700);
}
.offer__unit {
  margin: .2rem 0 1.1rem;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.offer__text { margin: 0 0 1.6rem; font-size: .95rem; text-align: left; }
.offer__cta { margin-top: auto; }
.offer--marked .offer__cta { --btn-bg: var(--blue-solid); --btn-fg: #fff; --btn-bd: var(--blue-solid); }
.offer--marked .offer__cta:hover { --btn-bg: var(--blue-solid-dark); --btn-bd: var(--blue-solid-dark); }

/* CTA-Band */
.cta-band {
  position: relative;
  isolation: isolate;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(62, 75, 134, .93), rgba(24, 27, 48, .92));
}
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p { color: rgba(255, 255, 255, .9); max-width: 38rem; margin-inline: auto; margin-bottom: 2rem; }

/* Preisliste */
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.price-card__title {
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--blue);
}
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  margin: 0;
  padding: .45rem 0;
}
.price-list__label { flex: 0 1 auto; font-size: .99rem; }
.price-list__dots { flex: 1 1 1.5rem; min-width: 1.5rem; border-bottom: 1px dotted var(--line); transform: translateY(-.3em); }
.price-list__price { font-weight: 600; color: var(--ink); white-space: nowrap; }
.price-card__note {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: .89rem;
  color: var(--muted);
}

.notes-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.notes-list li { position: relative; margin: 0; padding-left: 1.6rem; font-size: .95rem; }
.notes-list li::before {
  content: '';
  position: absolute;
  left: .2rem; top: .72em;
  width: .45rem; height: .45rem;
  border-radius: 50%;
  background: var(--blue);
}

/* Produktzeilen */
.product {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2.25rem, 4vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.product:last-child { border-bottom: 0; }
.product:nth-child(even) .product__media { order: 2; }
.product__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--tint);
}
.product__title { margin-bottom: .5rem; }
.product__price {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.2rem;
  padding: .5rem 1.1rem;
  background: var(--blue-050);
  color: var(--blue-700);
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
}
.product__variants { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.product__variants li {
  margin: 0;
  padding: .35rem .85rem;
  background: var(--tint);
  border-radius: 999px;
  font-size: .85rem;
}

/* Produkt ohne Bild: als ruhige Karte über die volle Breite */
.product--plain { grid-template-columns: 1fr; }
.product--plain .product__body {
  background: var(--tint);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

/* Kontaktinformationen */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.6rem; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item__icon {
  flex: 0 0 auto;
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--blue-050);
  color: var(--blue-700);
}
.contact-item h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; margin-bottom: .15rem; }
.contact-item p, .contact-item address { margin: 0; font-style: normal; font-size: .98rem; }
.contact-item a { text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

.hours { list-style: none; margin: 0; padding: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: .45rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .16);
  font-size: .95rem;
}
.hours li:last-child { border-bottom: 0; }
.contact-item .hours li { border-bottom-color: var(--line); }

.map-embed {
  border: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--tint);
}

/* Zitat */
.quote {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--ink);
}
.section--dark .quote { color: #fff; }
.quote__author { display: block; margin-top: 1.2rem; font-family: var(--font-body); font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }

/* 9 ── Formular ─────────────────────────────────────────── */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.field label .req { color: var(--blue-700); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(62, 75, 134, .2);
}
.field__hint { font-size: .82rem; color: var(--muted); }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .7rem; }
.field--check input { width: 1.15rem; height: 1.15rem; margin-top: .25rem; accent-color: var(--blue-solid); }
.field--check label { font-weight: 400; font-size: .92rem; color: var(--ink-soft); }
.field--honey { position: absolute; left: -9999px; opacity: 0; }

.form__status { padding: 1rem 1.25rem; border-radius: var(--radius); font-size: .95rem; }
.form__status--ok { background: var(--blue-050); color: var(--blue-700); border: 1px solid rgba(62, 75, 134, .35); }
.form__status--error { background: #fdf1ef; color: #a4382a; border: 1px solid #f0cfc9; }

/* 10 ── Fussbereich ─────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .68);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  font-size: .95rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.site-footer__brand img { width: 200px; margin-bottom: 1.25rem; }
.site-footer__claim { max-width: 26rem; margin-bottom: 1.5rem; }
.site-footer__title {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}
.site-footer__address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.site-footer__address strong { color: #fff; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.site-footer__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer__nav li { margin: 0; }
.site-footer__note { margin-bottom: .9rem; }
.site-footer .social a { color: rgba(255, 255, 255, .7); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem;
}
.site-footer__bottom p { margin: 0; }

/* 11 ── Popup / Nach-oben ───────────────────────────────── */
.notice-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: var(--gutter);
}
.notice-modal[hidden] { display: none; }
.notice-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 24, .62);
  backdrop-filter: blur(3px);
  animation: fade-in .3s var(--ease) both;
}
.notice-modal__panel {
  position: relative;
  width: min(100%, 34rem);
  max-height: calc(100vh - 2 * var(--gutter));
  overflow-y: auto;
  padding: clamp(2.25rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--blue-solid);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: pop-in .45s var(--ease) both;
}
.notice-modal--dark .notice-modal__panel { background: var(--dark); }
.notice-modal--tint .notice-modal__panel { background: var(--tint); color: var(--ink-soft); }
.notice-modal--tint .notice-modal__title { color: var(--ink); }
.notice-modal--tint .btn--ghost-light { --btn-fg: var(--ink); --btn-bd: rgba(35,38,42,.3); }
.notice-modal--tint .btn--ghost-light:hover { --btn-bg: rgba(35,38,42,.08); --btn-bd: var(--ink); }

.notice-modal__ornament {
  width: 2.6rem; height: 2.6rem;
  margin: 0 auto 1rem;
  fill: currentColor;
  opacity: .6;
}
.notice-modal__title { color: #fff; margin-bottom: .6rem; font-weight: 400; font-size: clamp(1.5rem, 3vw, 1.9rem); }
.notice-modal__text { font-size: 1.02rem; line-height: 1.7; }
.notice-modal__meta {
  margin-top: 1rem;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .8;
}
.notice-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 2rem;
}
.notice-modal__close {
  position: absolute;
  top: .9rem; right: .9rem;
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: inherit;
  cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.notice-modal__close:hover { background: rgba(255, 255, 255, .3); transform: rotate(90deg); }
.notice-modal--tint .notice-modal__close { background: rgba(35, 38, 42, .08); }

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 40;
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background-color .25s var(--ease), transform .25s var(--ease), opacity .25s var(--ease);
}
.to-top[hidden] { display: none; }
.to-top .icon { transform: rotate(-90deg); }
.to-top:hover { background: var(--blue-solid); transform: translateY(-3px); }

/* 12 ── Animationen ─────────────────────────────────────── */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to { opacity: 1; transform: none; }
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }

/* ── Breakpoints ─────────────────────────────────────────── */
@media (max-width: 1080px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* Ab hier wird es in der Kopfzeile eng: erst die Symbole, dann die Schaltfläche weglassen */
@media (max-width: 1120px) {
  .social--header { display: none; }
}

@media (max-width: 1000px) {
  .site-header__cta { display: none; }
  .nav__list { gap: 1.1rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; --top-h: 70px; }
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .site-header__inner { justify-content: space-between; }
  .site-header__actions { margin-left: auto; }
  .split--reverse .split__media, .product:nth-child(even) .product__media { order: 0; }
  .hero--full { min-height: min(88vh, 720px); }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .notice-modal__actions { flex-direction: column; }
  /* Auf kleinen Bildschirmen liegt die Plakette innerhalb des Bilds,
     damit sie nicht seitlich übersteht und die Seite nicht breiter macht. */
  .split__badge {
    right: .75rem;
    bottom: .75rem;
    padding: .8rem 1.1rem;
  }
  .split__badge strong { font-size: 1.25rem; }
  .split__badge span { font-size: .7rem; }
  .mobile-nav__link { font-size: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-nav, .notice-modal, .to-top, .topbar, .cta-band, .site-footer .social { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: auto; color: #000; }
  .hero__media, .hero__scrim { display: none; }
  .hero__title, .hero__text { color: #000; text-shadow: none; }
}

/* Empfohlene Ausweich-Studios */
.studio {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.studio:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.section--white .studio { background: var(--tint); border-color: transparent; }
.studio__name { margin: 0; font-size: 1.3rem; font-weight: 500; }
.studio__place {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  margin: 0;
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--blue-700);
}
.studio__place .icon { margin-top: .28em; flex: 0 0 auto; }
.studio__note { margin: .3rem 0 0; font-size: .96rem; }
.studio__link {
  margin-top: auto;
  padding-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}
.studio__link .icon { transition: transform .25s var(--ease); flex: 0 0 auto; }
.studio__link:hover .icon { transform: translateX(4px); }

/* Titelbereich: Text und Bild nebeneinander auf ruhigem Blau-Grund */
.hero-split {
  background: var(--tint);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem);
}
.hero-split h1 { margin-bottom: .4em; text-wrap: balance; }
.hero-split .lead { max-width: 34rem; margin-bottom: 2rem; }
.hero-split__media img { background: var(--white); }
.hero-split .btn--outline { --btn-bd: rgba(51, 50, 48, .35); }
@media (max-width: 900px) {
  /* Auf kleinen Bildschirmen zuerst Begrüssung und Schaltflächen, dann das Bild */
  .hero-split .split__media { order: 2; }
  .hero-split .split__media img { max-width: 26rem; margin-inline: auto; }
}
