/* Ratgeber DigiSchicht: Hub und Artikel. Farben und Schrift wie Startseite und Generator. */
@font-face { font-family: Inter; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0B1F3A;
  --teal-ink: #0B7B72;
  --teal-glow: #33C7C0;
  --mist: #E4F5F3;
  --paper: #F4F7F8;
  --surface: #FFFFFF;
  --ink: #15212F;
  --soft: #4B5767;
  --line: #C3CED8;
  --amber-bg: #FFF4DC;
  --amber-line: #E9C77A;
  --amber-ink: #5C3B00;
  --measure: 44rem;
  --gutter: clamp(20px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); overflow-wrap: anywhere; }
a { color: var(--teal-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #0B5FFF; outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: var(--navy); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(70rem + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.top { background: var(--navy); color: #fff; }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; min-height: 56px; padding-block: 6px; }
.top a { color: #fff; font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.top a:hover { text-decoration: underline; }
.top nav { display: flex; gap: 20px; flex-wrap: wrap; }
.top .accent { color: var(--teal-glow); }
main { padding-block: 24px 64px; }
.article > * { max-width: var(--measure); }
.article > .tablewrap, .article > .cards { max-width: none; }
h1 { font-size: clamp(1.65rem, 5.6vw, 2.25rem); line-height: 1.2; color: var(--navy); margin: 8px 0 16px; }
h2 { font-size: clamp(1.3rem, 4.6vw, 1.6rem); line-height: 1.25; color: var(--navy); margin: 40px 0 12px; }
h3 { font-size: 1.1rem; line-height: 1.35; color: var(--navy); margin: 0 0 6px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 6px; }
.lead { font-size: 1.15rem; color: #22344a; }
.stand { font-size: 0.9rem; color: var(--soft); margin: 0 0 20px; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; font-size: 0.9rem; color: var(--soft); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--soft); }
.crumbs a { display: inline-block; min-height: 24px; }

.box, .hinweis { background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--amber-ink); border-radius: 6px; padding: 12px 16px; margin: 0 0 20px; }
.hinweis { margin-top: 8px; }
.hinweis a, .box a { color: #5a2f00; }
.kurz { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--teal-ink); border-radius: 6px; padding: 14px 18px; margin: 0 0 8px; font-size: 1.08rem; }
.kurz p { margin: 0; }

.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; margin: 0 0 8px; }
.toc h2 { font-size: 1rem; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc a { display: inline-block; padding: 4px 0; min-height: 24px; }

section { margin: 0; }
.tablewrap { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); max-width: var(--measure); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
caption { text-align: left; font-weight: 700; padding: 10px 12px; color: var(--navy); }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line); }
thead th { background: var(--mist); color: var(--navy); }
tbody th { font-weight: 600; }

.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; margin: 0 0 12px; }
.faq-item p { margin: 0; }
.quellen { padding-left: 20px; font-size: 0.95rem; }
.quellen li { margin-bottom: 10px; }
.more { list-style: none; padding: 0; display: grid; gap: 12px; }
.more li { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; margin: 0; }
.more a { font-weight: 700; display: inline-block; min-height: 24px; }
.more span { display: block; font-size: 0.95rem; color: var(--soft); }
.normname { white-space: nowrap; }

.cards { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin: 0; }
.card h2 { margin: 0 0 8px; font-size: 1.25rem; }
.card h2 a { text-decoration: none; }
.card h2 a:hover { text-decoration: underline; }
.card p { margin: 0; color: var(--soft); }

