/* Beetzseeperle – Stylesheet (Gestaltung wie die bisherige Wix-Seite)
   Farben und Schriften zentral unter :root anpassen. */

@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("fonts/nunito-sans-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("fonts/nunito-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --creme: #f8f4f1;
  --braun: #411e06;
  --braun-hell: #7a5a45;
  --linie: rgba(65, 30, 6, .45);
  --belegt: #e6dcd3;
  --auswahl-hell: #ead8c8;
  --fehler: #9b2c1c;
  --serif: "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: "Nunito Sans", Avenir, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --breite: 75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--creme); color: var(--braun); font: 300 1.0625rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--braun); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--braun); outline-offset: 3px; }
.wrap { width: min(100% - 3rem, var(--breite)); margin-inline: auto; }

/* Kopfzeile: Logo – Titel – Logo */
.kopf { position: sticky; top: 0; z-index: 30; background: var(--creme); }
.kopf-innen { display: grid; grid-template-columns: 4.5rem 1fr 4.5rem; align-items: center; gap: 1rem; padding: .7rem 2rem; }
.kopf-logo img { width: 4.1rem; height: 4.1rem; object-fit: contain; background: #fff; }
.kopf-titel { text-align: center; font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 3.2rem); letter-spacing: -.01em; text-decoration: none; line-height: 1.1; }
@media (max-width: 40rem) {
  .kopf-innen { grid-template-columns: 3rem 1fr; padding: .6rem 1rem; }
  .kopf-logo img { width: 3rem; height: 3rem; }
  .kopf-logo.rechts { display: none; }
}

/* Startbild: Beetzsee, verblasst beim Scrollen */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 32rem; overflow: hidden; background: var(--creme); }
.hero-bild { position: absolute; inset: 0; will-change: transform, opacity; }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(25,12,3,.38) 0%, rgba(25,12,3,0) 45%), linear-gradient(to bottom, rgba(25,12,3,.25) 0%, rgba(25,12,3,0) 22%); }
.hero-text { position: absolute; left: clamp(1.5rem, 6vw, 6rem); right: 1.5rem; bottom: clamp(5rem, 14vh, 9rem); color: #fff; max-width: 46rem; will-change: transform, opacity; }
.hero-text h1 { font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: 1; letter-spacing: -.015em; text-shadow: 0 2px 28px rgba(20,10,2,.35); }
.hero-text p { text-shadow: 0 1px 14px rgba(20,10,2,.45); }
.hero-text p { margin: 1rem 0 2rem; font-size: clamp(1.1rem, 1.7vw, 1.4rem); }
.hero-weiter { position: absolute; left: 50%; bottom: 1.75rem; width: 1.6rem; height: 2.6rem; margin-left: -.8rem; border: 1.5px solid rgba(255,255,255,.85); border-radius: 1rem; }
.hero-weiter span { position: absolute; left: 50%; top: .5rem; width: 3px; height: .55rem; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: rollen 1.8s ease-in-out infinite; }
@keyframes rollen { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(.8rem); } }
@media (prefers-reduced-motion: reduce) { .hero-weiter span { animation: none; } }
.knopf.hell { background: rgba(255,255,255,.92); color: var(--braun); backdrop-filter: blur(6px); }
.knopf.hell:hover { background: #fff; }

/* Kopfzeile auf der Startseite: zuerst transparent über dem Bild */
.mit-hero .kopf { position: fixed; left: 0; right: 0; top: 0; background: transparent; transition: background-color .35s ease, box-shadow .35s ease; }
.mit-hero .kopf .kopf-titel { color: #fff; transition: color .35s ease; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.mit-hero .kopf.fest { background: var(--creme); box-shadow: 0 1px 0 rgba(65,30,6,.1); }
.mit-hero .kopf.fest .kopf-titel { color: var(--braun); text-shadow: none; }
.mit-hero .fuss { transform: translateY(100%); transition: transform .45s ease; }
.mit-hero .fuss.sichtbar { transform: none; }
.lead { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 1.8rem) !important; line-height: 1.3 !important; }
#ueber-uns { scroll-margin-top: 5rem; }

/* Über uns */
.ueber { padding-block: clamp(4rem, 9vw, 7rem) 3rem; }
.ueber .text { max-width: 46rem; }
.ueber h2 { font-size: clamp(2.4rem, 4vw, 3.2rem); text-transform: uppercase; margin-bottom: 2rem; }
.ueber .text p { font-size: clamp(1.1rem, 1.6vw, 1.375rem); line-height: 1.6; margin: 0 0 1.3rem; }
.rahmen { border: 1px solid var(--linie); padding: clamp(1rem, 2.5vw, 2.25rem); }
.rahmen img { width: 100%; aspect-ratio: 550 / 702; object-fit: cover; }
@media (max-width: 52rem) { .ueber { grid-template-columns: 1fr; } .rahmen { max-width: 30rem; } }

/* Galerie */
.galerie-bereich { padding-block: 2rem 5rem; }
.galerie-bereich h2 { font-size: clamp(3rem, 6.7vw, 6rem); text-transform: uppercase; margin-bottom: 1.5rem; }
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter button { font: 600 .95rem/1 var(--sans); color: var(--braun); background: transparent; border: 1px solid var(--linie); padding: .65rem 1.05rem; cursor: pointer; }
.filter button:hover { border-color: var(--braun); }
.filter button[aria-pressed="true"] { background: var(--braun); color: var(--creme); border-color: var(--braun); }
.galerie { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(5.5rem, 8vw, 7.5rem); grid-auto-flow: dense; gap: .9rem; }
.galerie .quer { grid-column: span 2; grid-row: span 2; }
.galerie .hoch { grid-column: span 2; grid-row: span 4; }
.galerie .gross { grid-column: span 4; grid-row: span 4; }
.galerie .breit { grid-column: span 3; grid-row: span 2; }
@media (max-width: 40rem) {
  .galerie { grid-template-columns: 1fr 1fr; grid-auto-rows: 7.5rem; gap: .6rem; }
  .galerie .quer, .galerie .gross, .galerie .breit { grid-column: span 2; grid-row: span 2; }
  .galerie .hoch { grid-column: span 1; grid-row: span 2; }
}
.galerie button { all: unset; display: block; cursor: zoom-in; }
.galerie button[hidden] { display: none; }
.galerie button:focus-visible { outline: 2px solid var(--braun); outline-offset: 4px; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.galerie button { overflow: hidden; }
.galerie button:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .galerie img { transition: none; } }

/* Bildbetrachter */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.lightbox::backdrop { background: rgba(30, 15, 4, .93); }
.lightbox .innen { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 3.5rem 4rem; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 3rem; height: 3rem; font-size: 1.5rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lightbox .zu { top: 1rem; right: 1rem; }
.lightbox .zurueck { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .weiter { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 34rem) { .lightbox .innen { padding: 4rem .5rem; } .lightbox .zurueck, .lightbox .weiter { top: auto; bottom: 1rem; transform: none; } }

/* Anschrift */
.anschrift { padding-block: 2rem 5rem; }
.anschrift-innen { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.anschrift-innen > div { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.karte { font-size: 1rem; }
.anschrift p { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.6vw, 3.05rem); line-height: 1.15; margin: 0; }

/* Fußzeile: „Kontakt und Verfügbarkeit“ – Linie – Rechtliches */
.fuss { background: var(--creme); text-align: center; padding: .7rem 2rem .6rem; border-top: 1px solid rgba(65,30,6,.08); }
.fuss-kontakt { display: inline-block; font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.1; text-decoration: none; padding-bottom: .5rem; }
.fuss-kontakt:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.fuss-links { display: flex; justify-content: space-around; border-top: 1px solid var(--braun); padding-top: .55rem; font-size: .95rem; }
.fuss { position: sticky; bottom: 0; z-index: 20; }
@media (max-width: 40rem) { .fuss { padding: .55rem 1rem .5rem; } .fuss-kontakt { font-size: 1.55rem; padding-bottom: .3rem; } .fuss-links { font-size: .82rem; padding-top: .35rem; } }
@media (max-height: 30rem) { .fuss { position: static; } }

/* Kontaktseite */
.seite { padding-block: 3.5rem 5rem; }
.seite h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); margin-bottom: .75rem; }
/* Kontakt und Verfügbarkeit am Ende der Startseite */
.kontakt-bereich { padding-block: 3rem 5rem; }
.kontakt-bereich .kontakt-titel { font-size: clamp(2.4rem, 5vw, 4.5rem); text-transform: uppercase; letter-spacing: -.02em; margin-bottom: .75rem; }
#kontakt, #verfuegbarkeit { scroll-margin-top: 5rem; }
.einleitung { margin: 0 0 2.5rem; font-size: 1.15rem; max-width: 40rem; }
.formular { max-width: 46rem; }
.feldgruppe { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
@media (max-width: 34rem) { .feldgruppe { grid-template-columns: 1fr; } }
.feld { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.1rem; }
.feld label { font-weight: 600; }
.feld .hinweis { font-weight: 300; }
.feld input, .feld textarea, .feld select { font: inherit; color: inherit; background: #fff; border: 1px solid var(--linie); border-radius: 0; padding: .7rem .8rem; }
.feld textarea { min-height: 9rem; resize: vertical; }
.zustimmung { display: flex; gap: .7rem; align-items: flex-start; margin: .5rem 0 1.5rem; }
.zustimmung input { margin-top: .35rem; width: 1.1rem; height: 1.1rem; flex: none; accent-color: var(--braun); }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.knopf { display: inline-block; background: var(--braun); color: var(--creme); text-decoration: none; border: 0; cursor: pointer; font: 600 1.05rem/1 var(--sans); padding: 1rem 1.8rem; }
.knopf:hover { background: #2c1404; }
.meldung { padding: 1rem 1.2rem; margin-bottom: 1.5rem; }
.meldung.fehler { background: #f6e4df; color: var(--fehler); border: 1px solid #e3bcb2; }
[hidden] { display: none !important; }

/* Belegungskalender */
.kalender { position: relative; margin: 0 0 3rem; padding: 1.75rem; border: 1px solid var(--linie); background: #fffdfb; max-width: 46rem; }
.kalender h2 { font-size: 2rem; margin: 0 0 .35rem; }
.kalender h2, .kal-hilfe { padding-right: 6rem; }
.kal-hilfe { margin: 0 0 1.25rem; font-size: .98rem; }
.kal-steuer { position: absolute; top: 1.5rem; right: 1.5rem; display: flex; gap: .4rem; }
.kal-pfeil { width: 2.5rem; height: 2.5rem; border: 1px solid var(--linie); background: var(--creme); font-size: 1.3rem; cursor: pointer; color: var(--braun); }
.kal-pfeil:disabled { opacity: .3; cursor: default; }
.kal-monate { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.kal-monat h3 { font-size: 1.45rem; margin: 0 0 .6rem; }
.kal-raster { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.kal-kopf { text-align: center; font-size: .8rem; font-weight: 600; padding-bottom: .2rem; }
.kal-tag { aspect-ratio: 1; border: 1px solid rgba(65,30,6,.12); background: #fff; font: 600 .92rem/1 var(--sans); color: var(--braun); cursor: pointer; padding: 0; }
.kal-tag:hover:not(:disabled) { border-color: var(--braun); }
.kal-tag.vorbei { background: transparent; border-color: transparent; color: rgba(65,30,6,.3); cursor: default; }
.kal-tag.belegt { background: var(--belegt); color: rgba(65,30,6,.45); text-decoration: line-through; cursor: default; }
.kal-tag.belegt.anreise-belegt { background: linear-gradient(135deg, #fff 50%, var(--belegt) 50%); }
.kal-tag.abreise-frei { background: linear-gradient(135deg, var(--belegt) 50%, #fff 50%); text-decoration: none; color: var(--braun); }
.kal-tag:disabled { cursor: default; }
.kal-tag.gewaehlt { background: var(--auswahl-hell); color: var(--braun); text-decoration: none; }
.kal-tag.gewaehlt.rand { background: var(--braun); color: var(--creme); }
.kal-legende { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1rem; font-size: .9rem; }
.kal-legende i { display: inline-block; width: .95rem; height: .95rem; margin-right: .4rem; vertical-align: -2px; border: 1px solid var(--linie); }
.kal-legende .frei { background: #fff; } .kal-legende .belegt { background: var(--belegt); } .kal-legende .gewaehlt { background: var(--braun); }
.kal-stand { margin: .75rem 0 0; font-size: .85rem; opacity: .8; }
.kal-laden { grid-column: 1 / -1; }
@media (max-width: 40rem) {
  .kalender { padding: 1.1rem; }
  .kal-monate { grid-template-columns: 1fr; }
  .kalender h2, .kal-hilfe { padding-right: 0; }
  .kal-steuer { position: static; justify-content: flex-end; margin: -.25rem 0 .5rem; }
}

/* Rechtstexte und Danke-Seite */
.rechtstext { max-width: 46rem; }
.rechtstext h1 { font-size: clamp(2.4rem, 4.5vw, 3.4rem); margin: 0 0 1.5rem; }
.rechtstext h2 { font-size: 1.6rem; margin: 2.2rem 0 .6rem; }
.stern { color: var(--braun); font-weight: 600; }
.pflicht-hinweis { margin: -.5rem 0 1.25rem; font-size: .9rem; }

/* Lage mit Google-Karte (lädt erst nach Klick) */
.lage { padding-block: 3rem 4rem; }
.lage h2 { font-size: clamp(3rem, 6.7vw, 6rem); text-transform: uppercase; }
.lage .adresse { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 2rem); margin: .5rem 0 1.75rem; }
.karte { position: relative; height: clamp(22rem, 55vh, 34rem); border: 1px solid var(--linie); background: #efe7e0; box-shadow: 0 30px 60px -40px rgba(65,30,6,.45); }
.karte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) sepia(.08); }
.karte-link { display: inline-block; margin-top: 1rem; font-weight: 600; text-underline-offset: 4px; }

/* Direkt anfragen und sparen (Kontaktseite) */
.sparen { margin: 1.5rem 0 2.5rem; max-width: 44rem; }
.sparen h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: .75rem; }
.sparen p { font-size: 1.1rem; margin: 0 0 .9rem; }
.booking-zeile { font-size: 1rem !important; }
.booking-link { font-weight: 600; text-underline-offset: 4px; white-space: nowrap; }

/* Mindestaufenthalt im Kalender */
.mindest { margin: -.5rem 0 1.25rem; padding: .7rem .9rem; background: var(--creme); border-left: 3px solid var(--braun); font-size: .95rem; }
.kal-meldung { margin: 0 0 1rem; padding: .6rem .9rem; background: #f6e4df; color: var(--fehler); font-size: .95rem; }

/* Galerie gefiltert: Bilder im Originalformat, nichts abgeschnitten */
.galerie.gefiltert { display: block; columns: 3 16rem; column-gap: .9rem; }
.galerie.gefiltert button { display: block; margin-bottom: .9rem; break-inside: avoid; }
.galerie.gefiltert button[hidden] { display: none; }
.galerie.gefiltert img { height: auto; object-fit: contain; }

/* Moderne Details: Einblenden beim Scrollen, Glas-Effekt für Kopf- und Fußzeile */
.zeigen { opacity: 0; transform: translate3d(0, 2.2rem, 0); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.zeigen.sichtbar { opacity: 1; transform: none; }
.galerie button.zeigen { transform: translate3d(0, 2.2rem, 0) scale(.97); }
.galerie button.zeigen.sichtbar { transform: none; }
.kopf.fest, .kopf:not(.mit-hero .kopf) { background: rgba(248, 244, 241, .78); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.mit-hero .kopf.fest { background: rgba(248, 244, 241, .78); }
.fuss { background: rgba(248, 244, 241, .8); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.galerie-bereich h2, .lage h2 { letter-spacing: -.02em; }
.galerie img { transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.galerie button:hover img { transform: scale(1.05); filter: brightness(1.04); }
.kalender { box-shadow: 0 30px 70px -45px rgba(65,30,6,.5); }
.knopf { transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.knopf:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(65,30,6,.6); }

/* Maritimer Hintergrund: dezente Linienzeichnungen (Segelboote, Anker, Knoten, Steuerrad, Möwen, Wellen) */
body { background-color: var(--creme); background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22480%22 height=%22480%22 viewBox=%220 0 480 480%22 opacity=%22.15%22%3E %3Cg fill=%22none%22 stroke=%22%23411e06%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E %3Cg transform=%22translate(40 40)%22%3E%3Cpath d=%22M0 34h44l-6 9H6z%22/%3E%3Cpath d=%22M22 34V0%22/%3E%3Cpath d=%22M22 3l15 27H22z%22/%3E%3Cpath d=%22M20 8L8 30h12%22/%3E%3Cpath d=%22M-6 50q6-4 12 0t12 0 12 0 12 0 12 0%22/%3E%3C/g%3E %3Cg transform=%22translate(300 60) rotate(12)%22%3E%3Ccircle cx=%2216%22 cy=%225%22 r=%224%22/%3E%3Cpath d=%22M16 9v34M8 15h16M3 31q2 12 13 12t13-12M3 31l-3 3M29 31l3 3%22/%3E%3C/g%3E %3Cg transform=%22translate(190 190)%22%3E%3Cpath d=%22M0 18C0 4 22 4 22 18S44 32 44 18 22 4 22 18 0 32 0 18z%22/%3E%3Cpath d=%22M-12 18H0M44 18h12%22/%3E%3C/g%3E %3Cg transform=%22translate(60 290)%22%3E%3Ccircle cx=%2220%22 cy=%2220%22 r=%2214%22/%3E%3Ccircle cx=%2220%22 cy=%2220%22 r=%224%22/%3E%3Cpath d=%22M20 0v40M0 20h40M6 6l28 28M34 6L6 34%22/%3E%3C/g%3E %3Cg transform=%22translate(360 300)%22%3E%3Cpath d=%22M0 6q6-6 12 0q6-6 12 0%22/%3E%3Cpath d=%22M22 22q5-5 10 0q5-5 10 0%22/%3E%3C/g%3E %3Cg transform=%22translate(250 380) rotate(-8)%22%3E%3Cpath d=%22M0 30h36l-5 8H5z%22/%3E%3Cpath d=%22M18 30V2%22/%3E%3Cpath d=%22M18 4l12 22H18z%22/%3E%3C/g%3E %3Cg transform=%22translate(400 160)%22%3E%3Cpath d=%22M0 10q8-8 16 0t16 0 16 0%22/%3E%3Cpath d=%22M0 20q8-8 16 0t16 0 16 0%22/%3E%3C/g%3E %3Cg transform=%22translate(150 60)%22%3E%3Cpath d=%22M10 0l3 8 8 1-6 6 2 8-7-4-7 4 2-8-6-6 8-1z%22/%3E%3C/g%3E %3C/g%3E%3C/svg%3E"); background-size: 480px 480px; }
@media (min-width: 64rem) { body { background-attachment: fixed; } }
.ueber h2::before, .galerie-bereich h2::before, .lage h2::before, .seite h1::before, .kontakt-titel::before {
  content: ""; display: block; width: 120px; height: 14px; margin-bottom: 1.1rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'%3E%3Cpath d='M0 7q7.5-7 15 0t15 0 15 0 15 0 15 0 15 0 15 0 15 0' fill='none' stroke='%23411e06' stroke-width='1.6' stroke-linecap='round' opacity='.45'/%3E%3C/svg%3E") no-repeat left center;
}
.fuss { background-color: rgba(248, 244, 241, .82); }

/* Lage: Karte im Kompass */
.lage-innen { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.lage-text p:not(.adresse) { max-width: 26rem; }
.lage .adresse { margin-bottom: 1.25rem; }
.kompass { position: relative; width: min(100%, 40rem); aspect-ratio: 1; margin-inline: auto; }
.kompass-drehen { position: absolute; inset: 0; will-change: transform; }
.kompass-ring { width: 100%; height: 100%; display: block; overflow: visible; }
.ring-aussen { fill: rgba(248,244,241,.9); stroke: var(--braun); stroke-width: 2; }
.ring-innen { fill: none; stroke: var(--braun); stroke-width: 1; opacity: .5; }
.ring-karte { fill: none; stroke: var(--braun); stroke-width: 3; }
.ticks line { stroke: var(--braun); stroke-width: 1.6; stroke-linecap: round; opacity: .75; }
.spitze-dunkel { fill: var(--braun); }
.spitze { fill: none; stroke: var(--braun); stroke-width: 1.6; }
.himmel text { font: 600 26px var(--serif); fill: var(--braun); }
.karte-rund { position: absolute; inset: 11%; border-radius: 50%; overflow: hidden; background: #e8e0d6; box-shadow: inset 0 0 0 1px rgba(65,30,6,.2), 0 30px 60px -30px rgba(65,30,6,.55); -webkit-mask-image: -webkit-radial-gradient(white, black); }
.karte-rund iframe { position: absolute; left: -35%; top: -35%; width: 170%; height: 170%; border: 0; filter: saturate(.85) sepia(.08); }
@media (max-width: 52rem) { .lage-innen { grid-template-columns: 1fr; } }
.karten-quelle { text-align: center; font-size: .8rem; opacity: .7; margin: .75rem 0 0; }

/* ===== Maritime Erlebnis-Elemente ===== */
/* Bewegte Wellen zwischen den Abschnitten */
.welle-trenner { height: 40px; margin-block: 1rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='40' viewBox='0 0 240 40'%3E%3Cpath d='M0 20q30-16 60 0t60 0 60 0 60 0' fill='none' stroke='%23411e06' stroke-width='1.8' opacity='.55'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='40' viewBox='0 0 180 40'%3E%3Cpath d='M0 26q22.5-12 45 0t45 0 45 0 45 0' fill='none' stroke='%23411e06' stroke-width='1.4' opacity='.3'/%3E%3C/svg%3E"); background-repeat: repeat-x; background-position: 0 0, 0 0; animation: wellen 14s linear infinite; }
@keyframes wellen { to { background-position: 240px 0, -180px 0; } }

/* Kurs-Anzeige: kleines Boot segelt beim Scrollen unter der Kopfzeile mit */
.kurs { position: absolute; left: 0; right: 0; bottom: -9px; height: 18px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8' viewBox='0 0 24 8'%3E%3Cpath d='M0 4q6-5 12 0t12 0' fill='none' stroke='%23411e06' stroke-width='1.2' opacity='.45'/%3E%3C/svg%3E") repeat-x 0 10px; opacity: 1; transition: opacity .35s ease; }
.kurs-boot { position: absolute; bottom: 5px; left: calc(var(--fortschritt, 0) * (100% - 2rem)); width: 1.6rem; color: var(--braun); transition: left .15s linear; }
.kurs-boot svg { display: block; width: 100%; animation: schaukeln 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes schaukeln { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.mit-hero .kopf:not(.fest) .kurs { opacity: 0; }

/* Anker-Knopf: zurück nach oben */
.anker-hoch { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: 8.5rem; z-index: 25; width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border-radius: 50%; background: rgba(248,244,241,.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1.5px solid var(--braun); color: var(--braun); opacity: 0; transform: translateY(1rem); pointer-events: none; transition: opacity .35s ease, transform .35s ease, background-color .25s ease; }
.anker-hoch svg { width: 1.3rem; }
.anker-hoch.sichtbar { opacity: 1; transform: none; pointer-events: auto; }
.anker-hoch:hover { background: var(--braun); color: var(--creme); }
.anker-hoch.lichten svg { animation: lichten .7s ease-in; }
@keyframes lichten { to { transform: translateY(-1.6rem); opacity: 0; } }
@media (max-width: 40rem) { .anker-hoch { bottom: 6.5rem; width: 2.8rem; height: 2.8rem; } }

/* Bullauge auf der Kontaktseite */
.sparen-zeile { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; margin: 1.5rem 0 2.5rem; }
.sparen-zeile .sparen { margin: 0; }
.bullauge { position: relative; margin: 0; width: clamp(8.5rem, 16vw, 11.5rem); aspect-ratio: 1; border-radius: 50%; padding: 11px; background: radial-gradient(circle at 30% 25%, #8a6a52, var(--braun) 70%); box-shadow: 0 18px 40px -20px rgba(65,30,6,.7); }
.bullauge img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: inset 0 0 0 3px rgba(0,0,0,.2); }
.bullauge::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: linear-gradient(135deg, rgba(255,255,255,.38) 0%, rgba(255,255,255,0) 38%); pointer-events: none; }
.bullauge-rahmen { position: absolute; inset: 0; width: 100%; height: 100%; fill: #d9c3a8; pointer-events: none; }
@media (max-width: 34rem) { .sparen-zeile { grid-template-columns: 1fr; } .bullauge { justify-self: center; } }

/* Steuerrad als Ladeanzeige */
.kal-laden { display: flex; align-items: center; gap: .7rem; }
.steuerrad { width: 2rem; height: 2rem; color: var(--braun); flex: none; }
.steuerrad.drehend { animation: steuern 2.4s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes steuern { 0% { transform: rotate(0); } 50% { transform: rotate(200deg); } 100% { transform: rotate(360deg); } }

/* Flaschenpost auf der Danke-Seite */
.flasche { width: min(16rem, 70%); color: var(--braun); display: block; margin-bottom: 1rem; overflow: visible; }
.flasche-schaukeln { transform-origin: 115px 70px; animation: treiben 3.6s ease-in-out infinite; }
@keyframes treiben { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(5px) rotate(3deg); } }
.flasche-welle { animation: wogen 4s ease-in-out infinite alternate; }
@keyframes wogen { to { transform: translateX(-14px); } }

@media (prefers-reduced-motion: reduce) {
  .welle-trenner, .kurs-boot svg, .steuerrad.drehend, .flasche-schaukeln, .flasche-welle, .anker-hoch.lichten svg { animation: none; }
}
.flasche + h1::before { display: none; }

/* ===== Volle Breite auf großen Bildschirmen ===== */
.wrap { width: min(100% - clamp(2rem, 6vw, 6rem), 96rem); }

/* Über uns: Überschrift und Einstieg links, Text rechts */
.ueber .text { max-width: none; }
@media (min-width: 60rem) {
  .ueber .text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(3rem, 6vw, 7rem); grid-auto-flow: dense; align-items: start; }
  .ueber .text > h2 { grid-column: 1 / -1; grid-row: 1; }
  .ueber .text > .lead { grid-column: 1; grid-row: 2 / span 4; font-size: clamp(1.6rem, 2.4vw, 2.3rem) !important; }
  .ueber .text > p:not(.lead) { grid-column: 2; }
  .ueber .text > p:not(.lead):first-of-type { margin-top: .4rem; }
}

/* Kontaktseite: Kalender links, Formular rechts */
.formular { max-width: none; }
.kalender { max-width: none; }
@media (min-width: 64rem) {
  .formular { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  .formular > * { grid-column: 1 / -1; }
  .formular > .kalender { grid-column: 1; margin-bottom: 0; }
  .formular > form { grid-column: 2; }
  .sparen-zeile { grid-template-columns: minmax(0, 1fr) auto; }
  .sparen { max-width: 52rem; }
}
.lage-text p:not(.adresse) { max-width: 30rem; }

/* Begrüßung rechts */
.hero-text { left: auto; right: clamp(1.5rem, 6vw, 6rem); text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
@media (max-width: 40rem) { .hero-text { left: 1.25rem; right: 1.25rem; } }
.telefon-zeile a { font-weight: 600; white-space: nowrap; text-underline-offset: 4px; }

/* Galerie: exakte Reihenfolge, lückenlos */
.galerie { grid-auto-flow: row; }
.galerie .halb { grid-column: span 3; grid-row: span 3; }
@media (max-width: 40rem) {
  .galerie { grid-auto-flow: dense; }
  .galerie .halb { grid-column: span 2; grid-row: span 2; }
}
