/* ==========================================================================
   Restaurant-Café Steghaus, Hagnau am Bodensee — Demo-Gestaltungsvorschlag
   Charakter: "Das Haus am See" — hell, einladend, mit Seeblick-Atmosphäre,
   refined aber bodenständig. Bodensee-Welt: Wasser, Licht, Steg, Hafen.
   Farbwelt: See-Türkis #21b0d1 · Petrol/Seeblau #0d5a6e (Vertiefung) ·
             Sand/Gold #cbb88f (scharfer Akzent) · Creme/Off-White (Flächen)
   Schriften: Newsreader (Display, elegant-editorial) +
              Schibsted Grotesk (Fließtext/UI), lokal gehostet (DSGVO)
   ========================================================================== */

/* ---------- Schriften (lokal gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Designsystem ---------- */
:root {
  --sea:        #21b0d1;   /* See-Türkis — helle Wasser-Leitfarbe (aus Logo/CSS) */
  --sea-bright: #4ec6e0;   /* helles Türkis — Glanz/Verläufe */
  --petrol:     #0d5a6e;   /* tiefes Petrol/Seeblau — Vertiefung & Primärflächen */
  --petrol-dk:  #084453;   /* Petrol dunkel — Hover */
  --sea-soft:   #e3f4f8;   /* zarte See-Fläche */
  --sand:       #cbb88f;   /* warmes Sand/Gold — scharfer Akzent (aus Schriftzug) */
  --sand-dk:    #ab9663;   /* Sand dunkel — Hover/Text auf Hell */
  --sand-soft:  #f4ecdc;   /* zarte Sandfläche */
  --cream:      #f8f5ef;   /* Creme — Grundfläche */
  --cream-2:    #f0ebe1;   /* warme zweite Fläche */
  --white:      #fffefb;
  --ink:        #16323a;   /* tiefes Seeblau-Anthrazit — Text */
  --ink-soft:   #4a6168;   /* abgesetzter Fließtext */
  --line:       #e0d9c9;   /* Trennlinien (sandig) */

  --font-display: "Newsreader", "Georgia", serif;
  --font-body: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;

  --container: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.6rem);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--petrol); text-decoration: none; }
::selection { background: var(--petrol); color: var(--cream); }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Typografie ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.002em;
  color: var(--ink);
  text-wrap: balance;
  hyphens: manual;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }

.mark { color: var(--sea); font-style: italic; font-weight: 400; }
.mark--sand { color: var(--sand-dk); font-style: italic; font-weight: 400; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--petrol);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--sand);
}

.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 40rem;
}

/* ---------- Wasserlinie (Wiedererkennungs-Motiv: Wellen-Trenner) ---------- */
.waveline {
  display: block;
  width: 100%;
  height: 26px;
  color: var(--sea);
}
.waveline svg { width: 100%; height: 100%; }
.waveline--sand { color: var(--sand); }

/* ---------- Demo-Leiste ---------- */
.demo-bar {
  background: var(--ink);
  color: var(--cream);
  font-size: 0.79rem;
  text-align: center;
  padding: 0.5rem var(--pad);
  line-height: 1.45;
}
.demo-bar strong { color: var(--sea-bright); font-weight: 600; }

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
}

.brand { display: flex; align-items: center; gap: 0.8rem; color: var(--ink); }
.brand__mark { width: 50px; height: 50px; flex-shrink: 0; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.brand__name small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand-dk);
  margin-top: 0.34rem;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 1.9rem); }
.nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding-block: 0.3rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav a:hover { color: var(--sea); }
.nav a[aria-current="page"] { color: var(--petrol); border-bottom-color: var(--sand); }
.nav__cta {
  background: var(--petrol);
  color: var(--cream) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 999px;
  border-bottom: none !important;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.nav__cta:hover { background: var(--petrol-dk); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3.2rem, 8vw, 6.5rem) clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(60rem 32rem at 88% -8%, var(--sea-soft) 0%, transparent 58%),
    radial-gradient(48rem 28rem at -12% 116%, var(--sand-soft) 0%, transparent 55%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { margin-block: 0.4rem 1.3rem; }
.hero__claim {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: var(--sand-dk);
  margin-bottom: 0.2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

/* Hero-Bildkomposition: Seeblick-Szene als SVG-Atmosphäre */
.hero__scene {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 26px 50px -18px rgba(13, 90, 110, 0.45);
}
.hero__scene svg { width: 100%; height: auto; display: block; }
.hero__badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255, 254, 251, 0.94);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--petrol);
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(13, 90, 110, 0.18);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.hero__badge::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--sea);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  border: 2px solid var(--petrol);
  color: var(--petrol);
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease), border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--petrol); color: var(--cream); }
.btn--solid:hover { background: var(--petrol-dk); border-color: var(--petrol-dk); }
.btn--sand { border-color: var(--sand); color: var(--sand-dk); }
.btn--sand:hover { background: var(--sand); color: var(--ink); }
.btn--light { border-color: var(--cream); color: var(--cream); }
.btn--light:hover { background: var(--cream); color: var(--petrol); }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(3.2rem, 7vw, 5.8rem); }
.section--cream2 { background: var(--cream-2); }
.section--sea {
  background:
    radial-gradient(50rem 30rem at 90% 0%, var(--sea-bright) 0%, transparent 55%),
    var(--petrol);
  color: var(--cream);
}
.section--sea h2, .section--sea h3 { color: var(--white); }
.section--sea p { color: rgba(248, 245, 239, 0.9); }
.section--sea .eyebrow { color: var(--sea-bright); }
.section--sea .eyebrow::before { background: var(--sea-bright); }
.section--sea .mark { color: var(--sea-bright); }
.section--sea .mark--sand { color: var(--sand); }

.section__head { max-width: 48rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section__head h2 { margin-bottom: 0.9rem; }
.section__head p { color: var(--ink-soft); }
.section--sea .section__head p { color: rgba(248, 245, 239, 0.9); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }

/* ---------- Highlight-Karten ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 1.4rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem 1.7rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -16px rgba(13, 90, 110, 0.32); }
.card__icon {
  width: 46px; height: 46px;
  margin-bottom: 1rem;
  color: var(--sea);
}
.card h3 { font-size: 1.45rem; margin-bottom: 0.45rem; }
.card p { font-size: 0.96rem; color: var(--ink-soft); }
.card__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--petrol);
  background: var(--sea-soft);
  border-radius: 999px;
  padding: 0.22rem 0.8rem;
  margin-bottom: 0.9rem;
}
.card__tag--sand { color: var(--sand-dk); background: var(--sand-soft); }

/* ---------- Medien-Grid (Text + Foto-Platzhalter) ---------- */
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}
.media-grid--reverse .media-grid__text { order: 2; }

.photo-ph {
  display: grid;
  place-items: center;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, var(--cream-2) 0 15px, var(--sea-soft) 15px 30px);
  border: 2px dashed var(--sea);
  border-radius: var(--radius);
  color: var(--petrol);
  min-height: 260px;
  padding: 1.6rem;
}
.photo-ph span {
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--cream);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(13, 90, 110, 0.1);
}
.photo-ph small { display: block; margin-top: 0.5rem; color: var(--ink-soft); font-weight: 400; }

