/* Strandbude Dangast — Stylesheet
   Farben und Schriften oben in :root ändern, dann gilt es überall. */

:root {
  --sand: oklch(0.90 0.018 86);
  --sand-dunkel: oklch(0.87 0.022 86);
  --papier: oklch(0.96 0.01 86);
  --tinte: oklch(0.25 0.02 250);
  --text: oklch(0.36 0.018 250);
  --text-leise: oklch(0.50 0.02 250);
  --akzent: oklch(0.45 0.075 230);
  --akzent-dunkel: oklch(0.36 0.08 230);
  --linie: oklch(0.84 0.015 86);
  /* Warmer Akzent: Strandkorb-Rot und Sand-Ocker */
  --warm: oklch(0.52 0.12 40);
  --warm-hell: oklch(0.68 0.12 52);
  --ocker: oklch(0.82 0.09 75);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --rand: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--sand); color: var(--tinte); font-family: var(--sans); font-size: 16px; line-height: 1.5; text-wrap: pretty; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--akzent); text-decoration: none; }
a:hover { color: var(--akzent-dunkel); }
h1, h2, h3 { margin: 0; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand); }
.kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-leise); }
.h-gross { font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1.07; letter-spacing: -0.01em; }
.h-mittel { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; }
.fliess { font-size: 17.5px; line-height: 1.6; color: var(--text); margin: 0; }

/* Buttons */
.btn { display: inline-block; font-size: 15px; font-weight: 600; color: var(--papier); background: var(--akzent); padding: 14px 24px; border-radius: 2px; text-align: center; }
.btn:hover { background: var(--akzent-dunkel); color: var(--papier); }
.btn-hell { color: var(--tinte); background: var(--papier); }
.btn-hell:hover { background: #fff; color: var(--tinte); }
.btn-klein { font-size: 14px; padding: 10px 18px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: oklch(0.96 0.01 86 / 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--linie); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.marke { display: flex; align-items: baseline; gap: 11px; color: var(--tinte); }
.marke:hover { color: var(--tinte); }
.marke b { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1; }
.marke span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-leise); }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; row-gap: 10px; }
.nav a { font-size: 14px; color: oklch(0.32 0.02 250); white-space: nowrap; }
.nav a:hover, .nav a.aktiv { color: var(--akzent); }
.nav a.aktiv { font-weight: 600; box-shadow: inset 0 -2px 0 var(--warm-hell); padding-bottom: 3px; }
.nav .btn { color: var(--papier); }
.sprache { display: flex; border: 1px solid oklch(0.78 0.015 250); border-radius: 999px; overflow: hidden; }
.sprache a, .sprache span { font-size: 11.5px; letter-spacing: 0.08em; font-weight: 600; padding: 6px 11px; color: var(--text-leise); }
.sprache span { background: var(--tinte); color: var(--papier); }

/* Hero */
.hero { position: relative; min-height: 680px; display: flex; flex-direction: column; justify-content: flex-end; background: oklch(0.8 0.035 232) center 55% / cover no-repeat; }
.hero-verlauf { background: linear-gradient(to top, oklch(0.18 0.02 250 / 0.86) 0%, oklch(0.18 0.02 250 / 0.6) 55%, oklch(0.18 0.02 250 / 0) 100%); padding: 140px 0 44px; text-shadow: 0 1px 14px oklch(0.15 0.02 250 / 0.45); }
.hero-inhalt { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.hero-text { max-width: 660px; display: flex; flex-direction: column; gap: 18px; }
.hero .kicker { color: oklch(0.98 0.008 86); font-size: 11px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: 68px; line-height: 1.02; letter-spacing: -0.015em; color: oklch(0.98 0.008 86); }
.hero p { font-size: 18px; line-height: 1.5; margin: 0; color: oklch(0.92 0.01 86); max-width: 540px; }
.hero-knoepfe { display: flex; gap: 12px; flex-wrap: wrap; text-shadow: none; }

/* Faktenleiste */
.fakten { background: var(--papier); border-bottom: 1px solid var(--linie); }
.fakten .wrap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fakt { padding: 26px 20px; border-left: 1px solid var(--linie); display: flex; flex-direction: column; gap: 4px; }
.fakt:first-child { border-left: 0; padding-left: 0; }
.fakt b { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; }
.fakt span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-leise); }

