/* ==========================================================================
   Gastro-WLAN · Fassung F3 „Bonschiene“: Grundlagen
   ========================================================================== */
@font-face { font-family: 'Mona Sans'; src: url(/assets/fonts/mona-sans-latin.woff2) format('woff2'); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Instrument Serif'; src: url(/assets/fonts/instrument-serif-italic.woff2) format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(/assets/fonts/instrument-serif.woff2) format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(/assets/fonts/jetbrains-mono.woff2) format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  --ink: #0b0b0c;
  --ink-2: #131315;
  --ink-3: #1c1c1f;
  --ink-4: #26262a;
  --line: rgba(255,255,255,.12);
  --line-2: rgba(255,255,255,.2);
  --paper: #f3eee5;
  --paper-2: #e9e2d5;
  --paper-3: #ddd4c4;
  --bon: #fbf9f3;
  --text-paper: #17130f;
  --muted-paper: #685f53;
  --text-dark: #f4f1ec;
  --muted-dark: #a39f98;
  --red: #e3171f;
  --red-hot: #ff2e35;
  --red-deep: #9c0b11;
  --ok: #34c873;
  --warn: #f5a524;

  --f-sans: 'Mona Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --wrap: 1320px;
  --gut: clamp(20px, 4.5vw, 56px);
  --r-s: 10px; --r-m: 18px; --r-l: 28px;
  --ease: cubic-bezier(.22,.8,.2,1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--ink); color: var(--text-dark);
  font-family: var(--f-sans); font-size: 17px; line-height: 1.55; font-weight: 400;
  font-stretch: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red-hot); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.section { position: relative; padding: clamp(84px, 11vw, 160px) 0; }
.paper { background: var(--paper); color: var(--text-paper); }
.paper ::selection { background: var(--red); color: #fff; }
.dark { background: var(--ink); color: var(--text-dark); }
.dark-2 { background: var(--ink-2); color: var(--text-dark); }

/* Typografie */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.paper .kicker { color: var(--muted-paper); }
.kicker::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(227,23,31,.18); flex: none; }
.display, .h2, .h3 { font-family: var(--f-sans); font-weight: 820; font-stretch: 78%; letter-spacing: -.012em; line-height: .95; text-wrap: balance; }
.display { font-size: clamp(52px, min(8.6vw, 14.5vh), 142px); line-height: .9; }
.h2 { font-size: clamp(40px, 6vw, 92px); }
.h3 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1; font-stretch: 82%; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; letter-spacing: -.005em; }
.display .serif, .h2 .serif { font-size: 1.08em; line-height: .8; }
.red { color: var(--red-hot); }
.paper .red { color: var(--red); }
.lead { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.5; color: var(--muted-dark); max-width: 38em; text-wrap: pretty; }
.paper .lead { color: var(--muted-paper); }
.mono { font-family: var(--f-mono); }
.small { font-size: 14px; }
.fine { font-size: 13px; color: var(--muted-dark); line-height: 1.5; }
.paper .fine { color: var(--muted-paper); }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 84px); }
.sec-head .lead { margin-top: 4px; }

