/* Unicorn – Werbeseite. Farben ausschliesslich aus dem UCC-Pro-Styleguide 2.1:
   Digital-Rot #A5271C, Verweis-Rot #8E1F16, Text #1A1A1A, Dunkelgrau #767676,
   Hellgrau #EEEEEE, Weiss, Dunkle Fläche #1C1C1E. Kein Dunkelmodus.
   Ausnahme: die Standmarken nach der Vorlage «Werbeseite – Überarbeitung
   2026-09-30», Abschnitt 5 (grün und braun, kein Rot; auch in Graustufen
   über den Randstil unterscheidbar). «Geplant» steht seit dem Entscheid vom
   01.10.2026 nicht mehr auf der Seite. */

@font-face {
  font-family: "Inter";
  src: url("../schrift/Inter-Unicorn.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --rot: #A5271C;
  --rot-dunkel: #8E1F16;
  --text: #1A1A1A;
  --grau-dunkel: #767676;
  --grau-hell: #EEEEEE;
  --weiss: #FFFFFF;
  --dunkel: #1C1C1E;
  --breite: 1180px;
  --radius-bild: 14px;
  --radius-geraet: 28px;
  --radius-geraet-innen: 18px;
  --radius-knopf: 999px;
  --schatten: 0 1px 2px rgba(26, 26, 26, .06), 0 12px 40px rgba(26, 26, 26, .12);
  /* Zeilenlänge im Fliesstext: rund 65 bis 70 Zeichen */
  --zeile: 36em;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--weiss);
  font-feature-settings: "cv11", "ss01";
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot-dunkel); text-underline-offset: 3px; }
a:hover { color: var(--rot); }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; border-radius: 4px; }
.schluss :focus-visible, .dunkel :focus-visible { outline-color: var(--weiss); }

.rahmen { width: min(var(--breite), 100% - 32px); margin-inline: auto; }
.rahmen-schmal { width: min(780px, 100% - 32px); }

.sprung { position: absolute; left: -999px; top: 8px; background: var(--weiss); padding: 8px 12px; z-index: 10; }
.sprung:focus { left: 16px; }

h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 1.2rem + 4.4vw, 4.2rem); font-weight: 800; letter-spacing: -0.028em; overflow-wrap: break-word; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 750; letter-spacing: -0.02em; overflow-wrap: break-word; }
/* Trennen nur, wo ein Wort sonst nicht passt: ab zehn Zeichen, damit «Unicorn» ganz bleibt */
/* Satzbild (Stefan, 01.10.2026): keine automatische Trennung; Überschriften
   ausgeglichen, Fliesstext ohne einzelnes Wort auf der letzten Zeile. */
html { hyphens: manual; -webkit-hyphens: manual; }
h1, h2, h3, .leitzeile, .dachzeile, summary { text-wrap: balance; }
p, li, figcaption, dd, td, th { text-wrap: pretty; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.dachzeile { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rot); margin-bottom: 1rem; }
.dachzeile-hell { color: var(--weiss); }
.ch { color: var(--rot); }
.dunkel .ch { color: var(--weiss); text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 4px; text-underline-offset: 6px; }

