/* Landgut Dargast – Designsystem (Grundlage: SailGP-Prototyp, abgenommen vom Betreiber).
   Farben Navy/Orange/Sand, Überschriften Space Grotesk, Text Inter. Beide Schriften selbst gehostet
   (SIL Open Font License, siehe /assets/fonts/*-LICENSE.txt). Raster 8 px. */

@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"); 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: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 300 700; src: url("/assets/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2-variations"); 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: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 300 700; src: url("/assets/fonts/space-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  /* Farben (Prototyp) */
  --ink: #0b2533;        /* Navy: Text, dunkle Flächen */
  --ink2: #2e3d47;       /* Fließtext auf Hell */
  --muted: #51606b;      /* Nebentext (7:1 auf Weiß, 6:1 auf Sand) */
  --ground: #f6f4ef;     /* Sand: Seitengrund */
  --white: #fff;
  --line: #e4e0d6;
  --line2: #eeeae1;
  --ctl: #8a8477;        /* Rahmen von Eingabefeldern (3:1 auf Weiß) */
  --accent: #c2410c;     /* Orange: Hauptaktion */
  --accent-d: #9a3412;   /* Orange dunkel: Links, Hover */
  --accent-soft: #fff7ed;
  --accent-tint: #ffedd5;
  --accent-l: #fdba74;   /* Orange hell auf Navy */
  --navy2: #2c4a5b;
  --navy-text: #c9d5dc;
  --ok: #14532d; --ok-bg: #dcfce7; --err: #b91c1c; --err-bg: #fef2f2;
  /* Schrift */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head: "Space Grotesk", "Inter", system-ui, sans-serif;
  /* Maße */
  --wrap: 1200px;
  --gut: 16px;
  --sec: 40px;
  --radius: 16px;
  --radius-s: 10px;
  --measure: 60ch;
  /* Namen aus Phase 1/2 (sailgp.css, backend.css) auf das neue System abgebildet */
  --blau: var(--ink); --orange: var(--accent); --orange-dunkel: var(--accent-d); --gold-hell: var(--accent-l);
  --gold-text: var(--accent-d); --link: var(--accent-d); --submit: var(--accent); --text: var(--muted);
}
@media (min-width: 768px) { :root { --gut: 24px; --sec: 56px; } }
@media (min-width: 1024px) { :root { --gut: 32px; --sec: 64px; } }

/* --- Grundlagen ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--ground); color: var(--ink2); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@media (min-width: 1024px) { body { font-size: 18px; } }
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--accent-d); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 24px; }
li { margin-bottom: 4px; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 16px; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 21px; line-height: 1.25; }
@media (min-width: 768px) { h1 { font-size: 44px; } h2 { font-size: 32px; } h3 { font-size: 23px; } }
strong, b { font-weight: 650; }
figure { margin: 0; }
table { border-collapse: collapse; width: 100%; }
.num, .price-row dd { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--white); color: var(--ink); padding: 12px 16px; font-weight: 650; }
.skip-link:focus { left: 8px; top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- Layout -------------------------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: var(--sec); }
.section + .section { padding-top: 0; }
.section--white { background: var(--white); }
.section--white + .section, .section + .section--white, .section--navy + .section, .section + .section--navy { padding-top: var(--sec); }
.section--navy { background: var(--ink); color: var(--navy-text); }
.section--navy h2, .section--navy h3, .section--navy strong { color: var(--white); }
.section--navy a { color: var(--accent-l); }
.section--navy a:hover { color: var(--white); }
.stack > * + * { margin-top: 24px; }
.prose { max-width: var(--measure); }
.prose > :last-child { margin-bottom: 0; }
.prose h2, .prose h3 { margin-top: 32px; }
.prose > :first-child { margin-top: 0; }
.lead { font-size: 19px; color: var(--ink2); }
@media (min-width: 1024px) { .lead { font-size: 20px; } }
.kicker { display: block; margin: 0 0 8px; font: 700 15px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-d); }
.section--navy .kicker, .card--navy .kicker { color: var(--accent-l); }
.muted { color: var(--muted); }

/* Inhalt + Seitenspalte */
.split { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; } }
.grid-2 { display: grid; gap: 24px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid-3 { display: grid; gap: 24px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* --- Seitenkopf (Bild + H1) ------------------------------------------------------- */
.page-head { padding-top: 24px; }
.page-head-img { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy2); aspect-ratio: 1900 / 545; max-height: 240px; width: 100%; }
.page-head-img img { width: 100%; height: 100%; object-fit: cover; }
.page-head-title { padding-top: 24px; }
.page-head-title h1 { margin: 0; }
.page-head-title .lead { margin: 12px 0 0; max-width: var(--measure); }
@media (max-width: 767px) { .page-head { padding-top: 16px; } .page-head-img { aspect-ratio: 16 / 7; max-height: 168px; border-radius: 12px; } .page-head-title { padding-top: 16px; } }
.page-head + .section { padding-top: 32px; }

/* --- Buttons ------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 2px solid transparent; border-radius: var(--radius-s); font: 700 17px/1.2 var(--font); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-d); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--navy2); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--ctl); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--accent-tint); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-col { display: flex; flex-direction: column; gap: 12px; }
.btn-col .btn { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* --- Karten, Listen, Hinweise ------------------------------------------------------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card > :last-child { margin-bottom: 0; }
.card h2 { font-size: 24px; }
@media (min-width: 768px) { .card { padding: 32px; } }
.card--accent { border: 2px solid var(--accent); }
.card--navy { background: var(--ink); border-color: var(--ink); color: var(--navy-text); }
.card--navy h2, .card--navy h3, .card--navy strong { color: var(--white); }
.card--navy a:not(.btn) { color: var(--accent-l); }

/* Ausstattung mit Symbolen */
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.facts li { display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line2); color: var(--ink); font-weight: 500; }
.facts li:last-child { border-bottom: 0; }
.facts .icon { width: 24px; height: 24px; flex: 0 0 auto; fill: var(--accent); }
.card .facts-title { font: 700 15px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }

