/* ==========================================================
   Ferienhaus Deich Princess – Stylesheet
   Reines CSS, funktioniert ohne JavaScript.
   Keine externen Schriften (datenschutzfreundlich).
   ========================================================== */

:root {
  --sea: #1d3b4f;
  --sea-2: #2f5d73;
  --sea-3: #e3edf1;
  --sand: #f7f3ec;
  --sand-2: #ece3d3;
  --white: #ffffff;
  --ink: #1f2a31;
  --muted: #5a6870;
  --accent: #b06d2e;
  --accent-dark: #8f5623;
  --line: #ddd5c6;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(29, 59, 79, .10);
  --wrap: 1120px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea-2); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--sea); margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--sea); color: var(--white); padding: .6em 1em; z-index: 100;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .8em 1.4em;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-ghost { border-color: currentColor; color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--sea); }
.btn-outline { border-color: var(--sea-2); color: var(--sea-2); }
.btn-outline:hover { background: var(--sea-2); color: var(--white); }

/* ---------- Kopfzeile & Navigation (ohne JS: Checkbox-Technik) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, .97);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }

.brand { text-decoration: none; color: var(--sea); line-height: 1.1; display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 90px; height: 48px; flex: none; }
.brand-text { display: block; white-space: nowrap; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; display: block; }
.brand-sub { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; cursor: pointer; padding: 10px; margin-right: -10px; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  display: block; width: 26px; height: 2px; background: var(--sea); position: relative; content: "";
}
.nav-burger span::before { position: absolute; top: -8px; }
.nav-burger span::after { position: absolute; top: 8px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex-wrap: nowrap; }
.main-nav a { white-space: nowrap; }
.main-nav a {
  display: block; padding: .45em .6em; border-radius: 6px;
  text-decoration: none; color: var(--ink); font-size: .93rem; font-weight: 500;
}
.main-nav a:hover { background: var(--sand-2); color: var(--sea); }
.main-nav .nav-cta a { background: var(--accent); color: var(--white); margin-left: 6px; }
.main-nav .nav-cta a:hover { background: var(--accent-dark); color: var(--white); }

@media (max-width: 1250px) {
  .nav-burger { display: block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--sand); border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav ul { flex-direction: column; padding: 8px 20px 16px; flex-wrap: wrap; }
  .main-nav a { padding: .7em .4em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav .nav-cta a { margin: 10px 0 0; text-align: center; border-radius: 999px; border: 0; }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .nav-toggle:focus-visible + .nav-burger { outline: 3px solid var(--accent); }
}

/* ---------- Hero: Ferienhaus-Foto als Hintergrund ----------
   hero.jpg ist 2560 × 600 px: das Originalfoto (800 × 600) steht darin
   unvergrößert, die Ränder sind farblich erweitert. Darum wird das Bild
   mit object-fit: none in Originalgröße (1:1) angezeigt – keine Unschärfe. */
