/* Miami Fitness Club Burbach – Stylesheet
   Schriften liegen lokal in assets/fonts (keine Verbindung zu Google). */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/inter-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/raleway-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/raleway-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/raleway-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/sora-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/sora-latin-800-normal.woff2") format("woff2"); }

:root {
  --bg: #111013;
  --bg-deep: #0B0A0D;
  --bg-raised: #17151B;
  --card: #1B1A1F;
  --card-2: #272629;
  --line: rgba(255, 255, 255, 0.14);
  --text: #F4F2F5;
  --text-soft: #E4E1E7;
  --muted: #C9C6CC;
  --pink: #EB83ED;
  --pink-light: #F8B4F9;
  --magenta: #F412F3;
  --ink: #14061A;
  --teal: #3FE0C5;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --font-display: "Raleway", "Inter", system-ui, sans-serif;
  --pad: 24px;
  --section: 104px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
}

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

h1, h2, h3, p { margin: 0; }

a { color: var(--pink); }
a:hover { color: #fff; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

[id] { scroll-margin-top: 24px; }

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

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; border-radius: 8px;
  background: var(--magenta); color: var(--ink); font-family: var(--font-head); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; color: var(--ink); }

.todo { background: #FFE27A; color: #1a1400; padding: 1px 6px; border-radius: 4px; font-weight: 400; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border: 0; border-radius: 999px;
  background: var(--magenta); color: var(--ink);
  font-family: var(--font-head); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: #FF6BFE; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.btn--small { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn--ghost { background: transparent; color: var(--pink); border: 1.5px solid var(--pink); }
.btn--ghost:hover { background: rgba(235, 131, 237, 0.12); color: #fff; }
.btn--teal { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); min-height: 48px; padding: 0 24px; font-size: 15px; }
.btn--teal:hover { background: rgba(63, 224, 197, 0.12); color: #fff; }
.btn svg { flex: none; }

/* Kopfzeile */
.header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 14px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 18px; letter-spacing: 0.08em; color: var(--pink-light); text-shadow: 0 0 12px rgba(244, 18, 243, 0.7); }
.brand__place { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 17px; color: var(--teal); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-family: var(--font-head); font-weight: 400; font-size: 15px; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; padding: 12px 0; }
.nav a:not(.btn):hover { color: var(--pink); }
.nav-toggle {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 10px; background: transparent; color: #fff; cursor: pointer;
}

/* Hero */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(820px, 92vh); padding-block: 88px 240px; background: var(--bg-raised); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 10, 13, 0.7); }
.hero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; width: 100%; }
.hero__logo { width: clamp(180px, 22vw, 280px); height: auto; }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 7vw, 92px); line-height: 1.05; color: var(--pink); max-width: 12ch; }
.hero p { max-width: 520px; font-size: 18px; color: var(--text-soft); }

/* Leuchtschild im Startbild: Logo setzt sich beim Laden zusammen und zerlegt sich beim Wegscrollen (assets/js/schild.js) */
.hero__sign { position: relative; flex: none; width: clamp(300px, 34vw, 460px); }
.hero__sign::before { content: ""; position: absolute; inset: -20%; border-radius: 50%; background: radial-gradient(closest-side, rgba(244, 18, 243, 0.6), rgba(244, 18, 243, 0) 72%); opacity: 0; transform: scale(0.5); pointer-events: none; }
.hero__sign.is-on::before { animation: schild-halo 1.1s ease-out 1 forwards; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; min-width: 0; }
@keyframes schild-halo { 0% { opacity: 0; transform: scale(0.5); } 35% { opacity: 0.95; transform: scale(1.3); } 100% { opacity: 0.5; transform: scale(1); } }
@keyframes schild-pop { 0% { transform: scale(1.09); } 100% { transform: scale(1); } }
@media (min-width: 821px) {
  .hero__inner { flex-direction: row; align-items: center; gap: clamp(40px, 6vw, 96px); }
}
.sign-glow { width: 100%; transition: opacity 0.5s ease; }
.sign { position: relative; width: 100%; aspect-ratio: 1 / 1; perspective: 900px; }
.sign__full { position: absolute; inset: 0; width: 100%; height: 100%; }
.sign__part { position: absolute; background-repeat: no-repeat; opacity: 0; }
.sign.is-animated .sign__full { opacity: 0; }
.sign.is-animated.is-complete .sign__full { opacity: 1; }
.sign.is-complete .sign__part { visibility: hidden; }
.sign-glow.is-dim { opacity: 0.55; }
.sign-glow.is-lit { animation: schild-flackern 1.1s linear 1, schild-pop 0.7s cubic-bezier(0.2, 1.5, 0.4, 1) 1; }
@media (min-width: 821px) and (hover: hover) { .sign-glow.is-lit { filter: brightness(1.15) drop-shadow(0 0 30px rgba(244, 18, 243, 0.5)); } }
@keyframes schild-flackern { 0% { opacity: 1; } 8% { opacity: 0.3; } 14% { opacity: 1; } 22% { opacity: 0.5; } 30% { opacity: 1; } 55% { opacity: 0.75; } 62% { opacity: 1; } 100% { opacity: 1; } }