footer.site { background: var(--navy); color: #C9D6EC; padding-block: 24px; }
footer.site a { color: #C9D6EC; display: inline-block; min-height: 44px; line-height: 44px; margin-right: 16px; }
footer.site p { margin: 0; max-width: none; }

@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}

@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .top, footer.site, .footer, .skip, .crumbs, .toc { display: none !important; }
  main { padding: 0; }
  .wrap { max-width: none; padding: 0; }
  .kurz, .box, .hinweis, .faq-item, .more li, .card { background: #fff; border-color: #888; }
  a { color: #000; text-decoration: none; }
  .quellen a[href^="http"]::after { content: " (" attr(href) ")"; word-break: break-all; }
  .sr { display: none; }
  h2, h3 { break-after: avoid; }
  .faq-item, .tablewrap { break-inside: avoid; }
}

/* Gemeinsamer Kopf und Fuß (wie Startseite) */
:root { --tile-1: linear-gradient(135deg, #22B5A8, #0B7B72); --tile-2: linear-gradient(135deg, #3FCABD, #128F84); --tile-3: linear-gradient(135deg, #5CDBCF, #22A99C); --tile-4: linear-gradient(135deg, #A0EDE5, #5ED2C6); }
.top .wrap { display: block; min-height: 0; padding-block: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding-block: 14px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.top a.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; min-height: 44px; }
.logo-squares { display: grid; grid-template-columns: 11px 11px; grid-template-rows: 11px 11px; gap: 3px; flex-shrink: 0; }
.logo-squares i { display: block; border-radius: 2px; box-shadow: 0 1px 1.5px rgba(0,0,0,0.35); }
.logo-squares i:nth-child(1) { background: var(--tile-1); }
.logo-squares i:nth-child(2) { background: var(--tile-2); }
.logo-squares i:nth-child(3) { background: var(--tile-3); }
.logo-squares i:nth-child(4) { background: var(--tile-4); }
.logo-word { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.025em; color: #fff; line-height: 1; }
.logo-word .accent { color: var(--teal-glow); }
.topnav { display: flex; gap: 2px; flex-wrap: wrap; }
.top .topnav a { display: inline-flex; align-items: center; min-height: 44px; color: #C9D6EC; text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 8px 12px; border-radius: 6px; }
.top .topnav a:hover { color: #fff; background: rgba(255,255,255,0.08); text-decoration: none; }
.top .topnav a.topnav-contact { color: #fff; border: 1px solid rgba(255,255,255,0.5); margin-left: 6px; }
.top .topnav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,0.08); text-decoration: none; }
.footer { background: var(--navy); color: #C9D6EC; padding-block: clamp(40px, 6vw, 64px) 28px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.footer-logo-link { display: flex; align-items: center; margin-bottom: 18px; min-height: 44px; }
.footer-logo { height: 48px; width: auto; max-width: 100%; object-fit: contain; display: block; }
.footer h2 { font-size: 1rem; color: #fff; margin: 0 0 12px; max-width: none; letter-spacing: 0; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-nav a, .footer-address a { color: #fff; display: inline-flex; align-items: center; min-height: 44px; }
.footer-address { font-style: normal; color: #C9D6EC; font-size: 0.975rem; line-height: 1.6; }
.footer-address p { margin: 0 0 4px; color: #C9D6EC; max-width: none; }
.footer-address a { min-height: 32px; }
.footer-legal { margin: 36px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.18); font-size: 0.9rem; line-height: 1.55; color: #AEBBCC; max-width: none; }
.footer-credit { margin: 10px 0 0; font-size: 0.875rem; color: #B8C4D0; max-width: none; }
.footer-credit a { color: #B8C4D0; display: inline-block; padding: 4px 2px; }
.footer-credit a:hover { color: #fff; }

/* Übergang in den Generator */
.cta-gen { background: var(--mist); border: 1px solid #9ED8D2; border-left: 5px solid var(--teal-ink); border-radius: 12px; padding: 16px 20px; margin: 28px 0; }
.cta-gen h2 { margin: 0 0 8px; font-size: 1.2rem; }
.cta-gen p { margin: 0 0 10px; }
.cta-gen .btn-gen { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 22px; background: var(--teal-ink); color: #fff; border-radius: 12px; font-weight: 700; text-decoration: none; }
.cta-gen .btn-gen:hover { background: #096860; }
@media print { .cta-gen { display: none; } }

/* footer-v2: wie die Fußbereiche der Schwesterprojekte (Spalten, ruhige Links ohne Unterstreichung) */
.footer { background: #0B1F3A; color: #B8C4D6; padding: 48px 0 28px; font-size: 0.95rem; line-height: 1.6; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; } }
.footer h2 { font-size: 0.95rem; font-weight: 700; color: #fff; margin: 0 0 10px; letter-spacing: 0; max-width: none; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; flex-wrap: nowrap; }
.footer a { color: #B8C4D6; text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer a:focus-visible { outline: 3px solid #7FB0FF; outline-offset: 2px; }
.footer-logo-link { display: flex; align-items: center; margin: 0 0 14px; min-height: 44px; }
.footer-logo { height: 40px; width: auto; max-width: 100%; object-fit: contain; display: block; }
.footer-about { margin: 0 0 8px; font-size: 0.9rem; line-height: 1.6; color: #B8C4D6; max-width: 30ch; }
.footer-more { margin: 0; }
.footer-more a { color: #fff; font-weight: 600; gap: 6px; }
.footer-address { font-style: normal; font-size: 0.92rem; line-height: 1.65; color: #B8C4D6; }
.footer-address p { margin: 0 0 6px; color: #B8C4D6; max-width: none; }
.footer-address a { min-height: 32px; }
.footer-legal, .footer-credit { text-align: center; font-size: 0.8rem; line-height: 1.55; color: #98A6BC; max-width: none; margin: 0; }
.footer-legal { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14); }
.footer-credit { margin-top: 6px; }
.footer-credit a { color: #B8C4D6; display: inline; min-height: 0; text-decoration: underline; text-underline-offset: 2px; padding: 4px 2px; }

/* chrome-v1: gemeinsamer Rahmen (Container, Kopf, Fuß) für alle Seiten */
:root { --sc-gutter: clamp(20px, 4vw, 40px); }
.sc-wrap { box-sizing: border-box; width: 100%; max-width: calc(70rem + 2 * var(--sc-gutter)); margin-inline: auto; padding-inline: var(--sc-gutter); }
.site-head { background: #0B1F3A; color: #fff; }
.sh-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding-block: 14px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.site-head a.sh-brand, .footer a.footer-logo-link { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; min-height: 44px; }
.sh-squares { display: grid; grid-template-columns: 11px 11px; grid-template-rows: 11px 11px; gap: 3px; flex-shrink: 0; }
.sh-squares i { display: block; border-radius: 2px; box-shadow: 0 1px 1.5px rgba(0,0,0,0.35); }
.sh-squares i:nth-child(1) { background: linear-gradient(135deg, #22B5A8, #0B7B72); }
.sh-squares i:nth-child(2) { background: linear-gradient(135deg, #3FCABD, #128F84); }
.sh-squares i:nth-child(3) { background: linear-gradient(135deg, #5CDBCF, #22A99C); }
.sh-squares i:nth-child(4) { background: linear-gradient(135deg, #A0EDE5, #5ED2C6); }
.sh-word, .footer .sh-word { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.025em; color: #fff; line-height: 1; }
.sh-accent, .footer .sh-accent { color: #33C7C0; }
.sh-nav { display: flex; gap: 2px; flex-wrap: wrap; }
.site-head .sh-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #C9D6EC; text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 8px 12px; border-radius: 6px; }
.site-head .sh-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); text-decoration: none; }
.site-head .sh-nav a.sh-contact { color: #fff; border: 1px solid rgba(255,255,255,0.5); margin-left: 6px; }
.site-head .sh-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,0.08); text-decoration: none; }
.site-head a:focus-visible, .footer a.footer-logo-link:focus-visible { outline: 3px solid #7FB0FF; outline-offset: 2px; }
.footer { text-align: left; }
@media print { .site-head { display: none !important; } }

/* sticky-nav: Navigation bleibt oben (ab Tablet-Breite), Anker landen nicht unter der Leiste */
@media (min-width: 720px) {
  .site-head, .hero-bar { position: sticky; top: 0; z-index: 100; }
  html { scroll-padding-top: 84px; }
}
.hero-bar { background: #0B1F3A; color: #fff; }
@media print { .hero-bar { display: none !important; } }
