/* ============================================================
   CORTINA Eiscafé — Stylesheet
   Design-DNA nach eis-lab.de: Creme, Navy-Display-Type, Gelb,
   Aperol-Orange, Lila, verstreute Parallax-Bilder, Marquee.
   ============================================================ */

:root {
  --cream: #F6F2EA;
  --cream-2: #EFE9DD;
  --ink: #23286B;
  --yellow: #F4CE3F;
  --orange: #E8501E;
  --lilac: #C9B8EE;
  --white: #FFFFFF;
  /* Oswald statt Anton: gleiche kondensierte Poster-Optik, aber Umlaut-Punkte
     innerhalb der Schriftbox — erlaubt kompakte Zeilenhöhe ohne Ö-Kollision */
  --font-display: 'Oswald', Impact, sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--yellow); color: var(--ink); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.wrap { width: min(1240px, 92vw); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 48px);
  mix-blend-mode: normal;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }

.logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.logo span { color: var(--orange); }

.header-actions { display: flex; gap: 10px; align-items: center; }

.pill-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.pill-btn:hover { background: var(--ink); color: var(--cream); }

/* vertikaler Social-Tab rechts */
.follow-tab {
  position: fixed;
  right: 0;
  top: 38vh;
  z-index: 90;
  background: var(--orange);
  color: var(--cream);
  writing-mode: vertical-rl;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 18px 10px;
  border-radius: 8px 0 0 8px;
  transition: padding .25s;
}
.follow-tab:hover { padding-right: 16px; }

/* ---------- Menü-Overlay ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(24px, 8vw, 120px);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s cubic-bezier(.76, 0, .24, 1), visibility 0s .6s;
  visibility: hidden;
}
.menu-overlay.open { clip-path: inset(0 0 0% 0); visibility: visible; }
.menu-overlay .close-btn {
  position: absolute;
  top: 24px;
  right: clamp(20px, 4vw, 48px);
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.menu-overlay .close-btn:hover { background: var(--cream); color: var(--ink); }
.menu-overlay nav a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 76px);
  text-transform: uppercase;
  line-height: 1.15;
  transition: color .2s, transform .3s;
}
.menu-overlay nav a:hover { color: var(--yellow); transform: translateX(14px); }
.menu-overlay .menu-meta {
  margin-top: 40px;
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .7;
}

/* ---------- Hero: Split wie EISLAB — Text links, Bild als volle rechte Hälfte ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  overflow: hidden;
  text-align: center;
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(110px, 16vh, 170px) 3vw clamp(36px, 7vh, 70px);
}
.hero h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(44px, 6.4vw, 116px);
  /* kompakt wie das Original — mit Oswald kollidieren Ö/Ü-Punkte nicht (ink-gemessen, 1.12 = wenige px Luft) */
  line-height: 1.12;
  max-width: 12ch;
  margin: 0 auto;
}
.hero h1 .word { display: inline-block; will-change: transform; }
.hero-sub {
  position: relative;
  z-index: 2;
  max-width: 420px;
  margin: 30px auto 0;
  font-size: 15px;
  font-weight: 600;
}
/* rechte Bildhälfte + Farb-Vorhänge (EISLAB curveMasks): Gelb → Orange → Lila → Navy ziehen beim Laden hoch */
.hero-media {
  position: relative;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
}
.hero-media img {
  display: block;
  width: 100%;
  height: 114%;
  object-fit: cover;
}
.hero-media .curve {
  position: absolute;
  left: -2%;
  top: -14%;
  width: 104%;
  height: 114%;
  background: var(--c, var(--yellow));
  /* elliptische Unterkante → der Vorhang zieht mit runder Kante hoch */
  border-radius: 0 0 50% 50% / 0 0 clamp(46px, 10vh, 110px) clamp(46px, 10vh, 110px);
  will-change: transform;
}
.hero-media .curve:nth-child(2) { z-index: 9; }
.hero-media .curve:nth-child(3) { z-index: 8; }
.hero-media .curve:nth-child(4) { z-index: 7; }
.hero-media .curve:nth-child(5) { z-index: 6; }
/* Rad-Sektion: gepinnter Screen, Bogen-Statements rollen wie ein Riesenrad durch (EISLAB about-wheel) */
.wheel-stage {
  position: relative;
  z-index: 1;
  height: 380vh;
}
.wheel-screen {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.wheel-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wheel-svg text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 118px;
  text-transform: uppercase;
  letter-spacing: .01em;
  fill: var(--ink);
}
.wheel-rotor { will-change: transform; }
.wheel-img {
  position: absolute;
  width: clamp(150px, 16vw, 260px);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(35, 40, 107, .14);
  opacity: 0;
  z-index: 2;
}
.wheel-img img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.wi-a { left: 5%; bottom: 14%; }
.wi-b { right: 6%; top: 9%; }
.wi-c { right: 11%; bottom: 7%; }
.wheel-fallback { display: none; }
.stage-kicker {
  position: absolute;
  top: 30px;
  width: 100%;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--orange);
  z-index: 3;
}
.stage-cta {
  position: absolute;
  bottom: 34px;
  width: 100%;
  text-align: center;
  z-index: 3;
}

