/* STUDIO WIDNAU – Contao-Theme (übernommen von der Übergangsseite, unten um CMS-Bausteine ergänzt) */

@font-face { font-family: "Open Sans"; src: url(../fonts/open-sans-regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(../fonts/open-sans-semibold.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(../fonts/open-sans-extrabold.woff2) format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0a1118;
  --panel: #111c26;
  --line: #1f2f3d;
  --blue: #48acef;          /* Text/Links auf dunklem Grund (Kontrast 7,6:1) – Farbwinkel 204°, nah am Logo-Blau */
  --blue-brand: #1a8bd5;    /* Flächen, Reflex im Logo */
  --orange: #ff7a1a;
  /* Blautöne der animierten Grafiken (die SVGs tragen feste Werte, die unten auf diese Variablen umgelegt werden) */
  --g-blue: #1a8bd5;
  --g-blue-soft: #48acef;
  --g-blue-deep: #184f77;
  --g-blue-night: #11324a;
  --glow: 26, 139, 213;     /* RGB-Anteile für Schimmer und getönte Flächen */
  --text: #9fb0bd;
  --bright: #eef4f8;
  --mono: ui-monospace, "Cascadia Code", Consolas, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1rem/1.65 "Open Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg) radial-gradient(60rem 30rem at 80% -10%, rgba(var(--glow), .30), transparent 70%) no-repeat;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.wrap { width: min(100% - clamp(2.5rem, 7vw, 9rem), 94rem); margin-inline: auto; }

.skip { position: absolute; left: -999rem; top: 0; background: var(--bright); color: var(--bg); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* Kopf */
.site-header { position: relative; z-index: 20; }
.site-header .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; }
.logo img { width: clamp(170px, 24vw, 290px); }
.logo .logo-light { display: none; }
.site-controls { display: flex; align-items: center; gap: .6rem; }
.sr-only, .invisible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@keyframes rot { to { transform: rotate(360deg); } }

/* Sprachumschalter */
.lang { display: flex; align-items: center; font: .75rem var(--mono); letter-spacing: .08em; border: 1px solid var(--line); border-radius: 99px; padding: 3px; height: 2.75rem; }
.lang a { display: flex; align-items: center; height: 100%; color: var(--text); padding: 0 .7rem; border-radius: 99px; transition: color .2s, background .2s; }
.lang a:hover { color: var(--bright); text-decoration: none; }
.lang a[aria-current] { color: var(--bright); background: var(--panel); box-shadow: inset 0 -2px 0 -1px var(--orange); }

/* Runde Symbol-Knöpfe: Hell/Dunkel und Menü */
.icon-button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--bright); cursor: pointer; transition: background .2s, border-color .2s; }
.icon-button:hover { background: var(--panel); border-color: var(--blue); }
.theme-toggle svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-moon { display: none; }
.nav-toggle span:not(.sr-only) { display: block; width: 1.15rem; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] { background: var(--panel); border-color: var(--orange); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menü-Panel (auf allen Bildschirmgrößen über den Menü-Knopf) */
.site-nav { position: absolute; right: 0; top: calc(100% - .25rem); width: min(100%, 24rem); padding: .75rem; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 70px rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mod_navigation ul { list-style: none; margin: 0; padding: 0; }
.mod_navigation a, .mod_navigation strong { display: block; padding: .65rem .85rem; border-radius: 10px; font-size: 1.0625rem; font-weight: 600; color: var(--text); transition: color .2s, background .2s; }
.mod_navigation a:hover { color: var(--bright); background: var(--bg); text-decoration: none; }
.mod_navigation .active, .mod_navigation .trail { color: var(--bright); }
.mod_navigation .level_1 > li > .active, .mod_navigation .level_1 > li > .trail { box-shadow: inset 3px 0 0 var(--orange); border-radius: 0 10px 10px 0; }
.mod_navigation .level_2 { margin: 0 0 .35rem .85rem; padding-left: .5rem; border-left: 1px solid var(--line); }
.mod_navigation .level_2 a, .mod_navigation .level_2 strong { font-size: .9375rem; font-weight: 400; padding-block: .4rem; }
.mod_navigation .level_2 .active { color: var(--orange); }

@media (max-width: 30rem) {
  .site-header .wrap { gap: .5rem; }
  .site-controls { gap: .4rem; }
  .lang { height: 2.5rem; }
  .lang a { padding: 0 .5rem; }
  .icon-button { width: 2.5rem; height: 2.5rem; }
}

/* Hero */
.hero { padding-block: clamp(2.5rem, 8vw, 6rem) 3rem; display: grid; gap: 2.5rem; align-items: center; }
.kicker { font: .875rem var(--mono); color: var(--blue); margin: 0 0 1rem; }
h1 { font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1.08; letter-spacing: -.02em; color: var(--bright); font-weight: 800; margin: 0 0 1.25rem; }
h1 em { font-style: normal; color: var(--blue); white-space: nowrap; }
h1 .dot { color: var(--orange); }
.lead { font-size: 1.125rem; max-width: 44rem; margin: 0 0 1.75rem; }
.notice { font: .9375rem/1.6 var(--mono); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.25rem; max-width: 38rem; margin: 0; }
.notice b { color: var(--orange); font-weight: 400; }
.visual { justify-self: center; width: 100%; max-width: 46rem; height: auto; }

/* Leistungen */
h2 { font: 400 .875rem var(--mono); color: var(--blue); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 1.5rem; }
#leistungen, #kontakt { color: var(--orange); }
.grid { display: flex; flex-wrap: wrap; gap: 1px; list-style: none; padding: 0; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
/* flex-basis 21rem: 4 Karten je Zeile ab ~1450 px Inhaltsbreite, darunter 3, 2, 1 */
.card { flex: 1 1 21rem; container-type: inline-size; background: var(--bg); padding: 1.6rem 1.6rem 1.8rem; transition: background .2s; }
.card:hover { background: var(--panel); }
.card svg { display: block; width: 100%; height: auto; }
.card-media { margin-bottom: 1.25rem; }
/* Breite Karte (z. B. 2 Karten in der letzten Zeile): Grafik links, Text rechts */
@container (min-width: 38rem) {
  .card-inner { display: grid; grid-template-columns: minmax(0, 24rem) 1fr; gap: 2.5rem; align-items: center; }
  .card-media { margin-bottom: 0; }
  .card-body h3 { font-size: 1.35rem; }
  .card-body p { font-size: 1rem; max-width: 34rem; }
}
.card span { font: .75rem var(--mono); color: var(--orange); }
.card h3 { margin: .35rem 0 .5rem; font-size: 1.125rem; color: var(--bright); font-weight: 600; }
.card p { margin: 0; font-size: .9375rem; }

/* Grafik-Animationen (SVG) */
.float { animation: float 5s ease-in-out infinite; }
.float.d2 { animation-delay: -1.6s; }
.float.d3 { animation-delay: -3.2s; }
.blink { animation: blink 1s steps(1) infinite; }
.dots circle { animation: dots 1.2s infinite; }
.dots circle:nth-child(2) { animation-delay: .2s; }
.dots circle:nth-child(3) { animation-delay: .4s; }
.orbit { transform-origin: 210px 160px; animation: rot 40s linear infinite; }
.led { animation: led 1.4s steps(1) infinite; }
.led.l2 { animation-delay: -.5s; animation-duration: 2.1s; }
.led.l3 { animation-delay: -.9s; animation-duration: .9s; }
.dash { animation: dash 1.2s linear infinite; }
.draw { stroke-dasharray: 100; animation: draw 5s ease-in-out infinite; }
.pulse { transform-box: fill-box; transform-origin: center; animation: ping 2.2s ease-out infinite; }
.wave rect { transform-box: fill-box; transform-origin: center bottom; animation: wave 1.1s ease-in-out infinite; }
.wave rect:nth-child(2) { animation-delay: -.4s; }
.wave rect:nth-child(3) { animation-delay: -.75s; }
.wave rect:nth-child(4) { animation-delay: -.2s; }
.playhead { animation: playhead 7s linear infinite; }
.cursor { transform-box: fill-box; transform-origin: center; animation: cursor 6s ease-in-out infinite; }
.seq { animation: seq 6s ease-out infinite; }
.seq.s2 { animation-delay: .35s; }
.seq.s3 { animation-delay: .7s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes dots { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
@keyframes led { 50% { opacity: .2; } }
@keyframes dash { to { stroke-dashoffset: -24; } }
@keyframes draw { 0% { stroke-dashoffset: 100; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
@keyframes playhead { from { transform: translateX(0); } to { transform: translateX(358px); } }
@keyframes cursor { 0%, 15% { transform: translate(120px, 60px); } 45%, 70% { transform: translate(0, 0); } 78% { transform: translate(0, 0) scale(.9); } 100% { transform: translate(120px, 60px); } }
@keyframes seq { 0% { opacity: 0; transform: translateY(8px); } 12%, 90% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}

/* Kontakt */
.contact { margin-block: 3.5rem; background: linear-gradient(135deg, rgba(var(--glow), .20), rgba(var(--glow), .05) 60%) var(--panel); border: 1px solid rgba(var(--glow), .32); border-left: 3px solid var(--orange); border-radius: 14px; padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1.5rem; }
.contact h2 { margin-bottom: .75rem; }
.contact a { color: var(--bright); font-weight: 600; }
.contact .big { font-size: clamp(1.25rem, 3.4vw, 1.75rem); line-height: 1.3; color: var(--bright); font-weight: 600; margin: 0; }
address { font-style: normal; }

/* Impressum */
.legal { padding-block: clamp(2rem, 6vw, 4rem) 3rem; display: grid; gap: 2.5rem; }
.legal h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
.legal dl { display: grid; grid-template-columns: 1fr; gap: .15rem 1.5rem; margin: 0; }
.legal dt { font: .8125rem var(--mono); color: var(--blue); margin-top: .9rem; }
.legal dd { margin: 0; color: var(--bright); }
.legal dd small { color: var(--text); font-size: .875rem; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.25rem, 4vw, 2rem); }
.panel > :first-child { margin-top: 0; }
.plain { margin: 0; padding-left: 1.1rem; }
.plain li { margin-bottom: .35rem; }
.plain strong { color: var(--bright); font-weight: 600; }

/* Rechtstexte (Datenschutz, Nutzungsbedingungen) */
/* gleiche Seitenränder wie Startseite/Impressum (.wrap); nur die Zeilenlänge des Textes ist begrenzt */
.prose { padding-block: clamp(2rem, 6vw, 4rem) 3rem; }
.prose > * { max-width: 50rem; }
.prose h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
.prose h2 { font: 600 1.25rem/1.3 "Open Sans", Arial, sans-serif; color: var(--bright); text-transform: none; letter-spacing: 0; margin: 2.5rem 0 .75rem; }
.prose p { margin: 0 0 1rem; }
.prose code { font: .875em var(--mono); color: var(--orange); background: var(--panel); border: 1px solid var(--line); border-radius: 5px; padding: .1em .4em; white-space: nowrap; }
.prose small { color: var(--text); font-size: .8125rem; }
.table-wrap { overflow-x: auto; margin: 0 0 1.25rem; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .9375rem; }
.prose th { font: 400 .75rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); text-align: left; background: var(--panel); }
.prose th, .prose td { padding: .8rem 1rem; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { white-space: nowrap; }

/* Cookie-Consent (Runtime: assets/consent/) im Look der Seite */
.cc-root { --cc-bg: var(--panel) !important; --cc-fg: var(--bright) !important; --cc-accent: var(--orange) !important; font: 15px/1.6 "Open Sans", Arial, sans-serif; }
.cc-root h2 { font: 800 1.35rem/1.2 "Open Sans", Arial, sans-serif; color: var(--bright); text-transform: none; letter-spacing: -.01em; }
.cc-root p, .cc-root dd, .cc-root summary { color: var(--text); }
.cc-root .cc-eyebrow { font-family: var(--mono); color: var(--orange); }
.cc-root .cc-banner, .cc-root .cc-dialog, .cc-root fieldset, .cc-root .cc-service { border-color: var(--line); }
.cc-root .cc-banner { bottom: 24px; box-shadow: 0 24px 80px rgba(0, 0, 0, .6); }
.cc-root .cc-dialog { position: fixed; inset: 0; margin: auto; height: fit-content; overflow: auto; box-shadow: 0 24px 80px rgba(0, 0, 0, .6); }
.cc-root .cc-dialog::backdrop { background: rgba(10, 17, 24, .7); }
.cc-root button { background: transparent; color: var(--bright); border-color: var(--line); transition: background .2s, border-color .2s; }
.cc-root button:hover { background: var(--bg); border-color: var(--blue); box-shadow: none; }
/* Annehmen und Ablehnen bewusst gleich gewichtet (keine Hervorhebung einer Option) */
.cc-root .cc-languages button { min-height: 0; font: .75rem var(--mono); letter-spacing: .08em; }
.cc-root a { color: var(--text); }
.cc-root a:hover { color: var(--bright); }
.cc-root input[type=checkbox] { accent-color: var(--orange); }
.cc-root :focus-visible { outline: 2px solid var(--blue); }
.cc-root .cc-launcher { display: none; }
.cc-placeholder { background: var(--panel); color: var(--text); border-color: var(--line); margin: 1rem; }

/* Fuß */
.site-footer { border-top: 1px solid var(--line); font-size: .8125rem; padding-block: 1.5rem 2.5rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem 2rem; align-items: center; }
.footer-settings { text-align: center; }
.site-footer p { margin: 0; }
.legal-links { text-align: right; }
@media (max-width: 40rem) {
  .site-footer .wrap { grid-template-columns: 1fr; }
  .footer-settings, .legal-links { text-align: left; }
  .footer-settings { order: 3; }
}
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--bright); }

@media (min-width: 40rem) {
  .legal dl { grid-template-columns: 12rem 1fr; }
  .legal dt { margin-top: .2rem; }
  .legal dt, .legal dd { padding-block: .45rem; border-top: 1px solid var(--line); }
}
@media (min-width: 56rem) {
  .hero { grid-template-columns: 1.15fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); }
  .contact { grid-template-columns: 1.4fr 1fr; align-items: center; }
  .legal { grid-template-columns: 1.3fr 1fr; align-items: start; }
}

/* ------------------------------------------------------------------ Contao-Bausteine */
main.is-home { padding-bottom: 1rem; }
.services { padding-bottom: 3.5rem; }
.card h3 a { color: inherit; }
.card h3 a:hover { color: var(--blue); text-decoration: none; }
.card h3 a::after { content: " →"; color: var(--orange); opacity: 0; transition: opacity .2s; }
.card:hover h3 a::after { opacity: 1; }
.hero .lead p { margin: 0; }
.hero .lead p + p { margin-top: .9rem; font-size: 1rem; }
.hero .lead p:first-child { color: var(--bright); }

/* Inhaltsseiten (main.prose): Artikel und Standard-Elemente */
.prose h1 { margin-bottom: 1.5rem; }
.prose h3 { font-size: 1.0625rem; color: var(--bright); margin: 2rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .35rem; }
.prose figure { margin: 0 0 1.5rem; }
.prose figure img { border-radius: 12px; border: 1px solid var(--line); }
.prose figcaption { font-size: .8125rem; margin-top: .4rem; }

/* Blog: Liste und Beitrag */
.mod_newslist > div, .mod_newslist > article { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.mod_newslist > :first-child { border-top: 0; padding-top: 0; }
.mod_newslist h2 { margin: .25rem 0 .5rem; }
.mod_newslist h2 a { color: var(--bright); }
.mod_newslist h2 a:hover { color: var(--blue); text-decoration: none; }
.mod_newslist .info, .mod_newsreader .info { font: .8125rem var(--mono); color: var(--orange); margin: 0; }
.mod_newslist .more a { font-weight: 600; }
.mod_newsreader .back { margin-top: 2.5rem; font-size: .9375rem; }
.pagination ul { display: flex; gap: .4rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.pagination a, .pagination strong { display: block; padding: .35rem .75rem; border: 1px solid var(--line); border-radius: 8px; }
.pagination strong { background: var(--panel); color: var(--bright); }

/* FAQ */
.mod_faqpage section, .mod_faqpage article { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.mod_faqpage h2 { margin-top: 0; }
.mod_faqpage h3 { margin: 0 0 .5rem; font-size: 1.125rem; }
.mod_faqpage .info { font-size: .8125rem; margin: .5rem 0 0; }
.mod_faqpage .toplink { display: none; }

/* Footer-Navigation (Modul „customnav“) */
.legal-links ul { list-style: none; margin: 0; padding: 0; }
.legal-links a, .legal-links strong { font-weight: 400; color: inherit; }
.legal-links strong { color: var(--bright); }

/* ------------------------------------------------------------------ Blautöne der Grafiken (beide Modi)
   Die SVGs enthalten feste Blauwerte; hier werden sie auf Variablen umgelegt, damit beide Modi sie steuern können. */
:is(.visual, .card-media) [fill="#2563eb"] { fill: var(--g-blue); }
:is(.visual, .card-media) [fill="#3b82f6"] { fill: var(--g-blue-soft); }
:is(.visual, .card-media) [stroke="#2563eb"] { stroke: var(--g-blue); }
:is(.visual, .card-media) [stroke="#3b82f6"] { stroke: var(--g-blue-soft); }
:is(.visual, .card-media) stop[stop-color="#2563eb"] { stop-color: var(--g-blue); }
:is(.visual, .card-media) stop[stop-color="#1e3a8a"] { stop-color: var(--g-blue-deep); }
:is(.visual, .card-media) stop[stop-color="#12234f"] { stop-color: var(--g-blue-night); }

/* ------------------------------------------------------------------ Helle Darstellung
   Gesetzt über <html data-theme="light"> (Knopf im Kopfbereich). Standard bleibt dunkel.
   Alle Blautöne liegen auf dem Farbwinkel des Logo-Blaus #1171a8 (~202°) – nur Sättigung und Helligkeit
   variieren. Dunkle Töne sind bewusst weniger satt, damit nichts „schreit“. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f1f6f8;
  --panel: #ffffff;
  --line: #d1dfe6;
  --blue: #1171a8;            /* Logo-Blau: Akzente im Text („KI-Lösungen“), Links */
  --blue-brand: #1171a8;
  --orange: #c8500f;
  --text: #4b6471;
  --bright: #16384b;          /* Überschriften: dunkler, weniger satt, gleicher Farbwinkel */
  --ink: #1f506b;             /* Linien und Schrift in den Grafiken */
  --g-blue: #1b7bb2;          /* Grafiken: Hauptblau (statt #2563eb) */
  --g-blue-soft: #4a9fcd;     /* Grafiken: helles Blau (statt #3b82f6) */
  --g-blue-deep: #0d4c6d;     /* Grafiken: dunkles Verlaufsende */
  --g-blue-night: #0d4c6d;
}
:root[data-theme="light"] body { background: radial-gradient(70rem 34rem at 82% -12%, rgba(17, 113, 168, .13), transparent 70%) no-repeat, radial-gradient(50rem 26rem at 8% 0%, rgba(17, 113, 168, .05), transparent 70%) no-repeat, var(--bg); }
:root[data-theme="light"] .logo .logo-dark { display: none; }
:root[data-theme="light"] .logo .logo-light { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .icon-button, :root[data-theme="light"] .lang { background: var(--panel); }
:root[data-theme="light"] .lang a[aria-current] { background: var(--bg); }
:root[data-theme="light"] .site-nav { box-shadow: 0 30px 70px rgba(24, 62, 85, .18); }
:root[data-theme="light"] .mod_navigation a:hover { background: var(--bg); }
:root[data-theme="light"] .card { background: var(--panel); }
:root[data-theme="light"] .card:hover { background: #f8fbfd; }
:root[data-theme="light"] .notice { box-shadow: 0 1px 2px rgba(24, 62, 85, .06); }
:root[data-theme="light"] .contact { background: linear-gradient(135deg, rgba(17, 113, 168, .10), rgba(17, 113, 168, .02) 60%) var(--panel); border-color: rgba(17, 113, 168, .25); border-left-color: var(--orange); }
:root[data-theme="light"] .skip { background: var(--bright); color: #fff; }
:root[data-theme="light"] .prose code { background: var(--bg); }
:root[data-theme="light"] .cc-root .cc-banner, :root[data-theme="light"] .cc-root .cc-dialog { box-shadow: 0 24px 80px rgba(24, 62, 85, .25); }
:root[data-theme="light"] .cc-root .cc-dialog::backdrop { background: rgba(24, 62, 85, .35); }
:root[data-theme="light"] .cc-root button:hover { background: var(--bg); }

/* Animierte Grafiken invertieren: Die SVGs tragen feste Farbwerte für dunklen Grund – hier werden genau
   diese Werte auf ihr helles Gegenstück umgelegt (Blau, Orange und Weiß-auf-Blau bleiben unverändert). */
:root[data-theme="light"] :is(.visual, .card-media) [fill="#111c26"] { fill: #ffffff; }
:root[data-theme="light"] :is(.visual, .card-media) [fill="#0a1118"] { fill: #e9f0f6; }
:root[data-theme="light"] :is(.visual, .card-media) [fill="#1a1510"] { fill: #fff1e6; }
:root[data-theme="light"] :is(.visual, .card-media) [fill="#1f2f3d"] { fill: #d3dee8; }
:root[data-theme="light"] :is(.visual, .card-media) [fill="#2a3b4a"] { fill: #c3d0dc; }
:root[data-theme="light"] :is(.visual, .card-media) [fill="#5b6b78"] { fill: #8fa1b1; }
:root[data-theme="light"] :is(.visual, .card-media) [fill="#9fb0bd"] { fill: #5d7384; }
:root[data-theme="light"] :is(.visual, .card-media) [fill="#eef4f8"] { fill: var(--ink); }
:root[data-theme="light"] :is(.visual, .card-media) [stroke="#1f2f3d"] { stroke: #c9d6e1; }
:root[data-theme="light"] :is(.visual, .card-media) [stroke="#eef4f8"] { stroke: var(--ink); }
:root[data-theme="light"] :is(.visual, .card-media) [stroke="#0a1118"] { stroke: #ffffff; }
:root[data-theme="light"] .card-media .playhead path { stroke: var(--ink); fill: var(--ink); }
:root[data-theme="light"] .card-media .cursor path { fill: var(--ink); }
:root[data-theme="light"] svg.visual, :root[data-theme="light"] .card-media svg { filter: drop-shadow(0 8px 18px rgba(24, 62, 85, .10)); }

/* Definitionslisten in Inhaltsseiten (Impressum) */
.prose dl { display: grid; grid-template-columns: 1fr; gap: .15rem 1.5rem; margin: 0 0 1.5rem; max-width: 46rem; }
.prose dt { font: .8125rem var(--mono); color: var(--blue); margin-top: .9rem; }
.prose dd { margin: 0; color: var(--bright); }
.prose dd address { font-style: normal; }
@media (min-width: 40rem) {
  .prose dl { grid-template-columns: 12rem 1fr; }
  .prose dt { margin-top: .2rem; }
  .prose dt, .prose dd { padding-block: .45rem; border-top: 1px solid var(--line); }
}

/* Kontaktbox darf in Inhaltsseiten die volle Breite nutzen */
.prose > .mod_article, .prose .contact { max-width: none; }
.prose .mod_article > * { max-width: 50rem; }
.prose .mod_article > .contact { max-width: none; margin-block: 1.5rem 3rem; }
.contact .contact-label { font: 400 .875rem var(--mono); color: var(--orange); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 .75rem; }
.prose .contact .big { margin: 0; max-width: none; }
