/* ==========================================================================
   Waldhof Kirchen — Stylesheet
   Farbwelt und Typografie abgeleitet aus der Instagram-Story-Serie
   (cremefarbener Grund, dunkelgrüne Serif-Headlines, olivgrüne Akzente).
   ========================================================================== */

/* Farbwelt seit 20.11.2026: abgeleitet von Gebaeude und Logo.
   Terrakotta #9C4535, Gold #B8912F, Apricot #EED6C6, Schiefergrau #5E6167,
   Dunkelbraun #352E2A auf Creme. Die Variablennamen mit "green" stammen aus
   der ersten Fassung und wurden absichtlich beibehalten, damit sich nur die
   Werte aendern. */
:root {
  --green-900: #352e2a;  /* Dunkelbraun, Text und dunkle Flaechen */
  --green-700: #9c4535;  /* Terrakotta der Fassade, Buttons und Links */
  --green-500: #b2634f;  /* Terrakotta aufgehellt */
  --olive:     #9c4535;  /* Akzent fuer Kleintext */
  --cream:     #f7f2e8;
  --sand:      #eed6c6;  /* Apricot der Fassade */
  --gold:      #b8912f;  /* Gold aus dem Logo */
  --ink:       #352e2a;
  --ink-soft:  #5e6167;  /* Schiefergrau vom Dach */
  --white:     #fffdf9;

  /* Systemschriften: keine externen Requests, damit ohne Cookie-Banner
     DSGVO-konform. Anleitung zum Einbinden eigener Webfonts steht in
     README.md unter „Schriften austauschen". */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --radius: 3px;
  --shadow: 0 1px 2px rgba(28, 46, 33, .06), 0 8px 24px rgba(28, 46, 33, .07);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--olive); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.wrap--narrow { max-width: 760px; }

/* --- Typografie ----------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--green-900);
  margin: 0 0 .6em;
  letter-spacing: .01em;
}

h1 { font-size: clamp(2.05rem, 5vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.35rem); }

p { margin: 0 0 1.1rem; max-width: 68ch; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 600;
  margin: 0 0 .9rem;
}

.lead { font-size: 1.2rem; color: var(--ink-soft); }

.ornament {
  width: 64px; height: 1px; border: 0;
  background: var(--gold);
  margin: 0 0 1.6rem;
}
.ornament--center { margin-left: auto; margin-right: auto; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .85rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--green-700);
  background: var(--green-700);
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.btn:hover { background: var(--green-900); border-color: var(--green-900); color: var(--white); transform: translateY(-1px); }

.btn--ghost { background: transparent; color: var(--green-700); }
.btn--ghost:hover { background: var(--green-700); color: var(--white); }

.btn--light { background: var(--white); border-color: var(--white); color: var(--green-900); }
.btn--light:hover { background: var(--sand); border-color: var(--sand); color: var(--green-900); }

.btn--outline-light { background: transparent; border-color: rgba(255, 253, 249, .5); color: var(--white); }
.btn--outline-light:hover { background: rgba(255, 253, 249, .12); border-color: var(--white); color: var(--white); }

.btn--wide { width: 100%; justify-content: center; }

/* --- Kopfzeile ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 242, 232, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 88px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--green-900);
  text-decoration: none;
  line-height: 1.1;
}
.brand--logo { display: block; }
.brand--logo { display: flex; align-items: center; }
.brand--logo img { height: 58px; width: auto; display: block; }

.site-footer__brand img { height: 58px; width: auto; margin-bottom: .2rem; }
.site-footer__claim { font-size: .95rem; color: rgba(255, 253, 249, .72); margin-bottom: .9rem; max-width: 24rem; }
.site-footer__social { display: flex; gap: 1.1rem; margin-top: 1rem; }
.site-footer__social a { font-size: .9rem; font-weight: 600; }

.brand span {
  display: block;
  font-family: var(--sans);
  font-size: .64rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 600;
  margin-top: .18rem;
}

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: .3rem 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--green-700); border-bottom-color: var(--gold); }
.nav a[aria-current="page"] { color: var(--green-900); border-bottom-color: var(--gold); }

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  color: var(--green-900) !important;
  border: 1px solid var(--green-700);
  border-radius: var(--radius);
  padding: .5rem 1rem !important;
}
.nav__phone:hover { background: var(--green-700); color: var(--white) !important; border-bottom-color: var(--green-700); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--green-700);
  border-radius: var(--radius);
  color: var(--green-900);
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  padding: .55rem .9rem;
  cursor: pointer;
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--green-900);
  color: var(--white);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  background-color: #352e2a;
  /* Helle Abdunklung, damit das Haus sichtbar bleibt. Der Verlauf wird nach
     unten hin dunkler, dort steht die Schrift. */
  background-image:
    linear-gradient(100deg,
      rgba(42, 33, 29, .58) 0%,
      rgba(42, 33, 29, .30) 48%,
      rgba(42, 33, 29, .05) 78%),
    linear-gradient(to bottom,
      rgba(42, 33, 29, .14) 0%,
      rgba(42, 33, 29, .22) 45%,
      rgba(42, 33, 29, .72) 100%),
    url("../img/hero-waldhof.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center 46%;
}
/* Sobald echte Fotos vorliegen: hier die Zeile einkommentieren und Pfad anpassen.
   .hero__media { background-image: linear-gradient(rgba(53,46,42,.58), rgba(53,46,42,.70)), url("../img/hero.jpg"); background-size: cover; background-position: center; } */

