/* Hochzeitshaus Herborn – Stylesheet
   Bewusst ohne externe Schriften (DSGVO: keine Google-Fonts-Verbindung). */

:root {
  --pergament: #f7f1e6;
  --pergament-dunkel: #efe5d3;
  --eiche: #3b2a1e;
  --eiche-hell: #6b5442;
  --ocker: #8c2f1b;
  --ocker-hell: #b4492c;
  --gold: #a8823a;
  --linie: #d9cbb2;
  --weiss: #fffdf8;
  --schatten: 0 1px 2px rgba(59, 42, 30, .08), 0 8px 24px rgba(59, 42, 30, .08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --breite: 72rem;
  --text-breite: 42rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--pergament);
  color: var(--eiche);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--ocker); text-underline-offset: .18em; }
a:hover { color: var(--ocker-hell); }

h1, h2, h3 { line-height: 1.2; font-weight: 600; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--weiss); padding: .5rem 1rem; z-index: 10; }

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 1rem; }
.text { max-width: var(--text-breite); }

.eyebrow {
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ocker);
  font-weight: 600;
  margin-bottom: .8rem;
}

/* ---------- Kopf ---------- */
.kopf {
  border-bottom: 1px solid var(--linie);
  background: var(--pergament);
  position: sticky;
  top: 0;
  z-index: 5;
}
.kopf .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  flex-wrap: wrap;
}
.marke {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--eiche);
  font-weight: 600;
  font-size: 1.15rem;
}
.marke svg { width: 2rem; height: 2rem; }
.marke:hover { color: var(--eiche); }

.nav ul {
  list-style: none;
  display: flex;
  gap: .25rem 1.4rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: .95rem;
}
.nav a { text-decoration: none; color: var(--eiche-hell); padding: .3rem 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ocker); }
.nav a[aria-current="page"] { border-bottom: 2px solid var(--ocker); }

@media (max-width: 720px) {
  .kopf { position: static; }
  .kopf .wrap { padding-top: .7rem; padding-bottom: .7rem; }
  .nav { width: 100%; }
  .nav ul { gap: .2rem 1rem; font-size: .9rem; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 4rem); }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero .lead { font-size: 1.25rem; color: var(--eiche-hell); max-width: 36rem; }
.hero-bild { background: var(--pergament-dunkel); border-radius: 4px; padding: 1.5rem; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .hero-bild { max-width: 26rem; } }