/* Abschnitte */
.abschnitt { padding-top: 96px; padding-bottom: 96px; }
.abschnitt-papier { background: var(--papier); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.zwei-spalten { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 72px; align-items: start; }
.stapel { display: flex; flex-direction: column; gap: 22px; }
.kopfzeile { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 34px; }
.kopfzeile p { margin: 0; font-size: 15px; color: oklch(0.45 0.018 250); max-width: 420px; }

.ausstattung { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.ausstattung li { display: flex; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--linie); padding-bottom: 11px; font-size: 14.5px; line-height: 1.4; color: oklch(0.3 0.018 250); }
.ausstattung li::before { content: ""; width: 5px; height: 5px; background: var(--warm-hell); transform: rotate(45deg) translateY(-2px); flex: none; }

/* Bildraster Startseite */
.bildraster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 14px; }
.kachel { position: relative; overflow: hidden; background: oklch(0.86 0.02 232) center / cover no-repeat; display: flex; align-items: flex-end; padding: 12px; }
.kachel span, .bildlabel { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: oklch(0.97 0.008 86); background: oklch(0.22 0.02 250 / 0.62); padding: 5px 9px; }
.breit { grid-column: span 2; }
.gross { grid-column: span 2; grid-row: span 2; }
.grundriss-kachel { grid-column: span 3; grid-row: span 2; background-color: oklch(0.99 0.004 86); background-size: contain; border: 1px solid var(--linie); }
.alle-fotos { grid-row: span 2; background: var(--tinte); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 22px; color: var(--papier); }
.alle-fotos:hover { background: oklch(0.31 0.025 250); color: #fff; }
.alle-fotos b { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.05; }
.alle-fotos span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ocker); }

/* Buchen */
.buchen { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: start; }
.widget { background: #fff; padding: 20px; box-shadow: 0 1px 0 var(--linie), 0 18px 40px -24px oklch(0.25 0.02 250 / 0.35); border-top: 3px solid var(--warm-hell); }
.widget iframe { width: 100%; min-height: 500px; height: 500px; border: 0; display: block; }
.widget-platzhalter { min-height: 420px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: 36px; background: var(--papier); }
.widget-platzhalter b { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; }
.widget-platzhalter p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); max-width: 460px; }
.widget-platzhalter button { border: 0; cursor: pointer; font-family: var(--sans); }
.widget-extern { font-size: 13.5px; }
.widget-hinweis { font-size: 13.5px; color: var(--text-leise); margin: 10px 0 0; }
.buchblock { background: var(--tinte); color: oklch(0.95 0.01 86); padding: 34px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
.buchblock h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; }
.buchblock p { font-size: 15px; line-height: 1.55; margin: 0; color: oklch(0.82 0.015 250); }
.buchblock .btn:hover { background: oklch(0.55 0.09 230); }
.buchblock-unten { border-top: 1px solid oklch(0.4 0.02 250); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.buchblock-unten a { color: var(--ocker); font-weight: 500; }
.buchblock-unten a:hover { color: oklch(0.95 0.04 86); }
.buchblock .kicker { color: oklch(0.68 0.02 250); }

/* Lage */
.lage { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.entfernungen { border-top: 1px solid var(--linie); }
.entfernungen div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--linie); padding: 12px 0; font-size: 15px; }
.entfernungen b { font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--warm); }
.karte { height: 520px; border: 1px solid var(--linie); position: relative; background: oklch(0.88 0.018 145); }
.karte iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.55); }
.karte .bildlabel { position: absolute; left: 14px; bottom: 14px; }
.karte-platzhalter { position: absolute; inset: 0; background: center / cover no-repeat; display: flex; align-items: center; justify-content: center; padding: 24px; }
.karte-hinweis { background: oklch(0.96 0.01 86 / 0.95); max-width: 380px; padding: 24px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.karte-hinweis p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text); }
.karte-hinweis button { border: 0; cursor: pointer; font-family: var(--sans); }
.karte-hinweis > a { font-size: 13.5px; }

/* Tipps */
.tipps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tipp-bild { height: 240px; background: oklch(0.87 0.022 92) center / cover no-repeat; }
.tipp h3 { font-size: 17px; font-weight: 600; margin: 18px 0 6px; display: flex; justify-content: space-between; gap: 12px; }
.tipp h3 small { font-family: var(--mono); font-weight: 400; font-size: 11.5px; color: var(--warm); }
.tipp p { font-size: 15px; line-height: 1.55; color: oklch(0.4 0.018 250); margin: 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.faq-liste { border-top: 1px solid var(--linie); }
.faq details { border-bottom: 1px solid var(--linie); padding: 18px 0; }
.faq summary { list-style: none; cursor: pointer; font-size: 17px; font-weight: 500; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--warm); }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--akzent); }
.faq details p { font-size: 15.5px; line-height: 1.6; margin: 12px 0 2px; color: oklch(0.4 0.018 250); max-width: 620px; }