/* Kopf und Navigation */
.kopf { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--grau-hell); }
.kopf-innen { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.marke { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.2rem; min-height: 44px; }
.navigation { margin-left: auto; }
.menue { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.menue a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .97rem; }
.menue a:hover { color: var(--rot); }
.menue-knopf { display: none; }
.menue .menue-schmal { display: none; }

/* Knöpfe: mindestens 44 px hoch */
.knopf { display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: 1.25; min-height: 52px; padding: 8px 26px; border-radius: var(--radius-knopf); background: var(--rot); color: var(--weiss); font-weight: 700; text-decoration: none; border: 2px solid var(--rot); transition: background .15s ease, transform .15s ease; }
.knopf:hover { background: var(--rot-dunkel); border-color: var(--rot-dunkel); color: var(--weiss); transform: translateY(-1px); }
.knopf-klein { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.knopf-hell { background: var(--weiss); color: var(--text); border-color: var(--grau-dunkel); }
.knopf-hell:hover { background: var(--grau-hell); color: var(--text); border-color: var(--text); }
.knopf-weiss { background: var(--weiss); color: var(--rot-dunkel); border-color: var(--weiss); }
.knopf-weiss:hover { background: var(--grau-hell); color: var(--rot-dunkel); border-color: var(--grau-hell); }

/* Held: Rastermotiv des Stallplans als Hintergrund */
.held {
  position: relative; overflow: hidden; padding: 88px 0 104px;
  background-color: var(--weiss);
  background-image:
    linear-gradient(to right, var(--grau-hell) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grau-hell) 1px, transparent 1px);
  background-size: 24px 24px;
  border-bottom: 1px solid var(--grau-hell);
}
.held::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--rot); }
.held-innen { display: grid; grid-template-columns: 1fr; gap: 56px; }
.held-text { text-align: center; max-width: 940px; margin-inline: auto; background: var(--weiss); padding: 40px 32px; border: 1px solid var(--grau-hell); border-radius: var(--radius-bild); }
.held-hinweis { margin: -20px 0 32px; font-size: .95rem; }
/* Die H1 nennt die Produktart, die Leitzeile darunter trägt den Leitsatz (SEO-Bericht 30.09.2026) */
.held h1 { font-size: clamp(2rem, 1.1rem + 3.6vw, 3.6rem); }
.leitzeile { font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; color: var(--text); margin: 0 0 .9em; }
.einleitung { font-size: 1.25rem; max-width: var(--zeile); margin-inline: auto; }
.held-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 36px; align-items: center; }
.held-text .held-knoepfe { justify-content: center; }
.fakten { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; text-align: left; }
.fakten li { border-left: 4px solid var(--rot); padding-left: 14px; }
.fakten strong { font-weight: 700; }
.held-bild { margin: 0; }
/* Bildschirm und Telefon nebeneinander, ohne Überdeckung (Prüfung Bild und Text, S4) */
.held-buehne { display: grid; grid-template-columns: minmax(0, 1fr) 22%; gap: 32px; align-items: end; }
.held-gross { width: 100%; border-radius: var(--radius-bild); box-shadow: var(--schatten); border: 1px solid var(--grau-hell); background: var(--weiss); }
.held-telefon { width: 100%; max-width: 230px; border-radius: var(--radius-geraet); border: 8px solid var(--dunkel); box-shadow: var(--schatten); background: var(--weiss); }
.held-bild figcaption { text-align: center; margin-top: 24px; }
figcaption { font-size: .9rem; color: var(--text); margin-top: 12px; }
.bildquelle { display: block; font-size: .8rem; margin-top: 4px; }

.nur-schmal { display: none; }

/* Band */
.band { padding: 96px 0; border-bottom: 1px solid var(--grau-hell); }
.band-titel { max-width: 20em; }
.drei, .vier { display: grid; gap: 32px; margin-top: 40px; }
.drei > div, .vier > div { border-top: 3px solid var(--rot); padding-top: 20px; }

/* Funktionen */
.funktionen { padding: 104px 0 40px; }
.abschnitt-einleitung { font-size: 1.1rem; max-width: var(--zeile); }
.abschnitt-einleitung .ch, .fakten .ch { color: inherit; }
.zeile { display: grid; gap: 36px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--grau-hell); }
.zeile:last-child { border-bottom: 0; }
.zeile figure { margin: 0; }
.zeile figure img { border-radius: var(--radius-bild); box-shadow: var(--schatten); border: 1px solid var(--grau-hell); background: var(--weiss); }
/* Telefonaufnahmen in einer Funktionszeile: im Gerätrahmen, nicht über die ganze Spalte */
.zeile .telefonbild { text-align: center; }
.zeile .telefonbild .geraet-rahmen { max-width: 290px; }
.zeile .telefonbild img { border: 0; box-shadow: none; border-radius: var(--radius-geraet-innen); }
.zeile-text h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.zeile-text p { max-width: var(--zeile); }
.schmerz { font-size: 1.15rem; font-weight: 600; border-left: 4px solid var(--rot); padding-left: 16px; }