/* ---------- Intro / 3 Kernpunkte ---------- */
.section { padding: clamp(70px, 10vw, 140px) 0; position: relative; }

.kicker {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--orange);
  margin-bottom: 18px;
}
.h2 { font-size: clamp(38px, 6vw, 84px); margin-bottom: 30px; }
.h3 { font-size: clamp(26px, 3.4vw, 44px); }

.points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 44px);
  margin-top: 50px;
}
.point-card { text-align: left; }
.point-card .num {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--orange);
  margin-bottom: 12px;
  display: inline-block;
  border-bottom: 3px solid var(--yellow);
  padding-bottom: 4px;
}
.point-card h3 { font-size: 24px; margin-bottom: 10px; }
.point-card p { font-size: 14px; opacity: .85; }
.point-card .point-img {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 4 / 3;
}
.point-card .point-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.point-card:hover .point-img img { transform: scale(1.05); }

/* ---------- Banner + Marquee ---------- */
.big-banner { position: relative; }
.big-banner img { width: 100%; height: clamp(320px, 60vh, 640px); object-fit: cover; }

.marquee {
  background: var(--lilac);
  color: var(--ink);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}
/* Loop läuft über JS (GSAP): Inhalt wird geklont bis er breiter als 2× Viewport ist,
   dann exakt um eine Set-Breite verschoben — dadurch NIE Leerlauf/Lücke */
.marquee-inner {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .06em;
  will-change: transform;
}
.marquee-inner span { margin-right: 48px; }

/* ---------- Sorten-Karussell ---------- */
.carousel-section { text-align: center; overflow: hidden; }
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 60px);
  margin-top: 40px;
  min-height: 380px;
}
.car-item { transition: transform .5s, opacity .5s; position: relative; width: clamp(140px, 22vw, 300px); }
.car-item img { border-radius: 14px; }
.car-item.side { transform: scale(.55); opacity: .55; }
.car-item.active { transform: scale(1); }
.car-item .sticker {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-6deg);
  background: var(--yellow);
  font-family: var(--font-display);
  font-size: 15px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  box-shadow: 2px 3px 0 var(--ink);
  white-space: nowrap;
}
.car-desc { max-width: 520px; margin: 26px auto 0; font-size: 14px; min-height: 66px; }
.car-nav {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 18px;
}
.car-nav button {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.car-nav button:hover { background: var(--ink); color: var(--cream); }

/* ---------- CTA-Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  padding: 16px 34px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: background .25s, color .25s, transform .2s;
}
.btn:hover { background: transparent; color: var(--ink); transform: translateY(-2px); }
.btn.light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn.light:hover { background: transparent; color: var(--cream); }

/* ---------- Store-Sektion ---------- */
.store-section { background: var(--cream-2); }
.store-flex {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.store-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.store-imgs img { border-radius: 12px; aspect-ratio: 3/4; object-fit: cover; }
.store-imgs img:last-child { margin-top: 40px; }

/* ---------- Galerie ---------- */
.gallery-section { text-align: center; }
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 46px;
}
.gallery .g-item {
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
}
.gallery .g-item:nth-child(3n) { border-radius: 14px; }
.gallery .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery .g-item:hover img { transform: scale(1.1); }

/* ---------- Gastro-CTA (Franchise-Analogie) ---------- */
.gastro-cta {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gastro-cta .h2 { color: var(--cream); }
.gastro-cta .repeat-line {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.05;
  opacity: .16;
}
.gastro-cta p { max-width: 520px; margin: 24px auto; }
.gastro-deco {
  position: absolute;
  width: 130px;
  border-radius: 12px;
  transform: rotate(-8deg);
  opacity: .9;
}

/* ---------- Produkte-Seite ---------- */
.page-hero {
  padding: 150px 0 40px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(44px, 7vw, 110px); }
.page-hero p { max-width: 520px; margin: 22px auto 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(18px, 2.5vw, 34px);
}
.product-card {
  background: var(--white);
  border-radius: 16px;
  padding: 18px 18px 24px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(35,40,107,.10); }
.product-card img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; margin-bottom: 14px; }
.product-card h3 { font-size: 20px; margin-bottom: 8px; }
.product-card p { font-size: 13px; opacity: .8; }
.product-card .tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--lilac);
  color: var(--ink);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 8px;
}
.product-card .tag.vegan { background: #BBDCA8; }
.product-card .tag.sorbet { background: var(--yellow); }

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 34px);
  margin-top: 26px;
}
.feature-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.feature-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.feature-card:hover img { transform: scale(1.06); }
.feature-card .fc-label {
  position: absolute;
  left: 16px; bottom: 16px; right: 16px;
  background: rgba(246, 242, 234, .92);
  border-radius: 12px;
  padding: 14px 18px;
}
.feature-card .fc-label h3 { font-size: 22px; }
.feature-card .fc-label p { font-size: 13px; }