/* Buttons */
.btn {
  --bg: var(--red); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-sans); font-weight: 720; font-size: 17px; font-stretch: 92%; letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, box-shadow .35s var(--ease);
  box-shadow: 0 10px 30px -12px rgba(227,23,31,.75), inset 0 1px 0 rgba(255,255,255,.18);
  isolation: isolate; overflow: hidden;
}
.btn::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.28), transparent 60%); opacity: 0; transition: opacity .3s; z-index: -1; }
.btn:hover { transform: translateY(-2px); background: #f0262e; box-shadow: 0 18px 40px -14px rgba(255,46,53,.9), inset 0 1px 0 rgba(255,255,255,.2); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(.98); }
.btn .arr { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-lg { min-height: 64px; padding: 0 34px; font-size: 19px; }
.btn-ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.paper .btn-ghost { box-shadow: inset 0 0 0 1.5px rgba(23,19,15,.25); }
.paper .btn-ghost:hover { background: rgba(23,19,15,.05); box-shadow: inset 0 0 0 1.5px rgba(23,19,15,.6); }
.btn-dark { --bg: var(--text-paper); --fg: var(--paper); box-shadow: none; }
.btn-dark:hover { background: #000; box-shadow: none; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.link { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--red); transition: text-decoration-color .2s, color .2s; }
.link:hover { color: var(--red-hot); }
.paper .link:hover { color: var(--red); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); display: flex; align-items: center; transition: background-color .35s, box-shadow .35s, transform .45s var(--ease); }
.site-header.is-scrolled { background: rgba(11,11,12,.78); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; max-width: 1480px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; flex: none; }
.brand img { height: 22px; width: auto; }
.brand .brand-sub { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); padding-left: 14px; border-left: 1px solid var(--line-2); line-height: 1.1; }
.nav { display: none; margin-left: auto; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 560; color: #d7d3cd; transition: color .2s, background-color .2s; }
.nav a:hover, .nav a[aria-current] { color: #fff; background: rgba(255,255,255,.07); }
.header-cta { margin-left: auto; }
.header-cta .btn { min-height: 44px; padding: 0 20px; font-size: 15.5px; }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; }
.menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), background-color .2s; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: 0; z-index: 55; background: rgba(11,11,12,.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: calc(var(--header-h) + 24px) var(--gut) 40px; display: flex; flex-direction: column; gap: 6px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu-open .mobile-nav { opacity: 1; visibility: visible; }
.mobile-nav a:not(.btn) { font-size: 34px; font-weight: 800; font-stretch: 80%; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 24px; }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .header-cta { margin-left: 8px; }
  .menu-btn, .mobile-nav { display: none; }
}
@media (max-width: 520px) { .brand .brand-sub { display: none; } .header-cta .btn { padding: 0 16px; font-size: 14.5px; } }

/* Sticky Mobile-CTA */
.dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(19,19,21,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -10px rgba(0,0,0,.6); transform: translateY(140%); transition: transform .5s var(--ease); }
.dock.is-on { transform: none; }
.dock-text { font-size: 13px; line-height: 1.25; color: var(--muted-dark); }
.dock-text b { display: block; color: #fff; font-size: 15px; font-weight: 720; }
.dock .btn { margin-left: auto; min-height: 46px; padding: 0 20px; font-size: 15.5px; }
@media (min-width: 900px) { .dock { display: none; } }
@media (max-width: 899px) { .header-cta { transition: opacity .3s, transform .3s; } .dock-on .header-cta { opacity: 0; transform: translateY(-8px); pointer-events: none; } }

/* Footer */
.site-footer { background: #070708; color: var(--text-dark); padding: clamp(72px, 9vw, 120px) 0 calc(40px + env(safe-area-inset-bottom)); position: relative; overflow: hidden; }
.foot-top { display: grid; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.foot-claim { font-weight: 820; font-stretch: 78%; font-size: clamp(40px, 5.6vw, 84px); line-height: .92; letter-spacing: -.01em; }
.foot-cols { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); padding: 48px 0; }
.foot-cols h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); font-weight: 600; margin-bottom: 14px; }
.foot-cols li + li { margin-top: 8px; }
.foot-cols a { text-decoration: none; color: #e6e2dc; }
.foot-cols a:hover { color: var(--red-hot); }
.foot-legal { display: grid; gap: 10px; font-size: 13px; color: #8d8982; line-height: 1.55; border-top: 1px solid var(--line); padding-top: 28px; }
.foot-logo { display: flex; align-items: center; gap: 16px; }
.foot-logo img { height: 30px; width: auto; }
.foot-giant { width: 100%; height: auto; margin-top: clamp(48px, 7vw, 96px); opacity: .07; }
@media (min-width: 900px) {
  .foot-top { grid-template-columns: 1.4fr 1fr; align-items: end; }
  .foot-cols { grid-template-columns: repeat(4, 1fr); }
}

/* Bewegung: nur mit JS sichtbar ausblenden */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