/* ---------- Speisekarte: Kategorien ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.menu-cat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  position: relative;
}
.menu-cat__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.8rem;
  margin-bottom: 1rem;
}
.menu-cat__head h3 { font-size: 1.5rem; }
.menu-cat__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--sand);
}
.menu-cat ul { list-style: none; }
.menu-cat li {
  padding: 0.45rem 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  border-bottom: 1px dotted var(--line);
}
.menu-cat li:last-child { border-bottom: none; }
.menu-cat li strong { color: var(--ink); font-weight: 600; }

.menu-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--sand);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem);
}
.menu-spotlight .eyebrow { color: var(--sand-dk); }
.menu-spotlight .eyebrow::before { background: var(--sand); }

/* ---------- Hinweis-/Notiz-Karte ---------- */
.note-card {
  margin-top: 2rem;
  background: var(--sand-soft);
  border-left: 5px solid var(--sand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.note-card strong { color: var(--ink); font-weight: 600; }
.section--sea .note-card {
  background: rgba(255, 254, 251, 0.1);
  color: rgba(248, 245, 239, 0.92);
}
.section--sea .note-card strong { color: var(--white); }

/* ---------- Features (Listenraster) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.feature { border-top: 2px solid rgba(248, 245, 239, 0.3); padding-top: 1.1rem; }
.feature h3 { font-size: 1.35rem; margin-bottom: 0.45rem; }
.feature p { font-size: 0.97rem; }
.section:not(.section--sea) .feature { border-top-color: var(--sand); }
.section:not(.section--sea) .feature p { color: var(--ink-soft); }

/* ---------- CTA-Band ---------- */
.cta-band {
  background:
    radial-gradient(40rem 24rem at 15% 120%, var(--sea) 0%, transparent 60%),
    var(--petrol);
  color: var(--cream);
  text-align: center;
  padding-block: clamp(3.2rem, 7vw, 5.2rem);
}
.cta-band h2 { color: var(--white); margin-bottom: 0.6rem; }
.cta-band p { color: rgba(248, 245, 239, 0.9); max-width: 36rem; margin-inline: auto; }
.cta-band .tel {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  color: var(--white);
  margin-block: 1.4rem 1.2rem;
  border-bottom: 3px solid rgba(78, 198, 224, 0.5);
  transition: border-color 0.2s;
}
.cta-band .tel:hover { border-color: var(--sea-bright); }

/* ---------- Kontaktseite ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.3rem);
}
.contact-card + .contact-card { margin-top: 1.5rem; }
.contact-card h2 { font-size: 1.55rem; margin-bottom: 1rem; }
.contact-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.contact-card .tel-big {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  color: var(--petrol);
  line-height: 1.1;
  margin-block: 0.3rem 0.5rem;
}
.contact-card .tel-note { font-size: 0.85rem; color: var(--ink-soft); }
.contact-card address { font-style: normal; color: var(--ink-soft); line-height: 1.7; }
.contact-card ul { list-style: none; color: var(--ink-soft); }
.contact-card li { padding-block: 0.3rem; display: flex; gap: 0.6rem; }
.contact-card li strong { color: var(--ink); font-weight: 600; min-width: 6.5rem; }
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  font-weight: 600;
  color: var(--petrol);
}
.map-link:hover { color: var(--sea); }

/* Öffnungszeiten-Platzhalter */
.hours-ph {
  border: 2px dashed var(--sand);
  background: repeating-linear-gradient(135deg, var(--cream) 0 16px, var(--sand-soft) 16px 32px);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.hours-ph__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand-dk);
  background: var(--sand-soft);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  margin-bottom: 0.8rem;
}

/* ---------- Rechtsseiten ---------- */
.legal { max-width: 47rem; }
.legal h1 { margin-bottom: 1.6rem; overflow-wrap: anywhere; }
.legal h2 { font-size: 1.5rem; margin: 2.2rem 0 0.7rem; }
.legal p, .legal address { color: var(--ink-soft); font-style: normal; }
.legal p + p { margin-top: 0.8rem; }
.legal ul { margin: 0.6rem 0 0 1.2rem; color: var(--ink-soft); }
.legal li { padding-block: 0.2rem; }

.demo-note {
  background: var(--sea-soft);
  border-left: 5px solid var(--sea);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.demo-note strong { color: var(--petrol); font-weight: 600; }

.placeholder {
  display: inline-block;
  background: var(--sand-soft);
  border: 1px dashed var(--sand-dk);
  border-radius: 6px;
  padding: 0.05rem 0.55rem;
  font-size: 0.88rem;
  color: var(--sand-dk);
}

/* ---------- Footer ---------- */
.site-foot {
  background: var(--ink);
  color: var(--cream-2);
  padding-block: clamp(2.4rem, 5vw, 3.6rem) 1.4rem;
}
.site-foot a { color: var(--cream); }
.site-foot a:hover { text-decoration: underline; }
.site-foot h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 0.7rem; }
.site-foot ul { list-style: none; font-size: 0.95rem; }
.site-foot li { padding-block: 0.18rem; }
.foot-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.9rem; }
.foot-brand svg { width: 42px; height: 42px; }
.foot-brand span {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--white);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.foot-meta {
  border-top: 1px solid rgba(248, 245, 239, 0.2);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
}

/* ---------- Reveal-Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__scene { order: -1; max-width: 30rem; margin-inline: auto; }
  .media-grid, .contact-grid, .menu-spotlight { grid-template-columns: 1fr; }
  .media-grid--reverse .media-grid__text { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1.2rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.8rem 0.2rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav__cta { margin-top: 0.9rem; text-align: center; border-radius: 12px; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .brand__name { font-size: 1.32rem; }
  .brand__mark { width: 44px; height: 44px; }
}

@media (max-width: 540px) {
  .foot-grid { grid-template-columns: 1fr; }
}