.knopf {
  display: inline-block;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  padding: .8rem 1.4rem;
  border-radius: 3px;
  background: var(--ocker);
  color: var(--weiss);
  margin: .4rem .6rem .4rem 0;
}
.knopf:hover { background: var(--ocker-hell); color: var(--weiss); }
.knopf.leise { background: transparent; color: var(--eiche); border: 1px solid var(--eiche-hell); }
.knopf.leise:hover { background: var(--eiche); color: var(--weiss); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.abschnitt.dunkel { background: var(--eiche); color: var(--pergament); }
.abschnitt.dunkel a { color: #f0c9a8; }
.abschnitt.dunkel .eyebrow { color: #e6a982; }
.abschnitt.getoent { background: var(--pergament-dunkel); }

.zitat {
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  line-height: 1.45;
  font-style: italic;
  max-width: 48rem;
  margin: 0;
}

/* ---------- Fakten ---------- */
.fakten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1px;
  background: var(--linie);
  border: 1px solid var(--linie);
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.fakten li { background: var(--weiss); padding: 1.3rem 1.4rem; }
.fakten strong { display: block; font-size: 1.9rem; color: var(--ocker); line-height: 1.1; }
.fakten span { font-family: var(--sans); font-size: .9rem; color: var(--eiche-hell); }

/* ---------- Zeitstrahl ---------- */
.zeitstrahl { list-style: none; margin: 2rem 0 0; padding: 0; position: relative; max-width: 48rem; }
.zeitstrahl::before {
  content: "";
  position: absolute;
  left: 6.2rem;
  top: .5rem;
  bottom: .5rem;
  width: 2px;
  background: var(--linie);
}
.zeitstrahl li {
  display: grid;
  grid-template-columns: 5.4rem 1fr;
  gap: 1.8rem;
  padding: 0 0 2rem;
  position: relative;
}
.zeitstrahl li::before {
  content: "";
  position: absolute;
  left: 5.85rem;
  top: .55rem;
  width: .8rem;
  height: .8rem;
  border-radius: 50%;
  background: var(--ocker);
  box-shadow: 0 0 0 4px var(--pergament);
}
.abschnitt.getoent .zeitstrahl li::before { box-shadow: 0 0 0 4px var(--pergament-dunkel); }
.zeitstrahl time {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--ocker);
  text-align: right;
  padding-top: .1rem;
}
.zeitstrahl h3 { margin-bottom: .3rem; }
.zeitstrahl p { margin: 0; color: var(--eiche-hell); }
@media (max-width: 560px) {
  .zeitstrahl::before { left: .35rem; }
  .zeitstrahl li { grid-template-columns: 1fr; gap: .2rem; padding-left: 2rem; }
  .zeitstrahl li::before { left: 0; }
  .zeitstrahl time { text-align: left; }
}

/* ---------- Karten ---------- */
.karten {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.karte {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 4px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.karte h3 { margin-bottom: .4rem; }
.karte p { color: var(--eiche-hell); font-size: 1rem; }
.karte .knopf { margin-top: auto; align-self: flex-start; font-size: .88rem; padding: .6rem 1rem; }
.karte .marke-tag {
  font-family: var(--sans);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .5rem;
}

/* ---------- Tabelle Hochzeitstage ---------- */
.tabelle-wrap { overflow-x: auto; margin-top: 1.5rem; border: 1px solid var(--linie); }
table { border-collapse: collapse; width: 100%; background: var(--weiss); font-size: 1rem; }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
th { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; background: var(--pergament-dunkel); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; color: var(--ocker); white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--linie); padding: 1rem 0; max-width: 48rem; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.15rem; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -.1rem; font-size: 1.5rem; color: var(--ocker); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .8rem 0 0; color: var(--eiche-hell); }

/* ---------- Hinweise ---------- */
.hinweis {
  font-family: var(--sans);
  font-size: .88rem;
  line-height: 1.55;
  color: var(--eiche-hell);
  border-left: 3px solid var(--gold);
  background: var(--weiss);
  padding: .9rem 1.1rem;
  max-width: 48rem;
}
.brotkrumen { font-family: var(--sans); font-size: .85rem; color: var(--eiche-hell); padding-top: 1.5rem; }
.brotkrumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.brotkrumen li + li::before { content: "›"; margin-right: .4rem; }
.brotkrumen a { color: var(--eiche-hell); }

.artikel h2 { margin-top: 2.2em; }
.artikel figure { margin: 2rem 0; }
.artikel figcaption { font-family: var(--sans); font-size: .85rem; color: var(--eiche-hell); margin-top: .5rem; }

.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 820px) { .zwei-spalten { grid-template-columns: 1fr; } }

/* ---------- Fuß ---------- */
.fuss { border-top: 1px solid var(--linie); padding: 2.5rem 0 3rem; font-family: var(--sans); font-size: .9rem; color: var(--eiche-hell); }
.fuss .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.fuss h2 { font-family: var(--serif); font-size: 1.1rem; color: var(--eiche); }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: .35rem; }
.fuss a { color: var(--eiche-hell); }
.fuss .klein { grid-column: 1 / -1; font-size: .8rem; border-top: 1px solid var(--linie); padding-top: 1.2rem; }
@media (max-width: 720px) { .fuss .wrap { grid-template-columns: 1fr; } }

/* ---------- Fotos ---------- */
.foto { margin: 0; }
.foto img { width: 100%; height: auto; border-radius: 4px; box-shadow: var(--schatten); }
.foto figcaption { font-family: var(--sans); font-size: .85rem; color: var(--eiche-hell); margin-top: .6rem; }
.hero-foto { max-width: 26rem; justify-self: center; }
.hero-foto img { aspect-ratio: 1200 / 1798; }

/* ---------- Symbole auf Geschenkkarten ---------- */
.symbol {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--pergament-dunkel);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.symbol svg {
  width: 2.4rem;
  height: 2.4rem;
  fill: none;
  stroke: var(--eiche);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.symbol .akzent { stroke: var(--ocker); fill: var(--ocker); fill-opacity: .18; }
.abschnitt.getoent .symbol { background: var(--pergament); }
