/* CP-Europe – Off-White, Petrol, Gold. Aufbau: feste WebGL-Bühne hinter der Seite, zwei durchsichtige Szenen, dazwischen deckende Abschnitte. */
@font-face { font-family: "Inter"; src: url("inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --grund: #F9F5ED; --flaeche: #F2EDE2; --petrol: #01292D; --petrol-2: #0b3a3f; --gold: #B8935A; --gold-hell: #E2CC9D;
  --leise: #4a6164; --linie: rgba(1, 41, 45, .13);
  --schrift: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --rand: clamp(20px, 4.2vw, 64px);
}
* { box-sizing: border-box; }
html { background: var(--grund); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--petrol); font-family: var(--schrift); font-size: 17px; line-height: 1.5; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

#buehne { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .fuss { position: relative; z-index: 1; }

/* Kopf */
.kopf { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--rand); background: rgba(249, 245, 237, .78); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .3s; }
.kopf.unten { border-bottom-color: var(--linie); }
.marke img { height: 34px; width: auto; }
.kopf nav { display: flex; gap: clamp(16px, 2.6vw, 38px); font-size: 15px; font-weight: 500; }
.kopf nav a { text-decoration: none; opacity: .78; transition: opacity .2s; }
.kopf nav a:hover { opacity: 1; }

.rechts { display: flex; align-items: center; gap: 10px; }
.sprache { position: relative; font-size: 14px; font-weight: 600; }
.sprache summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--linie); letter-spacing: .06em; transition: border-color .2s; }
.sprache summary::-webkit-details-marker { display: none; }
.sprache summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; }
.sprache summary:hover, .sprache[open] summary { border-color: var(--petrol); }
.sprache ul { position: absolute; right: 0; top: calc(100% + 10px); width: 300px; max-width: calc(100vw - 2 * var(--rand)); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 8px; background: #fffdf8; border: 1px solid var(--linie); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(1, 41, 45, .35); }
.sprache a { display: flex; gap: 10px; align-items: baseline; padding: 9px 10px; border-radius: 10px; text-decoration: none; font-weight: 500; color: var(--leise); }
.sprache a b { font-weight: 600; color: var(--petrol); font-size: 12px; letter-spacing: .08em; min-width: 22px; }
.sprache a:hover, .sprache a[aria-current] { background: var(--flaeche); color: var(--petrol); }

.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1.5px solid var(--petrol);
  background: var(--petrol); color: var(--grund); font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .25s cubic-bezier(.2, .8, .2, 1), background .25s, color .25s; }
