/* Ferienhaus Brüsemeister – Redesign 2026-08-10, angelehnt an den Stil von romo-ponyfarm.com */
/* v3: eine durchgehende Seite mit Sprungmarken, Hamburger-Menü statt Unterseiten-Navigation */

/* Fredoka + Mulish selbst gehostet (statt Google-Fonts-CDN) – vermeidet die Übertragung der
   Besucher-IP an Google beim Laden der Schrift (DSGVO, siehe Impressum/Datenschutz). */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/fredoka-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/mulish-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Mulish';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/mulish-italic-variable.woff2') format('woff2');
}

:root {
  --blue: #144fd1;
  --blue-dark: #0d3796;
  --orange: #d1701f;
  --orange-dark: #a8590f;
  --yellow: #d1bd0a;
  --teal: #0ab2d1;
  --sand: #c2a06a;
  --sand-dark: #8a6238;
  --green: #6fa84a;
  --ink: #202022;
  --cream: #fdf8ec;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Mulish', Verdana, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

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

h1, h2, h3, h4 {
  font-family: 'Fredoka', 'Mulish', sans-serif;
  color: var(--blue-dark);
}

a {
  color: var(--orange-dark);
  font-weight: 700;
  text-decoration: none;
}
a:hover { color: var(--teal); text-decoration: underline; }
a:active, a:focus { color: var(--blue-dark); }

/* Sprungmarken nicht unter dem fixierten Menü-Button verschwinden lassen */
[id] {
  scroll-margin-top: 84px;
}

/* ---------- Hero-Kopfbereich (nur oben auf der Seite) ---------- */

.site-header {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background-color: var(--blue);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Overlay testweise entfernt (2026-08-10) – Hero-Fotos jetzt ohne Abdunkelung */

.site-header .hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 28px clamp(16px, 5vw, 56px) 40px;
  color: var(--white);
}

.site-header .hero-eyebrow {
  display: inline-block;
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  background: var(--orange);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.site-header h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.7rem, 4.5vw, 2.7rem);
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.site-header .hero-sub {
  margin: 6px 0 0;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--white);
  opacity: 0.95;
}

/* ---------- Hamburger-Menü (fest sichtbar, öffnet Sprungmarken-Liste) ---------- */

.nav-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: var(--white);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(20, 40, 90, 0.28);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--blue-dark);
  margin: 3px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: fixed;
  top: 74px;
  right: 16px;
  z-index: 29;
  display: none;
  flex-direction: column;
  gap: 6px;
  background: var(--white);
  padding: 14px;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(20, 40, 90, 0.28);
  min-width: 220px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.site-nav.open { display: flex; }

.site-nav a {
  display: block;
  padding: 10px 18px;
  color: var(--blue-dark);
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
}

.site-nav a:hover {
  background-color: rgba(10, 178, 209, 0.14);
  color: var(--blue-dark);
  text-decoration: none;
}

.site-nav a.active {
  background-color: var(--orange);
  color: var(--white);
}

/* ---------- Inhalt: eine Sektion pro Themenblock, untereinander gestapelt ---------- */

.page-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 40px) clamp(12px, 4vw, 40px) 10px;
}

.content-section {
  --accent: var(--blue);
  --accent-tint: rgba(20, 79, 209, 0.08);
  background-color: var(--white);
  background-image: linear-gradient(180deg, var(--accent-tint) 0%, rgba(255,255,255,0) 220px);
  padding: clamp(20px, 4vw, 40px);
  border-radius: 22px;
  border-top: 6px solid var(--accent);
  box-shadow: 0 12px 34px rgba(20, 40, 90, 0.12);
  margin-bottom: clamp(20px, 4vw, 34px);
}