/* Liste mit Pfeil (Leistungen) */
.arrow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.arrow-list li { margin: 0; }
.arrow-list li > a, .arrow-list li > span { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 16px; border-radius: var(--radius-s); background: rgba(255, 255, 255, .06); color: var(--white); font-weight: 600; text-decoration: none; }
.arrow-list li > a:hover { background: rgba(255, 255, 255, .14); color: var(--white); }
.arrow-list .icon { width: 20px; height: 20px; fill: var(--accent-l); flex: 0 0 auto; }
.arrow-list li > a > span, .arrow-list li > span > span { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
@media (min-width: 768px) { .arrow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.notice, .sailgp-hint { margin: 0 0 24px; padding: 16px 20px; border-left: 4px solid var(--accent); border-radius: 0 var(--radius-s) var(--radius-s) 0; background: var(--accent-soft); color: #431407; font-size: 17px; line-height: 1.5; }
.notice a, .sailgp-hint a { color: var(--accent-d); font-weight: 650; }
.notice strong, .sailgp-hint strong { color: #431407; }
.notice--info { border-left-color: var(--ink); background: var(--white); color: var(--ink2); }

/* Kontakt-Zeile „rufen Sie uns an“ */
.call { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.call p { margin: 0; max-width: 56ch; }
.call .btn { font-size: 19px; }

/* CTA-Band (Online-Buchung) */
.cta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta > div { flex: 1 1 420px; min-width: 0; }
.cta h2, .cta .cta-title { margin: 0; font: 700 22px/1.25 var(--head); color: var(--white); text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
@media (min-width: 768px) { .cta h2, .cta .cta-title { font-size: 28px; } }
.cta p { margin: 8px 0 0; }

/* Preise-Verweis */
.price-link { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.price-link p { margin: 0; font: 600 20px/1.3 var(--head); color: var(--ink); }

/* --- Startseite ---------------------------------------------------------------- */
.topbar { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 16px; min-height: 48px; padding: 8px var(--gut); background: var(--ink); color: var(--white); text-decoration: none; font-size: 16px; font-weight: 600; text-align: center; line-height: 1.4; }
.topbar:hover { background: #12344a; color: var(--white); }
.topbar-tag { background: var(--accent); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .08em; padding: 2px 8px; border-radius: 4px; }
.topbar-link { color: var(--accent-l); font-weight: 700; }

.home-hero { padding-top: 24px; }
.home-hero-box { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy2); display: grid; min-height: 440px; }
.home-hero-box > picture, .home-hero-box > img { grid-area: 1 / 1; }
.home-hero-box img.home-hero-bg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.home-hero-cards { grid-area: 1 / 1; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 32px; }
/* Textkasten auf dem Foto: halbtransparent, damit das Gebäude erkennbar bleibt. Alle Texte Navy.
   Kontrast an der dunkelsten/hellsten Stelle dahinter gemessen (docs/hero-kontrast.md). */
.home-hero-card { background: rgba(255, 255, 255, .7); border-radius: 12px; padding: 18px 22px; max-width: 560px; }
@supports ((-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px))) {
  .home-hero-card { background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
}
.home-hero-card .kicker { color: var(--ink); margin-bottom: 6px; }
.home-hero-card p.hero-claim { margin: 0; font: 700 30px/1.12 var(--head); color: var(--ink); letter-spacing: -.01em; }
.home-hero-card p.hero-name { margin: 6px 0 0; font: 600 18px/1.3 var(--font); color: var(--ink); }
.sail-card { background: var(--ink); color: var(--navy-text); border-radius: 12px; padding: 24px; max-width: 340px; box-shadow: 0 12px 32px rgba(11, 37, 51, .35); }
.sail-card .kicker { color: var(--accent-l); }
.sail-card .t { display: block; margin: 0 0 8px; font: 700 26px/1.15 var(--head); color: var(--white); }
.sail-card p { margin: 0 0 16px; font-size: 16px; }
@media (max-width: 767px) {
  .home-hero { padding-top: 16px; }
  .home-hero-box { min-height: 0; display: block; background: none; }
  .home-hero-box img.home-hero-bg { aspect-ratio: 4 / 3; height: auto; border-radius: 12px; }
  .home-hero-cards { padding: 16px 0 0; flex-direction: column; align-items: stretch; }
  /* Handy: Text unter dem Bild auf Sand (wie bisher, besser lesbar als auf dem Foto) */
  .home-hero-card { padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; max-width: none; }
  .home-hero-card p.hero-claim { font-size: 26px; }
  .sail-card { max-width: none; box-shadow: none; }
}

.teasers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); }
.teaser { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink2); text-decoration: none; transition: border-color .15s, transform .15s; }
.teaser:hover { border-color: var(--accent); color: var(--ink2); transform: translateY(-2px); }
.teaser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.teaser .tx { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
.teaser .tx b { font: 700 20px/1.25 var(--head); color: var(--ink); }
.teaser .tx span { font-size: 16px; color: var(--muted); }
.teaser.hl { border: 2px solid var(--accent); }
.teaser.hl .top { background: var(--ink); padding: 24px 20px; display: flex; flex-direction: column; gap: 4px; aspect-ratio: 16 / 10; justify-content: flex-end; }
.teaser.hl .top small { font: 700 13px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-l); }
.teaser.hl .top b { font: 700 30px/1.1 var(--head); color: var(--white); }

.media-text { display: grid; gap: 24px; align-items: center; }
@media (min-width: 768px) { .media-text { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; } }
.media-text img { max-width: 200px; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; margin-top: 24px; }
.logos a { display: inline-flex; min-height: 44px; align-items: center; }

/* --- Bilder, Galerie, Lightbox -------------------------------------------------------- */
.figure img { width: 100%; border-radius: 12px; }
.figure figcaption { margin-top: 8px; font-size: 16px; color: var(--muted); }
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1024px) { .gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery--1m { grid-template-columns: 1fr; }
@media (min-width: 768px) { .gallery--1m { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery li { margin: 0; }
.gallery-item { position: relative; display: block; border-radius: 10px; overflow: hidden; background: var(--line); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 8px; background: linear-gradient(transparent, rgba(11, 37, 51, .85)); color: var(--white); font: 600 15px/1.3 var(--font); }
.gallery-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin-bottom: 16px; }
.gallery-head h2, .gallery-head h3 { margin: 0; }
.gallery-head span { color: var(--muted); font-size: 16px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(11, 37, 51, .94); }
.lightbox img { position: absolute; inset: 0; margin: auto; max-width: 92vw; max-height: 84vh; width: auto; height: auto; border-radius: 8px; }
.lightbox button { position: absolute; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: rgba(255, 255, 255, .12); border: 0; border-radius: 50%; color: var(--white); font-size: 32px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 12px; top: 12px; }
.lb-count { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: var(--navy-text); font-size: 16px; }

/* --- Preiskarten (/preise/) ------------------------------------------------------ */
.price-group + .price-group { margin-top: 40px; }
.price-group h2 { margin-bottom: 16px; }
.price-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; align-items: start; }
.price-cards--single { grid-template-columns: minmax(0, 600px); }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px 20px 12px; }
.price-card:not(.price-card--paket) + .price-card--paket { grid-column-start: 1; }
.price-card-title { font-size: 19px; line-height: 1.3; margin: 0 0 8px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
.price-list { margin: 0; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line2); font-size: 16px; line-height: 1.4; }
.price-row:last-child { border-bottom: 0; }
.price-row dt { color: var(--ink2); margin: 0; min-width: 0; overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 16 6 6; }
.price-row dd { margin: 0; flex: 0 0 auto; font-weight: 700; color: var(--ink); white-space: nowrap; text-align: right; }
.price-note { margin: 0 0 8px; padding: 10px 0 0; border-top: 1px solid var(--line2); font-size: 16px; line-height: 1.5; color: var(--muted); }

/* --- Formular ------------------------------------------------------------------ */
.contact-form .form-row--2 { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .contact-form .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 6px; font-weight: 650; font-size: 17px; color: var(--ink); }
.req { color: var(--err); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  display: block; width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--ctl); border-radius: var(--radius-s);
  background: var(--white); color: var(--ink); font: 400 17px/1.4 var(--font);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid rgba(194, 65, 12, .35); outline-offset: 0; }
.field--check { display: flex; align-items: flex-start; gap: 12px; }
.field--check input { width: 24px; height: 24px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--accent); }
.field--check label { font-weight: 400; font-size: 16px; line-height: 1.5; margin: 0; color: var(--ink2); }
.btn-submit:disabled { cursor: not-allowed; opacity: .7; }
.demo-hint { margin: 16px 0 0; padding: 12px 16px; border-left: 4px solid var(--accent); background: var(--accent-soft); color: #431407; font-size: 16px; line-height: 1.5; border-radius: 0 8px 8px 0; }

/* --- Externe Einbettung nach Klick ---------------------------------------------- */
.embed-consent { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.embed-placeholder { max-width: 640px; margin: 0 auto; padding: 40px 24px; text-align: center; }
.embed-icon { color: var(--accent); margin: 0 auto 8px; }
.embed-title { font: 700 22px/1.3 var(--head); color: var(--ink); margin-bottom: 8px; }
.embed-consent.is-loaded { border: 0; background: none; }
.embed-consent.is-loaded .embed-placeholder { display: none; }
.embed-note { margin: 16px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.embed-note a, .embed-nojs a { overflow-wrap: anywhere; }
.embed-nojs { margin: 16px 0 0; line-height: 1.5; color: var(--ink2); }
.embed-placeholder .embed-title + .btn { margin-top: 8px; }
/* Kalender: bis die Höhe aus dem iframe gemeldet ist, Platz reservieren (weniger Springen) */
.booking-embed .iw-bookingwidget { min-height: 365px; }

/* --- Kopf und Menü ------------------------------------------------------------- */
.site-header { position: relative; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 80px; }
.brand { display: flex; flex-direction: column; justify-content: center; min-height: 48px; text-decoration: none; color: var(--ink); flex: 0 0 auto; padding: 4px 0; }
.brand b { font: 700 24px/1.1 var(--head); letter-spacing: -.01em; color: var(--ink); }
.brand span { font-size: 14px; color: var(--muted); margin-top: 2px; }
.brand:hover b { color: var(--accent-d); }
.site-nav { margin-left: auto; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.menu li { margin: 0; }
.menu > li { position: relative; display: flex; align-items: center; }
.menu a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 7px; color: var(--ink); font: 500 16px/1.2 var(--font); text-decoration: none; white-space: nowrap; border-radius: 8px; }
.menu a:hover { color: var(--accent-d); }
.menu > li.is-active > a { color: var(--accent-d); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.sub-toggle { display: flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; margin-left: -12px; padding: 0; background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: 8px; }
.sub-toggle svg { transition: transform .2s; }
.sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(11, 37, 51, .14); display: none; z-index: 110; }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .has-sub.sub-open > .sub-menu { display: block; }
.sub-menu a { width: 100%; padding: 10px 12px; }
.sub-menu a:hover, .sub-menu li.is-active > a { background: var(--ground); color: var(--accent-d); }
.menu > li.nav-highlight > a { background: var(--accent-tint); color: var(--accent-d); border-radius: 99px; padding: 8px 12px; font-weight: 700; margin-left: 2px; box-shadow: none; }
.menu > li.nav-highlight > a:hover, .menu > li.nav-highlight.is-active > a { background: var(--accent); color: var(--white); }
.nav-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.nav-highlight > a:hover .nav-dot, .nav-highlight.is-active .nav-dot { background: var(--white); }
.header-cta { flex: 0 0 auto; padding-inline: 18px; background: var(--ink); color: var(--white); font-size: 16px; letter-spacing: .02em; }
/* Kopfzeile passt in die Inhaltsbreite (Überlauf-Test in npm run pruefen): zwischen Burger-Menü und 1440 px darf
   der Untertitel der Marke zweizeilig werden */
@media (min-width: 1241px) and (max-width: 1439px) { .brand { max-width: 196px; } }
.header-cta:hover { background: var(--navy2); color: var(--white); }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 48px; min-width: 48px; padding: 8px 14px; margin-left: auto; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-s); color: var(--ink); font: 700 16px/1 var(--font); cursor: pointer; }
.menu-toggle .i-close { display: none; }
.nav-open .menu-toggle .i-open { display: none; }
.nav-open .menu-toggle .i-close { display: inline; }

@media (max-width: 1240px) {
  .header-inner { flex-wrap: wrap; min-height: 72px; }
  .menu-toggle { display: inline-flex; }
  .header-cta { order: 2; }
  .menu-toggle { order: 3; margin-left: 0; }
  .brand { margin-right: auto; }
  .site-nav { order: 4; display: none; flex-basis: 100%; margin: 0 0 16px; }
  .nav-open .site-nav { display: block; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); }
  .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .menu a { flex: 1; min-height: 56px; padding: 12px 8px; font-size: 18px; }
  .menu > li.is-active > a { box-shadow: inset 4px 0 0 var(--accent); padding-left: 16px; }
  .sub-toggle { width: 56px; min-height: 56px; margin: 0; }
  .sub-open > .sub-toggle svg { transform: rotate(180deg); }
  .sub-menu { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 8px 16px; }
  .has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { display: none; }
  .has-sub.sub-open > .sub-menu { display: block; }
  .sub-menu a { min-height: 48px; font-size: 17px; }
  .menu > li.nav-highlight { border-bottom: 0; padding: 12px 0 0; }
  .menu > li.nav-highlight > a { justify-content: center; margin: 0; min-height: 52px; }
}
@media (max-width: 600px) {
  .header-inner { min-height: 64px; gap: 8px 12px; }
  .brand b { font-size: 21px; }
  .brand span { display: none; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
}
.nav-cta-mobile { display: none; }
@media (max-width: 600px) { .nav-cta-mobile { display: block; padding-top: 12px; } .nav-cta-mobile .btn { width: 100%; } }

/* --- Footer ------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--navy-text); padding: 48px 0 40px; font-size: 16px; line-height: 1.6; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { font: 700 22px/1.2 var(--head); color: var(--white); margin: 0 0 8px; }
.footer-col p { margin: 0 0 8px; }
.footer-col h2 { font: 700 15px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--navy-muted, #b8c7d1); margin: 0 0 8px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0; }
.footer-col a { color: var(--white); text-decoration-color: rgba(255, 255, 255, .45); }
.footer-col a:hover { color: var(--accent-l); }
.footer-col ul a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-contact a { display: inline-flex; align-items: center; min-height: 44px; }

/* Nach-oben-Knopf */
.scroll-top { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: var(--white); border: 2px solid var(--white); box-shadow: 0 4px 12px rgba(11, 37, 51, .3); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, background .2s; }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover, .scroll-top:focus-visible { background: var(--accent); color: var(--white); }
.scroll-top svg { width: 18px; height: 18px; fill: currentColor; }

/* Fehlerseite */
.error-page { text-align: left; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .topbar, .scroll-top, .call, .cta-section { display: none !important; } body { background: #fff; } }

/* Galerien in schmalen Karten immer 2-spaltig */
.card .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.legal h2 { font-size: 21px; margin-top: 32px; }
@media (min-width: 768px) { .legal h2 { font-size: 23px; } }
.legal { max-width: none; }
.legal > * { max-width: var(--measure); }

/* Kacheln mobil kompakt im Querformat */
@media (max-width: 600px) {
  .teasers { grid-template-columns: minmax(0, 1fr); }
  .teaser { flex-direction: row; align-items: stretch; }
  .teaser .tx { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
  .teaser img { width: 112px; flex: 0 0 112px; aspect-ratio: auto; height: auto; min-height: 100%; }
  .teaser .tx { padding: 12px 16px; }
  .teaser .tx b { font-size: 18px; }
  .teaser.hl { flex-direction: column; }
  .teaser.hl .top { aspect-ratio: auto; padding: 12px 16px; flex-direction: row; align-items: baseline; gap: 12px; }
  .teaser.hl .top b { font-size: 22px; }
}
.logos { align-self: center; justify-content: center; }

/* Textspalte innerhalb des Containers linksbündig (nicht zentriert) */
.wrap.prose { max-width: calc(var(--wrap) + 2 * var(--gut)); }
.wrap.prose > * { max-width: var(--measure); }
.wrap.prose > .notice, .wrap.prose > .sailgp-hint { max-width: calc(var(--measure) + 40px); }
