/* ==========================================================================
   Schlossgut Golfclub – zbDEMO
   Mobile-first · Vanilla CSS · Design-Quelle: Figma 97:2 / 98:2
   ========================================================================== */

/* ---------- Fonts (lokal, DSGVO) ---------- */
@font-face {
  font-family: "Gambetta";
  src: url("../fonts/Gambetta-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gambetta";
  src: url("../fonts/Gambetta-LightItalic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Gambetta";
  src: url("../fonts/Gambetta-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gambetta";
  src: url("../fonts/Gambetta-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  /* Farben (aus Figma) */
  --c-cream: #f4efe5;
  --c-sand: #e8decc;
  --c-green: #233b2f;
  --c-green-deep: #18291f;
  --c-ink: #1c2420;
  --c-body: #4a524d;
  --c-muted: #5a615c;
  --c-gold: #b08a52;        /* nur Deko: Sterne, Linien */
  --c-gold-light: #d9be8e;  /* Text nur auf Dunkelgrün / dunklem Bild */
  --c-bronze: #7a5a2e;      /* Akzent-Text auf Hell (5,5 : 1) */
  --c-line: rgba(28, 36, 32, 0.12);
  --c-field: rgba(28, 36, 32, 0.55);
  --c-cream-75: rgba(244, 239, 229, 0.75);
  --c-cream-50: rgba(244, 239, 229, 0.5);
  --c-cream-25: rgba(244, 239, 229, 0.25);

  /* Typo */
  --font-serif: "Gambetta", "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-h1: clamp(32px, 10.25vw, 40px);
  --fs-h2: clamp(34px, 3.61vw, 52px);
  --fs-h2-platz: clamp(36px, 3.89vw, 56px);
  --fs-h2-small: clamp(32px, 3.2vw, 46px);
  --fs-display: clamp(40px, 5vw, 72px);
  --fs-closing: clamp(38px, 4.58vw, 66px);
  --fs-h3: clamp(24px, 1.94vw, 28px);
  --fs-stat: clamp(36px, 3.33vw, 48px);
  --fs-quote: clamp(28px, 2.85vw, 41px);
  --fs-marquee: clamp(40px, 4.3vw, 62px);

  /* Bewegung */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.8s;

  /* Layout */
  --header-h: 72px;
  --edge: 12px;        /* Abstand großer Karten zum Viewport */
  --pad: 20px;         /* Text-Gutter */
  --r-xl: 28px;        /* große Karten */
  --r-l: 24px;
  --r-m: 20px;
  --r-pill: 999px;
  --section-y: 64px;

  --focus: var(--c-green);
}

@media (min-width: 768px) {
  :root {
    --header-h: 92px;
    --edge: 24px;
    --pad: 40px;
    --r-xl: 32px;
    --section-y: 88px;
  }
}

@media (min-width: 1024px) {
  :root {
    --edge: 40px;
    --pad: 80px;
    --r-xl: 40px;
    --section-y: 110px;
  }
}

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

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--c-cream);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

figure {
  margin: 0;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
dl,
dd,
blockquote,
address {
  margin: 0;
}

address {
  font-style: normal;
}

ul {
  padding: 0;
  list-style: none;
}

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

::selection {
  background: var(--c-green);
  color: var(--c-cream);
}

section[id] {
  scroll-margin-top: var(--header-h);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  background: var(--c-green);
  color: var(--c-cream);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.4s var(--ease);
}

.skip-link:focus-visible {
  transform: none;
  --focus: var(--c-green);
}

.only-desktop {
  display: none;
}

@media (min-width: 768px) {
  .only-desktop {
    display: inline;
  }
  .only-mobile {
    display: none;
  }
}

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-bronze);
}

.eyebrow--light {
  color: var(--c-gold-light);
}

.eyebrow--green {
  color: var(--c-green);
}

.h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

.h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--fs-h3);
  line-height: 1.3;
  color: var(--c-ink);
}

.lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-body);
}

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.6s var(--ease),
    background-color 0.6s var(--ease),
    border-color 0.6s var(--ease),
    color 0.6s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--solid {
  background: var(--c-green);
  color: var(--c-cream);
}

.btn--solid:hover {
  background: var(--c-green-deep);
}