.content-section:first-child {
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

/* Akzentfarbe je Sektion, damit sie sich klar voneinander abheben */
.content-section.accent-sand      { --accent: var(--sand);      --accent-tint: rgba(194, 160, 106, 0.14); }
.content-section.accent-teal      { --accent: var(--teal);      --accent-tint: rgba(10, 178, 209, 0.09); }
.content-section.accent-orange    { --accent: var(--orange);    --accent-tint: rgba(209, 112, 31, 0.09); }
.content-section.accent-green     { --accent: var(--green);     --accent-tint: rgba(111, 168, 74, 0.11); }
.content-section.accent-yellow    { --accent: var(--yellow);    --accent-tint: rgba(209, 189, 10, 0.12); }
.content-section.accent-sand-dark { --accent: var(--sand-dark); --accent-tint: rgba(138, 98, 56, 0.10); }

.content-section h2 {
  margin-top: 0;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

.content-section h3 {
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 4px;
}

.content-section p { line-height: 1.65; }

.content-section u { text-decoration-color: var(--orange); }

/* Fließtext in einem abgesetzten Kasten für bessere Lesbarkeit */
.text-box {
  display: flow-root;
  background: var(--white);
  border: 1px solid rgba(32, 32, 34, 0.08);
  border-radius: 16px;
  padding: clamp(16px, 3vw, 28px);
  box-shadow: 0 2px 10px rgba(20, 40, 90, 0.06);
}

.text-box > *:first-child { margin-top: 0; }
.text-box > *:last-child { margin-bottom: 0; }

/* Bildergalerien (Insel / Häuser) */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 24px 0;
}

.gallery a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(20, 40, 90, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery a:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(10, 178, 209, 0.35);
}

.gallery a img {
  display: block;
  width: 100%;
  height: 105px;
  object-fit: cover;
  border: none;
}

/* Vorschau-Bilder auf der Startseite */
.intro-images {
  float: left;
  width: 270px;
  max-width: 45%;
  margin: 0 20px 16px 0;
}
.intro-images img {
  margin-bottom: 12px;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(20, 40, 90, 0.16);
}

/* Anfahrt-Bilder */
.foto-reihe {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 10px 0 22px 0;
}
.foto-reihe img {
  width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(20, 40, 90, 0.16);
}

/* ---------- Buttons / Formular ---------- */

.buttons input[type="submit"],
input[type="submit"] {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 11px 26px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.buttons input[type="submit"]:hover,
input[type="submit"]:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}
.buttons input[name="delete"] {
  background: var(--blue);
}
.buttons input[name="delete"]:hover {
  background: var(--blue-dark);
}

/* ---------- Fußbereich ---------- */

.site-footer {
  max-width: 1000px;
  margin: 0 auto 40px auto;
  padding: 18px clamp(20px, 4vw, 40px);
  font-size: 0.92em;
  color: var(--white);
  background: var(--blue);
  border-radius: 18px;
  text-align: center;
}

.site-footer a { color: var(--yellow); }
.site-footer a:hover { color: var(--white); }

/* ---------- Ausflugs-/Linklisten ---------- */

.ausflug-liste {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ausflug-liste li { margin: 0; }

.ausflug-liste a {
  display: block;
  background: rgba(0, 0, 0, 0.02);
  border-left: 4px solid var(--accent, var(--teal));
  border-radius: 0 10px 10px 0;
  padding: 10px 14px;
  line-height: 1.55;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s ease, border-left-color 0.15s ease, transform 0.15s ease;
}

.ausflug-liste a b { color: var(--blue-dark); }

.ausflug-liste a:hover {
  background: rgba(10, 178, 209, 0.1);
  border-left-color: var(--teal);
  transform: translateX(2px);
}
.ausflug-liste a:hover b { color: var(--teal); }

/* ---------- Ausflugskarte ---------- */

.karte-wrap {
  background: var(--white);
  border: 1px solid rgba(32, 32, 34, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(20, 40, 90, 0.14);
  padding: 16px 16px 10px;
  margin: 0 0 24px 0;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.karte-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.karte-wrap figcaption {
  font-size: 0.85em;
  color: var(--ink);
  text-align: center;
  margin-top: 8px;
  opacity: 0.8;
}
.karte-wrap figcaption a { color: var(--blue-dark); }
.karte-wrap figcaption a:hover { color: var(--teal); }

/* ---------- Mobile ---------- */

@media (max-width: 720px) {
  .content-section:first-child { margin-top: -28px; }

  .foto-reihe img { width: 100%; }

  .intro-images { float: none; width: 100%; max-width: 100%; }

  .site-nav { left: 16px; right: 16px; min-width: 0; }
}