/* Fuß */
.fuss { background: var(--tinte); color: oklch(0.88 0.012 86); padding: 56px 0 40px; border-top: 3px solid var(--warm-hell); }
.fuss .wrap { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.fuss-marke { display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.fuss-marke b { font-family: var(--serif); font-weight: 400; font-size: 28px; color: oklch(0.96 0.01 86); }
.fuss-marke span { font-size: 14.5px; line-height: 1.55; color: oklch(0.76 0.015 250); }
.fuss-spalten { display: flex; gap: 56px; flex-wrap: wrap; }
.fuss-spalte { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.fuss-spalte .kicker { font-size: 10px; color: oklch(0.62 0.02 250); }
.fuss a { color: oklch(0.88 0.012 86); }
.fuss a:hover { color: #fff; }
.fuss-spalte span { color: oklch(0.76 0.015 250); }

/* Unterseiten */
.seitenkopf { padding-top: 72px; padding-bottom: 40px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.seitenkopf h1 { font-family: var(--serif); font-weight: 400; font-size: 60px; line-height: 1.02; letter-spacing: -0.015em; margin-top: 14px; }
.seitenkopf p { font-size: 17px; line-height: 1.6; color: oklch(0.38 0.018 250); margin: 14px 0 0; max-width: 620px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips a { font-size: 13.5px; color: oklch(0.3 0.02 250); border: 1px solid oklch(0.8 0.015 86); padding: 8px 14px; border-radius: 999px; }
.chips a:hover { border-color: var(--warm-hell); color: var(--warm); }

.bildgruppe { margin-bottom: 64px; }
.bildgruppe-kopf { display: flex; align-items: baseline; gap: 16px; border-top: 1px solid oklch(0.82 0.015 86); padding-top: 16px; margin-bottom: 20px; }
.bildgruppe-kopf h2 { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.1; }
.bildgruppe-kopf span { font-family: var(--mono); font-size: 11px; color: var(--text-leise); }
.spalten { columns: 3 300px; column-gap: 14px; }
.spalten a { display: block; margin-bottom: 14px; break-inside: avoid; background: oklch(0.9 0.015 86); cursor: zoom-in; }
.quelle { font-size: 13px; color: var(--text-leise); }

.cta-band { background: var(--tinte); color: oklch(0.95 0.01 86); padding: 40px 44px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 96px; }
.cta-band b { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.1; display: block; }
.cta-band span { font-size: 15px; color: oklch(0.8 0.015 250); }

.hero-klein { min-height: 520px; }
.sehenswert { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.sehenswert figure { margin: 0; grid-column: span 2; }
.sehenswert figure.halb { grid-column: span 3; }
.sehenswert .bild { aspect-ratio: 4 / 3; background: oklch(0.87 0.022 92) center / cover no-repeat; }
.sehenswert figcaption { font-size: 14.5px; font-weight: 500; padding-top: 10px; }
.aktiv-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.aktiv-raster > div { border-top: 2px solid var(--warm-hell); padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.aktiv-raster .kicker { color: var(--warm); }
.aktiv-raster h3 { font-size: 21px; font-weight: 600; }
.aktiv-raster p { font-size: 15.5px; line-height: 1.65; margin: 0; color: oklch(0.38 0.018 250); }
.restaurants { border-top: 1px solid oklch(0.74 0.02 86); }
.restaurants a { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) auto; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid oklch(0.74 0.02 86); color: var(--tinte); }
.restaurants a:hover { color: var(--akzent); }
.restaurants b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.restaurants span { font-size: 15px; color: oklch(0.38 0.018 250); }

.recht { max-width: 760px; margin: 0 auto; padding: 72px var(--rand) 96px; }
.recht h1 { font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 1.02; margin-bottom: 36px; }
.recht h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; border-top: 1px solid oklch(0.82 0.015 86); padding-top: 24px; margin: 36px 0 14px; }
.recht h3 { font-size: 17px; font-weight: 600; margin: 22px 0 8px; }
.recht h4 { font-size: 15.5px; font-weight: 600; margin: 16px 0 6px; }
.recht p, .recht li { font-size: 15.5px; line-height: 1.7; color: var(--text); }
.recht p { margin: 0 0 10px; }
.recht ul { margin: 0 0 10px; padding-left: 20px; }
.adressen { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; border-top: 1px solid oklch(0.82 0.015 86); padding-top: 24px; }
.adressen p { font-size: 17px; line-height: 1.55; color: var(--tinte); }

/* Lightbox (Galerie) */
.lightbox { position: fixed; inset: 0; z-index: 100; background: oklch(0.14 0.015 250 / 0.94); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 56px 88px 32px; }
.lightbox.offen { display: flex; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }
.lightbox-info { color: oklch(0.9 0.01 86); display: flex; gap: 16px; align-items: baseline; font-size: 15px; }
.lightbox-info small { font-family: var(--mono); font-size: 12px; color: oklch(0.7 0.015 250); }
.lightbox button { position: absolute; background: transparent; color: oklch(0.95 0.01 86); cursor: pointer; font-size: 22px; }
.lb-zurueck, .lb-vor { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 999px; border: 1px solid oklch(0.5 0.02 250); }
.lb-zurueck { left: 20px; }
.lb-vor { right: 20px; }
.lb-zu { right: 16px; top: 12px; border: 0; font-size: 30px; width: 48px; height: 48px; }

/* Kleine Akzente */
::selection { background: oklch(0.85 0.08 60); color: var(--tinte); }
.kopfzeile .kicker, .stapel > .kicker, .seitenkopf .kicker { display: inline-flex; align-items: center; gap: 10px; }
.kopfzeile .kicker::before, .stapel > .kicker::before, .seitenkopf .kicker::before { content: ""; width: 22px; height: 2px; background: var(--warm-hell); }
.cta-band .btn { background: var(--warm); }
.cta-band .btn:hover { background: oklch(0.46 0.12 40); }

/* Einblenden beim Scrollen (wird nur per JavaScript aktiviert) */
.js-anim .einblenden { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--verz, 0s); }
.js-anim .einblenden.sichtbar { opacity: 1; transform: none; }
.js-anim .hero-text > * { opacity: 0; transform: translateY(16px); animation: hereinkommen 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.js-anim .hero-text > :nth-child(2) { animation-delay: 0.12s; }
.js-anim .hero-text > :nth-child(3) { animation-delay: 0.24s; }
.js-anim .hero-text > :nth-child(4) { animation-delay: 0.36s; }
.kachel, .tipp-bild, .sehenswert .bild { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.kachel:hover { transform: scale(1.015); }
.tipp:hover .tipp-bild, .sehenswert figure:hover .bild { transform: scale(1.02); }
@keyframes hereinkommen { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js-anim .einblenden, .js-anim .hero-text > * { opacity: 1; transform: none; transition: none; animation: none; }
  .kachel, .tipp-bild, .sehenswert .bild { transition: none; }
  .kachel:hover, .tipp:hover .tipp-bild, .sehenswert figure:hover .bild { transform: none; }
}

/* Tablet */
@media (max-width: 960px) {
  :root { --rand: 28px; }
  .hero h1 { font-size: 52px; }
  .h-gross { font-size: 38px; }
  .zwei-spalten, .buchen, .lage, .faq { grid-template-columns: 1fr; gap: 40px; }
  .buchblock { position: static; }
  .fakten .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fakt:nth-child(4) { border-left: 0; padding-left: 0; }
  .fakt:nth-child(n+4) { border-top: 1px solid var(--linie); }
  .tipps { grid-template-columns: 1fr 1fr; }
  .abschnitt { padding-top: 72px; padding-bottom: 72px; }
}

/* Handy */
@media (max-width: 640px) {
  :root { --rand: 20px; }
  .nav a:not(.btn) { display: none; }
  .nav .sprache a, .nav .sprache span { display: inline-block; }
  .hero { min-height: 560px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 16px; }
  .h-gross, .seitenkopf h1, .recht h1 { font-size: 34px; }
  .fakten .wrap { grid-template-columns: 1fr 1fr; }
  .fakt { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--linie); }
  .fakt:nth-child(-n+2) { border-top: 0; }
  .ausstattung { grid-template-columns: 1fr; }
  .bildraster { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .grundriss-kachel { grid-column: span 2; }
  .alle-fotos { grid-column: span 2; grid-row: span 1; }
  .tipps { grid-template-columns: 1fr; }
  .sehenswert figure, .sehenswert figure.halb { grid-column: span 6; }
  .restaurants a { grid-template-columns: 1fr auto; }
  .restaurants span { grid-column: 1; }
  .karte { height: 360px; }
  .widget { padding: 10px; }
  .lightbox { padding: 56px 12px 24px; }
  .lb-zurueck, .lb-vor { top: auto; bottom: 16px; transform: none; }
}