.btn--outline {
  border-color: var(--c-ink);
  background: transparent;
  color: var(--c-ink);
}

.btn--outline:hover {
  background: var(--c-ink);
  color: var(--c-cream);
}

.btn--cream {
  background: var(--c-cream);
  color: var(--c-green);
}

.btn--cream:hover {
  background: var(--c-gold-light);
}

.arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.6s var(--ease);
}

.arrow--left {
  transform: scaleX(-1);
}

.link-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-cream);
  cursor: pointer;
  white-space: nowrap;
}

.link-line > :first-child,
.link-line {
  text-decoration: none;
}

.link-line {
  background-image: linear-gradient(var(--c-cream-50), var(--c-cream-50));
  background-repeat: no-repeat;
  background-position: 0 calc(100% - 9px);
  background-size: 100% 1px;
  padding-bottom: 4px;
  transition: background-image 0.6s var(--ease);
}

.link-line:hover {
  background-image: linear-gradient(var(--c-gold-light), var(--c-gold-light));
}

.link-line:hover .arrow {
  transform: translateX(3px);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--c-ink);
  border-radius: 50%;
  background: transparent;
  color: var(--c-ink);
  cursor: pointer;
  transition:
    transform 0.6s var(--ease),
    background-color 0.6s var(--ease),
    color 0.6s var(--ease),
    opacity 0.4s var(--ease);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn:hover:not(:disabled) {
  background: var(--c-ink);
  color: var(--c-cream);
  transform: translateY(-2px);
}

.icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition:
    transform 0.7s var(--ease),
    background-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.site-header.is-solid {
  background: var(--c-cream);
  box-shadow: 0 1px 0 var(--c-line);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  padding: 0 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  text-decoration: none;
}

.nav,
.site-header__cta {
  display: none;
}

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-right: -9px;
  padding: 0 9px;
  border: 0;
  background: none;
  cursor: pointer;
}

.burger__line {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--c-ink);
  transition: transform 0.6s var(--ease);
}

.burger[aria-expanded="true"] .burger__line:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger__line:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

@media (min-width: 768px) {
  .site-header__inner {
    padding: 0 32px;
  }
  .logo {
    font-size: 26px;
  }
  .nav,
  .site-header__cta {
    display: flex;
  }
  .burger {
    display: none;
  }
  .nav__list {
    display: flex;
    gap: 24px;
  }
  .nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-ink);
    text-decoration: none;
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 1px;
    background: var(--c-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s var(--ease);
  }
  .nav__link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

@media (min-width: 1024px) {
  .nav__list {
    gap: 40px;
  }
}

@media (min-width: 1280px) {
  .site-header__inner {
    padding: 0 56px;
  }
}

/* Mobile-Menü */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  padding: calc(var(--header-h) + 24px) 22px 40px;
  background: var(--c-cream);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.8s var(--ease),
    visibility 0s linear 0.8s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.6s var(--ease),
    transform 0.8s var(--ease),
    visibility 0s;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  min-height: 100%;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.mobile-menu__list a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-line);
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--c-ink);
  text-decoration: none;
}

.mobile-menu__legal {
  display: flex;
  gap: 24px;
  margin-top: auto;
  font-size: 14px;
}

.mobile-menu__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--c-muted);
}

body.menu-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

/* ==========================================================================
   1 · HERO
   ========================================================================== */
.hero {
  --card-r: 28px;
  --notch-r: 24px;
  --tab-h: 64px;
  --tab-pl: 6px;
  --tab-pr: 8px;
  --brand-size: 44px;
  --card-min: 420px;

  position: relative;
}

.hero__stage {
  position: relative;
  height: max(100vh, calc(var(--card-min) + var(--header-h) + var(--edge)));
  overflow: hidden;
}

.hero__card {
  position: absolute;
  top: var(--header-h);
  left: var(--edge);
  right: var(--edge);
  height: max(var(--card-min), calc(100vh - var(--header-h) - var(--edge)));
}

