/* ---------- Schrift (lokal eingebunden, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: "Comic Neue";
  src: url("fonts/comic-neue-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Comic Neue";
  src: url("fonts/comic-neue-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Comic Neue";
  src: url("fonts/comic-neue-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Farben: immer hell, cremefarbener Grund ---------- */
:root {
  color-scheme: light;

  --ground:    #FBF6EC;
  --panel:     #F4EAD7;
  --ink:       #3B342C;
  --ink-soft:  #4E463C;
  --muted:     #75695A;
  --line:      #E6DAC3;
  --line-soft: #EFE5D3;

  --orange:      #CC5F14;   /* Überschriften (große Schrift) */
  --orange-deep: #A94A0B;   /* kleine orange Schrift, gut lesbar auf Creme */

  --font: "Comic Neue", "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive, sans-serif;

  --edge:  clamp(1.25rem, 5vw, 5rem);
  --stack: clamp(3.5rem, 7vw, 6.5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[id] { scroll-margin-top: 5rem; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(1.06rem, 1rem + 0.25vw, 1.15rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--orange);
  line-height: 1.2;
  text-wrap: balance;
  overflow-wrap: break-word;
  margin: 0;
}
@media (max-width: 26rem) { h1, h2, h3 { hyphens: auto; } }
h1 { font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
a { color: inherit; }
strong { font-weight: 700; }

:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--panel); color: var(--ink);
  padding: 0.7rem 1rem; z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- Gerüst ---------- */
.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--edge);
}
.prose { max-width: 40rem; }
.prose > * + * { margin-top: 1.1em; }
section { padding-block: var(--stack); }
section + section { padding-top: 0; }

/* ---------- Bildleiste ganz oben ---------- */
.strip {
  display: block;
  width: 100%;
  height: clamp(7rem, 17vw, 14rem);
  object-fit: cover;
  object-position: center 55%;
  background: var(--panel);
  filter: brightness(1.22) contrast(0.94) saturate(1.06);   /* auf Wunsch heller */
}
.sub-page .strip { height: clamp(5rem, 11vw, 9rem); }

/* ---------- Navigation ---------- */
header.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ground) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}
.brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--orange);
  text-decoration: none;
  white-space: nowrap;
}
nav {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.2rem);
  overflow-x: auto;
  scrollbar-width: none;
}
nav::-webkit-scrollbar { display: none; }
nav a {
  font-size: 1rem;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  padding-block: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
nav a:hover { color: var(--orange-deep); }
nav a[aria-current="page"] { color: var(--orange-deep); border-bottom-color: var(--orange); }
@media (max-width: 52rem) {
  .top .wrap { flex-direction: column; align-items: flex-start; gap: 0.35rem; padding-block: 0.7rem; }
  nav { width: 100%; flex-wrap: wrap; overflow: visible; column-gap: 1.1rem; row-gap: 0.1rem; }
  nav a { font-size: 0.95rem; }
}

/* ---------- Seitenkopf ---------- */
.page-head { padding-bottom: clamp(2rem, 4vw, 3rem); }
.lead {
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---------- Startseite ---------- */
.quote {
  margin: 0 auto;
  max-width: 44rem;
  text-align: center;
  padding-block: 0;
}
.quote p {
  font-style: italic;
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem);
  line-height: 1.5;
  color: var(--ink);
}
.quote em {
  color: #9A4A16;   /* „ins Dunkle“: dunkles Orange-Braun, passend zur Akzentfarbe */
  font-style: italic;
}
.quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--muted);
}
.welcome {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}
.welcome .role { font-weight: 700; color: var(--ink); }
.more { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.button {
  display: inline-block;
  padding: 0.55rem 1.2rem;
  border: 2px solid var(--orange);
  border-radius: 999px;
  color: var(--orange-deep);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.button:hover { background: var(--orange); color: #fff; }
@media (max-width: 44rem) {
  .welcome { grid-template-columns: 1fr; }
  .welcome .photo { max-width: 14rem; }
}

/* ---------- Bilder ---------- */
.photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: var(--panel);
}
.photo.portrait { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.photo.wide     { aspect-ratio: 3 / 2; object-fit: cover; }
.photo.tall     { aspect-ratio: 3 / 4; object-fit: cover; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}
.split.narrow-img { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); }
@media (max-width: 48rem) {
  .split, .split.narrow-img { grid-template-columns: 1fr; }
  .split.narrow-img .photo { max-width: 14rem; }
}

/* ---------- Punktaufzählung ---------- */
ul.dots { list-style: none; margin: 0; padding: 0; }
ul.dots li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.6rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
ul.dots li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.95rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--orange);
}
ul.dots li .sub { display: block; font-size: 0.92em; color: var(--muted); }
ul.dots.cols {
  columns: 2 20rem;
  column-gap: clamp(2rem, 5vw, 4rem);
}
ul.dots.cols li { break-inside: avoid; }

.block { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.block > h2, .block > h3 { margin-bottom: 1rem; }

.note {
  margin-top: 1.4rem;
  padding: 1.2rem 1.4rem;
  background: var(--panel);
  border-radius: 14px;
  color: var(--ink-soft);
}

/* ---------- Kosten ---------- */
.rates { margin: 0; max-width: 30rem; }
.rates div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--line);
}
.rates dt { color: var(--ink-soft); }
.rates dd { margin: 0; font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; }

/* ---------- Termine ---------- */
.events {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.event {
  background: var(--panel);
  border-radius: 14px;
  padding: 1.5rem 1.6rem;
}
.event .date { font-weight: 700; font-size: 1.25rem; color: var(--orange-deep); }
.event .time { color: var(--muted); }
.event p + p { margin-top: 0.7rem; }
.event .k { display: block; font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.event a { color: var(--orange-deep); }
.dates-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}
.dates-head img { width: clamp(7rem, 16vw, 10rem); height: auto; border-radius: 12px; }
@media (max-width: 30rem) { .dates-head img { display: none; } }

/* ---------- Kontakt ---------- */
.contact-list { display: grid; gap: 1.4rem; margin-top: 1.8rem; }
.contact-list .k { display: block; font-weight: 700; color: var(--orange-deep); font-size: 0.95rem; }
.contact-list .v { font-size: 1.2rem; word-break: break-word; }
.contact-list a.v { color: var(--ink); text-decoration-color: var(--orange); text-underline-offset: 4px; }
.contact-list a.v:hover { color: var(--orange-deep); }
.pending { color: var(--muted); font-style: italic; }

/* ---------- Rechtliches ---------- */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}
.legal h2 { margin-bottom: 1rem; }
.legal h3 { font-size: 1.05rem; margin: 1.5rem 0 0.3rem; }
.legal p, .legal li { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Fuß ---------- */
footer {
  border-top: 1px solid var(--line);
  padding-block: 2rem 2.5rem;
  margin-top: var(--stack);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}
footer a { text-decoration: none; border-bottom: 1px solid var(--line); }
footer a:hover { color: var(--orange-deep); border-bottom-color: var(--orange); }

.nowrap { white-space: nowrap; }

/* Aufstellungsfiguren unten mittig unter den Terminen */
.figures { display: block; width: clamp(8rem, 20vw, 11rem); height: auto; margin: 2.5rem auto 0; border-radius: 12px; }
