/* LKRO: Gestaltung von lkro.de
   Angelehnt an befreites-lernen.de (gleiche Schriften, gleiche Farben),
   aber ruhiger und auf langen Lesetext ausgelegt: eine Textspalte mit
   etwa 70 Zeichen je Zeile, Grafiken und Tabellen dürfen breiter sein.
   Alle Regeln stehen in dieser Datei. Die Schriften liegen in /fonts/. */

@font-face{font-family:"Lora";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/lora-latin-400-normal.woff2") format("woff2");}
@font-face{font-family:"Lora";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/lora-latin-500-normal.woff2") format("woff2");}
@font-face{font-family:"Lora";font-style:italic;font-weight:400;font-display:swap;src:url("../fonts/lora-latin-400-italic.woff2") format("woff2");}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/inter-latin-400-normal.woff2") format("woff2");}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/inter-latin-500-normal.woff2") format("woff2");}

*{box-sizing:border-box;margin:0;padding:0;}
:root{
  --navy:#1B2F4A;--navy-mid:#24426A;
  --blue:#346AAA;--blue-light:#78AEE2;
  --sky:#EAF2FB;--sky-mid:#D4E6F5;
  --cream:#F8F5EF;--warm:#EDE8DF;
  --stone:#5F6C75;--amber:#965E25;--white:#FDFCFA;--ink:#18222C;
  --line:#D9D3C5;--grey-mark:#7C847F;
  --on-dark:rgba(255,255,255,0.8);--on-dark-2:rgba(255,255,255,0.72);
  --text-width:38rem;
  --wide-width:56rem;
}
[id]{scroll-margin-top:4.5rem;}
h1,h2,h3{overflow-wrap:break-word;}
h2,h3{hyphens:auto;}
body{font-family:"Inter",sans-serif;background:var(--cream);color:var(--ink);font-size:1.0625rem;line-height:1.75;}
a{color:var(--blue);text-underline-offset:0.18em;}
a:hover{color:var(--navy-mid);}
strong{font-weight:500;color:var(--navy);}