/* svh nur, wo unterstützt (mit var() würde ein Fallback sonst nicht greifen) */
@supports (height: 100svh) {
  .hero__stage {
    height: max(100svh, calc(var(--card-min) + var(--header-h) + var(--edge)));
  }
  .hero__card {
    height: max(var(--card-min), calc(100svh - var(--header-h) - var(--edge)));
  }
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--card-r);
  background: #c9c3a8;
}

.hero.has-notch .hero__media {
  border-radius: 0;
}

.hero__poster,
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__canvas {
  opacity: 0;
}


.hero__canvas.is-ready {
  opacity: 1;
}

.hero__scrim {
  display: none;
}

/* Aussparung oben rechts: Text sitzt in der freigeschnittenen Ecke */
.hero__brand {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  height: var(--tab-h);
  padding: 0 var(--tab-pr) 0 var(--tab-pl);
  border-bottom-left-radius: var(--notch-r);
  background: var(--c-cream);
  font-family: var(--font-serif);
  font-size: var(--brand-size);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--c-green);
  white-space: nowrap;
}

.hero.has-notch .hero__brand {
  background: transparent;
}

.hero__content {
  position: absolute;
  top: calc(var(--tab-h) + 20px);
  left: 16px;
  right: 16px;
}

.hero__eyebrow {
  margin-bottom: 13px;
  padding-left: 2px;
  color: var(--c-green);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--c-green);
}

.hero__title em {
  font-style: italic;
  color: var(--c-bronze);
}

.hero__lead {
  display: none;
}

.hero__scroll {
  display: none;
}

/* Wegfliegen beim Treffmoment (Klasse .is-hit per JS) */
.hero__eyebrow,
.hero__title,
.hero__lead {
  will-change: transform, opacity;
  transition:
    transform 0.62s cubic-bezier(0.16, 0.84, 0.3, 1),
    opacity 0.5s cubic-bezier(0.4, 0, 0.6, 1);
}

/* Rückweg: umgekehrte Reihenfolge */
.hero__lead {
  transition-delay: 0s;
}
.hero__title {
  transition-delay: 0.04s;
}
.hero__eyebrow {
  transition-delay: 0.08s;
}

.hero.is-hit .hero__eyebrow {
  opacity: 0;
  transform: translate3d(55vw, -42vh, 0) rotate(-9deg);
  transition-delay: 0s;
}

.hero.is-hit .hero__title {
  opacity: 0;
  transform: translate3d(62vw, -48vh, 0) rotate(-12deg);
  transition-delay: 0.04s;
}

.hero.is-hit .hero__lead {
  opacity: 0;
  transform: translate3d(70vw, -30vh, 0) rotate(-6deg);
  transition-delay: 0.08s;
}

@media (min-width: 768px) {
  .hero {
    --card-r: 40px;
    --notch-r: 40px;
    --tab-h: clamp(84px, 10.42vw, 150px);
    --tab-pl: clamp(20px, 2.78vw, 40px);
    --tab-pr: clamp(8px, 0.87vw, 12px);
    --brand-size: clamp(66px, 8.06vw, 116px);
    --card-min: 460px;
  }

  .hero__scrim {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 56%;
    background: linear-gradient(to left, rgba(244, 239, 229, 0.62), rgba(244, 239, 229, 0));
  }

  .hero__brand {
    padding-bottom: 0.06em;
  }

  .hero__content {
    top: calc(var(--tab-h) + clamp(24px, 2.78vw, 40px));
    left: auto;
    right: clamp(28px, 3.89vw, 56px);
    width: min(560px, 64%);
    text-align: right;
  }

  .hero__eyebrow {
    margin-bottom: 21px;
    padding: 0;
    margin-right: -0.22em;
  }

  .hero__title {
    max-width: 8.05em; /* Umbruch wie Figma: „… spürt. Ruhe, die / man hört.“ */
    margin-left: auto;
    font-size: clamp(40px, 4.44vw, 64px);
    line-height: 1;
  }

  .hero__lead {
    display: block;
    max-width: 380px;
    margin: 44px 0 0 auto;
    font-size: 15px;
    line-height: 1.6;
    color: var(--c-ink);
  }

  .hero__scroll {
    position: absolute;
    right: clamp(28px, 3.06vw, 44px);
    bottom: 36px;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1px solid var(--c-cream);
    border-radius: 50%;
    color: var(--c-cream);
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
    --focus: var(--c-cream);
    transition: transform 0.6s var(--ease), background-color 0.6s var(--ease);
  }

  .hero__scroll:hover {
    background: rgba(244, 239, 229, 0.16);
    transform: translateY(3px);
  }

  .hero.is-hit .hero__eyebrow {
    transform: translate3d(68vw, -6vh, 0) rotate(-5deg);
  }
  .hero.is-hit .hero__title {
    transform: translate3d(74vw, -10vh, 0) rotate(-7deg);
  }
  .hero.is-hit .hero__lead {
    transform: translate3d(70vw, -3vh, 0) rotate(-4deg);
  }
}

