/* Schlei-Oase – schlankes, responsives Stylesheet
   Vanilla CSS, mobile-first, keine Frameworks. */

@import url("../fonts/fonts.css");  /* selbst gehostet: Fraunces + Inter */

:root {
  --deep: #14333f;      /* tiefes Schlei-Blau */
  --water: #2f6f8f;     /* Wasser */
  --water-light: #5e9bb5;
  --sand: #e9dfce;      /* Sand */
  --sand-soft: #f5f0e7;
  --accent: #d98a4f;    /* warmer Sonnenuntergang */
  --ink: #233038;       /* Fließtext */
  --muted: #5d6c74;
  --line: #dfe5e6;
  --white: #ffffff;
  --shadow: 0 6px 24px rgba(20, 51, 63, .12);
  --radius: 14px;
  --max: 1060px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--water); }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--deep); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); margin-top: 0; }
h3 { font-size: 1.15rem; }

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

.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section--alt { background: var(--sand-soft); }
.section__lead { color: var(--muted); max-width: 60ch; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; color: var(--deep);
  text-decoration: none; letter-spacing: 0; white-space: nowrap;
}
.brand .dot { width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(217,138,79,.2); }

.nav-links { display: flex; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: .5rem .85rem; border-radius: 8px;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--sand); color: var(--deep); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: .4rem; width: 44px; height: 44px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 26px; height: 3px; border-radius: 3px;
  background: var(--deep); position: relative; transition: .25s;
}
.nav-toggle span::before { position: absolute; top: -8px; }
.nav-toggle span::after  { position: absolute; top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 380px; }
  .nav-links a { padding: .9rem 20px; border-top: 1px solid var(--line); border-radius: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); text-align: center;
  display: grid; place-items: center;
  min-height: clamp(360px, 62vh, 600px);
  padding: 3rem 0;
  background: linear-gradient(180deg, rgba(20,51,63,.55), rgba(20,51,63,.6)),
              url("../images/FH_Hinterm_Deich-A01.webp") center/cover no-repeat;
}
.hero__inner { max-width: 760px; padding: 0 20px; }
.hero h1 { color: var(--white); margin: 0 0 .6rem; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero p { font-size: clamp(1rem, 2.4vw, 1.25rem); margin: 0 auto 1.6rem; max-width: 46ch; opacity: .96; }
.hero .badges { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.8rem; }
.badge {
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  padding: .35rem .8rem; border-radius: 999px; font-size: .9rem; font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; font-weight: 700;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--water { background: var(--water); color: #fff; }
.btn--water:hover { transform: translateY(-2px); }

/* ---------- Facts / Intro ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 2rem 0 0; }
.fact { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.fact strong { display: block; font-size: 1.5rem; color: var(--water); }
.fact span { color: var(--muted); font-size: .92rem; }

.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 820px) { .split { grid-template-columns: 1.1fr .9fr; } .split--rev > :first-child { order: 2; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-photo { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 1.2rem; }
.floorplan { width: 100%; max-width: 760px; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Listen ---------- */
.feature-list { list-style: none; padding: 0; margin: 1.2rem 0 0;
  display: grid; gap: .6rem .5rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-list li { position: relative; padding-left: 1.7rem; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .7rem; height: .7rem; border-radius: 50%; background: var(--accent);
}

/* ---------- Buchung ---------- */
.book-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin-top: 1.5rem; }
@media (min-width: 720px) { .book-grid { grid-template-columns: 1fr 1fr; } }
.book-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.book-card h3 { margin-top: 0; color: var(--deep); }
.book-card .links { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }
.book-card .links a { font-weight: 600; }

/* ---------- Tipp / Werbeblock ---------- */
.tip {
  display: grid; gap: 1.4rem; align-items: center; margin-top: 1.5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
@media (min-width: 600px) { .tip { grid-template-columns: 150px 1fr; align-items: start; } }
.tip__cover { display: block; flex-shrink: 0; }
.tip__cover img { width: 150px; height: 150px; border-radius: 10px; box-shadow: var(--shadow); }
.tip__body h3 { margin-top: 0; }
.tip__body h3 a { text-decoration: none; color: var(--deep); }
.tip__body h3 a:hover { color: var(--water); }

/* ---------- Galerie ---------- */
.gallery {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.gallery a { display: block; overflow: hidden; border-radius: 12px; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 220px; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(10,24,30,.92);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 95vw; max-height: 90vh; border-radius: 8px; }
.lightbox button {
  position: absolute; top: 18px; right: 22px; font-size: 2rem; color: #fff;
  background: none; border: 0; cursor: pointer; line-height: 1;
}

/* ---------- Gästebuch ---------- */
.quotes { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin-top: 1.5rem; }
@media (min-width: 780px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote {
  background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--accent);
  border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow);
}
.quote p { font-style: italic; margin: 0 0 .8rem; }
.quote cite { font-style: normal; font-weight: 700; color: var(--water); }

/* ---------- Kontakt-CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--water), var(--deep)); color: #fff;
  border-radius: var(--radius); padding: clamp(2rem,5vw,3rem); text-align: center;
}
.cta h2 { color: #fff; }
.cta a.mail { color: #fff; font-weight: 700; font-size: 1.2rem; }

/* ---------- Inhalt (Impressum / Datenschutz) ---------- */
.prose { max-width: 75ch; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.6rem; color: var(--water); }
.prose p, .prose li { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: #cdd9de; padding: 2.5rem 0 1.5rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 680px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { color: #fff; margin: 0 0 .6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 1.8rem; padding-top: 1.2rem;
  font-size: .88rem; color: #9fb2ba; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; justify-content: space-between; }
