:root{
  --papier:#e9e2bc; --seite:#f2f9fb; --text:#2f4f4f; --rost:#a0522d; --rost-dunkel:#8f4726; --grau:#6f6449;
  color-scheme:light;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
*,*::before,*::after{box-sizing:inherit}
html{scroll-padding-top:env(safe-area-inset-top,0px);-webkit-text-size-adjust:100%}
body{margin:0;background:var(--papier);color:var(--text);
  font:15px/1.6 Arial,Helvetica,"Liberation Sans",sans-serif}
img{display:block;max-width:100%;height:auto}
a{color:var(--rost);text-underline-offset:2px}
a:hover{color:var(--rost-dunkel)}
:focus-visible{outline:2px solid #2f3fb5;outline-offset:3px;border-radius:2px}

.skip{position:absolute;left:-999px;top:0;background:#fff;padding:.5em 1em;z-index:2}
.skip:focus{left:8px;top:8px}

.seite{width:min(758px,100%);margin:0 auto;padding:clamp(16px,6vh,56px) 0 24px}

.oben{display:flex;flex-direction:column;align-items:flex-end;padding:0 35px 10px 12px;font-size:14px;line-height:1.5}
.oben a{color:var(--rost-dunkel)}
.aktuell{font-weight:700;letter-spacing:1px}
.aktuell::before{content:"***";text-decoration:none;display:inline-block;color:var(--rost)}

/* Aufgeschlagenes Notizbuch aus den Originalbildern, Hoehe frei */
.buch{position:relative;
  background:
    url(assets/buch-links.jpg) left 33px / 32px calc(100% - 60px) no-repeat,
    url(assets/buch-rechts.jpg) right 33px / 35px calc(100% - 60px) no-repeat,
    url(assets/buch-mitte.jpg) 32px 0 / 691px auto repeat-y;
  padding:33px 35px 27px 32px}
.kante{position:absolute;left:0;right:0;height:33px;top:0;pointer-events:none}
.kante.unten{top:auto;bottom:0;height:27px}
.kante::before,.kante::after{content:"";position:absolute;top:0;bottom:0;width:50%;background-repeat:no-repeat}
.kante::before{left:0;background-position:left top}
.kante::after{right:0;background-position:right top}
.kante.oben-rand::before,.kante.oben-rand::after{background-image:url(assets/buch-oben.jpg)}
.kante.unten::before,.kante.unten::after{background-image:url(assets/buch-unten.jpg)}

.inhalt{position:relative;display:grid;grid-template-columns:312px 1fr;column-gap:44px;padding:12px 12px 8px 0;min-height:540px}

.titel{grid-area:titel;text-align:right;margin:0}
.titel h1{margin:0;font-size:inherit}
.titel img{margin-left:auto}
.titel ul{list-style:none;margin:6px 0 0;padding:0}
.titel li{margin-top:4px}
.titel li img{height:auto}
.titel .wechsel{justify-items:end}

/* Handschrift: blau, bei Hover rot wie die alten Rollover */
.wechsel{display:inline-grid;text-decoration:none}
.wechsel img{grid-area:1/1}
.wechsel .an{visibility:hidden}
.wechsel:hover .an,.wechsel:focus-visible .an{visibility:visible}
.wechsel:hover .aus,.wechsel:focus-visible .aus{visibility:hidden}

.wege{grid-area:wege;display:flex;justify-content:space-between;align-items:flex-end;gap:10px;margin-top:40px}
.haupt ul{list-style:none;margin:0;padding:0}
.haupt li{margin-top:4px}
.haupt li:first-child{margin-top:0}
.foto{flex:0 0 166px;width:166px;margin:0 0 6px}
.foto img{width:100%}

.text{grid-area:text;align-self:center}
.text h2{color:var(--rost);font-size:15px;line-height:1.4;font-weight:700;letter-spacing:1px;margin:0 0 6px}
.text p{margin:0 0 2.2em}
.text ul{list-style:circle;margin:0;padding-left:24px}
.gross{font-size:17px}

.pager{grid-area:pager;display:flex;justify-content:flex-end;align-items:baseline;gap:6px;
  font-weight:700;color:var(--rost);letter-spacing:1px;margin:14px 0 0}
.pager .weiter{margin-left:22px;font-weight:400;color:var(--rost)}
.pager .pfeil{font-weight:700;margin-left:4px;display:inline-block}
.pager a{text-decoration-thickness:1px}

.kontakt{grid-area:kontakt;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
  align-self:end;margin:14px 0 0;font-size:14px;letter-spacing:.5px}
.kontakt a{color:var(--grau);text-decoration:none}
.kontakt a:hover{color:var(--rost);text-decoration:underline}


.hl{color:var(--rost)}
.blau{color:#0060c0;font-weight:700}
.rot{color:#b3261e}
.text p+h2,.text ul+h2,.text ul+p,.zusatz p+h2{margin-top:1.8em}
.text .eng{margin-bottom:.8em}
.text ul+p{margin-bottom:0}
.text h2.nah{margin-top:0}
.text .frei{margin-bottom:0}
.zusatz{grid-area:zusatz;margin-top:18px}
.zusatz h2{color:var(--rost);font-size:15px;line-height:1.4;font-weight:700;letter-spacing:1px;margin:0 0 6px}
.zusatz p{margin:0 0 1em}
.titel .wort{font-family:Georgia,"Times New Roman",serif;color:#7a7461;font-size:14px;line-height:1.25}
.linkliste{list-style:none!important;padding:0!important;margin:0 0 1.6em!important}
.linkliste li{padding:1px 0}
.zurueck{font-weight:700;letter-spacing:1px;margin:1.2em 0 0;text-align:right}
.plan{margin:0}
.plan img{width:100%;max-width:320px;mix-blend-mode:multiply}
.nummern{margin:0;display:grid;grid-template-columns:auto auto;gap:6px 18px;justify-content:start}
.nummern dt,.nummern dd{margin:0}
.nummern a{text-decoration:none;white-space:nowrap}
.nummern .dringend,.nummern .dringend a{color:#b3261e}

/* Dr. Monika Togler: gespiegeltes Buch, Menue links, Text rechts */
.mt .inhalt{grid-template-columns:302px 1fr;column-gap:44px;
  grid-template-areas:"titel text" "zusatz text" "wege text" "kontakt pager";
  grid-template-rows:auto auto 1fr auto;padding-left:12px;padding-right:6px}
.kt .inhalt{grid-template-areas:"text titel" "text zusatz" "text wege" "pager kontakt";grid-template-rows:auto auto 1fr auto}
.mt .titel{text-align:left}
.mt .titel img{margin-left:0}
.mt .titel .wechsel{justify-items:start}
.foto a{display:block}
.foto figcaption{font-size:13px;text-align:right;margin-top:4px}
.foto.frei-b{flex:none;width:auto}
.foto.frei-b img{width:auto}
.wege.gestapelt{flex-direction:column-reverse;align-items:stretch;justify-content:flex-end;gap:14px}
.wege.gestapelt .foto{align-self:flex-end;flex:none}
.wege.gestapelt .haupt{align-self:flex-start}
.foto img.ohne-grund{mix-blend-mode:multiply}
.logo{display:block;margin:0 0 16px}
.haftnotiz{width:176px;height:155px;margin:0;background:url(assets/haftnotiz-gruen.jpg) center/contain no-repeat;
  display:grid;place-items:center;
  font:100px/1 "Times New Roman",Georgia,serif;color:#b22222}

/* Verteilerseite mit beiden Praxen */
.start .inhalt{grid-template-columns:312px 1fr;grid-template-areas:"mt kt";grid-template-rows:auto;min-height:540px;padding:8px 6px 8px 12px}
.praxis-seite{position:relative;display:flex;flex-direction:column;min-height:524px}
.praxis-seite.kt-seite{grid-area:kt}
.praxis-seite.mt-seite{grid-area:mt}
.praxis-seite .titel{margin-bottom:auto}
.praxis-seite .haupt{margin:24px 0 0 60px}
.kt-seite .haupt{margin-left:0}
.deko{position:absolute;pointer-events:none}
.deko-globuli{left:150px;top:176px}
.deko-pflaster{right:6px;bottom:30px}
.deko-logo{left:0;top:112px}
.praxis-seite .kontakt{margin-top:18px}

/* Einstieg: geschlossenes Notizbuch */
.deckel{min-height:100vh;display:grid;place-content:center;padding:24px 16px;
  grid-template-columns:minmax(0,230px) 259px minmax(0,230px);column-gap:8px;
  grid-template-areas:"links buch rechts" "fuss fuss fuss" "recht recht recht"}
.deckel-bild{grid-area:buch}
.deckel-links{grid-area:links;text-align:right;padding-top:80px}
.deckel-rechts{grid-area:rechts;padding-top:0}
.deckel ul{list-style:none;margin:0;padding:0;letter-spacing:3px;font-size:14px;line-height:22px}
.deckel li{margin-bottom:15px}
.deckel-links li.versetzt{margin-top:37px}
.deckel-rechts .aktuell-gross{display:block;font-size:24px;font-weight:700;letter-spacing:2px;color:var(--rost);margin:6px 0 40px 56px}
.deckel-rechts .aktuell-gross::before{content:"***";font-size:13px}
.deckel-rechts li.versetzt{margin-top:58px}
.deckel a.not{font-weight:700;color:var(--rost);text-decoration:none}
.deckel-fuss{grid-area:fuss;text-align:center;margin:10px 0 0}
.deckel-fuss a{color:var(--rost);font-weight:700;font-size:16px;letter-spacing:6px}
.deckel h1{position:absolute;left:-999px}

/* Schlichte Seiten: Aktuelles, Rechtliches, Nachweis */
.schlicht{max-width:680px;margin:0 auto;padding:32px 20px}
.schlicht h1{color:var(--rost);font-size:20px;letter-spacing:1px;margin:0 0 16px}
.schlicht ul{padding-left:24px}
.schlicht h2{color:var(--rost);font-size:16px;line-height:1.4;letter-spacing:1px;margin:1.8em 0 .4em}
.deckel-recht{grid-area:recht;text-align:center;margin:8px 0 0;font-size:14px}
.schlicht li{margin-bottom:.8em;overflow-wrap:anywhere}
.schlicht .zurueck{text-align:left}
.aushang{background:#e1d1af;padding:clamp(20px,5vw,40px);text-align:center;font-size:clamp(17px,3vw,21px);line-height:1.4}
.aushang h1{color:#2f5f5f;font-size:clamp(30px,6vw,44px);margin:0 0 16px;letter-spacing:0}
.aushang h2{color:#00597f;font-weight:400;font-size:clamp(26px,5vw,38px);margin:1.4em 0 .5em}
.aushang p{margin:0 0 1em}
.a-rot{color:#900;font-weight:700}
.a-blau{color:#0052a8;font-weight:700}
.a-gruen{color:#005a5a}
.a-grau{color:#555}
.a-not{color:#8a4600}
.a-rettung{color:#903;font-weight:700;font-size:1.25em;margin:0}
.aushang a{color:inherit;text-decoration:underline}
.aushang a.a-not{color:#8a4600}
.schlicht a{color:var(--rost-dunkel)}
.text,.zusatz{overflow-wrap:break-word;hyphens:manual}
.mt-seite .titel{text-align:left}
.mt-seite .titel img{margin-left:0}
.mt-seite .titel .wechsel{justify-items:start}

/* Schmal: das Buch wird zu einer einzelnen Seite */
@media (max-width:757px){
  .seite{padding-top:12px}
  .buch{background:
    url(assets/buch-links.jpg) left 33px / 32px calc(100% - 60px) no-repeat,
    url(assets/buch-rechts.jpg) right 33px / 35px calc(100% - 60px) no-repeat,
    linear-gradient(var(--seite),var(--seite)) 20px 0 / calc(100% - 40px) 100% no-repeat}
  .kt .inhalt,.mt .inhalt,.start .inhalt{grid-template-columns:minmax(0,1fr);column-gap:0;min-height:0;
    grid-template-rows:none;padding:8px 2px 8px 0}
  .kt .inhalt,.mt .inhalt{grid-template-areas:"titel" "wege" "text" "zusatz" "pager" "kontakt"}
  .mt .titel{text-align:right}
  .mt .titel img{margin-left:auto}
  .mt .titel .wechsel{justify-items:end}
  .wege{margin-top:20px}
  .foto{flex:0 1 150px;width:auto;min-width:0}
  .foto.frei-b{flex:0 1 auto}
  .foto.frei-b img{width:100%}
  .wege.gestapelt{flex-direction:column}
  .wege.gestapelt .foto{align-self:flex-end;max-width:100%}
  .text,.zusatz{hyphens:auto}
  .text{margin-top:30px;font-size:16px;align-self:auto}
  .zusatz{font-size:16px;margin-top:20px}
  .text h2,.zusatz h2{font-size:16px}
  .text p{margin-bottom:1.5em}
  .kontakt{font-size:16px;margin-top:22px;flex-direction:column;gap:6px}
  .kontakt a{display:block;padding:4px 0}
  .haupt li{margin-top:8px}
  .start .inhalt{grid-template-areas:"mt" "kt"}
  .praxis-seite{min-height:0}
  .praxis-seite.kt-seite{margin-top:26px;padding-top:24px;border-top:1px solid #cfd6d2}
  .praxis-seite .titel{margin-bottom:14px}
  .praxis-seite .haupt{margin:14px 0 0}
  .praxis-seite .kontakt{align-self:flex-start}
  .deko-globuli{right:6px;left:auto;top:auto;bottom:90px}
  .deko-pflaster{right:0;bottom:90px;width:112px;height:auto}
  .deko-logo{left:0;top:30px}
  .deckel{min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12px;
    grid-template-areas:"buch buch" "links rechts" "fuss fuss" "recht recht";padding-top:20px}
  .deckel-bild{justify-self:center;margin-bottom:22px}
  .deckel-links,.deckel-rechts{padding-top:0;text-align:left}
  .deckel ul{letter-spacing:1px;font-size:15px}
  .deckel li{margin-bottom:10px;overflow-wrap:anywhere}
  .deckel-links li.versetzt,.deckel-rechts li.versetzt{margin-top:0}
  .deckel-rechts .aktuell-gross{margin:0 0 10px;font-size:20px}
  .deckel-links{padding-top:40px}
  .deckel-fuss a{letter-spacing:3px}
}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:auto}}
@media print{body{background:#fff}.oben,.wege .haupt,.pager{display:none}}