/* Tablet hochkant: Hochformat-Frames, Golfer steht mittig – Subline wie mobil ausblenden */
@media (orientation: portrait) and (min-width: 768px) and (max-width: 1199px) {
  .hero__lead {
    display: none;
  }
}

/* Scroll-Sperre (Hero-Swing, Putt): html UND body – hält so auch auf iOS Safari */
html.is-scroll-locked,
html.is-scroll-locked body {
  overflow: hidden;
  overscroll-behavior: none;
}

/* ==========================================================================
   2 · LAUFBAND
   ========================================================================== */
.marquee {
  position: relative;
  scroll-margin-top: var(--header-h);
  z-index: 1;
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}

@media (min-width: 768px) {
  .marquee {
    padding: 28px 0 29px;
  }
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 90s linear infinite;
}

.marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.45em;
  padding-right: 0.45em;
  font-family: var(--font-serif);
  font-size: var(--fs-marquee);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--c-green);
  white-space: nowrap;
}

.star {
  width: 0.5em;
  height: 0.5em;
  fill: var(--c-gold);
  flex-shrink: 0;
}

@keyframes marquee {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ==========================================================================
   3 · DER CLUB
   ========================================================================== */
.club {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "text text"
    "flag course";
  gap: 48px 12px;
  padding: var(--section-y) 0;
}

.club__text {
  grid-area: text;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--pad);
  text-align: center;
}

.club__title {
  margin-top: 20px;
}

.club__lead {
  margin: 24px 0 36px;
}

.club__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 330 / 460;
}

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

.club__img--flag {
  grid-area: flag;
  border-top-right-radius: 96px;
}

.club__img--course {
  grid-area: course;
  border-top-left-radius: 96px;
}

.club__img--course img {
  object-position: 70% 50%;
}

@media (min-width: 1024px) {
  .club {
    grid-template-columns: 1fr min(600px, 46vw) 1fr;
    grid-template-areas: "flag text course";
    column-gap: clamp(32px, 6.25vw, 90px);
    align-items: start;
    padding: 90px 0 130px;
  }
  .club__text {
    max-width: none;
    margin: 0;
    padding: 50px 0 0;
  }
  .club__img {
    width: 100%;
    max-width: 330px;
  }
  .club__img--flag {
    justify-self: start;
    border-top-right-radius: 160px;
  }
  .club__img--course {
    justify-self: end;
    border-top-left-radius: 160px;
  }
}

/* ==========================================================================
   4 · DER PLATZ
   ========================================================================== */
.platz {
  padding: 0 var(--edge);
}

.platz__block {
  --focus: var(--c-cream);
  padding: 56px 20px 48px;
  border-radius: var(--r-xl);
  background: var(--c-green);
  color: var(--c-cream);
}

.platz__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  padding-bottom: 32px;
}

.platz__heading {
  max-width: 720px;
}

.platz__title {
  margin-top: 18px;
  font-size: var(--fs-h2-platz);
  line-height: 1.02;
  color: var(--c-cream);
}

.platz__img {
  overflow: hidden;
  border-radius: var(--r-m);
  aspect-ratio: 4 / 3;
}

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

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 16px;
  padding-top: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
  padding-left: 16px;
  border-left: 1px solid var(--c-cream-25);
}

.stat__num {
  font-family: var(--font-serif);
  font-size: var(--fs-stat);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.stat__label {
  font-size: 14px;
  line-height: 1.3;
  color: var(--c-cream-75);
}

@media (min-width: 768px) {
  .platz__block {
    padding: 80px 32px 72px;
  }
  .platz__img {
    border-radius: 28px;
    aspect-ratio: 2 / 1;
  }
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 48px 0 0;
  }
  .stat {
    padding-left: 24px;
  }
}

