@font-face { font-family: "Zilla Slab"; font-weight: 500; font-display: swap; src: url(../Fonts/zilla-slab-500.woff2) format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-weight: 700; font-display: swap; src: url(../Fonts/zilla-slab-700.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 100 900; font-display: swap; src: url(../Fonts/hanken-grotesk-var.woff2) format("woff2"); }

:root {
  --ink: #000;
  --see: #40a29b;        /* teal of the logo's waves */
  --see-dark: #1d615c;   /* same hue, dark enough for text on white */
  --nebel: #eef4f3;      /* lake mist: section background */
  --paper: #fff;
  --nacht: #13263a;      /* winter section */
  --licht: #f2c65b;      /* string lights, winter only */
  --muted: #4a5a58;
  --line: 2px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --serif: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--sans);
  overflow-x: clip;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; font-weight: 500; }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: var(--see-dark); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--see); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.logo { display: block; width: 168px; color: var(--ink); }
.logo svg { display: block; width: 100%; height: auto; }
.site-nav { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; }
.site-nav a:hover { text-decoration: underline; }
.pill { margin-left: 24px; display: inline-flex; align-items: center; gap: 8px; border: var(--line) solid var(--ink); padding: 6px 14px; font-weight: 600; font-size: 0.95rem; color: var(--ink); text-decoration: none; background: var(--paper); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--see); flex: none; }
[data-status="wetter"] .dot, .dot[data-s="wetter"] { background: #c7782e; }
[data-status="pause"] .dot, .dot[data-s="pause"] { background: #8a9896; }

/* ---------- Hero: the frame and the waves that leave it ---------- */
.hero { padding: 8px 0 72px; }
.frame { position: relative; border: var(--line) solid var(--ink); padding: clamp(24px, 5vw, 56px) clamp(20px, 5vw, 56px) 0; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); max-width: 13ch; letter-spacing: -0.015em; }
.hero .lead { font-size: clamp(1.15rem, 2vw, 1.35rem); margin-top: 20px; max-width: 46ch; color: var(--muted); }
.view { display: block; width: calc(100% + 2 * clamp(20px, 5vw, 56px)); margin: 24px calc(-1 * clamp(20px, 5vw, 56px)) 0; height: auto; }
/* The hero drawing: a fine pen drawing — main lines, thin detail lines, grey hatching, the distance lighter. */
.view .l, .view .t, .view .h, .view .far { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.view .l { stroke: var(--ink); stroke-width: 1.1; }
.view .t { stroke: var(--ink); stroke-width: .7; }
.view .h { stroke: #8a9a97; stroke-width: .6; }
.view .far { stroke: #a9bcb9; stroke-width: .8; }
.view .solid { fill: var(--paper); stroke: none; }
.view .knot { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.view .dot { fill: #9aa9a6; }
.view .win { fill: var(--ink); }
/* small water marks: one of the logo's tapered strokes each */
.view .wf { fill: var(--see); }

/* the escaping waves: a paper-coloured underlay cuts the frame, like in the logo */
/* the logo's three waves, large; they end at the right edge of the screen and cross the frame's bottom line */
.escape { --ew: min(40vw, 540px); position: absolute; right: calc((100% - 100vw) / 2 + 3vw); bottom: calc(var(--ew) * -0.09); width: var(--ew); height: auto; pointer-events: none; overflow: visible; }
.escape .cut { fill: var(--paper); stroke: var(--paper); stroke-width: 9; stroke-linejoin: round; }
.escape .w { fill: var(--see); }
@media (prefers-reduced-motion: no-preference) {
  /* One orchestrated moment: the waves sweep in from the left once. */
  .escape { clip-path: inset(0 100% 0 0); animation: sweep 1.6s cubic-bezier(.3,.6,.2,1) .35s forwards; }
}
@keyframes sweep { to { clip-path: inset(0 0 0 0); } }

/* ---------- Today ---------- */
.today { background: var(--nebel); padding: 88px 0 72px; }
.today .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.now { border-left: 6px solid var(--see); padding-left: 24px; }
[data-status="wetter"] .now { border-color: #c7782e; }
[data-status="pause"] .now { border-color: #8a9896; }
.now h2 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.now .when { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.25; margin: 8px 0 16px; }
.hours { margin: 0; border-top: var(--line) solid var(--ink); }
.hours div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 14px 0; border-bottom: 1px solid #b9c9c6; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; text-align: right; }
.hours-note { font-size: 0.95rem; color: var(--muted); margin-top: 14px; }

/* ---------- Menu board ---------- */
.menu { padding: 96px 0; }
.menu-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.menu-head p { margin: 0; color: var(--muted); max-width: 40ch; }
.board { border: var(--line) solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; }
.board section { padding: clamp(24px, 4vw, 44px); }
.board section + section { border-left: var(--line) solid var(--ink); }
.board h3 { margin-bottom: 18px; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { padding: 12px 0; border-top: 1px solid #d3dcda; }
.items li:first-child { border-top: 0; }
.item { display: flex; align-items: baseline; gap: 10px; }
.item b { font-weight: 600; }
.item::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted #8a9896; transform: translateY(-4px); }
.item .price { order: 2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.items small { display: block; color: var(--muted); font-size: 0.95rem; line-height: 1.45; margin-top: 2px; max-width: 44ch; }
.counter { margin-top: 20px; font-size: 0.95rem; color: var(--muted); }

/* ---------- About ---------- */
.about { padding: 0 0 96px; }
.about .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); }
.about p.big { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.8vw, 2.05rem); line-height: 1.3; max-width: 26ch; margin-top: 20px; }
.facts { margin: 0; padding: 0; list-style: none; border-top: var(--line) solid var(--ink); align-self: end; }
.facts li { padding: 16px 0; border-bottom: 1px solid #d3dcda; }
.facts b { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; }

/* ---------- Winter ---------- */
.winter { background: var(--nacht); color: #e8eef2; padding: 0 0 88px; }
.winter a { color: var(--licht); }
.lights { display: block; width: 100%; height: 70px; margin-bottom: 48px; }
.lights path { fill: none; stroke: #4c6378; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.lights circle { fill: var(--licht); }
.winter .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); }
.winter h2 { color: #fff; }
.winter .items li { border-color: #2c435a; }
.winter .items small, .winter .muted { color: #a9bccb; }
.winter .item::after { border-color: #4c6378; }

/* ---------- Location ---------- */
.where { padding: 96px 0; }
.where .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.address { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; line-height: 1.3; margin: 20px 0 24px; }
.ways { margin: 0 0 24px; }
.ways div { padding: 12px 0; border-top: 1px solid #d3dcda; }
.ways dt { font-weight: 600; }
.ways dd { margin: 0; color: var(--muted); }
.map { border: var(--line) solid var(--ink); background: var(--nebel); }
.map svg { display: block; width: 100%; height: auto; }
.map figcaption { border-top: var(--line) solid var(--ink); padding: 10px 16px; font-size: 0.9rem; color: var(--muted); background: var(--paper); }
/* the map (uferlos/directions), drawn from OpenStreetMap data */
.m-land { fill: var(--paper); }
.m-park { fill: #e2eee8; }
.m-water { fill: #e6f1ef; }
.m-hatch { fill: none; stroke: #9cc4be; stroke-width: .8; }
.m-shore { fill: none; stroke: var(--see-dark); stroke-width: 1.2; }
.m-road { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 .6px #8a9a97); }
.m-path { fill: none; stroke: #b6c4c1; stroke-width: .8; stroke-dasharray: 2 2; }
.m-rail { fill: none; stroke: var(--muted); stroke-width: 1; stroke-dasharray: 5 3; }
.m-pier { fill: var(--paper); stroke: #000; stroke-width: .8; }
.m-bldg { fill: #d9dfde; stroke: #8a9a97; stroke-width: .4; }
.m-landmark { fill: var(--muted); stroke: #000; stroke-width: .6; }
.m-label { font: 600 12px "Hanken Grotesk", system-ui, sans-serif; fill: #000; paint-order: stroke; stroke: var(--paper); stroke-width: 3px; stroke-linejoin: round; }
.m-on { fill: #fff; stroke: none; font-size: 10px; }
.m-soft { fill: var(--muted); font-weight: 400; }
.m-small { font-size: 10px; }
.m-lake { font: 500 italic 20px "Zilla Slab", Georgia, serif; fill: var(--see-dark); }
.m-poi { fill: #000; }
.m-us-ring { fill: none; stroke: var(--see); stroke-width: 2; }
.m-us { fill: var(--see); }
.m-us-dot { fill: #fff; }
.m-us-label { font-size: 14px; font-weight: 700; }
.m-scale, .m-north { fill: #000; stroke: #000; stroke-width: 1.2; }
.m-scale { fill: none; }

/* ---------- Instagram ---------- */
.insta { background: var(--nebel); padding: 88px 0; }
.insta-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.insta-head a { font-weight: 600; font-size: 1.1rem; }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; list-style: none; margin: 0; padding: 0; }
.tiles li { aspect-ratio: 1; background: var(--paper); border: 1px solid #b9c9c6; display: grid; place-items: center; text-align: center; padding: 8px; font-size: 0.85rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: flex-start; }
.site-footer .logo { width: 130px; }
.site-footer address { font-style: normal; }
.site-footer nav { margin-left: auto; display: flex; gap: 20px; }
.site-footer nav a { color: var(--ink); }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
  .today .wrap, .about .wrap, .winter .wrap, .where .wrap { grid-template-columns: 1fr; }
  .board { grid-template-columns: 1fr; }
  .board section + section { border-left: 0; border-top: var(--line) solid var(--ink); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .escape { --ew: 62vw; }
}
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .site-header .wrap { gap: 16px; }
  .site-nav { order: 3; margin-left: 0; width: 100%; gap: 20px; }
  .pill { margin-left: auto; }
  .logo { width: 140px; }
}

/* ---------- TYPO3 additions ---------- */
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; border: var(--line) solid var(--ink); z-index: 20; }
.skip-link:focus { left: 8px; }
.pill--closed .dot { background: #c7782e; }
.pill--pause .dot { background: #8a9896; }
.today--closed .now { border-color: #c7782e; }
.today--pause .now { border-color: #8a9896; }
.board--1 { grid-template-columns: 1fr; }
.board--3 { grid-template-columns: repeat(3, 1fr); }
.winter-text { margin-top: 20px; }
.winter .counter { color: #a9bccb; }
.map { margin: 0; }
.tiles li:has(img) { padding: 0; border: 0; }
.tiles img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1100px) and (min-width: 861px) {
  .board--3 { grid-template-columns: 1fr 1fr; }
  .board--3 section:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: var(--line) solid var(--ink); }
}
@media (max-width: 860px) {
  .board--3 { grid-template-columns: 1fr; }   /* after the .board--3 rule above, so phones stack again */
}

/* ---------- Text pages (Impressum, Datenschutz, 404) ---------- */
.text-page { padding: 32px 0 96px; }
.text-page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 32px; }
.text-page h2 { font-size: 1.6rem; margin: 2em 0 0.5em; }
.text-page .prose { max-width: 68ch; }

/* ---------- "Nach oben" ---------- */
.to-top { position: fixed; right: clamp(12px, 3vw, 28px); bottom: clamp(12px, 3vw, 28px); z-index: 20; width: 48px; height: 48px; display: grid; place-items: center; background: var(--paper); border: var(--line) solid var(--ink); color: var(--ink); box-shadow: 3px 3px 0 var(--see); transition: opacity .2s, transform .2s; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover { transform: translateY(-2px); }
.to-top.is-hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* ---------- Demnächst (uferlos/events) ---------- */
.events { padding: 96px 0 0; }   /* after the green «Heute» block; the menu below brings its own top padding */
.events h2 { margin-bottom: 28px; }
.events-list { list-style: none; margin: 0; padding: 0; border-top: var(--line) solid var(--ink); }
.events-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 8px clamp(18px, 3vw, 36px); align-items: start; padding: 22px 0; border-bottom: 1px solid #d3dcda; }
.events-date { margin: 0; font-family: var(--serif); line-height: 1; }
.events-day { font-size: 3rem; font-weight: 700; }
.events-month { font-size: 1.3rem; font-weight: 500; }
.events-when { margin: 4px 0 6px; color: var(--muted); font-size: .95rem; }
.events-body h3 { font-size: 1.5rem; margin-bottom: 6px; }
.events-body p { margin-bottom: 6px; }
.events-image { display: block; width: 200px; height: auto; border: var(--line) solid var(--ink); }
@media (max-width: 700px) { .events-list li { grid-template-columns: 76px minmax(0, 1fr); } .events-image { grid-column: 2; width: 100%; } .events-day { font-size: 2.4rem; } }
