/* 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--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; }
.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); }

/* ---------- 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(--accent-light); }
.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) { .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; }
}

/* Sitekit-Theme „papier“ – baut auf „klassisch“ auf (theme.json: "basis").
   Papierblatt mit Textur auf farbigem Grund, Schrift Laila (SIL OFL, lokal eingebunden).
   Farben über site.json "farben": bg (Grund), primary-dark (Kopfleiste), primary-text (Website-Name),
   link, ink (Fließtext), muted (Untertitel), on-dark (Text auf dem Grund: Kopfleiste, Fuß). */
@font-face { font-family: "Laila"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/laila-300.woff2") format("woff2"); }
@font-face { font-family: "Laila"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/laila-400.woff2") format("woff2"); }
@font-face { font-family: "Laila"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/laila-600.woff2") format("woff2"); }
@font-face { font-family: "Laila"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/laila-700.woff2") format("woff2"); }

:root {
  --bg: #cbd72e;
  --primary-dark: #c9c92a;
  --primary-text: #3a3a3a;
  --primary: #3a3a3a;
  --link: #1e73be;
  --link-hover: #145a94;
  --ink: #666666;
  --muted: #555555;
  --on-dark: #42470c;
  --tint: rgba(0, 0, 0, .05);
  --accent: #c9c92a;
  --focus: #3a3a3a;
  --paper: #ffffff;
  --sheet: 1100px;
  --sheet-pad: 60px;
  --sans: "Laila", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: var(--sans);
  --heading-font: var(--sans);
}

body { font: 400 17px/1.5 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
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); margin: 0 0 20px; }
h1 { font-size: 40px; font-weight: 300; line-height: 1.1; margin-bottom: 36px; }
h2 { font-size: 29px; font-weight: 400; line-height: 1.2; margin-bottom: 31px; }
h3 { font-size: 22px; font-weight: 600; line-height: 1.3; }
p { margin: 0 0 25.5px; }
ul { margin: 0 0 25.5px; padding-left: 25px; }
li { margin-bottom: 2px; }
blockquote { margin: 0 0 25.5px; padding: 0 0 0 20px; border-left: 5px solid rgba(0, 0, 0, .05); font-size: 1.2em; line-height: 1.5; }
blockquote p { margin: 0 0 1.5em; }
blockquote p:last-child { margin-bottom: 0; }

/* Kopfleiste und Kopf auf dem farbigen Grund */
.top-bar { background: var(--primary-dark); color: var(--on-dark); font-size: 13px; line-height: 1.5; }
.top-bar .wrap { width: min(100%, var(--sheet)); padding: 10px 10px 10px 20px; }
.top-bar a { color: inherit; }
.top-bar a:hover, .top-bar a:focus { color: var(--primary-text); }
.site-header { background: var(--bg); border-bottom: 0; position: static !important; }
.site-header .wrap { width: min(100%, var(--sheet)); }
.header-inner { display: flex; justify-content: center; padding: 40px 40px 24px; }
.brand { gap: 26px; }
.brand-mark { width: auto; height: auto; background: none; border-radius: 0; }
.brand-mark img { width: 90px; height: auto; filter: none; }
.brand-text { line-height: 1.2; }
.brand-name { font-family: var(--sans); font-size: 45px; font-weight: 700; color: var(--primary-text); white-space: normal; }
.brand-tag { font-family: var(--sans); font-size: 20px; font-weight: 600; font-style: normal; color: var(--muted); line-height: 1.5; }

/* Inhalt als Papierblatt */
main { width: min(100%, var(--sheet)); margin-inline: auto; padding: var(--sheet-pad);
       background: var(--paper) url("../img/paper-texture.png") repeat; }
main .wrap { width: 100%; }
.page-head { background: none; color: inherit; padding: 0; }
.page-head h1 { color: var(--ink); margin: 0 0 36px; }
.page-head .lead { color: var(--ink); }
.section { padding: 0; margin-top: 76px; background: none; }
.page-head + .section, main > .section:first-child { margin-top: 0; }
.section--tint, .section--dark { background: none; color: inherit; }
.section--dark h2, .section--dark h3, .section--dark a { color: inherit; }
.season { background: none; }

/* Text mit Bild: 2/3 zu 1/3 wie im Original */
.split { gap: 32px; align-items: start; }
@media (min-width: 769px) { .split { grid-template-columns: 2fr 1fr; gap: 32px; } }
.split > div > :last-child { margin-bottom: 0; }
figure { margin: 0; }
figure img, .photo img { width: 100%; border-radius: 0; box-shadow: none; }
figcaption { margin-top: 8px; font-size: 15px; font-style: italic; text-align: center; line-height: 1.4; color: var(--ink); }
.split.cols-3 > div ul { margin-bottom: 0; }
.prose, .intro { max-width: none; }
.intro { margin-bottom: 0; }
.prose h2 { font-size: 24px; margin: 40px 0 15px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.notice { margin-top: 80px; }

/* Fuß auf dem farbigen Grund */
.site-footer { background: var(--bg); color: var(--on-dark); font-size: 17px; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover, .site-footer a:focus { color: var(--primary-text); }
.site-footer .wrap { width: min(100%, var(--sheet)); }
.site-footer--kompakt .footer-bottom { padding: 20px; }
.site-footer--kompakt .footer-bottom span { margin: 0; }

@media (max-width: 1024px) {
  :root { --sheet-pad: 40px; }
  .header-inner { padding: 30px 30px 20px; }
}
@media (max-width: 768px) {
  :root { --sheet-pad: 28px; }
  body { font-size: 16px; }
  h1, .page-head h1 { font-size: 32px; }
  h2 { font-size: 25px; margin-bottom: 24px; }
  .brand-name { font-size: 32px; }
  .brand-tag { font-size: 17px; display: block; }
  .brand-mark img { width: 70px; }
  .section { margin-top: 40px; }
  .split > figure { max-width: 420px; margin-inline: auto; }
}
@media (max-width: 480px) {
  :root { --sheet-pad: 20px; }
  .header-inner { padding: 24px 20px 18px; }
  .brand { flex-direction: column; gap: 12px; text-align: center; }
  .brand-name { font-size: 28px; }
  .top-bar .wrap { text-align: center; padding: 10px 15px; }
  .site-footer--kompakt .footer-bottom { padding: 18px 15px; }
}
@media print {
  body, .top-bar, .site-header, .site-footer { background: #fff; }
  main { background: #fff; padding: 0; }
}