@media (min-width: 1024px) {
  .platz__block {
    padding: 100px 40px 100px;
  }
  .platz__head {
    padding: 0 40px 48px;
  }
  .stats {
    padding: 48px 40px 0;
  }
}

/* ==========================================================================
   5 · ANGEBOT-KARUSSELL
   ========================================================================== */
.angebot {
  padding: var(--section-y) 0 calc(var(--section-y) + 10px);
}

.angebot__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad);
}

.angebot__title {
  margin-top: 18px;
}

.carousel-nav {
  display: flex;
  gap: 12px;
  margin-left: auto;
}

.carousel {
  margin-top: 40px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel:focus-visible {
  outline-offset: -2px;
}

.carousel__track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 0 var(--pad) 8px;
}

.card {
  flex: 0 0 auto;
  width: min(380px, 78vw);
  scroll-snap-align: start;
}

.card__img {
  overflow: hidden;
  border-radius: var(--r-l);
  aspect-ratio: 380 / 480;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.card:hover .card__img img {
  transform: scale(1.03);
}

.card .h3 {
  margin-top: 22px;
}

.card__text {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-body);
}

@media (min-width: 768px) {
  .carousel {
    margin-top: 48px;
  }
  .carousel__track {
    gap: 24px;
  }
}

/* ==========================================================================
   6 · PUTT (zweiter Höhepunkt)
   ========================================================================== */
.putt {
  position: relative;
}

/* Mobil: Karte im Frame-Format (≈ 16:9) – komplettes Bild ohne Beschnitt,
   Eyebrow, Headline und Buttons darunter auf Creme */
.putt__stage {
  position: relative;
  padding: 0 var(--edge);
}

.putt__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--c-cream);
  aspect-ratio: 1920 / 1070;
}

.putt__poster,
.putt__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.putt__canvas {
  opacity: 0;
}

.putt__canvas.is-ready {
  opacity: 1;
}

.putt__scrim {
  display: none;
}

.putt__content {
  margin-top: 32px;
  padding: 0 8px;
  text-align: center;
}

/* Ab 768 px: bildschirmhohe Karte, Text über dem Bild (wie in Figma) */
@media (min-width: 768px) {
  .putt__stage {
    height: 100vh;
    height: 100svh;
    min-height: 560px;
  }

  .putt__card {
    height: 100%;
    aspect-ratio: auto;
    background: #7d8a3c;
  }

  .putt__poster,
  .putt__canvas {
    object-fit: cover;
  }

  .putt__scrim {
    display: block;
    position: absolute;
    inset: 0 0 auto;
    height: 58%;
    background: linear-gradient(to bottom, rgba(244, 239, 229, 0.6), rgba(244, 239, 229, 0));
  }

  .putt__content {
    position: absolute;
    top: clamp(72px, 13.3vh, 120px);
    left: calc(var(--edge) + 16px);
    right: calc(var(--edge) + 16px);
    margin: 0;
    padding: 0;
  }
}

@media (min-width: 768px) and (max-aspect-ratio: 6/5) {
  .putt__poster {
    object-position: 66% 50%;
  }
}

.putt__title {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .btn-row {
    margin-top: 40px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js .putt__content {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 24px, 0);
    transition:
      opacity 1s var(--ease),
      transform 1.2s var(--ease),
      visibility 0s linear 1.2s;
  }
  .js .putt.is-in .putt__content {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      opacity 1s var(--ease),
      transform 1.2s var(--ease),
      visibility 0s;
  }
}

/* ==========================================================================
   7a · CLUBHAUS
   ========================================================================== */
.clubhaus {
  padding: var(--section-y) var(--edge) 0;
}

.clubhaus__block {
  display: grid;
  gap: 40px;
  padding: 20px 20px 48px;
  border-radius: var(--r-xl);
  background: var(--c-sand);
}

.clubhaus__img {
  overflow: hidden;
  border-top-right-radius: 120px;
  aspect-ratio: 660 / 620;
}

.clubhaus__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% 50%;
}

