/* Sitekit-Theme „klassisch“ – keine externen Ressourcen. Farben über CSS-Variablen. */
:root {
  /* Farben – in site.json unter "farben" überschreibbar */
  --primary-dark: #4d160c;     /* Fußzeile, dunkelste Stufe */
  --primary-text: #5f1c10;     /* Überschriften */
  --primary: #762314;          /* Hauptfarbe: Flächen, Knöpfe */
  --primary-light: #99311c;    /* Aufzählungszeichen, Motive */
  --link: #8a2211;
  --accent: #b9a968;           /* Linien, Hinweisband */
  --accent-light: #dcc49a;     /* helle Knöpfe, Akzente auf dunkel */
  --accent-hover: #ead8b3;
  --tint: #f4ecdb;             /* getönte Abschnitte */
  --bg: #fbf8f1;               /* Seitenhintergrund */
  --on-primary-muted: #f6eadf; /* Fließtext auf Hauptfarbe */
  --on-dark: #f3e7dc;          /* Text in der Fußzeile */
  --paper: #ffffff;
  --ink: #2a1d18;
  --muted: #5d4c44;
  --line: #e4d8bf;
  --focus: #1b5fbf;
  --radius: 10px;
  --wrap: 1120px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: var(--serif);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font: 1.0625rem/1.65 var(--sans);
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--heading-font); color: var(--primary-text); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.65rem, 1.3rem + 1.4vw, 2.25rem); margin: 0 0 .35em; }
h3 { font-size: 1.25rem; margin: 1.4em 0 .4em; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.lead { font-size: 1.15em; color: var(--muted); }
.hint { font-size: .92rem; color: var(--muted); }
.mt { margin-top: 2rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--primary); color: #fff; padding: .6rem 1rem; border-radius: 0 0 6px 6px;
}
.skip-link:focus { top: 0; }

/* ---------- Kopf ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 4px solid var(--accent);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .5rem 1rem;
  padding-block: .6rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.brand-mark {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 8px; background: var(--primary);
}
.brand-mark img { width: 40px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.55rem); color: var(--primary-text); white-space: nowrap; }
.brand-tag { font-family: var(--serif); font-size: .95rem; color: var(--muted); font-style: italic; }
.header-call {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 600; text-decoration: none; color: var(--primary-text);
  border: 2px solid var(--accent-light); border-radius: 999px; padding: .4rem .9rem; white-space: nowrap;
}
.header-call::before { content: "☎\FE0E"; font-size: 1.1em; line-height: 1; }
.header-call:hover { background: var(--tint); }
.call-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Navigation: breite Bildschirme = Leiste, sonst Aufklapp-Menü (details/summary, ohne JS) */
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: .45rem .75rem; white-space: nowrap;
  text-decoration: none; color: var(--ink); font-weight: 500; border-radius: 6px;
}
.main-nav a:hover { background: var(--tint); color: var(--primary-text); }
.main-nav a[aria-current="page"] { background: var(--tint); color: var(--primary-text); font-weight: 600; }
.main-nav--wide { display: none; }

.header-inner { grid-template-columns: minmax(0, 1fr) auto auto; }
.brand { min-width: 0; }
.site-header { position: relative; }
.menu { position: static; }
.menu summary {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; list-style: none;
  padding: .45rem .8rem; border-radius: 8px; background: var(--primary); color: #fff; font-weight: 600;
  user-select: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: var(--primary-text); }
.burger, .burger::before, .burger::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px;
  transition: transform .2s, opacity .2s;
}
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.menu[open] .burger { background: transparent; }
.menu[open] .burger::before { transform: translateY(6px) rotate(45deg); }
.menu[open] .burger::after { transform: translateY(-6px) rotate(-45deg); }
.main-nav--menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 60;
  background: var(--paper); border-bottom: 4px solid var(--accent);
  box-shadow: 0 14px 24px -16px color-mix(in srgb, var(--primary-dark) 45%, transparent); padding: .5rem max(1rem, (100% - var(--wrap)) / 2) .9rem;
}
.main-nav--menu ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .15rem .5rem; max-width: 46rem; }
.main-nav--menu a { padding: .7rem .75rem; font-size: 1.05rem; }
@media (prefers-reduced-motion: reduce) { .burger, .burger::before, .burger::after { transition: none; } }

