/* Theme palette is selected directly by the root data-theme attribute. */
html[data-theme="dark"]{color-scheme:dark;--ink:#e7f2f4;--muted:#a8bac1;--paper:#13242c;--canvas:#09161d;--line:#29414a;--brand:#4fd1c5;--brand-dark:#75ded5;--accent:#ffad79;--shadow:0 18px 50px rgba(0,0,0,.34)}html[data-theme="dark"] body{background:radial-gradient(circle at 12% 0%,rgba(30,160,151,.16),transparent 28rem),linear-gradient(180deg,#0d1d25,var(--canvas))}html[data-theme="dark"] .site-header{background:rgba(10,25,32,.9);border-bottom-color:rgba(41,65,74,.9)}html[data-theme="dark"] .brand-mark{color:#062127;background:linear-gradient(145deg,#58d8cc,#20a6a0);box-shadow:0 8px 24px rgba(0,0,0,.3)}html[data-theme="dark"] .nav-links a:hover,html[data-theme="dark"] .nav-links a[aria-current="page"]{color:#9be9e2;background:#15343b}html[data-theme="dark"] .button{background:#13262f;border-color:var(--line);color:var(--ink);box-shadow:0 5px 18px rgba(0,0,0,.16)}html[data-theme="dark"] .button:hover{border-color:#42777b;color:#8fe8df}html[data-theme="dark"] .button.primary{color:#031d22;background:linear-gradient(135deg,#57d5c9,#28aaa6);box-shadow:0 12px 30px rgba(0,0,0,.28)}html[data-theme="dark"] .hero-art:before{background:linear-gradient(145deg,rgba(47,194,181,.18),rgba(21,83,102,.11))}html[data-theme="dark"] .section.alt{background:rgba(15,33,41,.72)}html[data-theme="dark"] .card,html[data-theme="dark"] .feature{background:rgba(18,39,48,.92);border-color:var(--line);box-shadow:0 12px 38px rgba(0,0,0,.14)}html[data-theme="dark"] .card-icon{color:#9be9e2;background:#173b40}html[data-theme="dark"] .callout{background:linear-gradient(135deg,#0c686d,#073d4e)}html[data-theme="dark"] .site-footer{background:rgba(10,25,32,.82);border-color:var(--line)}html[data-theme="dark"] body>#navwrap,html[data-theme="dark"] body>#sidenav,html[data-theme="dark"] body>#content{background:rgba(16,35,43,.94);border-color:var(--line);box-shadow:var(--shadow)}html[data-theme="dark"] #topnav li a:hover,html[data-theme="dark"] #sidenav li a:hover{color:#9be9e2;background:#15343b}html[data-theme="dark"] #content img[src*="impressum"]{filter:invert(1) brightness(1.7)}
@media (prefers-color-scheme:dark){html:not([data-theme]){color-scheme:dark;--ink:#e7f2f4;--muted:#a8bac1;--paper:#13242c;--canvas:#09161d;--line:#29414a;--brand:#4fd1c5;--brand-dark:#75ded5;--accent:#ffad79;--shadow:0 18px 50px rgba(0,0,0,.34)}html:not([data-theme]) body{background:radial-gradient(circle at 12% 0%,rgba(30,160,151,.16),transparent 28rem),linear-gradient(180deg,#0d1d25,var(--canvas))}html:not([data-theme]) .site-header{background:rgba(10,25,32,.9);border-bottom-color:rgba(41,65,74,.9)}html:not([data-theme]) .brand-mark{color:#062127;background:linear-gradient(145deg,#58d8cc,#20a6a0);box-shadow:0 8px 24px rgba(0,0,0,.3)}html:not([data-theme]) .nav-links a:hover,html:not([data-theme]) .nav-links a[aria-current="page"]{color:#9be9e2;background:#15343b}html:not([data-theme]) .button{background:#13262f;border-color:var(--line);color:var(--ink);box-shadow:0 5px 18px rgba(0,0,0,.16)}html:not([data-theme]) .button:hover{border-color:#42777b;color:#8fe8df}html:not([data-theme]) .button.primary{color:#031d22;background:linear-gradient(135deg,#57d5c9,#28aaa6);box-shadow:0 12px 30px rgba(0,0,0,.28)}html:not([data-theme]) .hero-art:before{background:linear-gradient(145deg,rgba(47,194,181,.18),rgba(21,83,102,.11))}html:not([data-theme]) .section.alt{background:rgba(15,33,41,.72)}html:not([data-theme]) .card,html:not([data-theme]) .feature{background:rgba(18,39,48,.92);border-color:var(--line);box-shadow:0 12px 38px rgba(0,0,0,.14)}html:not([data-theme]) .card-icon{color:#9be9e2;background:#173b40}html:not([data-theme]) .callout{background:linear-gradient(135deg,#0c686d,#073d4e)}html:not([data-theme]) .site-footer{background:rgba(10,25,32,.82);border-color:var(--line)}html:not([data-theme]) body>#navwrap,html:not([data-theme]) body>#sidenav,html:not([data-theme]) body>#content{background:rgba(16,35,43,.94);border-color:var(--line);box-shadow:var(--shadow)}html:not([data-theme]) #topnav li a:hover,html:not([data-theme]) #sidenav li a:hover{color:#9be9e2;background:#15343b}html:not([data-theme]) #content img[src*="impressum"]{filter:invert(1) brightness(1.7)}}