.clubhaus__title {
  margin-top: 20px;
  font-size: var(--fs-h2-small);
  letter-spacing: -0.015em;
}

.clubhaus__text .lead {
  margin-top: 24px;
}

.hours {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  padding: 32px 0 40px;
  font-size: 14px;
  line-height: 1.6;
}

.hours dt {
  font-weight: 600;
}

.hours dd {
  white-space: nowrap;
}

@media (min-width: 768px) {
  .clubhaus__block {
    padding: 40px;
  }
}

@media (min-width: 1024px) {
  .clubhaus {
    padding-top: 40px;
  }
  .clubhaus__block {
    grid-template-columns: minmax(0, 660fr) minmax(0, 484fr);
    align-items: center;
    gap: clamp(40px, 6.67vw, 96px);
    padding: 80px 60px;
  }
  .clubhaus__img {
    border-top-right-radius: 180px;
  }
}

/* ==========================================================================
   7b · ZITAT
   ========================================================================== */
.quote {
  padding: var(--section-y) var(--pad);
  text-align: center;
}

.quote__text p {
  font-family: var(--font-serif);
  font-size: var(--fs-quote);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--c-green);
  text-wrap: balance;
}

.quote__cite {
  margin-top: 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-bronze);
}

/* ==========================================================================
   7c · CLUBNACHRICHTEN
   ========================================================================== */
.news {
  display: grid;
  gap: 40px;
  padding: 16px var(--pad) var(--section-y);
}

.news__img {
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  border-radius: 160px 160px var(--r-l) var(--r-l);
  aspect-ratio: 520 / 640;
}

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

.news__title {
  margin-top: 20px;
  font-size: var(--fs-h2-small);
}

.news__text .lead {
  margin-top: 20px;
}

.form {
  max-width: 520px;
  padding-top: 16px;
}

.field {
  position: relative;
  margin-top: 24px;
}

.field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--c-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

.field:focus-within::after {
  transform: scaleX(1);
}

.field__input {
  display: block;
  width: 100%;
  height: 56px;
  padding: 22px 0 10px;
  border: 0;
  border-bottom: 1px solid var(--c-field);
  border-radius: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.4;
  color: var(--c-ink);
  -webkit-appearance: none;
  appearance: none;
}

.field__input:focus {
  outline: none;
}

.field__label {
  position: absolute;
  left: 0;
  bottom: 12px;
  font-size: 15px;
  line-height: 1.2;
  color: var(--c-muted);
  transform-origin: left bottom;
  pointer-events: none;
  transition: transform 0.6s var(--ease), color 0.6s var(--ease);
}

.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label {
  transform: translate3d(0, -26px, 0) scale(0.8);
  color: var(--c-green);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-muted);
  cursor: pointer;
}

.check__box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid var(--c-field);
  border-radius: 4px;
  background: transparent center / 14px 14px no-repeat;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.check__box:checked {
  border-color: var(--c-green);
  background-color: var(--c-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23f4efe5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.check__text a {
  color: var(--c-ink);
  text-underline-offset: 3px;
}

.form__submit {
  margin-top: 28px;
}

.form__note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--c-muted);
}

.form__status {
  margin-top: 8px;
  font-size: 14px;
  color: var(--c-green);
}

.form__status:empty {
  display: none;
}

@media (min-width: 1024px) {
  .news {
    grid-template-columns: minmax(0, 520px) minmax(0, 604px);
    align-items: center;
    gap: 96px;
    padding: 40px var(--pad) 130px;
  }
  .news__img {
    border-radius: 200px 200px var(--r-l) var(--r-l);
  }
  .form {
    padding-top: 16px;
  }
  .field:first-child {
    margin-top: 24px;
  }
}

/* ==========================================================================
   8 · KONTAKT + FOOTER
   ========================================================================== */
.kontakt {
  padding: 0 var(--edge);
}

.kontakt__card {
  --focus: var(--c-cream);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 640px;
  padding: 0 24px 40px;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: #2a2a22;
  color: var(--c-cream);
}

.kontakt__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

.kontakt__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18, 24, 20, 0.3) 0%, rgba(18, 24, 20, 0.62) 28%, rgba(18, 24, 20, 0.86) 62%);
}