.hero__inner {
  position: relative;
  padding: clamp(9rem, 26vw, 15rem) 0 clamp(2.5rem, 6vw, 4rem);
  max-width: 44rem;
  text-shadow: 0 1px 14px rgba(28, 22, 18, .55);
}
.hero h1 { color: var(--white); margin-bottom: .5em; }
.hero .eyebrow { color: var(--sand); }
.hero p { color: rgba(255, 253, 249, .88); font-size: 1.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero__strip {
  position: relative;
  border-top: 1px solid rgba(255, 253, 249, .18);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero__strip div {
  padding: 1.1rem 1.25rem;
  font-size: .9rem;
  color: rgba(255, 253, 249, .85);
  border-left: 1px solid rgba(255, 253, 249, .14);
}
.hero__strip div:first-child { border-left: 0; }
.hero__strip strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--white); }

/* --- Abschnitte ----------------------------------------------------------- */

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--green { background: var(--green-900); color: rgba(255, 253, 249, .9); }
.section--green h2, .section--green h3 { color: var(--white); }
.section--green .eyebrow { color: var(--sand); }
.section--green .ornament { background: var(--gold); }
.section--green a:not(.btn) { color: var(--sand); }
.section--green a:not(.btn):hover { color: var(--white); }

.section__head { margin-bottom: 2.75rem; }
.section__head--center { text-align: center; }
.section__head--center .ornament { margin-left: auto; margin-right: auto; }
.section__head--center p { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split--stretch { align-items: stretch; }
.split--stretch > div { display: flex; flex-direction: column; }

/* --- Karten --------------------------------------------------------------- */

.card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .45rem; }
.card p:last-child { margin-bottom: 0; }
.card__icon { font-size: 1.5rem; line-height: 1; margin-bottom: .9rem; color: var(--olive); }