/* Bedienhilfen */
.skip-link{position:absolute;left:0.5rem;top:-5rem;z-index:300;background:#fff;color:var(--navy);padding:0.75rem 1.25rem;border-radius:3px;font-weight:500;text-decoration:none;}
.skip-link:focus{top:0.5rem;}
:focus-visible{outline:3px solid #fff;outline-offset:0;box-shadow:0 0 0 6px var(--navy);}
main:focus{outline:none;box-shadow:none;}
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;}

/* KOPFLEISTE: schlank */
.site-header{background:var(--navy);position:sticky;top:0;z-index:100;}
.bar{max-width:calc(var(--wide-width) + 3rem);margin:0 auto;padding:0 1.5rem;min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:1rem;}
.logo{display:block;text-decoration:none;}
.logo-main{font-family:"Lora",serif;color:#fff;font-size:1.125rem;letter-spacing:0.04em;display:block;line-height:1.2;}
.logo-sub{font-size:0.625rem;color:var(--blue-light);letter-spacing:0.12em;text-transform:uppercase;display:block;margin-top:2px;}
.bar-links{list-style:none;display:flex;gap:0.25rem;}
.bar-links a{display:inline-block;color:var(--on-dark-2);font-size:0.8125rem;text-decoration:none;letter-spacing:0.02em;padding:0.65rem 0.6rem;}
.bar-links a:hover,.bar-links a[aria-current="page"]{color:#fff;text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px;}

/* SEITE */
.seite{max-width:calc(var(--wide-width) + 3rem);margin:0 auto;padding:0 1.5rem 4rem;}
.seite section > :where(p,ul,ol,h2,h3,address){max-width:var(--text-width);margin-left:auto;margin-right:auto;}

/* Titelblock */
.titelblock{max-width:var(--text-width);margin-left:auto;margin-right:auto;padding:3.5rem 0 1.5rem;border-bottom:1px solid var(--line);margin-bottom:2.5rem;}
.titelblock h1{font-family:"Lora",serif;font-weight:400;font-size:2.375rem;line-height:1.18;color:var(--navy);margin-bottom:1rem;}
.byline{font-size:0.875rem;color:var(--stone);margin-bottom:1.25rem;}
.kopf-aktionen{display:flex;gap:0.75rem;flex-wrap:wrap;}

/* Knöpfe */
.btn{background:var(--blue);color:#fff;padding:11px 24px;border-radius:3px;text-decoration:none;font-size:0.9375rem;font-weight:500;display:inline-block;cursor:pointer;border:none;font-family:inherit;line-height:1.4;}
.btn:hover{background:var(--navy-mid);color:#fff;}
.btn-leise{background:transparent;color:var(--navy);border:1.5px solid var(--navy);padding:9.5px 22px;}
.btn-leise:hover{background:var(--sky);color:var(--navy);}
.druck-knopf{display:none;}
.js .druck-knopf{display:inline-block;}

/* Abschnitte und Überschriften */
.seite section{margin-bottom:3.25rem;}
.seite h2{font-family:"Lora",serif;font-weight:400;font-size:1.625rem;line-height:1.3;color:var(--navy);margin-bottom:1rem;}
.seite h3{font-size:1.0625rem;font-weight:500;color:var(--navy);margin:1.6rem 0 0.5rem;}
.seite p{margin-bottom:1.05rem;}
.seite ul,.seite ol{padding-left:1.4rem;margin-bottom:1.1rem;}
.seite li{margin-bottom:0.6rem;padding-left:0.25rem;}
.seite li::marker{color:var(--blue);}
.seite ol li::marker{font-weight:500;}

/* Auf einen Blick: abgesetzt */
#blick{background:var(--white);border:1px solid var(--line);border-radius:8px;padding:1.75rem 1.75rem 0.75rem;max-width:var(--text-width);margin-left:auto;margin-right:auto;}
#blick > :where(p,ul,ol,h2){max-width:none;margin-left:0;margin-right:0;}

/* Inhaltsverzeichnis */
.verzeichnis{margin:0 auto 3.25rem;max-width:var(--text-width);}
.verzeichnis h2{font-size:1.25rem;}
.verzeichnis ul{list-style:none;padding-left:0;border-top:1px solid var(--line);}
.verzeichnis li{margin:0;padding:0;border-bottom:1px solid var(--line);}
.verzeichnis a{display:block;padding:0.55rem 0.25rem;color:var(--navy);text-decoration:none;font-size:0.9375rem;line-height:1.5;}
.verzeichnis a:hover{background:var(--sky);color:var(--navy);}

/* Tabellen */
.tabelle{margin:1.4rem auto 1.6rem;max-width:52rem;}
.tabelle table{border-collapse:collapse;width:100%;font-size:0.9375rem;line-height:1.55;background:var(--white);}
.tabelle th,.tabelle td{text-align:left;vertical-align:top;padding:0.7rem 0.9rem;border:1px solid var(--line);}
.tabelle thead th{background:var(--sky);color:var(--navy);font-weight:500;}
.tabelle tbody th{font-weight:500;color:var(--navy);background:var(--white);}

/* Abbildungen */
.abb{margin:1.8rem auto 2rem;max-width:var(--wide-width);}
.abb svg{display:block;width:100%;height:auto;}
.abb figcaption{font-size:0.9375rem;color:var(--stone);margin:0.6rem auto 0;max-width:var(--text-width);text-align:left;}
.svg-schmal{max-width:26rem;margin-left:auto;margin-right:auto;}
.abb .svg-breit{display:none;}
@media (min-width:52rem){
  .abb-kreislauf .svg-schmal,.abb-profil .svg-schmal{display:none;}
  .abb-kreislauf .svg-breit,.abb-profil .svg-breit{display:block;max-width:50rem;margin-left:auto;margin-right:auto;}
}
@media (min-width:56.25rem){
  .abb-ablauf .svg-schmal{display:none;}
  .abb-ablauf .svg-breit{display:block;}
}
/* Breite Fassungen: Schrift so gewählt, dass sie bei der Anzeigebreite etwa Fließtextgröße hat (mindestens 15 Pixel) */
.abb-kreislauf .svg-breit .g-t,.abb-profil .svg-breit .g-t{font-size:14.5px;}
.abb-kreislauf .svg-breit .g-s,.abb-profil .svg-breit .g-s{font-size:13px;}
.abb-kreislauf .svg-breit .g-h,.abb-profil .svg-breit .g-h{font-size:16px;}
.abb-profil .svg-breit .g-n,.abb-profil .svg-breit .g-nb{font-size:14.5px;}
.abb-profil .svg-breit .g-hl-text{font-size:14px;}
.abb-ablauf .svg-breit .g-t{font-size:15.5px;}
.abb-ablauf .svg-breit .g-s{font-size:15px;}
.abb-ablauf .svg-breit .g-h{font-size:16.5px;}
.g-box{fill:var(--white);stroke:var(--grey-mark);stroke-width:1.5;}
.g-box-hl{fill:var(--sky);stroke:var(--blue);stroke-width:3.5;}
.g-line{stroke:var(--stone);stroke-width:1.75;fill:none;}
.g-head{fill:var(--stone);stroke:none;}
.g-grid{stroke:var(--line);stroke-width:1;}
.g-split{stroke:var(--grey-mark);stroke-width:1;}
.g-t{font-family:"Inter",sans-serif;font-size:15px;font-weight:500;fill:var(--ink);}
.g-s{font-family:"Inter",sans-serif;font-size:13.5px;fill:var(--stone);}
.g-h{font-family:"Inter",sans-serif;font-size:17px;font-weight:500;fill:var(--ink);}
.g-n{font-family:"Inter",sans-serif;font-size:15px;fill:var(--ink);}
.g-nb{font-family:"Inter",sans-serif;font-size:15px;font-weight:500;fill:var(--ink);}
.g-hl-text{font-family:"Inter",sans-serif;font-size:14px;font-weight:500;fill:var(--blue);}
.g-mid{text-anchor:middle;}
.g-end{text-anchor:end;}
.g-bar{stroke:var(--grey-mark);stroke-width:3;}
.g-bar-hl{stroke:var(--blue);stroke-width:4;}
.g-dot{fill:var(--grey-mark);}
.g-dot-hl{fill:var(--blue);}
.g-ring{fill:var(--white);stroke:var(--navy);stroke-width:2.5;}

/* Schluss: Autor, Zitieren, Kontakt */
.zitat{background:var(--white);border-left:3px solid var(--blue);padding:0.8rem 1.1rem;font-size:0.9375rem;line-height:1.65;margin-bottom:1.3rem;overflow-wrap:anywhere;}
.kontakt-aktion{margin:1.4rem 0;}

/* Fuß */
.site-footer{background:var(--ink);padding:1.8rem 0;}
.site-footer-innen{max-width:calc(var(--wide-width) + 3rem);margin:0 auto;padding:0 1.5rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;}
.site-footer p{font-size:0.75rem;color:rgba(255,255,255,0.78);margin:0;}
.footer-links{display:flex;gap:1.5rem;flex-wrap:wrap;}
.footer-links a{font-size:0.75rem;color:rgba(255,255,255,0.78);text-decoration:none;}
.footer-links a:hover,.footer-links a[aria-current="page"]{color:#fff;text-decoration:underline;}
.nur-druck{display:none;}

/* Rechtstexte und 404 */
.rechtstext{padding-top:3rem;}
.rechtstext > :where(p,h2){max-width:var(--text-width);margin-left:auto;margin-right:auto;}
.rechtstext h1{font-family:"Lora",serif;font-weight:400;font-size:2.125rem;line-height:1.2;color:var(--navy);margin:0 auto 1.6rem;max-width:var(--text-width);}
.rechtstext h2{font-size:1.375rem;margin-top:2.2rem;}
.rechtstext h1 + h2,.rechtstext h1 + p{margin-top:0;}
.rechtstext p{font-size:1rem;line-height:1.75;}

/* Schmale Bildschirme */
@media (max-width:44.99rem){
  body{font-size:1rem;}
  .titelblock{padding-top:2.25rem;}
  .titelblock h1{font-size:1.875rem;}
  .seite h2{font-size:1.4375rem;}
  #blick{padding:1.25rem 1.1rem 0.5rem;}
  .tabelle thead{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;}
  .tabelle table,.tabelle tbody,.tabelle tr,.tabelle th,.tabelle td{display:block;width:100%;}
  .tabelle tr{border:1px solid var(--line);border-radius:6px;margin-bottom:0.9rem;background:var(--white);overflow:hidden;}
  .tabelle th,.tabelle td{border:none;padding:0.45rem 0.9rem;}
  .tabelle tbody th{background:var(--sky);padding:0.6rem 0.9rem;}
  .tabelle td[data-label]::before{content:attr(data-label);display:block;font-size:0.75rem;letter-spacing:0.06em;text-transform:uppercase;color:var(--amber);margin-bottom:0.1rem;}
}
@media (max-width:30rem){
  .titelblock h1{font-size:1.625rem;}
  .bar{padding:0 0.75rem 0 1rem;}
  .bar-links a{padding:0.65rem 0.45rem;font-size:0.8125rem;}
}

/* DRUCK: schwarzer Text auf Weiß, ohne Bedienelemente */
@media print{
  @page{margin:2cm 1.8cm;}
  body{background:#fff;color:#000;font-size:11pt;line-height:1.5;}
  .skip-link,.site-header,.verzeichnis,.druck-knopf,.kopf-aktionen,.bar-links,.footer-links{display:none !important;}
  .seite{max-width:none;padding:0;}
  .seite section > :where(p,ul,ol,h2,h3,address),.titelblock,.abb figcaption,.verzeichnis,.rechtstext > :where(h1,h2,p),#blick{max-width:none;margin-left:0;margin-right:0;}
  .titelblock{padding:0 0 0.6cm;border-bottom:1px solid #000;}
  .titelblock h1,.seite h2,.seite h3,.rechtstext h1,strong,.logo-main{color:#000;}
  .byline,.abb figcaption{color:#000;}
  .seite h2,.seite h3{break-after:avoid;page-break-after:avoid;}
  .seite p,.seite li{orphans:3;widows:3;}
  .abb,.tabelle tr,.zitat,#zitieren,#kontakt{break-inside:avoid;page-break-inside:avoid;}
  .tabelle thead{display:table-header-group;}
  .abb{margin:0.6cm 0;}
  .seite li::marker{color:#000;}
  .abb-kreislauf .svg-schmal,.abb-profil .svg-schmal,.abb-ablauf .svg-schmal{display:none;}
  .abb-kreislauf .svg-breit{display:block;max-width:12cm;}
  .abb-profil .svg-breit{display:block;max-width:13cm;}
  .abb-ablauf .svg-breit{display:block;max-width:none;}
  .g-box{fill:#fff;stroke:#000;}
  .g-box-hl{fill:#fff;stroke:#000;stroke-width:4;}
  .g-line,.g-bar,.g-split{stroke:#000;}
  .g-head,.g-dot,.g-dot-hl{fill:#000;}
  .g-bar-hl{stroke:#000;}
  .g-grid{stroke:#bbb;}
  .g-t,.g-s,.g-h,.g-n,.g-nb,.g-hl-text{fill:#000;}
  #blick{background:#fff;border:1px solid #000;border-radius:0;padding:0.4cm 0.5cm 0.1cm;}
  .tabelle table{background:#fff;font-size:10pt;}
  .tabelle th,.tabelle td{border:1px solid #000;}
  .tabelle thead th,.tabelle tbody th{background:#fff;color:#000;}
  .zitat{background:#fff;border-left:2px solid #000;}
  a{color:#000;text-decoration:none;}
  a[href^="http"]::after{content:" (" attr(href) ")";font-size:9pt;overflow-wrap:anywhere;}
  .zitat a::after{content:none;}
  .btn,.btn-leise{background:#fff;color:#000;border:1px solid #000;padding:2px 8px;}
  .site-footer-innen{padding:0;}
  .site-footer{background:#fff;padding:0.6cm 0 0;margin-top:0.8cm;border-top:1px solid #000;}
  .site-footer p{color:#000;font-size:9pt;}
  .nur-druck{display:block;margin-top:0.15cm;}
}