.knopf:hover { transform: translateY(-2px); background: var(--petrol-2); }
.knopf.hohl { background: transparent; color: var(--petrol); }
.knopf.hohl:hover { background: var(--petrol); color: var(--grund); }
.knopf.klein { min-height: 40px; padding: 0 20px; font-size: 15px; }
.knopf.gold { background: var(--gold-hell); border-color: var(--gold-hell); color: var(--petrol); }
.knopf.gold:hover { background: #efdcb4; }

/* Szenen */
.szene { position: relative; height: 560vh; }
.szene.schluss { height: 230vh; }
.klebt { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
.t { position: absolute; opacity: 0; transform: translateY(26px); transition: opacity .55s ease, transform .7s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.t.an { opacity: 1; transform: none; pointer-events: auto; }
.ersatz { display: none; }

h1 { font-size: clamp(40px, 5.6vw, 88px); line-height: 1.0; letter-spacing: -.032em; font-weight: 600; text-wrap: balance; }
h1 span { display: block; }
.unter { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.4; color: var(--leise); max-width: 30em; }
.vor { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.vor.hell { color: var(--gold-hell); }
.gross { font-size: clamp(30px, 3.6vw, 56px); line-height: 1.06; letter-spacing: -.032em; font-weight: 600; text-wrap: balance; }

.t.start { left: var(--rand); top: 50%; width: min(50vw, 820px); transform: translateY(calc(-50% + 26px)); display: flex; flex-direction: column; gap: 26px; }
.t.start.an { transform: translateY(-50%); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

.t.satz { left: var(--rand); right: var(--rand); bottom: 9vh; text-align: center; }
.riesig { font-size: clamp(26px, 3.8vw, 64px); line-height: 1.08; letter-spacing: -.032em; font-weight: 600; }
.riesig .w { opacity: .16; transition: opacity .45s ease; }
.riesig .w.hell { opacity: 1; }
.riesig .w.g { color: var(--gold); }

.t.land { left: var(--rand); top: 50%; width: min(40vw, 560px); transform: translateY(calc(-50% + 26px)); display: flex; flex-direction: column; gap: 14px; }
.t.land.an { transform: translateY(-50%); }
.landname { font-size: clamp(42px, 5.2vw, 84px); line-height: 1; letter-spacing: -.032em; font-weight: 600; color: var(--gold); min-height: 1em; }
.landname.wechsel { animation: wechsel .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes wechsel { from { opacity: 0; transform: translateY(.22em); } to { opacity: 1; transform: none; } }

.t.wahl { right: var(--rand); top: 50%; width: min(40vw, 560px); transform: translateY(calc(-50% + 26px)); display: flex; flex-direction: column; gap: 16px; }
.t.wahl.an { transform: translateY(-50%); }

.t.ende { left: var(--rand); right: var(--rand); bottom: 13vh; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.t.ende .gross { font-size: clamp(26px, 3vw, 46px); }
.adresse a { font-size: clamp(24px, 2.6vw, 40px); line-height: 1.1; letter-spacing: -.032em; font-weight: 600; color: var(--gold); text-decoration: none; word-break: break-word; }
.adresse a:hover { color: var(--petrol); }
.meldung { font-size: 15px; color: var(--leise); margin-left: 10px; }

/* deckende Abschnitte */
.fest { background: var(--grund); }
.innen { max-width: 1440px; margin: 0 auto; padding: clamp(80px, 11vw, 170px) var(--rand); }
h2 { font-size: clamp(32px, 4vw, 62px); line-height: 1.04; margin-top: 14px; letter-spacing: -.032em; font-weight: 600; text-wrap: balance; }
h2 span { color: var(--gold); }
h3 { font-size: clamp(21px, 1.7vw, 26px); line-height: 1.15; letter-spacing: -.02em; font-weight: 600; }
.lauf { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.45; color: var(--leise); max-width: 34em; }
.lauf.hell { color: rgba(249, 245, 237, .78); }

.zeig { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform 1s cubic-bezier(.2, .8, .2, 1); }
.zeig.da { opacity: 1; transform: none; }

.karten .reihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); margin-top: clamp(36px, 5vw, 76px); }
.karte { background: transparent; border-radius: 24px; padding: 0 0 8px; transition: opacity .8s ease, transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .6s; }
.karte:nth-child(2) { transition-delay: .1s; } .karte:nth-child(3) { transition-delay: .2s; }
.karte.da:hover { transform: translateY(-6px); transition-delay: 0s; }
.karte .bild { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--flaeche); }
.karte .bild img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s cubic-bezier(.2, .8, .2, 1); }
.karte.da .bild img { transform: scale(1); }
.karte.da:hover .bild img { transform: scale(1.05); }
.karte h3 { margin: 22px 2px 4px; }
.karte p { margin: 0 2px; color: var(--leise); }

.zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 6vw, 110px); align-items: center; }
.zwei > div:first-child { display: flex; flex-direction: column; gap: 28px; }
.bildgross { border-radius: 24px; overflow: hidden; aspect-ratio: 1; background: var(--flaeche); }
.bildgross img { width: 100%; height: 100%; object-fit: cover; }
.linse .innen { padding-top: 0; }
.linse h2 { margin-top: 0; }

/* Verzeichnis */
.wachs { height: 210vh; }
.klebt2 { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; overflow: clip; }
.flaeche { --p: 0; width: calc(100% - (1 - var(--p)) * 2 * var(--rand)); height: calc(100% - (1 - var(--p)) * 16vh); border-radius: calc((1 - var(--p)) * 44px);
  background: var(--petrol); color: var(--grund); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 70px);
  padding: 0 clamp(24px, 6vw, 110px); overflow: hidden; will-change: width, height; }