/* --- Öffnungszeiten ------------------------------------------------------- */

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  background: var(--white);
  border: 1px solid var(--sand);
}
.hours caption {
  text-align: left;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--green-900);
  padding: 0 0 .8rem;
}
.hours th, .hours td {
  text-align: left;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--sand);
}
.hours thead th {
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 600;
  background: #fdf8f3;
}
.hours tbody th { font-family: var(--sans); font-weight: 600; font-size: .95rem; color: var(--ink); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours .is-closed { color: var(--ink-soft); }
.hours .is-highlight { background: #fdf8f3; }

.hours-note {
  margin-top: 1rem;
  font-size: .95rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}

/* --- Speisekarte ---------------------------------------------------------- */

.menu-group { margin-bottom: 3.25rem; }
.menu-group:last-child { margin-bottom: 0; }
.menu-group__head { margin-bottom: 1.5rem; }
.menu-group__head h2 { margin-bottom: .25rem; }
.menu-group__head p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  padding: .7rem 0;
  border-bottom: 1px dotted var(--sand);
}
.menu-list li:last-child { border-bottom: 0; }
.menu-list .dish { font-weight: 500; }
.menu-list .dish em { font-style: normal; display: block; font-size: .9rem; color: var(--ink-soft); font-weight: 400; }
.menu-list .dots { flex: 1; border-bottom: 1px dotted #d8bcab; transform: translateY(-.25rem); min-width: 1.5rem; }
.menu-list .price { font-family: var(--serif); font-size: 1.08rem; color: var(--green-700); white-space: nowrap; }

.menu-toc { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 3rem; padding: 0; list-style: none; }
.menu-toc a {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--green-700);
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 999px;
  padding: .45rem 1rem;
}
.menu-toc a:hover { background: var(--green-700); color: var(--white); border-color: var(--green-700); }

.notice {
  background: var(--white);
  border: 1px solid var(--sand);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: .97rem;
}
.notice p:last-child { margin-bottom: 0; }

/* --- Galerie -------------------------------------------------------------- */

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { font-size: .88rem; color: var(--ink-soft); padding-top: .55rem; }

.placeholder {
  height: 260px;
  border-radius: var(--radius);
  border: 1px dashed #c6b696;
  background:
    repeating-linear-gradient(45deg, rgba(156,69,53,.07) 0 12px, transparent 12px 24px),
    var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  text-align: center;
  padding: 1.25rem;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.05rem;
}
.placeholder--tall { height: 360px; }

/* Fotos an den Stellen, an denen vorher ein Platzhalter stand */
.media { width: 100%; border-radius: var(--radius); object-fit: cover; display: block; }
.media--tall { height: 360px; }
.media--portrait { height: 440px; object-position: center 18%; }

/* Bild fuellt die ganze Spaltenhoehe, damit es neben langem Text nicht
   verloren wirkt. Die Spalten muessen dafuer auf gleiche Hoehe gezogen
   werden, siehe .split--stretch. */
.media--fill { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }

/* Bild in seinen eigenen Proportionen, damit nichts angeschnitten wird */
.media--natural {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 640px;      /* begrenzt die Hoehe, ohne zuzuschneiden */
  object-fit: initial;
  display: block;
  margin: 0 auto;
}
@media (max-width: 860px) { .media--tall { height: 280px; } .media--portrait { height: 360px; } .media--fill { min-height: 300px; } }

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

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--green-900); }
.field .hint { font-size: .82rem; color: var(--ink-soft); font-weight: 400; }
.field input, .field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #ddc4b3;
  border-radius: var(--radius);
  padding: .75rem .9rem;
  width: 100%;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--olive);
  outline-offset: 1px;
  border-color: var(--olive);
}
.field textarea { min-height: 150px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.form__consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.form__consent input { width: auto; margin-top: .3rem; }

.form-status { border-radius: var(--radius); padding: .9rem 1.1rem; font-size: .95rem; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #f1ece3; border: 1px solid #c9b79a; color: #4a3a21; }
.form-status--error { background: #fbeeea; border: 1px solid #e0bdb1; color: #7c3a22; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Kontaktblöcke -------------------------------------------------------- */

.contact-list { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.contact-list li { padding: .75rem 0; border-bottom: 1px solid var(--sand); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong {
  display: block;
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: .15rem;
}
.contact-list a { font-weight: 500; }

.map-frame {
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

/* --- Rechtstexte ---------------------------------------------------------- */

.legal h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.75rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { font-size: 1rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }

/* --- Fußzeile ------------------------------------------------------------- */

.site-footer {
  background: var(--green-900);
  color: rgba(255, 253, 249, .78);
  padding: clamp(3rem, 7vw, 4.5rem) 0 2rem;
  font-size: .95rem;
}
.site-footer a { color: rgba(255, 253, 249, .9); }
.site-footer a:hover { color: var(--sand); }
.site-footer h3 {
  color: var(--white);
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer__brand { font-family: var(--serif); font-size: 1.4rem; color: var(--white); margin-bottom: .6rem; }
.site-footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 253, 249, .16);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255, 253, 249, .6);
}

/* --- Mobil ---------------------------------------------------------------- */

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__strip { grid-template-columns: 1fr; }
  .hero__strip div { border-left: 0; border-top: 1px solid rgba(255,253,249,.14); }
  .hero__strip div:first-child { border-top: 0; }
}

@media (max-width: 760px) {
  /* Kleineres Titelbild spart Ladezeit auf dem Handy */
  .hero__media {
    background-image:
      linear-gradient(to bottom,
        rgba(42, 33, 29, .30) 0%,
        rgba(42, 33, 29, .56) 38%,
        rgba(42, 33, 29, .88) 100%),
      url("../img/hero-waldhof-mobil.jpg");
    background-size: cover, cover;
    background-position: center, center 40%;
  }
  .hero__inner { padding-top: 7rem; padding-bottom: 2rem; }
  .hero .eyebrow { font-size: .68rem; letter-spacing: .1em; margin-bottom: .6rem; }
  .hero h1 { font-size: 1.95rem; }
  .hero p { font-size: 1.02rem; line-height: 1.6; }
  .hero__actions { gap: .6rem; margin-top: 1.5rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__strip div { padding: .85rem 1.25rem; font-size: .86rem; }
  .hero__strip strong { font-size: 1.05rem; }

  .section__head { margin-bottom: 2rem; }
  .lead { font-size: 1.08rem; }
  .btn { padding: .9rem 1.3rem; }
  .menu-list .dots { display: none; }
  .menu-list li { gap: 1rem; }
  .gallery img, .gallery .placeholder { height: 220px; }
  .map-frame iframe { height: 260px; }
  .contact-list li { padding: .65rem 0; }


  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--sand);
    padding: .5rem 1.25rem 1.25rem;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--sand); }
  .nav a:hover { border-bottom-color: var(--sand); }
  .nav__phone { margin-top: .9rem; justify-content: center; padding: .8rem 1rem !important; }
  .brand--logo img { height: 46px; }
  .site-header__inner { min-height: 72px; }
  .field--row { grid-template-columns: 1fr; }
  .hours th, .hours td { padding: .7rem .75rem; font-size: .94rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .site-header, .site-footer, .hero__actions, .menu-toc { display: none; }
  body { background: #fff; font-size: 11pt; }
  .section { padding: 1rem 0; }
}
