/* Dr Freeze | Kuriose Medizin – gemeinsames Stylesheet
   Schrift: Lora (SIL Open Font License), lokal eingebunden – keine Anfragen an fremde Server. */

@font-face {
  font-family: "Lora";
  src: url("Lora-Variable.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("Lora-Italic-Variable.woff") format("woff");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --holz-tief: #1C120B;
  --holz: #2B1B11;
  --holz-hell: #4A2E1B;
  --wand: #34402E;
  --messing: #C99A4B;
  --messing-hell: #EBCB8B;
  --messing-dunkel: #7A5622;
  --papier: #EFE3C8;
  --papier-dunkel: #DCCBA6;
  --tinte: #2A1E15;
  --tinte-blass: #6B5A47;
  --licht: #F5E6C8;
  --serif: "Lora", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--holz-tief);
  color: var(--licht);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--messing-hell); text-underline-offset: 3px; }
a:hover { color: #fff3d6; }
:focus-visible { outline: 3px solid var(--messing-hell); outline-offset: 3px; }

.huelle { width: min(100% - 40px, 1080px); margin-inline: auto; }

/* ---------- Kopfbereich mit Praxisschild ---------- */
.kopf {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px 20px 64px;
  isolation: isolate;
}
.kopf-bild {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
}
.kopf::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 42%, rgba(20,13,8,.15), rgba(20,13,8,.55) 70%),
    linear-gradient(to bottom, rgba(28,18,11,0) 55%, var(--holz-tief) 100%);
}
.kopf-inhalt { display: grid; justify-items: center; gap: 28px; text-align: center; }

.schild {
  margin: 0;
  width: min(100%, 560px);
  line-height: 0;
}
.schild img {
  display: block;
  width: 100%; height: auto;
  border-radius: 4px;
  box-shadow: 0 22px 50px rgba(0,0,0,.55), 0 4px 10px rgba(0,0,0,.35);
}

.leitsatz {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(19px, 4.4vw, 23px);
  line-height: 1.45;
  color: var(--licht);
  text-shadow: 0 2px 14px rgba(0,0,0,.85);
}

.kanaele { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0; margin: 0; list-style: none; }
.kanal {
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 150px; justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  background: rgba(28,18,11,.82);
  border: 1.5px solid var(--messing);
  color: var(--licht);
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(3px);
}
.kanal:hover { background: var(--holz-hell); color: #fff; }
.kanal svg { width: 20px; height: 20px; fill: var(--messing-hell); flex: none; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 72px 0; }
.abschnitt h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 6vw, 42px);
  line-height: 1.15;
  font-weight: 600;
  color: var(--licht);
}
.abschnitt .einleitung { margin: 0 0 32px; max-width: 58ch; color: #CDBB9C; }

/* Karteikarten für Videos */
.faelle { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; padding: 0; margin: 0; list-style: none; }
.fall {
  background: var(--papier);
  color: var(--tinte);
  border-radius: 3px;
  padding: 10px 10px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
  display: flex; flex-direction: column;
}
.fall a.fall-link, .fall .fall-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.fall-bild { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; }
.fall-bild img { width: 100%; height: 100%; object-fit: cover; }
.fall-status {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(28,18,11,.85); color: var(--messing-hell);
  border: 1px solid var(--messing);
  font-size: 13px; padding: 2px 10px; border-radius: 999px;
}
.fall h3 { margin: 12px 4px 2px; font-size: 20px; line-height: 1.25; font-weight: 600; }
.fall .reihe { margin: 0 4px; font-size: 14px; font-style: italic; color: var(--tinte-blass); }
.fall a.fall-link:hover h3 { text-decoration: underline; }

/* Reihen */
.reihen { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.reihen li { padding: 16px 0 18px; border-top: 1px solid rgba(201,154,75,.35); }
.reihen strong { display: block; font-size: 21px; font-weight: 600; color: var(--messing-hell); }
.reihen span { color: #D8C7A6; font-size: 16px; }

/* Über mich */
.ueber {
  position: relative; isolation: isolate;
  background: url("arztzimmer-breit.jpg") center 35% / cover no-repeat;
}
.ueber::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,13,8,.92) 0%, rgba(20,13,8,.78) 55%, rgba(20,13,8,.55) 100%); }
.ueber-raster { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: center; }
.portraet {
  width: 220px; aspect-ratio: 4 / 5; border-radius: 50% / 46%;
  overflow: hidden;
  box-shadow: 0 0 0 4px var(--messing), 0 0 0 8px var(--holz), 0 0 0 10px var(--messing-dunkel), 0 18px 40px rgba(0,0,0,.6);
}
.portraet img { width: 100%; height: 100%; object-fit: cover; }
.ueber p { max-width: 60ch; }
.hinweis {
  margin-top: 22px; padding: 14px 18px;
  border-left: 3px solid var(--messing);
  background: rgba(28,18,11,.65);
  font-size: 16px; color: #E3D3B4;
}

