/* Ferienwohnung Steubenhöft – fewo-cuxhaven.info
   Farben und Schrift aus dem Logo: Navy + Sandgold, Cormorant Garamond */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

:root {
  --navy: #041c3c;
  --navy-2: #173257;
  --sand: #b8915a;
  --sand-dark: #946f3c;
  --sand-light: #efe5d2;
  --paper: #fcf9f5;
  --white: #ffffff;
  --ink: #1d2533;
  --ink-soft: #5a6475;
  --line: #e4ded3;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(4, 28, 60, .10);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--sand-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sand-dark); margin-bottom: .9rem; display: block; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; }
.muted { color: var(--ink-soft); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252, 249, 245, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { height: 46px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-small { font: 600 .66rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--sand-dark); }
.brand-name { font: 600 1.55rem/1.1 var(--serif); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav a[aria-current="page"] { color: var(--sand-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-gold { background: var(--sand); color: var(--navy); }
.btn-gold:hover { background: var(--sand-dark); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); }
.btn-ghost { border-color: currentColor; color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Hero */
.hero { position: relative; min-height: min(82vh, 760px); display: grid; align-items: end; color: var(--white); overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,28,60,.15) 0%, rgba(4,28,60,.25) 40%, rgba(4,28,60,.82) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: 120px 56px; }
.hero h1 { color: var(--white); max-width: 20ch; }
.hero .eyebrow { color: var(--sand-light); }
.hero p { font-size: 1.22rem; max-width: 52ch; color: #eef1f6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.price-from { display: inline-block; margin-top: 18px; font-size: 1rem; color: var(--sand-light); }
.price-from strong { font: 600 1.6rem/1 var(--serif); color: var(--white); }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }
.section-navy { background: var(--navy); color: #dfe5ee; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 44px; }

/* Vorteile */
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usp-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.usp-item svg { width: 34px; height: 34px; color: var(--sand-dark); margin-bottom: 14px; }
.usp-item h3 { font-size: 1.35rem; margin-bottom: .3em; }
.usp-item p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* Split */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split.reverse > :first-child { order: 2; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2px solid var(--sand-dark); border-bottom: 2px solid var(--sand-dark); transform: rotate(-45deg); }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; }
.gallery a { display: block; overflow: hidden; border-radius: 10px; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 8px; font-size: .88rem; color: var(--white); background: linear-gradient(transparent, rgba(4,28,60,.7)); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(12, 20, 33, .94); display: none; align-items: center; justify-content: center; z-index: 200; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 84vh; max-width: 100%; border-radius: 8px; }
.lightbox-cap { color: #e6e9ef; text-align: center; margin-top: 12px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: var(--white); border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 14px; top: 50%; }
.lightbox .lb-next { right: 14px; top: 50%; }

/* Bewertungen */
.rating { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.rating-score { font: 600 4.2rem/1 var(--serif); color: var(--sand); }
.rating-score small { font-size: 1.4rem; color: #b8c2d3; }
.rating-bars { flex: 1; min-width: 260px; display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 150px 1fr 38px; gap: 12px; align-items: center; font-size: .95rem; }
.bar-track { height: 6px; background: rgba(255,255,255,.14); border-radius: 3px; overflow: hidden; }
.bar-track span { display: block; height: 100%; background: var(--sand); }
.praise { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { border: 1px solid rgba(196,164,107,.55); color: var(--sand-light); padding: 7px 14px; border-radius: 999px; font-size: .92rem; }

/* Direkt-buchen-Box */
.direct { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; background: var(--sand-light); border-radius: 20px; padding: clamp(28px, 5vw, 56px); }
.direct ul { margin: 0; padding-left: 1.1em; }
.direct li { margin-bottom: 6px; }

/* Karten, Tabellen */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 22px; }
.card-body p { color: var(--ink-soft); margin: 0; }
.facts { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.facts th, .facts td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 34%; color: var(--navy); font-weight: 600; background: #fbfaf7; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.amenities { columns: 3; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.amenities li { break-inside: avoid; padding: 8px 0 8px 26px; border-bottom: 1px solid var(--line); position: relative; }
.amenities li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--sand); }

/* Buchen */
.booking-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.booking-slot { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-height: 520px; }
.booking-placeholder { border: 2px dashed var(--line); border-radius: 10px; padding: 40px 24px; text-align: center; color: var(--ink-soft); }
.aside-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.aside-box h3 { font-size: 1.35rem; }
.aside-box ul { padding-left: 1.1em; margin: 0; }
.aside-box li { margin-bottom: 6px; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--sand-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--ink-soft); }

/* Formular */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--navy); }
.form input, .form textarea, .form select { font: inherit; padding: 12px 14px; border: 1px solid #cfc7b8; border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; }
.form textarea { min-height: 150px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-soft); }
.form .check input { width: auto; margin-top: 5px; }
.form-status { font-weight: 600; }
.hp { position: absolute; left: -5000px; }

/* Rechtstexte, Platzhalter */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.3em; }
.todo { background: #fff3c4; padding: 0 4px; border-radius: 3px; }
.note { background: var(--sand-light); border-left: 4px solid var(--sand); padding: 14px 18px; border-radius: 8px; margin: 0 0 24px; }

/* Page-Header */
.page-head { background: var(--navy); color: #dfe5ee; padding-block: 72px 56px; }
.page-head h1 { color: var(--white); }
.page-head .eyebrow { color: var(--sand); }
.page-head .lead { color: #c9d2df; }

/* Footer */
.site-footer { background: #041c3c; color: #aab5c6; padding-block: 56px 28px; font-size: .96rem; }
.site-footer a { color: #dfe5ee; text-decoration: none; }
.site-footer a:hover { color: var(--sand); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.site-footer h3 { color: var(--white); font-size: 1.3rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Mobile Buchungsleiste */
.mobile-cta { display: none; }

@media (max-width: 980px) {
  .usp { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; }
  .booking-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .amenities { columns: 2; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: 72px 0 auto 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .nav-toggle { display: block; }
  .split, .direct { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery .wide { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .amenities { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .bar { grid-template-columns: 120px 1fr 34px; }
  .facts th { width: 40%; }
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 12px; align-items: center; justify-content: space-between; color: #dfe5ee; box-shadow: 0 -6px 20px rgba(0,0,0,.15); }
  .mobile-cta .btn { padding: 11px 20px; }
  body.has-cta { padding-bottom: 72px; }
  .hero { min-height: 78vh; }
  .hero .wrap { padding-block: 100px 40px; }
}
.footer-logo { width: 220px; margin: -10px 0 10px -14px; }
.brand-name { letter-spacing: .06em; text-transform: uppercase; font-size: 1.28rem; }
[hidden] { display: none !important; }
@media (max-width: 480px) { .usp { grid-template-columns: 1fr; } }

/* Newsletter */
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.newsletter { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(184,145,90,.35); border-radius: 18px; padding: clamp(22px, 4vw, 36px); margin-bottom: 48px; }
.newsletter h3 { color: var(--white); font-size: 1.7rem; }
.newsletter p { margin: 0; }
.nl-row { display: flex; gap: 10px; }
.nl-row label { flex: 1; }
.nl-row input { width: 100%; font: inherit; padding: 13px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: var(--white); }
.nl-row input::placeholder { color: #9fb0c8; }
.nl-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: .86rem; line-height: 1.45; color: #aab5c6; }
.nl-check input { margin-top: 3px; flex: none; }
.nl-status { margin-top: 10px !important; font-weight: 600; color: var(--sand); }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } .nl-row { flex-direction: column; } }