.header-call, .menu summary { min-height: 44px; justify-content: center; }
@media (max-width: 559px) { .brand-tag { display: none; } }
@media (max-width: 519px) {
  .brand-mark { width: 44px; height: 44px; }
  .brand-mark img { width: 34px; }
  .header-call { width: 44px; padding: 0; }
  .call-number { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu summary { width: 44px; padding: 0; }
  .header-inner { gap: .5rem; }
}

@media (min-width: 1100px) {
  .site-header { position: sticky; top: 0; z-index: 50; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .menu { display: none; }
  .main-nav--wide { display: block; justify-self: center; }
  .main-nav--wide ul { display: flex; gap: .15rem; }
  section[id] { scroll-margin-top: 92px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--paper); padding-block: 0 2.5rem; }
.hero-grid { display: grid; gap: 0; }
.hero-panel {
  position: relative; overflow: hidden;
  background: var(--primary) var(--hero-motif, none) no-repeat right -2.5rem bottom -1.5rem / 15rem auto;
  color: #fff; padding: 2rem 1.5rem 2.2rem;
}
.hero-panel h1 { color: #fff; }
.hero-panel h1 span { display: block; font-size: .55em; font-style: italic; color: var(--accent-light); margin-top: .25em; }
.hero-panel .lead { color: var(--on-primary-muted); max-width: 34em; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--accent-light); margin-bottom: .8rem; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 600 / 250; object-fit: cover; }

@media (min-width: 900px) {
  .hero { padding-top: 1.5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); }
  .hero-panel { padding: 2.75rem 2.5rem; border-radius: var(--radius) 0 0 var(--radius); display: flex; flex-direction: column; justify-content: center; }
  .hero-photo img { height: 100%; aspect-ratio: auto; min-height: 250px; border-radius: 0 var(--radius) var(--radius) 0; }
}

.hero-grid--solo { grid-template-columns: 1fr !important; }
.hero-grid--solo .hero-panel { border-radius: var(--radius) !important; }

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-block; padding: .75rem 1.25rem; border-radius: 8px;
  background: var(--accent-light); color: var(--primary-dark); font-weight: 600; text-decoration: none;
  border: 2px solid var(--accent-light); line-height: 1.2;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--primary-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-text); border-color: var(--primary-text); color: #fff; }
.btn--outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }

/* ---------- Saison-Band ---------- */
.season { background: var(--accent); color: var(--ink); }
.season .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 2rem; padding-block: .9rem; }
.season p { margin: 0; }
.season a { color: var(--primary-dark); font-weight: 600; white-space: nowrap; }

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--primary); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: var(--on-primary-muted); }
.section--dark a { color: #fff; }
.section--dark a.btn:not(.btn--primary, .btn--outline, .btn--ghost) { color: var(--primary-dark); }
.intro { max-width: 46rem; margin-bottom: 2rem; }
.split { display: grid; gap: 2rem; align-items: center; }
.split--top { align-items: start; }
@media (min-width: 820px) { .split { grid-template-columns: 1.15fr 1fr; gap: 3rem; } }

.photo { margin: 0; }
.photo img { border-radius: var(--radius); width: 100%; box-shadow: 0 10px 28px -14px color-mix(in srgb, var(--primary-dark) 45%, transparent); }
figcaption { font-size: .92rem; color: var(--muted); margin-top: .5rem; }
.section--dark figcaption { color: var(--on-primary-muted); }

.facts { list-style: none; padding: 0; margin: 1rem 0 0; }
.facts li { position: relative; padding-left: 1.6rem; margin-bottom: .4rem; }
.facts li::before {
  content: ""; position: absolute; left: .2rem; top: .62em;
  width: .6rem; height: .6rem; border-radius: 2px; background: var(--primary-light); transform: rotate(45deg);
}
.plain { list-style: none; margin: 0; padding: 0; }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; box-shadow: 0 8px 24px -18px color-mix(in srgb, var(--primary-dark) 35%, transparent);
}
.card h3:first-child { margin-top: 0; }
.card--light { color: var(--ink); }
.card--light h3 { color: var(--primary-text); }
.card--light a:not(.btn) { color: var(--link); }
.card--light .hint { color: var(--muted); }

