/* Haus am Schilf – statischer Onepager. Farben wie die bisherige Seite: Petrol #25596C auf Weiß, Grau als Nebenfarbe. */
:root {
  --brand: #25596c;
  --brand-dark: #1b4352;
  --brand-soft: #62808e;
  --ink: #303030;
  --muted: #666666;
  --line: #d2d2d2;
  --grey: #f6f6f6;
  --white: #ffffff;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  hyphens: auto;
  -webkit-hyphens: auto;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.15; font-weight: 700; margin: 0 0 0.5em; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.9rem, 1.2rem + 3.2vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem); color: var(--brand); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem); }
.muted { color: var(--muted); }

.container { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.narrow { width: min(100% - 2rem, 46rem); margin-inline: auto; }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--grey { background: var(--grey); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.skip {
  position: absolute; left: -999px; top: 0; padding: 0.5rem 1rem; background: var(--brand); color: #fff; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Kopf */
.header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.logo { display: inline-flex; align-items: center; min-width: 0; }
.logo img { width: clamp(150px, 20vw, 220px); height: auto; }
.nav { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 1.5rem); margin: 0; padding: 0; list-style: none; }
.nav a { text-decoration: none; font-weight: 600; color: var(--brand); white-space: nowrap; }
.nav a:hover { color: var(--brand-dark); text-decoration: underline; }

/* Hero: Foto mit Petrol-Überlagerung wie bisher */
.hero { position: relative; isolation: isolate; color: #fff; min-height: min(78vh, 46rem); display: grid; place-items: center; text-align: center; }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(37, 89, 108, 0.45); }
.hero__box { padding-block: clamp(3rem, 8vw, 6rem); }
.hero h1 { color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3); }
.hero .lead { max-width: 40rem; margin-inline: auto; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); }

.button {
  display: inline-block; padding: 0.9rem 1.6rem; border-radius: 0.25rem; font-weight: 700; text-decoration: none;
  background: var(--brand); color: #fff; border: 2px solid var(--brand); transition: background 0.15s, color 0.15s;
}
.button:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.button--light { background: #fff; color: var(--brand); border-color: #fff; }
.button--light:hover { background: var(--grey); border-color: var(--grey); color: var(--brand-dark); }

/* Hinweis mit Meerfischland-Logo. Das Schilf läuft als Band über die ganze Breite hinter dem Kasten. */
.intro { position: relative; }
.intro::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 260px; pointer-events: none;
  background: url("../images/schilf.gif") repeat-x left bottom / auto 260px;
}
.intro .narrow { position: relative; }
@media (max-width: 900px) { .intro::before { height: 160px; background-size: auto 160px; } }
.notice { background: var(--white); border: 1px solid var(--line); border-radius: 0.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); }
.notice h2 { margin-top: 0; }
.partner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin: 1.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.partner__logo { flex: 0 0 auto; }
.partner__logo img { width: clamp(180px, 30vw, 260px); height: auto; }
.partner__text { flex: 1 1 16rem; min-width: 0; }
.partner__text p { margin-bottom: 0.75em; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.gallery li { margin: 0; min-width: 0; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 9 / 6.5; object-fit: cover; border-radius: 0.25rem; background: var(--line); }
.gallery figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.4rem; }

/* Kontakt */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.5rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 0.25rem; padding: 1.5rem; min-width: 0; }
.card h3 { color: var(--brand); margin-top: 0; }
.card address { font-style: normal; }
.card p:last-child { margin-bottom: 0; }
.card__logo { width: 200px; margin-bottom: 1rem; }

/* Fuß */
.footer { background: var(--brand); color: #e6eef1; padding-block: 2.5rem; font-size: 0.95rem; }
.footer a { color: #fff; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.footer ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0; padding: 0; list-style: none; }

/* Unterseiten (Impressum, Datenschutz) */
.prose { padding-block: clamp(2.5rem, 5vw, 4rem); }
.prose h1 { color: var(--brand); }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose address { font-style: normal; }
.prose ul { padding-left: 1.25rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