/* Quellen-Hinweis */
.beleg {
  display: grid; grid-template-columns: 1fr minmax(200px, 340px); gap: 40px; align-items: center;
}
.beleg-bild { border-radius: 3px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 14px 32px rgba(0,0,0,.5); }
.beleg-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 92%; }
.knopf {
  display: inline-block; margin-top: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--messing); color: var(--holz-tief);
  font-weight: 700; text-decoration: none;
}
.knopf:hover { background: var(--messing-hell); color: var(--holz-tief); }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.kontakt li { background: var(--holz); border: 1px solid rgba(201,154,75,.35); border-radius: 4px; padding: 22px 24px; }
.kontakt h3 { margin: 0 0 6px; font-size: 22px; font-weight: 600; }
.kontakt p { margin: 0 0 10px; color: #D8C7A6; font-size: 16px; }

/* Fußzeile */
.fuss { border-top: 1px solid rgba(201,154,75,.3); padding: 28px 0 40px; font-size: 15px; color: #A8967A; }
.fuss .huelle { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
.fuss a { color: #D8C7A6; }

/* ---------- Papierseiten (Quellen, Impressum, Datenschutz) ---------- */
.seitenkopf {
  position: relative; isolation: isolate;
  padding: 34px 0 120px;
  background: url("quellen-kopf.jpg") center 30% / cover no-repeat;
}
.seitenkopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(20,13,8,.55), rgba(28,18,11,.9) 85%, var(--holz-tief)); }
.seitenkopf a { color: var(--licht); }
.markenzeile { font-weight: 700; font-size: 20px; text-decoration: none; }
.markenzeile em { font-weight: 400; }

.blatt {
  width: min(100% - 32px, 780px);
  margin: -80px auto 0;
  background: var(--papier);
  color: var(--tinte);
  border-radius: 3px;
  padding: 36px clamp(20px, 5vw, 52px) 44px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  position: relative;
}
.blatt h1 { margin: 0 0 8px; font-size: clamp(32px, 7vw, 44px); line-height: 1.1; font-weight: 600; }
.blatt h2 { margin: 34px 0 6px; font-size: 26px; line-height: 1.2; font-weight: 600; }
.blatt h3 { margin: 18px 0 4px; font-size: 16px; font-weight: 600; color: var(--tinte-blass); font-style: italic; }
.blatt p { margin: 0 0 10px; }
.blatt a { color: #6A3F14; }
.blatt a:hover { color: var(--tinte); }
.blatt .einleitung { color: var(--tinte-blass); max-width: 60ch; }

.sprungliste { margin: 22px 0 6px; padding: 14px 0; border-top: 1px solid var(--papier-dunkel); border-bottom: 1px solid var(--papier-dunkel); }
.sprungliste ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }

.liste { list-style: none; margin: 0; padding: 0; }
.liste li { display: grid; grid-template-columns: 1fr auto; column-gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--papier-dunkel); }
.liste .was { grid-column: 1; }
.liste .wer { grid-column: 1; font-size: 15px; color: var(--tinte-blass); }
.liste .lizenz { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin-top: 4px; font-size: 13px; white-space: nowrap; border: 1px solid var(--tinte-blass); border-radius: 3px; padding: 0 7px; }
.platzhalter { background: #FFE7A3; padding: 0 4px; }

.blatt-fuss { width: min(100% - 32px, 780px); margin: 22px auto 40px; display: flex; gap: 24px; font-size: 15px; }
.blatt-fuss a { color: #D8C7A6; }

/* ---------- Mobil ---------- */
@media (max-width: 720px) {
  body { font-size: 17px; }
  .kopf { padding-top: 32px; }
  .kanal { min-width: 0; flex: 1 1 140px; }
  .faelle { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .fall { padding: 7px 7px 12px; }
  .fall h3 { font-size: 16px; margin: 10px 2px 2px; }
  .fall .reihe { font-size: 13px; margin: 0 2px; }
  .fall-status { left: 6px; bottom: 6px; font-size: 12px; padding: 1px 8px; }
  .abschnitt { padding: 56px 0; }
  .ueber { background-image: url("arztzimmer-hoch.jpg"); background-position: center 20%; }
  .ueber::before { background: linear-gradient(to bottom, rgba(20,13,8,.6), rgba(20,13,8,.92) 40%); }
  .ueber-raster { grid-template-columns: 1fr; gap: 28px; }
  .portraet { width: 170px; }
  .beleg { grid-template-columns: 1fr; }
  .liste li { grid-template-columns: 1fr; }
  .liste .lizenz { grid-column: 1; grid-row: auto; justify-self: start; }
}