/* ---------- Kacheln ---------- */
.tiles { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin-top: 1.5rem; }
.tile h2, .tile h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
.tile h2 a, .tile h3 a { color: var(--primary-text); text-decoration-thickness: 2px; }
.tile h2 a:hover, .tile h3 a:hover { color: var(--link); }
.tile p:last-child { margin-bottom: 0; }

/* ---------- Bilderstreifen (volle Breite) ---------- */
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; background: var(--paper); }
.strip li { margin: 0; }
.strip img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.strip li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.strip li:last-child:nth-child(odd) img { aspect-ratio: 3 / 1; }
@media (min-width: 820px) {
  .strip--3 { grid-template-columns: repeat(3, 1fr); }
  .strip--4 { grid-template-columns: repeat(4, 1fr); }
  .strip--5 { grid-template-columns: repeat(5, 1fr); }
  .strip--6 { grid-template-columns: repeat(6, 1fr); }
  .strip li:last-child:nth-child(odd) { grid-column: auto; }
  .strip li:last-child:nth-child(odd) img { aspect-ratio: 3 / 2; }
}

/* ---------- Aufruf-Band ---------- */
.cta { text-align: center; }
.cta .btns { justify-content: center; margin-top: 1.2rem; }
.cta p { max-width: 40rem; margin-inline: auto; }

/* ---------- Galerie ---------- */
.gallery {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}
.section .split--top + .gallery { margin-top: 2.5rem; }
@media (min-width: 820px) { .gallery--3 { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--line); }

