/* =====================================================================
   FKK LILLE – « Flandres » · bleu nuit, brique, ocre doré
   Façades en mosaïque, pignons à gradins, bandeau défilant, billet de train
   ===================================================================== */
@font-face { font-family: "Playfair Display"; src: url(/assets/fonts/playfair-display-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(/assets/fonts/playfair-display-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(/assets/fonts/playfair-display-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Outfit"; src: url(/assets/fonts/outfit-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Outfit"; src: url(/assets/fonts/outfit-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url(/assets/fonts/outfit-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #10162a; --bg2: #161e37; --card: #1b2442; --fg: #f6efe6; --muted: #a8aec2;
  --accent: #dba942; --accent2: #c8553b; --line: rgba(246,239,230,.12); --btn-fg: #1a1205;
  --font-d: "Playfair Display", Georgia, serif; --font-b: "Outfit", system-ui, sans-serif;
  --radius: 6px; --radius-s: 4px; --header-h: 110px;
  --gable: polygon(0 100%, 0 40%, 8% 40%, 8% 20%, 16% 20%, 16% 0, 24% 0, 24% 20%, 32% 20%, 32% 40%, 40% 40%, 40% 100%);
}
h1, h2, .h2 { font-weight: 700; }
.h2 { font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); }
.h2 em, .h2 .w:last-child > span { font-style: italic; font-weight: 400; color: var(--accent); }
.kicker { color: var(--accent); letter-spacing: .22em; }
.prose strong { color: var(--accent); }

.btn { border-radius: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.btn--primary { background: var(--accent); box-shadow: 4px 4px 0 var(--accent2); }
.btn--primary:hover { box-shadow: 7px 7px 0 var(--accent2); transform: translate(-3px, -3px); }
.btn--ghost { border: 2px solid var(--fg); color: var(--fg); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* Header */
.hdr { height: var(--header-h); display: flex; flex-direction: column; }
.hdr__strip { height: 34px; display: flex; justify-content: center; gap: 2.5rem; align-items: center; background: var(--accent2); color: #fff; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; transition: margin .4s var(--ease); }
.hdr__strip a { text-decoration: none; font-weight: 600; }
.hdr__in { flex: 1; }
.hdr.is-scrolled { background: rgba(16,22,42,.94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.hdr.is-scrolled .hdr__strip { margin-top: -34px; }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.logo svg { width: 38px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: miter; }
.logo span { font-family: var(--font-d); font-weight: 700; font-size: 1.7rem; line-height: .9; }
.logo small { display: block; font-family: var(--font-b); font-weight: 600; font-size: .62rem; letter-spacing: .45em; color: var(--accent); }
@media (min-width: 1021px) { .nav a { font-weight: 400; font-size: .9rem; } }
.nav ul a::before { content: ""; position: absolute; left: 50%; bottom: -6px; width: 0; height: 3px; background: var(--accent); transition: width .35s var(--ease), left .35s var(--ease); }
.nav ul a:hover::before, .nav ul a[aria-current]::before { width: 100%; left: 0; }
@media (max-width: 760px) { .hdr__strip span:nth-child(2) { display: none; } .hdr__strip { gap: 1rem; } }
@media (max-width: 1020px) { :root { --header-h: 100px; } .nav { background: var(--bg2); } .nav ul a { font-weight: 700; } .hdr.is-scrolled { --header-h: 66px; } .logo span { font-size: 1.45rem; } }

/* Hero mit Fassaden-Kacheln */
.li-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 2rem) 0 5rem; }
.li-hero__seo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; opacity: 0; transition: opacity 1.2s 1.6s; }
.li-hero.is-ready .li-hero__seo { opacity: 1; }
.li-tiles { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 1fr); perspective: 1200px; }
.li-tiles i { background-image: var(--img); background-size: 600% 400%; background-position: calc(var(--c) * 20%) calc(var(--r) * 33.333%); transform: rotateY(90deg); transform-origin: left; animation: tile 1.1s var(--ease-out) forwards; animation-delay: calc((var(--c) + var(--r)) * 90ms + 150ms); backface-visibility: hidden; }
@keyframes tile { to { transform: none; } }
.li-hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,22,42,.5), rgba(16,22,42,.25) 40%, rgba(16,22,42,.95)), linear-gradient(90deg, rgba(16,22,42,.8), transparent 70%); }
.li-hero__city { position: absolute; right: -1vw; top: calc(var(--header-h) - 1rem); font-family: var(--font-d); font-weight: 700; font-size: clamp(5rem, 18vw, 17rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(219,169,66,.55); writing-mode: vertical-rl; transform: rotate(180deg); pointer-events: none; margin: 0; letter-spacing: -.02em; }
.li-hero__inner { position: relative; }
.li-hero__title { font-size: clamp(2.8rem, 1.6rem + 5.4vw, 6.8rem); max-width: 14ch; line-height: 1; }
.li-hero__sub { max-width: 52ch; font-size: 1.1rem; color: #e3dccf; }
@media (max-width: 760px) { .li-hero__city { font-size: 6rem; opacity: .5; } }

/* Laufband */
.li-band { background: var(--accent); color: var(--btn-fg); overflow: hidden; padding: 1rem 0; transform: rotate(-1.2deg) scale(1.02); margin: -1rem 0 0; position: relative; z-index: 2; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.li-band__track { display: flex; gap: 2rem; width: max-content; animation: marquee 30s linear infinite; align-items: center; }
.li-band span { font-family: var(--font-d); font-weight: 700; font-size: 1.4rem; white-space: nowrap; }
.li-band b { color: var(--accent2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Intro */
.li-intro__grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .li-intro__grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; } }
.li-usp { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 4rem; }
.li-usp__i { --rx: 0deg; --ry: 0deg; background: var(--card); padding: 2rem 1.6rem; border-radius: var(--radius); position: relative; overflow: hidden; transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease-out), opacity .9s; }
.li-usp__i::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: repeating-linear-gradient(90deg, var(--accent2) 0 18px, transparent 18px 22px); }
.li-usp__n { position: absolute; right: .8rem; top: -.6rem; font-family: var(--font-d); font-size: 6rem; font-weight: 700; color: rgba(219,169,66,.1); line-height: 1; }
.li-usp h3 { font-size: 1.45rem; } .li-usp p { color: var(--muted); margin: 0; }

/* Treppengiebel-Abschnitte */
.li-gable-top { margin-top: 60px; }
.li-gable-top::before { content: ""; position: absolute; left: 0; right: 0; top: -59px; height: 60px; background: var(--bg2); clip-path: polygon(0 100%, 0 70%, 6% 70%, 6% 40%, 12% 40%, 12% 10%, 18% 10%, 18% 40%, 24% 40%, 24% 70%, 30% 70%, 30% 100%, 70% 100%, 70% 70%, 76% 70%, 76% 40%, 82% 40%, 82% 0, 88% 0, 88% 40%, 94% 40%, 94% 70%, 100% 70%, 100% 100%); }
.li-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }

/* Woche */
.week__day { background: var(--bg); border: 0; border-top: 4px solid var(--accent2); border-radius: 0 0 var(--radius) var(--radius); }
.week__title { font-weight: 700; }
.week__day.is-today { background: var(--accent); color: var(--btn-fg); border-top-color: var(--fg); box-shadow: 6px 6px 0 var(--accent2); }
.week__day.is-today .week__name, .week__day.is-today .week__text, .week__day.is-today .week__hours, .week__day.is-today .week__badge { color: var(--btn-fg); }
.week__day.is-today .week__now { background: var(--bg); color: var(--accent); }

/* Event-Karten */
.ev-card { border: 0; box-shadow: 0 0 0 1px var(--line); }
.ev-card:hover { box-shadow: 8px 8px 0 var(--accent2); transform: translate(-4px, -4px); }
.ev-card__date { background: var(--accent); color: var(--btn-fg); } .ev-card__date i { color: var(--btn-fg); }
.ev-card__flag { background: var(--accent2); color: #fff; }

/* Fassaden-Galerie (Giebelhäuser) */
.gal--facade { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin-top: 2rem; }
.gal--facade .gal__item { aspect-ratio: 3/4; border-radius: 0; clip-path: polygon(0 100%, 0 18%, 15% 18%, 15% 9%, 30% 9%, 30% 0, 70% 0, 70% 9%, 85% 9%, 85% 18%, 100% 18%, 100% 100%); transition: clip-path .6s var(--ease-out), opacity .9s, transform 1s; }
.gal--facade .gal__item:hover { clip-path: polygon(0 100%, 0 0, 15% 0, 15% 0, 30% 0, 30% 0, 70% 0, 70% 0, 85% 0, 85% 0, 100% 0, 100% 100%); }
.gal--facade .gal__item a, .gal--facade img { height: 100%; width: 100%; object-fit: cover; }

/* Billet */
.li-ticket { --rx: 0deg; --ry: 0deg; background: var(--fg); color: var(--bg); border-radius: 10px; padding: 1.6rem 1.8rem; position: relative; box-shadow: 10px 10px 0 var(--accent2); transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) rotate(-2deg); max-width: 460px; justify-self: center; transition: transform .5s var(--ease-out), opacity .9s; }
.li-ticket__top, .li-ticket__meta { display: flex; justify-content: space-between; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; opacity: .7; }
.li-ticket__route { display: flex; align-items: center; gap: 1rem; margin: 1.4rem 0; flex-wrap: wrap; }
.li-ticket__route b { font-family: var(--font-d); font-size: 1.8rem; }
.li-ticket__route i { font-style: normal; color: var(--accent2); font-size: 1.6rem; }
.li-ticket__stub { margin: 1.4rem -1.8rem -1.6rem; padding: 1rem 1.8rem; border-top: 2px dashed rgba(16,22,42,.3); font-size: .78rem; letter-spacing: .2em; background: var(--accent); border-radius: 0 0 10px 10px; }

/* Unterseiten */
.phero__veil { background: linear-gradient(180deg, rgba(16,22,42,.55), rgba(16,22,42,.4) 40%, var(--bg)), linear-gradient(90deg, rgba(16,22,42,.7), transparent); }
.phero__title .w:last-child > span { font-style: italic; font-weight: 400; color: var(--accent); }
.tariffs__price { font-weight: 700; }
.faq__item[open] { box-shadow: 5px 5px 0 var(--accent2); }

/* Footer */
.ftr__gables { height: 70px; background: var(--accent2); clip-path: polygon(0 100%, 0 50%, 4% 50%, 4% 25%, 8% 25%, 8% 0, 12% 0, 12% 25%, 16% 25%, 16% 50%, 20% 50%, 20% 30%, 24% 30%, 24% 10%, 28% 10%, 28% 30%, 32% 30%, 32% 50%, 36% 50%, 36% 25%, 40% 25%, 40% 0, 44% 0, 44% 25%, 48% 25%, 48% 50%, 52% 50%, 52% 20%, 56% 20%, 56% 5%, 60% 5%, 60% 20%, 64% 20%, 64% 50%, 68% 50%, 68% 25%, 72% 25%, 72% 0, 76% 0, 76% 25%, 80% 25%, 80% 50%, 84% 50%, 84% 30%, 88% 30%, 88% 10%, 92% 10%, 92% 30%, 96% 30%, 96% 50%, 100% 50%, 100% 100%); }
.ftr__body { background: var(--accent2); padding: 2rem 0; color: #fbe9e2; }
.ftr__grid { display: grid; gap: 2rem; padding-bottom: 2rem; }
@media (min-width: 800px) { .ftr__grid { grid-template-columns: 1fr 2fr; } }
.ftr__brand { font-family: var(--font-d); font-weight: 700; font-size: clamp(3rem, 8vw, 6rem); line-height: .85; margin: 0; color: var(--bg); }
.ftr a { color: #fff; } .ftr .legal-links a:hover { color: var(--bg); }
.ftr__bottom { border-top: 1px solid rgba(255,255,255,.25); padding-top: 1.5rem; }
.ftr .adult-note { color: #f4d3c8; } .ftr__copy { font-size: .8rem; }
