/* Peter Junkermann: Gestaltung von junkermann.io
   Gleiche Schriften und Farben wie lkro.de und befreites-lernen.de.
   Ruhige Einzelseite, auf dem Telefon einspaltig.
   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;
  --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: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);}

/* 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;}

/* Kopfleiste */
.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;flex-wrap:wrap;column-gap:1rem;}
.logo{display:block;text-decoration:none;color:#fff;font-family:"Lora",serif;font-size:1.125rem;letter-spacing:0.04em;line-height:1.2;padding:0.5rem 0;}
.logo:hover{color:#fff;}
.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{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,h2){max-width:var(--text-width);}
.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);line-height:1.4;}
.seite p{margin-bottom:1.05rem;}
.seite section{margin-bottom:3.25rem;}

/* Kopf mit Portrait */
.kopf{padding-top:3rem;display:grid;grid-template-columns:1fr;gap:1.75rem;align-items:start;border-bottom:1px solid var(--line);padding-bottom:3rem;margin-bottom:3rem;}
.kopf-bild img{display:block;width:100%;max-width:17rem;height:auto;border-radius:8px;background:var(--warm);}
.kopf h1{font-family:"Lora",serif;font-weight:400;font-size:2.5rem;line-height:1.15;color:var(--navy);margin-bottom:0.5rem;}
.unterzeile{font-size:0.9375rem;color:var(--stone);margin-bottom:1.5rem;}
.leitsatz{font-family:"Lora",serif;font-style:italic;font-size:1.375rem;line-height:1.45;color:var(--navy);margin-bottom:1.4rem;}
.kopf-text p:last-child{margin-bottom:0;}

/* Themenfelder */
.thema{padding:1.5rem 0 0.4rem;border-top:1px solid var(--line);max-width:var(--text-width);}
.thema:first-of-type{border-top:none;padding-top:0.5rem;}
.thema h3{font-size:1.1875rem;margin-bottom:0.4rem;}
.thema p{margin-bottom:0.9rem;}

/* Schildchen */
.schildchen{list-style:none;display:flex;flex-wrap:wrap;gap:0.5rem;margin:0 0 1.1rem;padding:0;}
.schildchen li{margin:0;padding:0.2rem 0.8rem;font-size:0.875rem;line-height:1.5;color:var(--navy);background:var(--sky);border:1px solid var(--sky-mid);border-radius:1rem;}
.seite section > ul.schildchen{max-width:none;}
.seite section > .thema .schildchen{max-width:none;}

/* Zitierangaben */
.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;}

/* Kacheln */
.kacheln{display:grid;grid-template-columns:1fr;gap:1.1rem;margin-bottom:3.25rem;}
.kachel{display:block;background:var(--white);border:1px solid var(--line);border-top:3px solid var(--blue);border-radius:8px;padding:1.4rem 1.5rem 1.3rem;text-decoration:none;color:var(--ink);}
.kachel:hover{background:var(--sky);border-color:var(--blue);color:var(--ink);}
.seite .kachel h2{font-family:"Lora",serif;font-weight:400;font-size:1.25rem;line-height:1.3;color:var(--navy);margin-bottom:0.5rem;}
.kachel p{font-size:0.9375rem;line-height:1.65;margin:0;color:var(--ink);}

/* Knopf und Kontakt */
.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;line-height:1.4;}
.btn:hover{background:var(--navy-mid);color:#fff;}
.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;column-gap:1.5rem;row-gap:0.25rem;}
.site-footer p{font-size:0.8125rem;color:rgba(255,255,255,0.78);margin:0;}
.footer-links{display:flex;gap:0.5rem 1.25rem;flex-wrap:wrap;}
.footer-links a{font-size:0.8125rem;color:rgba(255,255,255,0.78);text-decoration:none;display:inline-block;padding:0.4rem 0.15rem;}
.footer-links a:hover,.footer-links a[aria-current="page"]{color:#fff;text-decoration:underline;}

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

/* Breitere Bildschirme: Portrait neben dem Text */
@media (min-width:48rem){
  .kopf{grid-template-columns:15rem 1fr;gap:2.75rem;}
  .kopf-bild img{max-width:none;}
  .kacheln{grid-template-columns:1fr 1fr;}
}
@media (max-width:44.99rem){
  body{font-size:1rem;}
  .kopf{padding-top:2rem;padding-bottom:2.25rem;margin-bottom:2.25rem;}
  .kopf h1{font-size:2rem;}
  .leitsatz{font-size:1.25rem;}
  .seite h2{font-size:1.4375rem;}
  .seite section{margin-bottom:2.5rem;}
}
@media (max-width:30rem){
  .bar{padding:0 0.75rem 0 1rem;}
  .bar-links a{padding:0.65rem 0.45rem;font-size:0.8125rem;}
  .kopf-bild img{max-width:12rem;}
}