/* Stand: Textmarke ohne Symbol, der Randstil trägt den Unterschied auch ohne Farbe */
.stand { display: inline-block; vertical-align: .15em; margin-left: .35em; padding: 1px 10px; border: 2px solid; border-radius: var(--radius-knopf); font-size: .8rem; font-weight: 700; letter-spacing: .02em; line-height: 1.5; white-space: nowrap; }
.stand-verfuegbar { color: var(--weiss); background: #1B5E20; border-color: #1B5E20; border-style: solid; }
.stand-im-bau { color: #7A5200; background: #FFF4DC; border-color: #7A5200; border-style: dashed; }
.legende { margin: 32px 0 8px; padding: 20px 24px; border: 1px solid var(--grau-hell); border-left: 4px solid var(--grau-dunkel); border-radius: var(--radius-bild); background: var(--weiss); max-width: 52em; }
.betriebsarten .legende { max-width: none; }
.legende-titel { font-size: 1.05rem; margin-bottom: .6em; }
.legende ul { list-style: none; margin: 0 0 .8em; padding: 0; display: grid; gap: 8px; }
.legende li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; }
.legende .stand { margin: 0 8px 0 0; min-width: 7.4em; text-align: center; }
.legende p:last-child { margin: 0; }
.als-naechstes { border-top: 1px solid var(--grau-hell); padding-top: 14px; }
.als-naechstes .stand { margin: 0 8px 0 0; }
.weiter { margin: 48px 0 0; }
/* Betriebsarten */
.betriebsarten { padding: 104px 0; background: var(--grau-hell); }
.einstiege { display: grid; gap: 24px; margin-top: 40px; align-items: start; }
.einstieg { min-width: 0; background: var(--weiss); border-radius: var(--radius-bild); border-top: 4px solid var(--rot); padding: 24px; }
.einstieg h3 { margin-bottom: .3em; }
.funktionsliste-kurz { list-style: none; margin: 16px 0 0; padding: 0; }
.funktionsliste-kurz li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--grau-hell); }
.funktionsliste-kurz li .stand { justify-self: end; margin-top: .15em; }
.einstieg-verweis { margin: 16px 0 0; }
.einstieg-verweis a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.funktionsliste-kurz li:last-child { border-bottom: 0; }
.funktionsliste-kurz .stand { margin: 0; }
/* Fahrplan */
.fahrplan { padding: 104px 0; border-top: 1px solid var(--grau-hell); }
.fahrplan-raster { display: grid; gap: 32px; margin-top: 40px; }
.fahrplan-eintrag { border-top: 3px solid var(--grau-dunkel); padding-top: 20px; }
.fahrplan-eintrag p { max-width: var(--zeile); }
.fahrplan-eintrag h3 .stand { margin-left: 0; }
.fahrplan-eintrag h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
/* Seite «Alle Funktionen» */
.rahmen-mittel { width: min(960px, 100% - 32px); }
.liste { padding: 72px 0 88px; }
.liste h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.inhaltsverzeichnis ul { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.inhaltsverzeichnis a { display: inline-flex; align-items: center; min-height: 44px; }
.bereich { padding-top: 56px; }
.bereich > h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); border-bottom: 3px solid var(--rot); padding-bottom: 10px; }
.funktionsliste { list-style: none; margin: 8px 0 0; padding: 0; }
.funktion h3 { font-size: 1.1rem; margin: 0 0 .3em; line-height: 1.35; }
.funktionsliste > .funktion { padding: 18px 0; border-bottom: 1px solid var(--grau-hell); }
.funktionsliste > .funktion p { margin: 0; }
.funktionsliste > .funktion p, .bereich > p { max-width: var(--zeile); }
.zusage { font-weight: 700; font-size: 1.1rem; }
.zeile-verweis a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
/* Fachseiten: Pensionsstall, Pensionsabrechnung, Hallenbelegung */
.pfad ol { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: .92rem; }
.pfad li { display: inline-flex; align-items: center; min-height: 44px; }
.pfad li + li::before { content: "›"; padding: 0 .5em; color: var(--grau-dunkel); }
.pfad a { display: inline-flex; align-items: center; min-height: 44px; }
.fachbild { margin: 40px 0 0; max-width: 760px; }
.fachbild img { border-radius: var(--radius-bild); box-shadow: var(--schatten); border: 1px solid var(--grau-hell); background: var(--weiss); }
.ablauf { margin: 16px 0 0; padding-left: 1.4em; max-width: var(--zeile); }
.ablauf li { padding: 10px 0 10px 6px; }
.ablauf li::marker { font-weight: 800; color: var(--rot); }
.beispiel { border-left: 4px solid var(--rot); padding: 4px 0 4px 18px; margin-top: 28px; max-width: var(--zeile); }
.beispiel h3 { font-size: 1.15rem; }
.beispiel p:last-child { margin-bottom: 0; }
.bereich .funktionsliste-kurz { max-width: 42em; }
.themen { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 4px; }
.themen a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
/* Geräte: einheitliche, schlichte Rahmen ohne Markenzeichen */
.geraete { padding: 104px 0; background: var(--weiss); border-top: 1px solid var(--grau-hell); }
.geraete figcaption { color: var(--text); }
.geraete-reihe { display: grid; grid-template-columns: 1fr; gap: 40px; justify-items: center; margin-top: 48px; }
.geraet { margin: 0; text-align: center; min-width: 0; width: 100%; }
.geraet figcaption { margin-top: 16px; }
.geraet-rahmen { background: var(--dunkel); border-radius: var(--radius-geraet); padding: 10px; box-shadow: var(--schatten); margin-inline: auto; }
.geraet-rahmen img { border-radius: var(--radius-geraet-innen); }
.geraet-tablet .geraet-rahmen { max-width: 420px; }
.geraet-telefon .geraet-rahmen { max-width: 250px; }
.geraet-quer { margin-top: 64px; }
.geraet-quer .geraet-rahmen { max-width: 900px; }

