/* oberlausitz.travel nach TVO-Handbuch 1.1: Carlito (Calibri zuerst), Text Schwarz, Überschriften Dunkelblau,
   Akzentfläche aus dem Farbspektrum statt Streifen, Kästen mit dunkelblauer Kante, viel Weißraum.
   Werte aus ../tvo-corporate-design/tvo-cd.css. Leitthemenfarben werden hier bewusst nicht verwendet. */
@font-face { font-family: 'Carlito'; font-style: normal; font-weight: 400; font-display: swap; src: url('/schriften/carlito-regular.woff2') format('woff2'); }
@font-face { font-family: 'Carlito'; font-style: normal; font-weight: 700; font-display: swap; src: url('/schriften/carlito-bold.woff2') format('woff2'); }
@font-face { font-family: 'Carlito'; font-style: italic; font-weight: 400; font-display: swap; src: url('/schriften/carlito-italic.woff2') format('woff2'); }
@font-face { font-family: 'Carlito'; font-style: italic; font-weight: 700; font-display: swap; src: url('/schriften/carlito-bolditalic.woff2') format('woff2'); }

:root {
  --schrift: Calibri, Carlito, "Segoe UI", Arial, sans-serif;
  --text: #1A1A1A;
  --blau: #0056A3;
  --blau-dunkel: #00427D;
  --blau-hell: #EAF1F8;
  --grau: #706D6E;
  --linie: #C9C7C8;
  --rot: #CB3811;
  --flaeche: #F6F8FB;
  --spektrum: linear-gradient(90deg, #F39346 0%, #F3963F 5%, #F49938 10%, #F59D2D 15%, #F6A220 20%, #F6A712 25%, #F0AA0C 30%, #E9AD05 35%, #DBAF04 40%, #C1AE0E 45%, #A7AC18 50%, #7EA824 55%, #53A330 60%, #349B42 65%, #1B9156 70%, #02886A 75%, #017B7C 80%, #006E8D 85%, #006499 90%, #005D9E 95%, #0056A3 100%);
  --breite: 1200px;
  --rand: clamp(16px, 4vw, 40px);
  --abstand: clamp(48px, 7vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--schrift); font-size: clamp(17px, 1.05vw + 12px, 19px); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blau-dunkel); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { color: var(--blau); font-weight: 700; line-height: 1.15; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 3.6vw + .6rem, 3.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 1.8vw + .8rem, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.klein { font-size: .9rem; color: var(--grau); }

.springen { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.springen:focus { left: 8px; }

/* Akzentfläche: Spektrum als schmale Fläche ohne Schrift (Handbuch S. 14) */
.akzent { height: 6px; width: 140px; background: var(--spektrum); margin: .35em 0 1.1em; }
.akzent--lang { width: 100%; height: 6px; margin: 0; }
.dachzeile { font-weight: 700; font-size: .85rem; letter-spacing: .02em; color: var(--grau); margin: 0 0 .35em; }
.dachzeile a { color: inherit; text-decoration: none; }

/* Hinweisband und Kopf */
.band { background: var(--blau); color: #fff; text-align: center; font-size: .95rem; padding: 8px var(--rand); }
.band a { color: #fff; text-decoration: none; font-weight: 700; }
.band a:hover { text-decoration: underline; color: #fff; }
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid #E6E8EB; backdrop-filter: saturate(1.4) blur(6px); }
.kopf__innen { max-width: var(--breite); margin: 0 auto; padding: 4px var(--rand); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* Die Datei trägt den Schutzraum als transparenten Rand (rund 24 % der Höhe); er bleibt frei, wir gleichen ihn nur links aus */
.kopf__marke img { height: 64px; width: auto; margin-left: -16px; }
.kopf__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 26px; flex-wrap: wrap; }
.kopf__nav a { color: var(--text); text-decoration: none; font-weight: 700; padding: 6px 0; display: inline-block; border-bottom: 3px solid transparent; }
.kopf__nav a:hover { color: var(--blau); }
.kopf__nav a[aria-current="page"] { color: var(--blau); border-image: var(--spektrum) 1; border-bottom: 3px solid; }
.kopf__menue { display: none; font: inherit; font-weight: 700; color: var(--blau); background: #fff; border: 2px solid var(--blau); border-radius: 4px; padding: 6px 14px; cursor: pointer; }
@media (max-width: 860px) {
  .js .kopf__menue { display: block; }
  .js .kopf__nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--linie); padding: 8px var(--rand) 18px; }
  .js .kopf__nav.offen { display: block; }
  .kopf__nav ul { flex-direction: column; gap: 0; }
  .kopf__nav a { padding: 10px 0; }
  .kopf__innen { flex-wrap: wrap; }
  .kopf__marke img { height: 54px; margin-left: -13px; }
}

/* Abschnitte */
.abschnitt { padding: calc(var(--abstand) / 2) var(--rand); }
.abschnitt__innen { max-width: var(--breite); margin: 0 auto; }
.schmal { max-width: 760px; }
.abschnitt__innen.schmal { margin: 0 auto; }
.einleitung { max-width: 760px; font-size: 1.08em; }
.mehr { margin-top: 1.4em; font-weight: 700; }
.krumen { max-width: var(--breite); margin: 18px auto 0; padding: 0 var(--rand); font-size: .88rem; color: var(--grau); }
.krumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.krumen li + li::before { content: "›"; margin: 0 6px; }
.krumen a { color: var(--grau); }
.seitenkopf { padding-bottom: 0; }

/* Held */
.held { padding-top: clamp(32px, 6vw, 80px); padding-bottom: var(--abstand); }
.held .abschnitt__innen { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.held--bild .abschnitt__innen { grid-template-columns: 1fr; }
@media (min-width: 900px) { .held--bild .abschnitt__innen { grid-template-columns: 1fr 1.08fr; } }
.held__titel { font-size: clamp(2.1rem, 3.8vw + .6rem, 3.5rem); }
.held__lead { font-size: clamp(1.08rem, .5vw + .95rem, 1.28rem); max-width: 40em; }
.held:not(.held--bild) .held__text { max-width: 820px; }
.held__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Bilder mit Nachweis */
.bild { margin: 0; }
.bild figcaption { font-size: .78rem; color: var(--grau); margin-top: 6px; line-height: 1.4; }
.bild--ganz img { object-fit: contain !important; background: var(--flaeche); }
.bildblock .bild img { width: 100%; }

/* Knöpfe */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 0; }
.knopf { display: inline-block; font-weight: 700; text-decoration: none; padding: 12px 22px; border-radius: 4px; border: 2px solid var(--blau); line-height: 1.25; }
.knopf--haupt { background: var(--blau); color: #fff; }
.knopf--haupt:hover { background: var(--blau-dunkel); border-color: var(--blau-dunkel); color: #fff; }
.knopf--neben { background: #fff; color: var(--blau); }
.knopf--neben:hover { background: var(--blau-hell); }
.knopfzeile { padding-top: 0; }
.knopfzeile .knoepfe { margin-top: 0; }

/* Aussage auf hellblauem Grund */
.aussage { background: var(--blau-hell); }
.aussage blockquote { margin: 0 auto; max-width: 980px; text-align: center; }
.aussage__text { color: var(--blau); font-weight: 700; font-size: clamp(1.45rem, 1.9vw + .8rem, 2.3rem); line-height: 1.25; margin: 0 0 .4em; text-wrap: balance; }
.aussage__quelle { color: var(--grau); font-size: .95rem; }

/* Raster und Kacheln */
.raster { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .raster--2, .raster--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .raster--3 { grid-template-columns: repeat(3, 1fr); } }
.kachel, .karte { background: #fff; border: 1px solid var(--linie); display: flex; flex-direction: column; position: relative; }
.kachel .bild img, .karte .bild img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.kachel .bild figcaption { position: absolute; top: 0; right: 0; background: rgba(255,255,255,.85); padding: 2px 8px; margin: 0; font-size: .7rem; }
.kachel__text, .karte__text { padding: 20px 22px 22px; border-top: 4px solid; border-image: var(--spektrum) 1; flex: 1; }
.kacheln .kachel:not(:has(.bild)) .kachel__text { border-top-width: 6px; }
.kachel h3, .karte__titel { margin-top: .2em; }
.kachel h3 a, .karte__titel a { color: var(--blau); text-decoration: none; }
.kachel--link h3 a::after, .karte__titel a::after { content: ""; position: absolute; inset: 0; }
.kachel--link:hover, .karte:hover { box-shadow: 0 6px 24px rgba(0, 40, 80, .10); }
.kachel--link:hover h3 a, .karte:hover .karte__titel a { text-decoration: underline; }
.karte__meta { color: var(--grau); font-size: .88rem; margin: 0; }
.karte__ohnebild { aspect-ratio: 16 / 10; background: var(--blau-hell); }
.zeichen { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin: 0 0 .6em; }
.zeichen--live { background: var(--blau); color: #fff; }
.zeichen--bald { background: var(--blau-hell); color: var(--blau); }
.zeichen--neu { background: #fff; color: var(--blau); border: 1px solid var(--blau); }
.zeichen--warnung { background: #fff; color: var(--rot); border: 1px solid var(--rot); margin: 0 0 0 6px; }

/* Text */
.fliesstext { max-width: 72ch; }
.fliesstext h2 { font-size: 1.5rem; margin-top: 1.4em; }
.fliesstext h3 { margin-top: 1.2em; }
.fliesstext ul, .fliesstext ol { padding-left: 1.3em; }
.fliesstext li { margin-bottom: .4em; }
.fliesstext blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--blau); color: var(--blau); font-size: 1.1em; }
.text + .grafik { padding-top: 0; }

/* Hervorgehobener Kasten (Handbuch S. 14) */
.tvo-kasten { background: #fff; border: 1px solid var(--linie); border-left: 6px solid var(--blau); padding: 22px 26px; }
.tvo-kasten--rot { border-left-color: var(--rot); }
.kasten__titel { font-size: 1.25rem; color: var(--text); }
.tvo-kasten .fliesstext p:last-child, .tvo-kasten p:last-child { margin-bottom: 0; }
.kasten-abschnitt .tvo-kasten { max-width: 860px; }

/* Schritte */
.schrittliste { list-style: none; counter-reset: schritt; padding: 0; margin: 1.5em 0 0; display: grid; gap: 28px; grid-template-columns: 1fr; position: relative; }
@media (min-width: 800px) { .schrittliste { grid-template-columns: repeat(4, 1fr); } .schrittliste::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 4px; background: var(--spektrum); } }
.schrittliste li { counter-increment: schritt; position: relative; }
.schrittliste li::before { content: counter(schritt); display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 3px solid var(--blau); color: var(--blau); font-weight: 700; font-size: 1.35rem; margin-bottom: 14px; position: relative; }
.schrittliste h3 { font-size: 1.15rem; }

/* Wissensnetz */
.wissensnetz { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .wissensnetz { grid-template-columns: 1.25fr 1fr; } }
.wissensnetz__netz { margin: 0; background: var(--flaeche); border: 1px solid #E3E8EE; padding: 12px; }
.wissensnetz__netz figcaption { font-size: .9rem; color: var(--grau); padding: 4px 8px 6px; }
.netz { width: 100%; height: auto; font-family: var(--schrift); }
.netz__kante line { stroke: #8FB3D6; stroke-width: 2; stroke-dasharray: 6 6; animation: fliessen 3.2s linear infinite; }
.netz__kante text { font-size: 12px; fill: var(--grau); paint-order: stroke; stroke: var(--flaeche); stroke-width: 5px; }
.netz__knoten rect { fill: #fff; stroke: var(--linie); stroke-width: 1.5; }
.netz__knoten text { font-size: 15px; font-weight: 700; fill: var(--text); }
.netz__knoten--mitte rect { fill: var(--blau); stroke: var(--blau); }
.netz__knoten--mitte text { fill: #fff; font-size: 17px; }
@keyframes fliessen { to { stroke-dashoffset: -24; } }
@media (prefers-reduced-motion: reduce) { .netz__kante line { animation: none; } html { scroll-behavior: auto; } }
.steckbrief { border: 1px solid var(--linie); border-left: 6px solid var(--blau); padding: 22px 24px; background: #fff; }
.steckbrief__titel { font-size: 1.35rem; }
.steckbrief__reiter { display: flex; gap: 0; margin: 14px 0 16px; border-bottom: 2px solid var(--linie); }
.steckbrief__reiter button { font: inherit; font-weight: 700; background: none; border: 0; padding: 8px 16px; margin-bottom: -2px; border-bottom: 4px solid transparent; color: var(--grau); cursor: pointer; }
.steckbrief__reiter button[aria-selected="true"] { color: var(--blau); border-bottom-color: var(--blau); }
.steckbrief__mensch { background: var(--flaeche); padding: 16px 18px; border-radius: 4px; }
.steckbrief__name { font-weight: 700; font-size: 1.15rem; margin-bottom: .3em; }
.steckbrief__klein { font-size: .85rem; color: var(--grau); margin: 0; }
.steckbrief__code { background: #0F2238; color: #E8F0F8; padding: 16px 18px; border-radius: 4px; overflow-x: auto; font-size: .82rem; line-height: 1.5; margin: 0; }
.steckbrief__hinweis { font-size: .95rem; margin: 14px 0 0; }

/* Termine */
.terminliste { display: grid; gap: 0; border-top: 1px solid var(--linie); }
.termin { display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--linie); position: relative; }
.termin__datum { margin: 0; border: 2px solid var(--blau); text-align: center; padding: 8px 4px; height: fit-content; }
.termin__tag { display: block; font-size: 1.9rem; font-weight: 700; color: var(--blau); line-height: 1; }
.termin__monat { display: block; color: var(--grau); font-weight: 700; font-size: .9rem; margin-top: 4px; }
.termin__titel { font-size: 1.25rem; margin: .1em 0 .3em; }
.termin__titel a { text-decoration: none; }
.termin__titel a::after { content: ""; position: absolute; inset: 0; }
.termin:hover .termin__titel a { text-decoration: underline; }
.termin__wann, .termin__wo { margin: 0; }
.termin__wo { color: var(--grau); }
.termin--vergangen { opacity: .72; }
.termin--vergangen .termin__datum { border-color: var(--linie); }
.archiv { margin-top: 2em; }
.archiv summary { cursor: pointer; font-weight: 700; color: var(--blau); padding: 8px 0; }
.eckdaten { display: grid; gap: 10px; margin: 1.2em 0; }
.eckdaten div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; border-bottom: 1px solid #E6E8EB; padding-bottom: 10px; }
.eckdaten dt { font-weight: 700; color: var(--grau); }
.eckdaten dd { margin: 0; }
@media (max-width: 560px) { .eckdaten div { grid-template-columns: 1fr; gap: 0; } }
.kalenderlinks { font-size: .95rem; margin-top: 1em; }

/* Presse */
.zweispaltig { display: grid; gap: 40px; }
@media (min-width: 960px) { .zweispaltig { grid-template-columns: 1.8fr 1fr; } }
.randspalte { display: grid; gap: 20px; align-content: start; }
.presseliste { border-top: 1px solid var(--linie); }
.presse-eintrag { padding: 22px 0; border-bottom: 1px solid var(--linie); }
.presse-eintrag__titel { font-size: 1.3rem; }
.presse-eintrag__titel a { text-decoration: none; }
.presse-eintrag__titel a:hover { text-decoration: underline; }
.presse-eintrag__pdf { margin: 0; font-weight: 700; font-size: .95rem; }
.kontaktkasten { margin: 2em 0; }
.ueber { color: var(--text); }
h2.klein { font-size: 1.1rem; color: var(--text); margin-top: 2em; }
.hinweis { background: var(--blau-hell); padding: 12px 16px; }

/* Blog */
.beitrag__kopf { padding-top: clamp(24px, 4vw, 56px); padding-bottom: 8px; }
.beitrag__meta { color: var(--grau); font-size: .95rem; }
.beitrag__teaser { font-size: 1.2rem; line-height: 1.5; }
.beitrag__bild { padding-top: 8px; padding-bottom: 8px; }
.beitrag__bild .bild { max-width: 1000px; margin: 0 auto; }
.beitrag__bild img { width: 100%; max-height: 620px; object-fit: cover; }
.schlagwoerter { display: flex; flex-wrap: wrap; gap: 8px; margin: 2em 0 0; }
.schlagwoerter span { background: var(--blau-hell); color: var(--blau); font-size: .85rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chips a { text-decoration: none; border: 1px solid var(--linie); color: var(--text); padding: 5px 14px; border-radius: 999px; font-weight: 700; font-size: .92rem; }
.chips a span { color: var(--grau); font-weight: 400; }
.chips a[aria-current="page"] { background: var(--blau); color: #fff; border-color: var(--blau); }
.chips a[aria-current="page"] span { color: #DCE8F4; }
.suche { margin: 0 0 28px; max-width: 640px; }
.suche label { display: block; font-weight: 700; margin-bottom: 6px; }
.suche input { width: 100%; font: inherit; padding: 12px 14px; border: 2px solid var(--linie); border-radius: 4px; }
.suche input:focus { border-color: var(--blau); outline: none; }
.suche__treffer ul { list-style: none; padding: 0; margin: 10px 0 0; border: 1px solid var(--linie); }
.suche__treffer li { padding: 10px 14px; border-bottom: 1px solid #ECEEF0; }
.suche__treffer li:last-child { border-bottom: 0; }
.suche__treffer small { color: var(--grau); font-weight: 700; margin-right: 6px; }
.suche__treffer p { margin: 8px 0 0; color: var(--grau); }
.blaettern { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; font-weight: 700; }
.nachbarn { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 2.5em; border-top: 1px solid var(--linie); padding-top: 20px; }
.nachbarn a { text-decoration: none; font-weight: 700; }
.nachbarn a span { display: block; font-size: .82rem; color: var(--grau); font-weight: 700; }
.nachbarn a[rel="prev"] { text-align: right; grid-column: 2; }

/* Teilen */
.teilen { margin-top: 2.5em; padding-top: 18px; border-top: 1px solid var(--linie); }
.teilen__titel { font-weight: 700; color: var(--grau); font-size: .9rem; margin-bottom: 8px; }
.teilen ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.teilen a, .teilen button { display: inline-block; font: inherit; font-size: .92rem; font-weight: 700; color: var(--blau); background: #fff; border: 1px solid var(--blau); border-radius: 999px; padding: 5px 14px; text-decoration: none; cursor: pointer; }
.teilen a:hover, .teilen button:hover { background: var(--blau-hell); }
.teilen__hinweis { font-size: .9rem; color: var(--grau); min-height: 1.4em; margin: 8px 0 0; }

/* Fuß */
.fuss { margin-top: var(--abstand); color: var(--grau); font-size: .95rem; }
.fuss__innen { max-width: var(--breite); margin: 0 auto; padding: 40px var(--rand) 20px; display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .fuss__innen { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.fuss__absender img { height: 48px; width: auto; margin-bottom: 14px; }
.fuss__absender strong { color: var(--text); }
.fuss a { color: var(--grau); }
.fuss a:hover { color: var(--blau); }
.fuss__titel { font-weight: 700; color: var(--text); margin-bottom: 8px; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: 6px; }
.fuss__zeile { max-width: var(--breite); margin: 0 auto; padding: 16px var(--rand) 32px; border-top: 1px solid #E6E8EB; font-size: .85rem; }

@media print {
  .kopf, .band, .teilen, .fuss__links, .fuss__gaeste, .krumen, .suche { display: none !important; }
  .abschnitt { padding: 12px 0; }
}

/* Netz am Handy: in lesbarer Größe zum Wischen statt winzig */
@media (max-width: 640px) {
  .wissensnetz__netz { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .netz { min-width: 600px; }
  .wissensnetz__netz figcaption::before { content: "Zum Ansehen seitlich wischen. "; font-weight: 700; }
}

/* Stand der Seite (sichtbares Prüfdatum, wie wir es Betrieben empfehlen) */
.stand { line-height: 1.5; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 32px auto 0; padding: 0 var(--rand); font-size: .85rem; color: var(--grau); }
/* Häufige Fragen */
.fragenliste { border-top: 1px solid var(--linie); }
.frage { padding: 18px 0 6px; border-bottom: 1px solid var(--linie); }
.frage h3 { font-size: 1.15rem; margin-bottom: .35em; }