.hero {
  position: relative; overflow: hidden;
  height: 600px;
  display: flex; align-items: center;
  color: var(--white); background: #162e3e;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: none; object-position: 50% 50%;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16, 34, 46, .82) 0%, rgba(16, 34, 46, .55) 35%, rgba(16, 34, 46, 0) 62%);
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { color: var(--white); margin-bottom: .3em; max-width: 14ch; text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
.hero-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; margin-bottom: .8em; color: #ffd6a8; }
.hero-lead { font-size: 1.2rem; max-width: 34ch; margin-bottom: 1.4em; color: #eef4f7; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
  .hero { align-items: flex-end; }
  .hero-bg { object-position: 63.8% 50%; }   /* Haus mittig */
  .hero::after { background: linear-gradient(180deg, rgba(16, 34, 46, 0) 0%, rgba(16, 34, 46, .35) 40%, rgba(16, 34, 46, .9) 100%); }
  .hero-content { padding-bottom: 40px; }
}

/* ---------- Kurzfakten ---------- */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.facts li { text-align: center; }
.facts strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--sea); line-height: 1.1; }
.facts span { font-size: .88rem; color: var(--muted); }
@media (max-width: 860px) { .facts ul { grid-template-columns: repeat(4, 1fr); row-gap: 20px; } }
@media (max-width: 420px) { .facts ul { grid-template-columns: repeat(2, 1fr); } .facts li:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- Abschnitte ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-sea { background: var(--sea); color: #e9f0f3; }
.section-sea h2, .section-sea h3 { color: var(--white); }
.section-sea a { color: #ffd6a8; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: .5em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section-sea .lead { color: #c9d8df; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .section { padding: 60px 0; } }

.figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand-2); }
.figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.figure figcaption { font-size: .88rem; color: var(--muted); padding: .7em 1em; background: var(--white); }

.floorplan { list-style: none; padding: 0; margin: 1.5em 0 0; display: grid; gap: 14px; }
.floorplan li { background: var(--sand); border-left: 4px solid var(--sea-2); padding: .8em 1em; border-radius: 0 var(--radius) var(--radius) 0; }
.floorplan strong { color: var(--sea); }

.notice { background: var(--sea-3); border-radius: var(--radius); padding: 1em 1.2em; font-size: .97rem; }

/* ---------- Räume / Galerie (Lightbox per :target, ohne JS) ---------- */
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.room { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.room-thumb { display: block; position: relative; background: var(--sand-2); }
.room-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.room-thumb:hover img { transform: scale(1.03); }
.room-thumb { overflow: hidden; }
.room-thumb::after {
  content: attr(data-count); position: absolute; right: 10px; bottom: 10px;
  background: rgba(29, 59, 79, .85); color: var(--white); font-size: .75rem; padding: .25em .7em; border-radius: 999px;
}
.room-body { padding: 18px 20px 22px; }
.room-body h3 { margin-bottom: .3em; }
.room-floor { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 700; margin-bottom: .4em; }
.room-body p { font-size: .97rem; color: var(--muted); margin: 0; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 20, 28, .92);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox:target { display: flex; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { color: #e9f0f3; text-align: center; margin-top: 12px; }
.lightbox-close {
  z-index: 2; position: absolute; top: 14px; right: 18px; color: var(--white); text-decoration: none;
  font-size: 2.4rem; line-height: 1; padding: 4px 12px;
}
.lightbox-close:hover { color: #ffd6a8; }
.lightbox-bg { position: absolute; inset: 0; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .14); color: var(--white); text-decoration: none; font-size: 2rem; line-height: 1;
}
.lightbox-nav:hover { background: var(--accent); color: var(--white); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-count { display: block; font-size: .85rem; color: #9fb4be; margin-top: 4px; }
@media (max-width: 600px) {
  .lightbox-nav { top: auto; bottom: 18px; transform: none; }
  .lightbox img { max-height: 70vh; }
}
.lightbox figure { position: relative; z-index: 1; }

/* ---------- Ausstattung ---------- */
.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) { .amenities { grid-template-columns: 1fr; } }
.amenity-group { background: var(--sand); border-radius: var(--radius); padding: 24px; }
.check { list-style: none; padding: 0; margin: 0; }
.check li { position: relative; padding-left: 1.7em; margin-bottom: .5em; }
.check li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: .9em; height: .5em;
  border-left: 2.5px solid var(--sea-2); border-bottom: 2.5px solid var(--sea-2); transform: rotate(-45deg);
}
.check-no li::before {
  border: 0; width: .9em; height: 2.5px; top: .75em; background: var(--accent); transform: none;
}

/* ---------- Preise & Buchung ---------- */
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .booking { grid-template-columns: 1fr; } }
.card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); color: var(--ink); }
.card h3 { color: var(--sea); }
.card-highlight { background: var(--sand); }
.terms { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .5em 1.2em; }
.terms dt { font-weight: 600; color: var(--sea); }
.terms dd { margin: 0; }
.card .btn { margin-top: 1em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.small { font-size: .9rem; color: var(--muted); }

/* ---------- Bewertungen ---------- */
.rating-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .rating-wrap { grid-template-columns: 1fr; } }
.rating-score { text-align: center; background: var(--sea); color: var(--white); border-radius: var(--radius); padding: 32px 20px; }
.rating-score .score { font-family: var(--serif); font-size: 4rem; line-height: 1; display: block; }
.rating-score .stars { color: #ffcf8a; font-size: 1.4rem; letter-spacing: .1em; display: block; margin: .3em 0; }
.rating-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rating-bars li { display: grid; grid-template-columns: 150px 1fr 48px; gap: 12px; align-items: center; }
.bar { height: 10px; background: var(--sand-2); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--sea-2); border-radius: 999px; }
.praise { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .praise { grid-template-columns: 1fr; } }
.praise li { list-style: none; background: var(--sand); border-radius: var(--radius); padding: 20px; }
.praise { padding: 0; }
.quote { margin: 40px 0 0; padding: 24px 28px; border-left: 4px solid var(--accent); background: var(--sand); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--serif); font-size: 1.25rem; color: var(--sea); }
.quote footer { font-family: var(--sans); font-size: .9rem; color: var(--muted); margin-top: .5em; }