/* Dunkel */
.dunkel { background: var(--dunkel); color: var(--weiss); padding: 104px 0; }
.dunkel h2, .dunkel h3, .dunkel p { color: var(--weiss); }
.dunkel .vier > div { border-top-color: rgba(255, 255, 255, .28); }

/* Preise */
.preise { padding: 104px 0; background: var(--weiss); }
.preistabelle { width: 100%; margin-top: 40px; border-collapse: separate; border-spacing: 0 10px; font-variant-numeric: tabular-nums; }
.preistabelle caption { text-align: left; font-weight: 700; margin-bottom: 6px; }
.preistabelle thead th { text-align: left; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 0 24px; }
.preistabelle thead th + th, .preistabelle td { text-align: right; }
.preistabelle tbody th, .preistabelle td { background: var(--weiss); padding: 20px 24px; border-top: 1px solid var(--grau-dunkel); border-bottom: 1px solid var(--grau-dunkel); }
.preistabelle tbody th { text-align: left; font-weight: 600; white-space: nowrap; border-left: 1px solid var(--grau-dunkel); border-radius: var(--radius-bild) 0 0 var(--radius-bild); }
.preistabelle td { font-size: 1.5rem; font-weight: 800; white-space: nowrap; border-right: 1px solid var(--grau-dunkel); border-radius: 0 var(--radius-bild) var(--radius-bild) 0; }
.preistabelle td.einfuehrung { font-size: 1.1rem; font-weight: 600; border-left: 0; border-radius: 0; }
.preistabelle td:not(.einfuehrung) { border-right: 0; border-radius: 0; }
.preistabelle td:last-child { border-right: 1px solid var(--grau-dunkel); border-radius: 0 var(--radius-bild) var(--radius-bild) 0; }
.kleingedruckt { font-size: .9rem; margin-top: 16px; }
.eigene-zeile { display: block; }
.paket { margin-top: 12px; }

