/* Elisabeth Burchhardt – angelehnt an die bisherige Mobirise-Gestaltung */

@font-face {
  font-family: "Rubik";
  src: url("../fonts/rubik.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("../fonts/rubik-italic.woff2") format("woff2");
  font-weight: 300 900; font-style: italic; font-display: swap;
}

:root {
  --weiss: #ffffff;
  --text: #5f5f5f;        /* alte Seite: #767676 – minimal dunkler für bessere Lesbarkeit */
  --dunkel: #232323;
  --gold: #9c8c58;        /* alte Seite: #b1a374 – minimal dunkler für bessere Lesbarkeit */
  --gold-hell: #e4d295;   /* Fußzeile wie bisher */
  --linie: #e6e2d6;
  --rand: clamp(1.25rem, 4vw, 3rem);
  --breite: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--weiss); color: var(--text);
  font-family: "Rubik", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 0.18em; }
a:hover { color: var(--dunkel); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
p { margin: 0 0 1em; }
figure { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.25; margin: 0 0 0.8em; }
strong { font-weight: 500; color: var(--dunkel); }

.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: -999px; top: 0; background: var(--dunkel); color: #fff; padding: .5rem 1rem; z-index: 30; }
.sprung:focus { left: 0; }

/* Kopf */
.kopf {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.4rem 2rem;
  padding: 0.9rem var(--rand); background: var(--weiss); border-bottom: 1px solid var(--linie);
}
.kopf-name { color: var(--dunkel); text-decoration: none; font-size: 1.15rem; font-weight: 500; }
.kopf-nav { display: flex; flex-wrap: wrap; gap: 0.2rem 1.6rem; }
.kopf-nav a { color: var(--gold); text-decoration: none; font-size: 1.15rem; }
.kopf-nav a:hover { color: var(--dunkel); }
@media (min-width: 50em) {
  .kopf { position: sticky; top: 0; z-index: 10; }
}
@media (max-width: 49.99em) {
  html { scroll-padding-top: 1rem; }
  .kopf { justify-content: center; text-align: center; }
  .kopf-nav { justify-content: center; gap: 0.2rem 1.1rem; }
  .kopf-nav a { font-size: 1.05rem; }
}

/* Bildbänder: immer vollständig, nie beschnitten */
.band { width: 100%; background: var(--weiss); }
.band img { width: 100%; height: auto; }

/* Abschnitte */
.abschnitt { max-width: var(--breite); margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) var(--rand); }
.titel { color: var(--gold); font-size: 1.5rem; font-weight: 500; }
@media (max-width: 30em) { .titel { font-size: 1.3rem; } }

.spalten { display: grid; gap: 2.5rem 3rem; grid-template-columns: 1fr; }
@media (min-width: 48em) { .spalten { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62em) { .spalten { grid-template-columns: repeat(3, 1fr); } }
.schnellkontakt { color: var(--dunkel); }

/* Überblick mit Tischbild */
.ueberblick { display: grid; gap: 2.5rem 4rem; grid-template-columns: 1fr; align-items: start; }
.ueberblick-bild img { width: 100%; max-width: 28rem; margin: 0 auto; }
@media (min-width: 50em) { .ueberblick { grid-template-columns: 2fr 3fr; } }
.zitat { margin-top: 2rem; }
.zitat blockquote { margin: 0; }
.zitat blockquote p { color: var(--gold); font-size: 1.35rem; font-style: italic; line-height: 1.4; margin-bottom: 0.4rem; }
.zitat figcaption { font-size: 0.95rem; }

/* Leitsatz mit Logo */
.motto { text-align: center; }
.motto-logo { width: 120px; margin: 0 auto 1.5rem; }
.motto blockquote { margin: 0; }
.motto blockquote p { font-size: clamp(1.4rem, 3.5vw, 2rem); font-style: italic; color: var(--text); margin: 0 0 0.5rem; }
.motto-quelle { font-size: 0.95rem; }

/* Buchtipps */
.buecher { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 3rem; }
.buch { display: grid; grid-template-columns: 7rem 1fr; gap: 1.5rem 2rem; align-items: start; }
@media (min-width: 48em) { .buch { grid-template-columns: 10rem 1fr; } }
.buch-cover { width: 100%; height: auto; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.buch .titel { font-size: 1.3rem; margin-bottom: 0.2em; }
.buch-autor { color: var(--dunkel); margin-bottom: 0.8em; }
.buch-angaben { font-size: 0.9rem; }

/* Knöpfe */
.knopf {
  display: inline-block; font: inherit; font-size: 0.95rem; cursor: pointer; text-align: center;
  padding: 0.65rem 1.3rem; border-radius: 3px; border: 1px solid var(--gold);
  background: var(--weiss); color: var(--gold); text-decoration: none;
}
.knopf:hover { background: var(--gold); color: #fff; }

/* Anfahrt / Karte */
.karte-bereich { margin-top: clamp(3rem, 7vw, 5rem); }
.karte { position: relative; aspect-ratio: 16 / 9; max-height: 30rem; width: 100%; background: #f4f2ec; border: 1px solid var(--linie); }
.karte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.karte-platzhalter { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.4rem; text-align: center; padding: 1.5rem; }
.karte-platzhalter p { max-width: 30em; margin: 0; font-size: 0.95rem; }
.karte-platzhalter .karte-adresse { color: var(--dunkel); font-size: 1.1rem; margin-bottom: 0.4rem; }
.karte-platzhalter .knopf { margin-top: 0.8rem; }
.karte-route { margin-top: 1rem; }
@media (max-width: 40em) { .karte { aspect-ratio: 4 / 5; } }

/* Unterseiten (Impressum) */
.lesespalte { max-width: 46rem; }
.lesespalte h1 { color: var(--gold); font-size: 2rem; }
.lesespalte h2 { color: var(--gold); font-size: 1.5rem; margin-top: 2em; }
.lesespalte h3 { color: var(--dunkel); font-size: 1.1rem; margin-top: 1.6em; margin-bottom: 0.4em; }

/* Fuß wie bisher in Sandgold */
.fuss { background: var(--gold-hell); color: var(--dunkel); padding: 2rem var(--rand); display: flex; flex-wrap: wrap; gap: 1rem 3rem; align-items: center; justify-content: center; text-align: center; font-size: 0.95rem; }
.fuss p { margin: 0; }
.fuss a, .fuss-link { color: var(--dunkel); }
.fuss-logo { width: 3.5rem; }
.fuss-link { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.18em; }

/* Einwilligungs-Banner */
.banner {
  position: fixed; z-index: 20; left: 1rem; right: 1rem; bottom: 1rem; margin: 0 auto; max-width: 40rem;
  background: var(--weiss); color: var(--text); border: 1px solid var(--linie);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .18); padding: 1.4rem 1.5rem; font-size: 0.95rem;
  max-height: calc(100vh - 2rem); overflow-y: auto;
}
.banner[hidden] { display: none; }
.banner p { margin: 0 0 0.8em; }
.banner-titel { color: var(--gold); font-size: 1.2rem; font-weight: 500; }
.banner-mehr { font-size: 0.85rem; }
.banner-mehr p { margin: 0; }
.banner-knoepfe { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: flex-end; margin-top: 0.4rem; }
.banner-knoepfe .knopf { min-width: 9rem; }