/* Kleine Neon-Figuren neben Überschriften (assets/js/akzente.js) */
.section__head.section__head--deko { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
.neon { flex: none; height: 128px; perspective: 520px; }
.neon svg { display: block; height: 100%; width: auto; overflow: visible; }
.neon--flamingo { aspect-ratio: 220 / 300; }
.neon--hantel { aspect-ratio: 260 / 150; }
.neon--palme { aspect-ratio: 370 / 455; }
.neon--fortschritt { aspect-ratio: 300 / 205; }
.neon--pink { color: #FF6BD6; }
.neon--teal { color: #3FE0C5; }
.neon--green { color: #3DFF7F; }
.neon--orange { color: #FFC24D; }
.neon--fortschritt { height: 150px; }
.neon--flamingo { height: 168px; }
.neon--hantel { height: 108px; }
/* Zitat, das sich schreibt (assets/js/main.js) */
.tippen__z { opacity: 0; }
.tippen__z.is-da { opacity: 1; }
.tippen__z.is-cur { box-shadow: 3px 0 0 var(--teal); }
/* Blättern durch die Leistungen (nur auf schmalen Bildschirmen) */
.karussell { position: relative; }
.karussell-hinweis, .karussell-nav__btn { display: none; }
.karussell-hinweis { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
@keyframes karussell-stups { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(-46px); } }
/* große Figuren hinter dem Text */
.neon--bg { position: absolute; z-index: 0; opacity: 0.55; pointer-events: none; }
.neon--bg ~ * { position: relative; z-index: 1; }
#vorteile .wrap { position: relative; }
#vorteile .neon--bg { right: 3%; top: -92px; height: clamp(160px, 16vw, 210px); }
.insta__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.insta__row .insta__head { margin-bottom: 0; }
.neon__off, .neon__line { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.neon--palme .neon__off, .neon--palme .neon__line { stroke-width: 7; }
.neon__halo .neon__line { stroke-width: 11; opacity: 0.22; }
.neon__halo--weit .neon__line { stroke-width: 19; opacity: 0.11; }
.neon--palme .neon__halo .neon__line { stroke-width: 15; }
.neon--palme .neon__halo--weit .neon__line { stroke-width: 26; }
.neon__off { stroke: rgba(255, 255, 255, 0.08); }
.neon__line { stroke: currentColor; stroke-dasharray: 1; stroke-dashoffset: 0; }
.neon.is-lit .neon__halo .neon__line { opacity: 0.34; }
.neon.is-lit .neon__halo--weit .neon__line { opacity: 0.17; }
.neon.is-lit svg > g { animation: schild-flackern 1.4s linear 1; }
@media (min-width: 821px) and (hover: hover) { .neon__on { filter: drop-shadow(0 0 6px currentColor); } }
.promise__row { position: relative; }
.promise .neon--bg { right: 5%; top: 50%; margin-top: clamp(-190px, -15vw, -130px); height: clamp(260px, 30vw, 380px); opacity: 0.7; }
.promise__inner { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .sign-glow.is-lit, .neon.is-lit svg > g, .post.is-lit .post__karte, .hero__bg, .hero h1 .wort__i, .hero__text p, .hero__text .btn, .btn::after, .success.is-neu, .follower.is-fertig .follower__zahl { animation: none !important; } }

/* Abschnitte */
.section { padding-block: var(--section); }
.section--deep { background: var(--bg-deep); }
.section__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 44px; }
.h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.12; color: var(--pink); }
.lead { color: var(--text-soft); }

/* Studio / EGYM */
/* Grundriss ragt als Übergang ins Startbild hinein */
.studio__plan { position: relative; z-index: 2; width: 100%; max-width: 760px; margin: calc(-1 * (var(--section) + 190px)) auto 64px; }
.studio__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: center; }
.quote { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.quote p { font-family: var(--font-head); font-weight: 400; font-size: clamp(21px, 2.5vw, 32px); line-height: 1.4; color: #fff; }

.embed {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  aspect-ratio: 16 / 9; padding: 24px; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.embed--map { aspect-ratio: 16 / 10; }
.embed__note { max-width: 400px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed--loaded { padding: 0; }

/* Team */
.team-owners { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; margin-bottom: 28px; }
.team-rest { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.person > div { min-width: 0; }
.person { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.person--owner { gap: 24px; padding: 28px; border-color: rgba(235, 131, 237, 0.45); background: linear-gradient(135deg, rgba(244, 18, 243, 0.11), rgba(244, 18, 243, 0) 58%), var(--card); }
.person--owner h3 { display: flex; align-items: center; gap: 8px; }
.person__flamingo { flex: none; height: 1.25em; width: auto; fill: none; stroke: var(--pink); stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(244, 18, 243, 0.7)); }
.person__photo { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--card-2); }
.person--owner .person__photo { width: 104px; height: 104px; }
.person__initial { flex: none; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--card-2); border: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--pink-light); }
.person h3 { font-family: var(--font-head); font-weight: 800; font-size: 20px; line-height: 1.2; color: #fff; }
.person--owner h3 { font-size: 26px; }
.person p { margin-top: 4px; font-family: var(--font-head); font-weight: 600; font-size: 14px; line-height: 1.45; color: var(--pink); }
.person--owner p { font-size: 15px; }

/* Vorteile */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px; }
.benefit { display: flex; flex-direction: column; gap: 12px; }
.benefit__num { font-family: var(--font-head); font-weight: 400; font-size: 64px; line-height: 1; color: #6E6A75; }
.benefit h3 { font-family: var(--font-head); font-weight: 600; font-size: 24px; line-height: 1.25; color: #fff; }
.benefit p { color: var(--text-soft); }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 24px; }
.service { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.service__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--card-2); }
.service__img--neon { display: flex; align-items: center; justify-content: center; background: #131116; }
.service__img--neon svg { width: 72%; height: auto; }
.service__body { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.service h3 { font-family: var(--font-head); font-weight: 600; font-size: 22px; line-height: 1.25; color: #fff; }
.service p { font-size: 16px; color: var(--text-soft); }

/* Wir mit Euch */
.promise { padding-block: 112px; background: var(--bg-raised); border-block: 1px solid var(--line); }
.promise__inner { max-width: 820px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.promise h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.05; color: var(--pink); }
.promise p { font-size: 18px; color: var(--text-soft); }

/* Kontakt */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 64px; }
.contact__col { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.contact h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.05; color: #fff; }
.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.field .req { color: var(--pink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  background: var(--card); border: 1px solid #8A8591; border-radius: 8px;
  color: #fff; font-family: var(--font-body); font-size: 16px; line-height: 1.5;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #A9A5AE; opacity: 1; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #FF8A8A; }
.field__error { font-size: 14px; color: #FFB3B3; }
.field__error:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: 14px; line-height: 1.55; color: var(--muted); }
.form .btn { align-self: flex-start; }
.form__status { padding: 16px 18px; border-radius: 10px; font-size: 16px; }
.form__status:empty { display: none; }
.form__status--error { background: rgba(255, 138, 138, 0.1); border: 1px solid #FF8A8A; color: #FFD6D6; }
.form__status--info { background: rgba(63, 224, 197, 0.08); border: 1px solid var(--teal); color: var(--text); }
.success { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; background: var(--card); border: 1.5px solid var(--teal); border-radius: 12px; }
.success h3 { font-family: var(--font-head); font-weight: 600; font-size: 22px; line-height: 1.3; color: #fff; }
.success p { color: var(--text-soft); }
[hidden] { display: none !important; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.info { display: flex; flex-direction: column; gap: 10px; }
.info h3 { font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pink); }
.info p { color: #fff; }
.info p.soft { font-size: 16px; color: var(--text-soft); }
.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; color: #fff; }
.hours dt { font-weight: 400; }
.hours dd { margin: 0; }

/* Briefumschlag mit Logo neben "Kontaktiere uns." (assets/js/akzente.js) */
.contact__kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.post { --b: 190px; position: relative; flex: none; width: var(--b); height: calc(var(--b) * 1.02); perspective: 620px; }
.post__teil { position: absolute; left: 0; bottom: 0; width: 100%; height: calc(var(--b) * 0.625); overflow: visible; }
.post__hinten { z-index: 1; }
.post__klappe { z-index: 2; transform-origin: 50% 2%; transform: rotateX(180deg); }
.post__karte { position: absolute; z-index: 3; left: 21%; bottom: 3%; width: 58%; padding: 5%; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 6px; transform: translateY(-64%); }
.post__karte img { width: 100%; height: auto; }
.post__vorn { z-index: 4; }
.post__linie { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.post__schein { fill: none; stroke: var(--teal); stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; opacity: 0.15; }
.post__flaeche { fill: var(--bg); stroke: none; }
.post.is-dim .post__karte img { opacity: 0.55; }
.post.is-lit .post__karte { border-color: rgba(244, 18, 243, 0.55); animation: schild-flackern 1.2s linear 1; }
.post.is-lit .post__schein { opacity: 0.26; }

/* Bewegung: Fortschrittsbalken, Wort-für-Wort-Überschriften, Einblenden beim Scrollen, Glanz auf Knöpfen (assets/js/effekte.js).
   Alles läuft einmal und nutzt nur Verschieben und Ein-/Ausblenden, damit es auf dem Handy flüssig bleibt. */
:root { --dx: 46px; --dx-rechts: 46px; }
html { overflow-x: hidden; }
.fortschritt { position: fixed; z-index: 60; left: 0; top: 0; width: 100%; height: 6px; background: linear-gradient(90deg, var(--magenta), var(--teal)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

.wort { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.wort__i { display: inline-block; }
.worte:not(.is-da) .wort__i { transform: translateY(125%); }
.worte.is-da .wort__i { animation: wort-rein 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes wort-rein { from { transform: translateY(125%); } }

/* Startbild: läuft beim Laden ohne JavaScript */
.hero__bg { animation: hero-zoom 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.hero h1 .wort__i { animation: wort-rein 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; animation-delay: calc(150ms + var(--i, 0) * 110ms); }
.hero__text p { animation: rein-hoch 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.65s backwards; }
.hero__text .btn { animation: rein-pop 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) 0.9s backwards; }
@keyframes hero-zoom { from { transform: scale(1.1); } }

.rein:not(.is-da) { opacity: 0; }
.rein.is-da { animation: rein-hoch 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; animation-delay: var(--verz, 0ms); }
.rein--links.is-da { animation-name: rein-links; }
.rein--rechts.is-da { animation-name: rein-rechts; }
.rein--pop.is-da { animation-name: rein-pop; animation-duration: 0.6s; animation-timing-function: cubic-bezier(0.2, 1.4, 0.4, 1); }
.rein--kipp.is-da { animation-name: rein-kipp; }
@keyframes rein-hoch { from { opacity: 0; transform: translateY(36px); } }
@keyframes rein-links { from { opacity: 0; transform: translateX(calc(-1 * var(--dx))); } }
@keyframes rein-rechts { from { opacity: 0; transform: translateX(var(--dx-rechts)); } }
@keyframes rein-pop { from { opacity: 0; transform: scale(0.78); } }
@keyframes rein-kipp { from { opacity: 0; transform: perspective(700px) rotateY(-40deg) translateY(24px); } }

/* Die Nummern bei "Deine Vorteile" gehen an wie eine Leuchtreklame */
.benefit__num { transition: color 0.45s ease, text-shadow 0.45s ease; transition-delay: calc(var(--verz, 0ms) + 380ms); }
.benefit.is-da .benefit__num { color: var(--pink); text-shadow: 0 0 18px rgba(244, 18, 243, 0.55); }

/* Große Follower-Zahl im Instagram-Abschnitt: zählt hoch und macht am Ende einen kleinen Satz */
.follower { position: relative; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.follower::before { content: ""; position: absolute; z-index: -1; inset: -30% -3% -30% -16%; background: radial-gradient(closest-side, rgba(244, 18, 243, 0.3), rgba(244, 18, 243, 0)); pointer-events: none; }
.insta__row { position: relative; z-index: 0; }
.follower__zahl { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: clamp(84px, 11vw, 156px); line-height: 0.95; letter-spacing: -0.03em; white-space: nowrap; color: var(--pink); background: linear-gradient(100deg, #FF4BF0 0%, #EB83ED 38%, #7FD9FF 68%, #3FE0C5 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.follower__zahl { min-width: 3.25em; text-align: right; font-variant-numeric: tabular-nums; }
.follower__plus { margin-left: 0.04em; }
.follower__wort { font-family: var(--font-head); font-weight: 600; font-size: clamp(14px, 1.3vw, 17px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.follower.is-fertig .follower__zahl { animation: follower-satz 0.55s cubic-bezier(0.2, 1.5, 0.4, 1) 1; }
@keyframes follower-satz { 0% { transform: scale(1); } 45% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* Knöpfe: Glanzstreifen, leichtes Anheben, Leuchten */
.btn { position: relative; overflow: hidden; transition: background-color 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0)); transform: skewX(-20deg); opacity: 0; pointer-events: none; }
.btn.glanz::after { animation: glanz 0.9s ease-out 1; }
@keyframes glanz { from { opacity: 1; transform: skewX(-20deg) translateX(0); } to { opacity: 1; transform: skewX(-20deg) translateX(430%); } }
.person, .service { transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.service__img { transition: transform 0.5s ease; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(244, 18, 243, 0.42); }
  .btn--ghost:hover { box-shadow: 0 8px 24px rgba(235, 131, 237, 0.25); }
  .btn--teal:hover { box-shadow: 0 8px 24px rgba(63, 224, 197, 0.25); }
  .btn:not(.btn--ghost):not(.btn--teal):not(.glanz):hover::after { animation: glanz 0.8s ease-out 1; }
  .person:hover, .service:hover { transform: translateY(-5px); border-color: rgba(235, 131, 237, 0.55); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); }
  .service:hover .service__img { transform: scale(1.05); }
}
.btn:active { transform: translateY(1px) scale(0.98); box-shadow: none; }

/* Formular: Feld leuchtet beim Ausfüllen, Konfetti nach dem Absenden */
.field input, .field textarea { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.field input:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(63, 224, 197, 0.2); }
.success { position: relative; }
.success.is-neu { animation: rein-pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) backwards; }
.konfetti { position: absolute; left: 50%; top: 44px; width: 0; height: 0; pointer-events: none; }
.konfetti i { position: absolute; left: -4px; top: -7px; width: 9px; height: 14px; border-radius: 2px; background: var(--c); opacity: 0; animation: konfetti 1.3s cubic-bezier(0.15, 0.7, 0.3, 1) var(--d, 0ms) forwards; }
@keyframes konfetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0deg); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); } }

/* Instagram */
.insta__head { max-width: 720px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.insta__head h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.15; color: #fff; }
.insta__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 32px; }
.insta__grid a { display: block; border-radius: 12px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.insta__grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.2s ease; }
.insta__grid a:hover img { transform: scale(1.03); }

/* Fußzeile */
.footer { padding-block: 56px 40px; border-top: 1px solid var(--line); }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 36px; }
.footer__brand { display: flex; flex-direction: column; gap: 10px; }
.footer p { font-size: 15px; color: var(--muted); }
.footer nav { display: flex; flex-direction: column; font-size: 15px; }
.footer nav a { padding: 8px 0; }
.footer__legal { font-size: 14px; color: var(--muted); }

/* Feste Leiste auf dem Handy */
.mobile-bar { display: none; }

/* Rechtsseiten */
.legal { padding-block: 72px 96px; }
.legal__inner { max-width: 760px; }
.legal h1 { font-family: var(--font-head); font-weight: 600; font-size: clamp(32px, 5vw, 48px); line-height: 1.15; color: var(--pink); margin-bottom: 32px; overflow-wrap: anywhere; }
.legal h2 { font-family: var(--font-head); font-weight: 600; font-size: 22px; line-height: 1.3; color: #fff; margin: 40px 0 12px; }
.legal h3 { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: #fff; margin: 24px 0 8px; }
.legal p, .legal ul { margin: 0 0 14px; color: var(--text-soft); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal address { font-style: normal; color: var(--text-soft); margin-bottom: 14px; }

/* Schmale Bildschirme */
@media (max-width: 820px) {
  :root { --pad: 20px; --section: 64px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .js .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-top: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
  .brand { flex-direction: column; gap: 0; line-height: 1.2; }
  .brand__name { font-size: 14px; }
  .brand__place { font-size: 14px; }
  .hero { min-height: 0; padding-block: 48px 150px; }
  .hero__inner { gap: 24px; }
  .hero p { font-size: 17px; }
  .hero .btn { align-self: stretch; }
  .hero__sign { width: min(74vw, 310px); align-self: center; }
  .hero__text { gap: 22px; align-self: stretch; }
  .neon { height: 92px; }
  .neon--flamingo { height: 104px; }
  .neon--hantel { height: 58px; }
  #vorteile .neon--bg { right: 12px; top: -34px; height: 124px; opacity: 0.45; }
  .insta__row { margin-bottom: 28px; gap: 14px; flex-direction: column; align-items: flex-start; }
  .insta__row .insta__head { display: contents; }
  .insta__head h2 { order: 1; }
  .follower { order: 2; align-items: flex-start; margin-block: 4px 6px; }
  .insta__head .lead { order: 3; }
  .follower__zahl { text-align: left; min-width: 0; }
  :root { --dx: 40px; --dx-rechts: 16px; }
  .post { --b: clamp(60px, calc(100vw - 264px), 132px); margin-bottom: 4px; }
  .contact__kopf { gap: 12px; }
  /* Flamingo größer, Beine verschwinden hinter der ersten Team-Kachel */
  #team .section__head--deko { position: relative; }
  #team .section__head--deko > div:first-child { padding-right: 118px; }
  #team .neon--flamingo { position: absolute; right: 2px; bottom: -56px; width: 114px; height: 156px; }
  .team-owners { position: relative; z-index: 1; }
  /* Hantel größer, schaut oben hinter den Leistungs-Karten hervor */
  #leistungen .section__head.section__head--deko { position: relative; display: block; margin-bottom: 26px; }
  .karussell-hinweis:not([hidden]) { display: block; margin: 0 0 46px; min-height: 20px; }
  #leistungen .neon--hantel { position: absolute; right: 0; bottom: -122px; height: 112px; }
  /* Leistungen als Karussell zum Wischen */
  .services { position: relative; z-index: 1; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); }
  .services::-webkit-scrollbar { display: none; }
  .service { flex: 0 0 70%; scroll-snap-align: start; }
  .services.is-stups .service { animation: karussell-stups 0.9s ease-in-out 1; }
  .karussell-nav__btn:not([hidden]) { position: absolute; z-index: 2; top: 52px; width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--magenta); color: var(--ink); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55); cursor: pointer; transition: opacity 0.2s ease; }
  .karussell-nav__btn--weiter { right: -8px; }
  .karussell-nav__btn--zurueck { left: -8px; }
  .karussell-nav__btn[disabled] { opacity: 0; pointer-events: none; }
  .section__head.section__head--deko { gap: 16px; }
  .promise .neon--bg { right: 8px; top: 0; margin-top: -30px; height: 250px; opacity: 0.3; }
  .section__head { margin-bottom: 28px; }
  .studio__plan { width: calc(100% + 2 * var(--pad)); max-width: none; margin: calc(-1 * (var(--section) + 112px)) calc(var(--pad) * -1) 36px; }
  .studio__row { gap: 32px; }
  .embed { aspect-ratio: auto; padding: 32px 20px; }
  .embed--loaded { aspect-ratio: 16 / 10; padding: 0; }
  .team-owners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
  .person--owner { position: relative; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .person--owner .person__flamingo { position: absolute; top: 16px; right: 14px; height: 38px; }
  .person--owner .person__photo { width: 72px; height: 72px; }
  .person--owner h3 { font-size: clamp(18px, 5.6vw, 22px); }
  .team-rest { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .team-rest .person { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .benefits { gap: 32px; }
  .benefit { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 6px 14px; }
  .benefit__num { font-size: 40px; }
  .benefit h3 { font-size: 21px; }
  .benefit p { grid-column: 1 / -1; }
  .services { gap: 16px; }
  .service__body { padding: 20px; }
  .promise { padding-block: 72px; }
  .promise p { font-size: 16px; }
  .promise .btn, .form .btn { align-self: stretch; }
  .contact { gap: 40px; }
  .insta__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .insta .btn { display: flex; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: flex; gap: 12px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    background: rgba(17, 16, 19, 0.96); border-top: 1px solid var(--line);
  }
  .mobile-bar__call { flex: none; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--teal); border-radius: 999px; color: var(--teal); }
  .mobile-bar .btn { flex: 1 1 auto; padding: 0 16px; }
}

@media (min-width: 600px) and (max-width: 820px) { .service { flex-basis: calc(50% - 7px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .mobile-bar, .nav-toggle, .embed, .skip { display: none !important; }
  body { background: #fff; color: #000; }
  .rein, .worte .wort__i { opacity: 1 !important; transform: none !important; animation: none !important; }
  .fortschritt { display: none; }
}

/* Weihnachtsschmuck (assets/js/weihnachten.js): greift nur, wenn <html> die Klasse "weihnachten" trägt, also vom 1.12. bis 6.1. */
.hero__gruss { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(21px, 2.3vw, 30px); line-height: 1.2; color: #FFD36B; text-shadow: 0 0 16px rgba(255, 211, 107, 0.55); animation: rein-hoch 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s backwards; }
.hero__gruss svg { flex: none; }
.weihnachten .hero__text { gap: 20px; }

.lichterkette { position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 48px; overflow: hidden; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='54' height='26' viewBox='0 0 54 26'%3E%3Cpath d='M0 3 Q27 25 54 3' fill='none' stroke='%234A4551' stroke-width='2'/%3E%3C/svg%3E") repeat-x 0 0 / 54px 26px; }
.lichterkette i { position: absolute; top: 13px; width: 11px; height: 15px; margin-left: -5.5px; border-radius: 50% 50% 50% 50% / 38% 38% 62% 62%; background: var(--c); box-shadow: 0 0 12px 3px var(--s); animation: licht 2.8s ease-in-out infinite; }
.lichterkette .l0 { --c: #FF4BF0; --s: rgba(255, 75, 240, 0.65); }
.lichterkette .l1 { --c: #FFD36B; --s: rgba(255, 211, 107, 0.65); animation-delay: -0.7s; }
.lichterkette .l2 { --c: #3FE0C5; --s: rgba(63, 224, 197, 0.65); animation-delay: -1.4s; }
.lichterkette .l3 { --c: #FF4D5E; --s: rgba(255, 77, 94, 0.65); animation-delay: -2.1s; }
@keyframes licht { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.schnee { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.schnee i { position: absolute; top: 0; border-radius: 50%; background: #fff; animation: schnee 12s linear infinite; }
@keyframes schnee { from { transform: translate3d(0, -20px, 0); } to { transform: translate3d(var(--x, 0), var(--h, 900px), 0); } }
.winter-pause .schnee i, .winter-pause .lichterkette i { animation-play-state: paused; }

.muetze { position: absolute; z-index: 2; left: -9%; top: -20%; width: 44%; transform: rotate(-22deg); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.muetze svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero__sign.is-on .muetze { opacity: 1; animation: muetze-fall 0.75s cubic-bezier(0.3, 1.5, 0.5, 1) 0.25s backwards; }
@keyframes muetze-fall { from { opacity: 0; transform: translateY(-70px) rotate(-48deg); } }

.neon--palme svg { overflow: visible; }
.neon--palme .schmuck { opacity: 0; transition: opacity 0.6s ease; }
.neon--palme.is-lit .schmuck { opacity: 1; }

.weihnachten .fortschritt { transform: none !important; background: repeating-linear-gradient(115deg, #FF4D5E 0 14px, #fff 14px 28px); clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0); }

@media (max-width: 820px) {
  .weihnachten .hero { padding-top: 62px; }
  .weihnachten .hero__text { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .lichterkette i, .hero__gruss { animation: none; }
  .muetze, .neon--palme .schmuck { opacity: 1; }
}