.kontakt__content {
  position: relative;
}

.kontakt__title {
  max-width: 900px;
  margin-bottom: 40px;
  font-family: var(--font-serif);
  font-size: var(--fs-closing);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.kontakt__row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.kontakt__label {
  padding-bottom: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold-light);
}

.kontakt__text {
  font-size: 15px;
  line-height: 1.7;
  white-space: nowrap;
}

.kontakt__cta {
  align-self: flex-start;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .kontakt__card {
    min-height: 700px;
    padding: 0 48px 72px;
  }
  .kontakt__row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 32px 56px;
  }
  .kontakt__cta {
    margin: 0 0 0 auto;
  }
  .kontakt__scrim {
    background: linear-gradient(to bottom, rgba(18, 24, 20, 0) 30%, rgba(18, 24, 20, 0.78) 78%);
  }
}

@media (min-width: 1024px) {
  .kontakt__card {
    min-height: 780px;
    padding: 0 56px 147px;
  }
  .kontakt__title {
    margin-bottom: 48px;
  }
  .kontakt__row {
    gap: 32px clamp(40px, 5.56vw, 80px);
  }
}

.site-footer {
  padding: 48px var(--pad) 72px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 13px;
  color: var(--c-muted);
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--c-muted);
  text-decoration: none;
  background-image: linear-gradient(var(--c-gold), var(--c-gold));
  background-repeat: no-repeat;
  background-position: 0 calc(50% + 10px);
  background-size: 0 1px;
  transition: background-size 0.6s var(--ease), color 0.6s var(--ease);
}

.site-footer a:hover {
  color: var(--c-ink);
  background-size: 100% 1px;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 52px var(--pad) 80px;
  }
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ---------- Dialog Platzkarte ---------- */
.dialog {
  width: min(1120px, calc(100% - 24px));
  max-height: calc(100svh - 24px);
  padding: 0;
  border: 0;
  border-radius: var(--r-l);
  background: var(--c-cream);
  color: var(--c-ink);
}

.dialog::backdrop {
  background: rgba(18, 24, 20, 0.6);
}

.dialog[open] {
  animation: dialog-in 0.7s var(--ease);
}

.dialog__inner {
  padding: 16px 16px 24px;
}

.dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.dialog__title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.1;
}

.dialog__img {
  width: 100%;
  border-radius: var(--r-m);
}

.dialog__caption {
  margin-top: 16px;
  font-size: 14px;
  color: var(--c-body);
}

@media (min-width: 768px) {
  .dialog__inner {
    padding: 24px 32px 32px;
  }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
}

/* ---------- Reveal (dezentes Einblenden) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    transition:
      opacity 1s var(--ease),
      transform 1.2s var(--ease);
  }
  .js [data-reveal]:not(.is-visible) {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  .js .reveal-img img {
    transition: transform 1.8s var(--ease);
  }
  .js .reveal-img:not(.is-visible) {
    transform: none;
  }
  .js .reveal-img:not(.is-visible) img {
    transform: scale(1.06);
  }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track {
    animation: none;
  }
}

/* ---------- DEMO-Badge (zaviobuild-Standard) ---------- */
.zb-demo-badge {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  padding: 6px 14px;
  background: rgba(17, 17, 17, 0.85);
  color: #F6F4F1;
  border: 1px solid rgba(166, 166, 166, 0.6);
  border-radius: 999px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: border-color 0.4s ease;
}
.zb-demo-badge:hover { border-color: #C8B68E; }
@media (max-width: 600px) {
  .zb-demo-badge { right: 12px; bottom: 12px; font-size: 11px; }
}

/* ---------- Rechtliche Platzhalterseiten ---------- */
.legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
  text-underline-offset: 4px;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 64px) var(--pad) var(--section-y);
}

.legal__title {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
}

.legal__notice {
  margin-top: 32px;
  padding: 20px 24px;
  border-left: 2px solid var(--c-gold);
  background: var(--c-sand);
  color: var(--c-ink);
}

.legal__h2 {
  margin-top: 48px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.legal p:not(.eyebrow):not(.legal__notice) {
  margin-top: 12px;
  color: var(--c-body);
}