/* ---------- Umgebung ---------- */
.distances { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .distances { grid-template-columns: repeat(2, 1fr); } }
.distances li { background: var(--white); border-radius: var(--radius); padding: 16px; text-align: center; box-shadow: var(--shadow); }
.distances strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--sea); }
.distances span { font-size: .9rem; color: var(--muted); }
.tips { columns: 2; column-gap: 40px; }
@media (max-width: 600px) { .tips { columns: 1; } }
.tips li { break-inside: avoid; }

/* ---------- Anreise ---------- */
.address { font-style: normal; font-size: 1.1rem; background: var(--white); padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 1.2em; }
.steps { padding-left: 1.2em; }
.steps li { margin-bottom: .5em; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5em; }
.contact-list li { padding: .7em 0; border-bottom: 1px solid rgba(255, 255, 255, .15); display: flex; gap: 12px; flex-wrap: wrap; }
.contact-list .label { min-width: 130px; color: #b8cbd3; }
.contact-list a { color: var(--white); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; color: #ffd6a8; }
.inquiry { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius); padding: 24px; }
.inquiry ol { padding-left: 1.2em; margin: 0 0 1em; }

/* ---------- Fußzeile ---------- */
.site-footer { background: #142a38; color: #b8cbd3; padding: 0 0 40px; font-size: .93rem; }
/* Schattenriss wächst aus der Fußzeile: Deich hat dieselbe Farbe wie die Fußzeile */
.footer-art { background: linear-gradient(180deg, var(--sea) 87.5%, #142a38 87.5%); display: flex; justify-content: center; margin-bottom: 28px; line-height: 0; }
.footer-art img { width: min(420px, 90vw); height: auto; display: block; }
.site-footer { position: relative; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.site-footer a { color: #e9f0f3; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
.dtv { display: flex; align-items: center; gap: 12px; }
.dtv img { background: var(--white); padding: 4px; border-radius: 4px; width: 96px; height: auto; }

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */
.legal { max-width: 780px; padding: 56px 20px 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4em; }
.legal address { font-style: normal; }
.back { display: inline-block; margin-bottom: 1.5em; }

/* ---------- Druck ---------- */
@media print {
  .site-header, .hero-actions, .lightbox, .nav-burger, .skip-link { display: none !important; }
  .hero { min-height: auto; color: var(--ink); background: none; }
  .hero::after, .hero-bg { display: none; }
  .hero h1 { color: var(--sea); }
  .section { padding: 24px 0; }
  .section-sea { background: none; color: var(--ink); }
  .section-sea h2, .section-sea h3, .contact-list a { color: var(--sea); }
}

/* ---------- H1-Zusatz ---------- */
.h1-sub { display: block; font-size: .5em; font-weight: 500; letter-spacing: .02em; margin-top: .25em; color: #dfe9ee; }

/* ---------- Häufige Fragen (details/summary, ohne JavaScript) ---------- */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; position: relative;
  font-weight: 600; color: var(--sea);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; line-height: 1; color: var(--accent);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 22px 20px; margin: 0; color: var(--muted); }