.vtext { display: flex; flex-direction: column; gap: 22px; }
.vtext h2 { font-size: clamp(32px, 4vw, 62px); margin-top: 0; }
.vbild { --k: 1; perspective: 1600px; }
.vbild img { border-radius: 18px; box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(226, 204, 157, .22);
  transform: rotateY(calc(var(--k) * -24deg)) rotateX(calc(var(--k) * 9deg)) translateX(calc(var(--k) * 12%)) scale(calc(1.08 - var(--k) * .12)); transform-origin: 60% 50%; will-change: transform; }

.schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 56px); margin-top: clamp(40px, 6vw, 90px); }
.schritte li { border-top: 1px solid var(--linie); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.schritte li:nth-child(2) { transition-delay: .12s; } .schritte li:nth-child(3) { transition-delay: .24s; }
.zahl { font-size: clamp(52px, 5.4vw, 84px); line-height: 1; font-weight: 300; letter-spacing: -.04em; color: var(--gold); }
.schritte p { color: var(--leise); max-width: 24em; }
.band { margin-top: clamp(50px, 7vw, 110px); border-radius: 24px; overflow: hidden; aspect-ratio: 2.3 / 1; background: var(--flaeche); }
.band img { width: 100%; height: 100%; object-fit: cover; }

.grund .innen { padding-top: 0; }
.zeilen { margin-top: clamp(30px, 4vw, 60px); border-bottom: 1px solid var(--linie); }
.zeilen li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 40px; align-items: baseline; padding: clamp(22px, 2.6vw, 40px) 0; border-top: 1px solid var(--linie); }
.zeilen strong { font-size: clamp(22px, 2.3vw, 36px); line-height: 1.1; letter-spacing: -.032em; font-weight: 600; }
.zeilen span { color: var(--leise); font-size: clamp(16px, 1.3vw, 20px); }

.fuss { background: var(--grund); border-top: 1px solid var(--linie); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; padding: 28px var(--rand) calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 15px; color: var(--leise); }
.fuss img { height: 30px; width: auto; }
.fuss .links { display: flex; gap: 26px; }
.fuss a { text-decoration: none; } .fuss a:hover { text-decoration: underline; }

/* Rechtstexte */
.recht { max-width: 820px; margin: 0 auto; padding: 150px var(--rand) 90px; position: relative; z-index: 1; }
.recht h1 { font-size: clamp(40px, 6vw, 84px); margin-bottom: 40px; }
.recht h2 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.02em; margin: 44px 0 12px; }
.recht p, .recht li { color: #24474b; margin-bottom: 12px; }
.recht ul { list-style: disc; padding-left: 22px; }
.recht a { color: var(--petrol); }

/* ohne WebGL: Bild statt Bühne */
.ohne #buehne { display: none; }
.ohne .ersatz { display: block; position: absolute; right: 0; top: 50%; width: min(52vw, 760px); transform: translateY(-50%); border-radius: 24px; opacity: .9; }

@media (max-width: 900px) {
  .kopf nav { display: none; }
  .marke img { height: 28px; }
  .szene { height: 520vh; }
  .t.start, .t.land, .t.wahl { left: var(--rand); right: var(--rand); width: auto; top: auto; bottom: 7vh; transform: translateY(26px); gap: 14px; }
  .t.start.an, .t.land.an, .t.wahl.an { transform: none; }
  .t.satz { bottom: 7vh; }
  .karten .reihe, .schritte, .zwei { grid-template-columns: minmax(0, 1fr); }
  .karte .bild { aspect-ratio: 1 / .8; }
  .flaeche { grid-template-columns: minmax(0, 1fr); align-content: center; padding: 30px 24px; gap: 30px; height: calc(100% - (1 - var(--p)) * 10vh); }
  .vbild img { transform: rotateY(calc(var(--k) * -14deg)) rotateX(calc(var(--k) * 8deg)) scale(calc(1 - var(--k) * .08)); }
  .zeilen li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .band { aspect-ratio: 1.5 / 1; }
  .ohne .ersatz { position: absolute; top: 12vh; right: auto; left: 50%; width: 78vw; transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .t, .zeig, .karte, .karte .bild img, .riesig .w { transition: none; }
  .landname.wechsel { animation: none; }
}