/* Fragen */
.fragen { padding: 104px 0; background: var(--grau-hell); }
details { border-bottom: 1px solid var(--grau-dunkel); }
summary { cursor: pointer; font-weight: 700; font-size: 1.12rem; list-style: none; position: relative; padding: 18px 44px 18px 0; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: var(--rot); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; }

/* Schluss */
.schluss { background: var(--rot); color: var(--weiss); padding: 104px 0; }
.schluss h2 { color: var(--weiss); max-width: 16em; }
.schluss p { color: var(--weiss); font-size: 1.15rem; max-width: 36em; }
.telefon-zeile { margin: 0; }
.schluss .schluss-hinweis { font-size: .95rem; margin: 20px 0 0; }
.schluss a:not(.knopf) { color: var(--weiss); font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }

/* Fuss */
.fuss { padding: 40px 0 56px; font-size: .92rem; }
.fuss-innen p { margin: 0 0 .4em; }
.fuss a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss-verweise { display: flex; flex-wrap: wrap; gap: 0 24px; }

/* Impressum und Datenschutz */
.rechtstext { padding: 72px 0 88px; }
.rechtstext h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.rechtstext h2 { font-size: 1.35rem; margin-top: 1.8em; }

/* Umbruchpunkte: Telefon < 760, Tablet hoch 760–1099, Tablet quer und Desktop ab 1100 */
@media (min-width: 760px) {
  .drei { grid-template-columns: repeat(3, 1fr); }
  .einstiege, .fahrplan-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vier { grid-template-columns: repeat(2, 1fr); }
  .fakten { grid-template-columns: repeat(3, 1fr); }
  .geraete-reihe { grid-template-columns: 1.4fr 1fr 1fr; align-items: end; }
}
@media (min-width: 760px) and (max-width: 1099px) {
  .zeile-text { max-width: var(--zeile); }
}
@media (min-width: 1100px) {
  .zeile { grid-template-columns: 1fr 1.25fr; gap: 64px; }
  .zeile-gespiegelt .zeile-text { order: 2; }
  .zeile-ohne-bild { grid-template-columns: 1fr; }
  .vier { grid-template-columns: repeat(4, 1fr); }
  .fahrplan-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
  .betriebsarten .legende ul { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 32px; }
}
@media (max-width: 1099px) {
  /* Ohne JavaScript bleibt das Menü sichtbar (G15); menue.js setzt «js» an html */
  .menue { flex-wrap: wrap; }
  .js .menue-knopf { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font: inherit; font-weight: 600; color: var(--text); background: var(--weiss); border: 1px solid var(--grau-dunkel); border-radius: var(--radius-knopf); cursor: pointer; }
  .js .menue { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--weiss); border-bottom: 1px solid var(--grau-dunkel); padding: 8px 16px 16px; }
  .js .menue-knopf[aria-expanded="true"] + .menue { display: flex; }
  .js .menue a { min-height: 48px; border-bottom: 1px solid var(--grau-hell); }
  .menue .menue-schmal { display: block; }
  .menue .menue-schmal a { color: var(--rot-dunkel); font-weight: 700; }
}
@media (max-width: 759px) {
  .kopf-innen { gap: 10px; }
  .kopf .knopf-klein { display: none; }
  .held { padding: 48px 0 64px; }
  .band, .funktionen, .geraete, .dunkel, .preise, .fragen, .schluss, .betriebsarten, .fahrplan { padding-block: 64px; }
  .held-text { padding: 28px 18px; text-align: left; }
  .held-text .held-knoepfe { justify-content: flex-start; }
  .einleitung { font-size: 1.1rem; }
  .zeile { padding: 40px 0; }
  /* Auf dem Telefon das Telefonbild statt des breiten Kalenders (G4) */
  .held-gross, .nur-breit { display: none; }
  .nur-schmal { display: inline; }
  .held-telefon { display: block; width: 62%; max-width: 240px; margin-inline: auto; }
  .held-bild figcaption { margin-top: 12px; }
  .held-buehne { display: block; }
  .geraet-telefon .geraet-rahmen { max-width: 64vw; }
  .geraet-tablet .geraet-rahmen { max-width: 86vw; }
}
@media (max-width: 899px) {
  /* Vier Spalten passen erst ab 900 Punkten: Jede Stufe wird eine Karte,
     die Stufe steht oben, darunter die drei Beträge unter den Spaltenköpfen. */
  .preistabelle caption { display: block; }
  .preistabelle, .preistabelle thead, .preistabelle tbody { display: block; }
  .preistabelle tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .preistabelle thead th, .preistabelle thead th + th { padding: 0 10px; font-size: .66rem; letter-spacing: .03em; text-align: left; }
  .preistabelle thead th:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* Chrome zeichnet Rahmen mit Rundung an einer Tabellenzeile nicht vollständig; der Schatten folgt der Rundung. */
  .preistabelle tbody tr { margin-top: 10px; border-radius: var(--radius-bild); box-shadow: inset 0 0 0 1px var(--grau-dunkel); background: var(--weiss); }
  .preistabelle tbody th, .preistabelle td { background: transparent; }
  .preistabelle tbody th { grid-column: 1 / -1; padding: 12px 10px 0; border: 0; border-radius: 0; }
  .preistabelle td, .preistabelle td.einfuehrung, .preistabelle td:last-child { padding: 4px 10px 12px; text-align: left; font-size: 1rem; border: 0; border-radius: 0; }
  .preistabelle td.einfuehrung { font-size: .9rem; }
}
@media (max-width: 479px) {
  .held-text { padding: 24px 12px; }
}