/* ---------- Standort ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 4vw, 60px);
  align-items: start;
}
.loc-card {
  background: var(--white);
  border-radius: 18px;
  padding: clamp(26px, 3vw, 44px);
}
.loc-card h3 { font-size: 30px; margin-bottom: 16px; }
.loc-card table { width: 100%; border-collapse: collapse; font-size: 14px; }
.loc-card td { padding: 7px 0; border-bottom: 1px solid var(--cream-2); }
.loc-card td:last-child { text-align: right; font-weight: 700; }
.map-frame {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 18px;
  filter: grayscale(.3);
}

/* ---------- Formulare ---------- */
.form-card {
  background: var(--white);
  border-radius: 18px;
  padding: clamp(26px, 4vw, 48px);
  max-width: 680px;
  margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  border: 1.5px solid var(--cream-2);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.checkbox-row input { width: auto; margin-top: 3px; }

/* ---------- Über uns ---------- */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
}
.about-block.rev > .ab-img { order: 2; }
.ab-img { border-radius: 18px; overflow: hidden; }
.ab-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.signature {
  font-family: 'Segoe Script', cursive;
  font-size: 26px;
  color: var(--orange);
  margin-top: 18px;
}

.values-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.value-item {
  border-top: 3px solid var(--yellow);
  padding-top: 16px;
}
.value-item h3 { font-size: 19px; margin-bottom: 8px; }
.value-item p { font-size: 13px; opacity: .8; }

.benefit-list { margin-top: 40px; display: grid; gap: 0; }
.benefit-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1.5px solid rgba(35,40,107,.15);
}
.benefit-row .num { font-family: var(--font-display); font-size: 22px; color: var(--orange); min-width: 44px; }
.benefit-row h3 { font-size: 24px; flex: 1; }
.benefit-row p { max-width: 380px; font-size: 14px; opacity: .85; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(50px, 7vw, 90px) 0 30px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(26px, 4vw, 70px);
}
.footer-logo { font-family: var(--font-display); font-size: 34px; }
.footer-nav a, .footer-social a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  font-weight: 600;
  opacity: .85;
  transition: opacity .2s, transform .2s;
}
.footer-nav a:hover, .footer-social a:hover { opacity: 1; transform: translateX(4px); }
.newsletter p { font-size: 14px; margin-bottom: 14px; opacity: .85; }
.newsletter form { display: flex; gap: 10px; }
.newsletter input {
  background: rgba(246,242,234,.08);
  border-color: rgba(246,242,234,.25);
  color: var(--cream);
}
.newsletter input::placeholder { color: rgba(246,242,234,.5); }
.newsletter .btn { padding: 13px 22px; background: var(--orange); border-color: var(--orange); }
.newsletter .btn:hover { background: transparent; color: var(--cream); }
.footer-bottom {
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid rgba(246,242,234,.15);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  opacity: .6;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Reveal Anim ---------- */
.reveal { opacity: 0; transform: translateY(36px); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .points-grid, .feature-cards { grid-template-columns: 1fr; }
  .store-flex, .location-grid, .about-block, .footer-grid { grid-template-columns: 1fr; }
  .about-block.rev > .ab-img { order: 0; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .values-strip { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  /* Rad-Sektion wird auf Mobile zur einfachen vertikalen Abfolge */
  .wheel-stage { height: auto; }
  .wheel-screen {
    position: static;
    height: auto;
    overflow: visible;
    padding: 60px 6vw 40px;
  }
  .wheel-svg, .wheel-img { display: none; }
  .wheel-fallback { display: flex; flex-direction: column; gap: 20px; margin-top: 26px; }
  .wheel-fallback h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 8vw, 42px);
    text-transform: uppercase;
    line-height: 1.14;
    color: var(--ink);
  }
  .stage-kicker, .stage-cta { position: static; }
  .stage-cta { margin-top: 26px; }
  /* Hero wird einspaltig: Text oben, Bild darunter */
  .hero { grid-template-columns: 1fr; min-height: 0; padding-bottom: 0; }
  .hero-text { padding: 110px 6vw 40px; gap: 26px; }
  .hero-media { min-height: 0; height: clamp(260px, 62vw, 460px); }
  .hero-sub { padding: 0 6vw; }
  .benefit-row { flex-wrap: wrap; }
}