/* ---------- Preise ---------- */
.price-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .price-grid { grid-template-columns: 1.3fr 1fr; } }
.table-wrap { overflow-x: auto; }
.prices { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.prices caption { text-align: left; font-size: .92rem; color: var(--muted); padding-bottom: .5rem; }
.prices th, .prices td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.prices thead th { background: var(--primary); color: #fff; font-weight: 600; }
.prices tbody th { font-family: var(--serif); font-size: 1.1rem; color: var(--primary-text); }
.prices td { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.prices tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 480px) { .prices th, .prices td { padding: .75rem .6rem; } .prices tbody th { font-size: 1rem; } }
.notes { margin: 1rem 0 0; padding-left: 1.2rem; color: var(--muted); font-size: .97rem; }
.notes li { margin-bottom: .35rem; }
.extras { margin: 0; }
.extras div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.extras dt { font-weight: 600; }
.extras dd { margin: 0; text-align: right; }
.faq { display: grid; gap: 1rem; margin: 0; }
@media (min-width: 820px) { .faq { grid-template-columns: repeat(2, 1fr); } }
.faq div { background: var(--paper); border-left: 4px solid var(--accent); border-radius: 6px; padding: .9rem 1.1rem; }
.faq dt { font-weight: 700; color: var(--primary-text); margin-bottom: .25rem; }
.faq dd { margin: 0; }

/* ---------- Karte, Kontakt ---------- */
.map { margin: 0; }
.map + .map { margin-top: 1.5rem; }
.map img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.contact-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.contact-list li { display: flex; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.contact-list span { min-width: 5rem; color: var(--muted); }
.contact-list li { border-bottom-color: var(--line); }
.section--dark .contact-list span { color: var(--accent-light); }
.section--dark .contact-list li { border-bottom-color: rgba(255,255,255,.2); }
.section--dark address { margin-top: 1rem; }

/* ---------- Unterseiten ---------- */
.page-head { background: var(--primary) var(--hero-motif, none) no-repeat right 1rem bottom -2rem / 10rem auto; color: #fff; padding-block: 2.5rem 2rem; }
.page-head h1 { color: #fff; margin: 0; }
.page-head .lead { color: var(--on-primary-muted); margin: .5rem 0 0; max-width: 40rem; }
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.todo { background: #fff3a8; border: 2px dashed #b38f00; padding: .8rem 1rem; border-radius: 6px; color: #3b3000; }

/* ---------- Fuß ---------- */
.site-footer { background: var(--primary-dark); color: var(--on-dark); padding-top: 2.5rem; font-size: .97rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 2rem; }
.footer-name { font-family: var(--serif); font-size: 1.4rem; color: #fff; margin-bottom: .4rem; }
.footer-head { font-weight: 700; color: var(--accent-light); margin-bottom: .4rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; border-top: 1px solid rgba(255,255,255,.18); padding-block: 1rem 1.5rem; }
.footer-bottom span { margin-right: auto; }

/* Kompakter Fuß (fuss.variante = kompakt): eine Zeile mit © und Links */
.site-footer--kompakt { padding-top: 0; }
.site-footer--kompakt .footer-bottom { display: block; text-align: center; border-top: 0; padding-block: 1.2rem; }
.site-footer--kompakt .footer-bottom span { margin: 0 .35rem; }

/* Schmale Leiste über dem Kopf (kopfleiste) */
.top-bar { background: var(--primary-dark); color: var(--on-dark); font-size: .85rem; }
.top-bar .wrap { padding-block: .35rem; text-align: right; }
.top-bar a { color: inherit; }

/* Allgemeine Hilfsklassen (Abschnittsfeld „klasse“) */
blockquote { margin: 1.5rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: 5px solid var(--tint); font-style: italic; }
blockquote p { margin: .4rem 0; }
.text-center { text-align: center; }
.text-center .prose { margin-inline: auto; }
.bild-original figure img { width: auto; max-width: 100%; }  /* Bild nicht auf Spaltenbreite ziehen */
@media (min-width: 820px) {                                   /* Bild links statt rechts */
  .bild-links .split { grid-template-columns: 1fr 1.15fr; }
  .bild-links .split > figure { order: -1; }
}

/* Kopf nur mit Logo (kopf_variante = logo) */
.site-header--logo .brand-mark { width: auto; height: auto; background: none; border-radius: 0; }
.site-header--logo .brand-mark img { width: auto; height: 64px; filter: none; }
.site-header--logo .brand-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 519px) { .site-header--logo .brand-mark img { height: 48px; width: auto; } }

/* Bildunterschrift im Titelbereich */
.hero-photo { position: relative; }
.hero-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .5rem .9rem; font-size: .9rem;
  color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
@media (min-width: 900px) { .hero-photo figcaption { border-radius: 0 0 var(--radius) 0; } }
@media (min-width: 820px) { .spalten-gleich .split { grid-template-columns: 1fr 1fr; } }
@media (min-width: 820px) {
  .split.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .split.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

@media print {
  .site-header, .skip-link, .season, .btns, .map, .gallery, .footer-bottom a { display: none !important; }
  body, .section--dark, .site-footer, .hero-panel { background: #fff !important; color: #000 !important; }
  .section--dark h2, .hero-panel h1 { color: #000 !important; }
  a { color: #000; }
}

/* Social-Media-Symbole im Kopf (site.json "social") */
.header-inner--social { display: flex; align-items: center; }
.header-inner--social .brand { margin-right: auto; }
.social { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; color: var(--primary-text); }
.social a:hover { background: var(--tint); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
@media (min-width: 1100px) { .header-inner--social .main-nav--wide { margin-inline: auto; } }

/* Sitekit-Theme „buehne“ – baut auf „klassisch“ auf (theme.json: "basis").
   Schwarzer Grund, helle Schrift, Roboto (Apache 2.0, lokal), großes Logo, Knöpfe mit Symbolen
   (Telefon, E-Mail, PDF-Download – erkannt am Linkziel). Ohne Menüpunkte bleibt der Kopf schlicht.
   Farben über site.json "farben": bg, ink (Text), muted (Nebentext, Fuß), link, knopf, knopf-hover,
   knopf-download. Linie unter dem Kopf: --kopf-linie (Farbe oder url(../img/…)), z. B. in css_extra. */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-400.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/roboto-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-700.woff2") format("woff2"); }

:root {
  --bg: #000000;
  --ink: #f0f0f0;
  --muted: #b2b2be;
  --link: #5aa9f8;
  --link-hover: #ffffff;
  --knopf: #0366d6;
  --knopf-hover: #222222;
  --knopf-download: #32373c;
  --primary: #000000;
  --primary-dark: #000000;
  --primary-text: #f0f0f0;
  --primary-light: #b2b2be;
  --accent: #333333;
  --accent-light: #0366d6;
  --tint: #141414;
  --paper: #000000;
  --line: #333333;
  --on-dark: #b2b2be;
  --on-primary-muted: #b2b2be;
  --focus: #e5c027;
  --wrap: 1200px;
  --sans: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: var(--sans);
  --heading-font: var(--sans);
  color-scheme: dark;
}

body { font: 400 17px/1.5 var(--sans); color: var(--ink); background: var(--bg); }
a { color: var(--link); text-decoration: none; }
a:hover, a:focus { color: var(--link-hover); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { color: var(--ink); font-weight: 400; margin: 0 0 20px; line-height: 1.2; }
h1 { font-size: 42px; }
h2 { font-size: 35px; }
h3 { font-size: 25px; }
p { margin: 0 0 1.5em; }
.lead, .hint { color: var(--muted); }
.skip-link { background: #ffffff; color: #000000; }

/* Kopf: großes Logo links, Symbole rechts, nicht mitlaufend */
.site-header { background: var(--bg); border-bottom: 0; position: static !important; }
.site-header .wrap { width: min(100% - 2rem, 2400px); }
.header-inner { padding: 20px 20px; }
.site-header--logo .brand-mark img { height: 114px; width: auto; }
.social a { width: 60px; height: 60px; color: var(--muted); }
.social a:hover { background: none; color: #ffffff; }
.social svg { width: 21px; height: 21px; }
.site-header::after {
  content: ""; display: block; height: 10px; max-width: 98%; margin: 0 auto;
  background: var(--kopf-linie, var(--accent)) no-repeat center top / 100% auto; opacity: .8;
}
.main-nav a { color: var(--muted); }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--tint); color: #ffffff; }
.menu summary { background: var(--tint); color: var(--muted); }
@media (max-width: 768px) {
  .header-inner { padding: 16px 0; }
  .site-header--logo .brand-mark img { height: 80px; }
  .social a { width: 44px; height: 44px; }
}
@media (max-width: 380px) { .site-header--logo .brand-mark img { height: 66px; } }

/* Titelbereich ohne Fläche, Text mittig */
.hero { background: none; padding-block: 40px 0; }
.hero-panel, .hero-grid--solo .hero-panel { background: none; color: var(--ink); padding: 0; border-radius: 0; text-align: center; }
.hero-panel h1 { color: var(--ink); margin-bottom: 0; }
.hero-panel h1 span { color: var(--muted); font-style: normal; }
.hero-panel .lead { color: var(--muted); margin-inline: auto; }
.hero-panel .btns { justify-content: center; }

/* Abschnitte kompakt */
.section { padding-block: 1.25rem 1.5rem; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--bg); color: var(--ink); }
.section--dark h2, .section--dark h3 { color: var(--ink); }
.section--dark a:not(.btn) { color: var(--link); }
.card { background: var(--tint); border-color: var(--line); box-shadow: none; color: var(--ink); }
.card--light h3 { color: var(--ink); }
.cta .btns { margin-top: 0; gap: 0; }
.cta p { margin-bottom: 0; }
.cta .btns + p, .cta p + .btns { margin-top: 2rem; }

/* Knöpfe: eckig, blau; Symbole je nach Ziel */
.btns { gap: 0; }
.btn,
.section--dark a.btn:not(.btn--primary, .btn--outline, .btn--ghost) {
  display: inline-flex; align-items: center; justify-content: center; column-gap: .5em;
  padding: 15px 20px; margin: 1em; border: 0; border-radius: 0;
  background: var(--knopf); color: #ffffff; font-weight: 400; text-decoration: none;
  transition: background-color .2s ease;
}
.btn:hover, .btn:focus,
.section--dark a.btn:not(.btn--primary, .btn--outline, .btn--ghost):hover { background: var(--knopf-hover); color: #ffffff; text-decoration: none; }
.btn--ghost, .section--dark a.btn.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--muted); }
.btn[href^="tel:"]::before, .btn[href^="mailto:"]::before, .btn[href$=".pdf"]::before {
  content: ""; flex: none; width: 1em; height: 1em; background: currentColor;
  -webkit-mask: var(--icon) no-repeat center / contain; mask: var(--icon) no-repeat center / contain;
}
.btn[href^="tel:"] { --icon: url(../img/icon-tel.svg); }
.btn[href^="mailto:"] { --icon: url(../img/icon-mail.svg); }
/* PDF-Download: abgerundeter grauer Knopf */
.btn[href$=".pdf"],
.section--dark a.btn[href$=".pdf"]:not(.btn--primary, .btn--outline, .btn--ghost) {
  --icon: url(../img/icon-download.svg);
  background: var(--knopf-download); border-radius: 2em; padding: 14px 26px; font-size: 15px; column-gap: .6em;
}
.btn[href$=".pdf"]:hover,
.section--dark a.btn[href$=".pdf"]:not(.btn--primary, .btn--outline, .btn--ghost):hover { background: var(--knopf); }
@media (max-width: 768px) {
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  .btn, .section--dark a.btn:not(.btn--primary, .btn--outline, .btn--ghost) { margin: .5em; }
}
@media (max-width: 420px) {
  .cta .btns { flex-direction: column; align-items: stretch; }
  .btn, .section--dark a.btn:not(.btn--primary, .btn--outline, .btn--ghost) { margin: .4em 0; }
  .btn[href$=".pdf"], .section--dark a.btn[href$=".pdf"]:not(.btn--primary, .btn--outline, .btn--ghost) { align-self: center; }
}

/* Unterseiten (Impressum, Datenschutz): schmale, zentrierte Spalte */
.page-head { background: none; color: var(--ink); padding-block: 40px 0; text-align: center; }
.page-head h1 { color: var(--ink); }
.page-head .lead { color: var(--muted); margin-inline: auto; }
.prose { max-width: 800px; margin-inline: auto; }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; margin-bottom: .6em; }
.prose a { word-break: break-word; }
main p a:not(.btn), main li a:not(.btn) { text-decoration: underline; text-underline-offset: .18em; }
@media (max-width: 768px) { .prose h2 { font-size: 24px; } .prose h3 { font-size: 19px; } }

/* Fuß */
.site-footer { background: var(--bg); color: var(--muted); font-size: 15px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover, .site-footer a:focus { color: #ffffff; }
.footer-name, .footer-head { color: var(--ink); }
.site-footer--kompakt .footer-bottom { padding-block: 30px 40px; }

@media print {
  body, .site-header, .site-footer { background: #fff !important; color: #000 !important; }
  h1, h2, h3 { color: #000 !important; }
}

/* Farben dieser Website (site.json) */
:root {
  --primary: #000000;
}

:root { --kopf-linie: url(../img/linie.svg); }
/* Lebenslauf: Hinweiszeile unter dem Knopf */
.hinweis-unten { padding-top: 0; }
.hinweis-unten .wrap { display: flex; flex-direction: column-reverse; align-items: center; }
.hinweis-unten .wrap > p { margin: 0; color: var(--muted); font-size: 14px; }