/* Sprachwähler: im Kopf ab 1100 Punkten, darunter im Menü. Erscheint erst,
   wenn es eine zweite Sprache gibt (betrieb/werbeseite_sprachen.py). */
.sprachwahl ul, .menue-sprachen ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.sprachwahl a, .sprachwahl span, .menue-sprachen a, .menue-sprachen span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: .9rem; font-weight: 600; color: var(--text); text-decoration: none; }
.sprachwahl a:hover, .menue-sprachen a:hover { color: var(--rot); }
.sprachwahl [aria-current], .menue-sprachen [aria-current] { color: var(--rot-dunkel); text-decoration: underline; text-underline-offset: 6px; }
.menue .menue-sprachen { display: none; }
@media (max-width: 1099px) {
  .kopf .sprachwahl { display: none; }
  .menue .menue-sprachen { display: block; }
  .js .menue .menue-sprachen a { border-bottom: 0; }
}

/* Kurze Wörter mit Bindestrich bleiben ganz («E-Rechnung») */
.zusammen { white-space: nowrap; }

/* Funktionsnamen und Kartentitel trennen nur an gesetzten Stellen (&shy;),
   nie mitten im Wort (Team-Lead, 01.10.2026: «Pensionsabrec hnung»). */
.funktion-name, .einstieg h3, .funktion h3, .zeile-text h3 { overflow-wrap: normal; word-break: normal; }

/* Fachgutachten Grafik vom 01.10.2026 */
.kleingedruckt, .paket, details p, .rechtstext p, .rechtstext li { max-width: var(--zeile); }
@media (max-width: 759px) {
  .held h1 { text-wrap: wrap; }
  .held-knoepfe { flex-direction: column; align-items: stretch; }
}
