/* Löwen-Apotheke Bitterfeld – Erinnerungsseite
   Eigene, ruhige Optik (Papier + Apotheken-Rot), RoKo-Block im RoKo-Look. */

@font-face {
  font-family: 'Poppins';
  src: url('fonts/poppins-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/poppins-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

@font-face {
  font-family: 'Besley';   /* Open-Source-Clarendon, kommt dem Leuchtkasten-Schriftzug am nächsten */
  src: url('fonts/besley-latin-800-normal.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}

:root {
  --papier: #faf6ef;
  --papier-dunkel: #f1eadd;
  --tinte: #2a2622;
  --tinte-weich: #6a625a;
  --linie: #ddd3c3;
  --rot: #b1121d;            /* Apotheken-Rot, dezent eingesetzt */
  --rot-dunkel: #8a0e16;
  --rot-schild: #d2202c;     /* leuchtenderes Rot nur für den Schriftzug auf Schwarz */
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  /* RoKo-Welt */
  --roko-blau: #1f368c;
  --roko-gruen: #91d73c;
  --roko-flaeche: #f4f6f9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Barrierefreiheit: Sprunglink + deutlich sichtbarer Tastaturfokus */
.sprung { position: absolute; left: 12px; top: -60px; z-index: 10; background: #fff; color: #121212; padding: 10px 16px; border-radius: 6px; font: 600 1rem var(--sans); }
.sprung:focus { top: 12px; }
:focus-visible { outline: 3px solid #1a5fd0; outline-offset: 3px; border-radius: 3px; }
.kopf :focus-visible, .fuss :focus-visible, .logoband :focus-visible { outline-color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font: 18px/1.7 var(--serif);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot-dunkel); }
a:hover { color: var(--rot); }

.wrap { max-width: 920px; margin: 0 auto; padding: 0 22px; }
.schmal { max-width: 700px; }

/* Kopf: Hommage an den Leuchtkasten über der Apotheke (rote Egyptienne, weiße Kontur, schwarzes Band) */
.kopf { background: #121212; border-bottom: 3px solid var(--rot); padding: 14px 0; }
.kopf .wrap { display: flex; align-items: center; justify-content: center; gap: 20px; }
.kopf a { display: block; line-height: 0; }
.kopf img { width: 44px; height: auto; }
.kopf .balken { flex: 1 1 40px; max-width: 120px; height: 5px; background: var(--rot-schild); box-shadow: 0 0 0 1px rgba(255,255,255,.75); }
.kopf .name {
  font: 800 clamp(1.05rem, 3.4vw, 1.9rem)/1.1 'Besley', Georgia, serif;
  text-transform: uppercase; letter-spacing: .2em; margin-right: -.2em; white-space: nowrap;
  color: var(--rot-schild);
  -webkit-text-stroke: 1px rgba(255,255,255,.9); paint-order: stroke fill;
}
.kopf .name span { display: inline-block; }
.unterkopf { text-align: center; font-size: .95rem; color: var(--tinte-weich); font-style: italic; padding: 12px 22px 0; }
.unterkopf b { font-style: normal; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: var(--tinte); margin-right: 8px; }

/* Abschied */
.abschied { padding: 56px 0 40px; text-align: center; }
.jahre {
  display: inline-block; font: 600 .8rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--rot); border: 1px solid var(--rot); border-radius: 999px; padding: 9px 18px; margin-bottom: 26px;
}
h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.15; margin: 0 0 22px; font-weight: 700; }
.abschied p { margin: 0 auto 1em; }
.lead { font-size: 1.15rem; }

/* Fotos im Album-Stil (die Originale sind klein, daher bewusst gerahmt statt vollflächig) */
.foto {
  margin: 0; background: #fff; padding: 10px 10px 0; border: 1px solid var(--linie);
  box-shadow: 0 2px 10px rgba(60, 40, 20, .10);
}
.foto figcaption {
  font: .82rem/1.4 var(--sans); color: var(--tinte-weich); padding: 9px 2px 11px; text-align: center;
}
.foto figcaption b { color: var(--tinte); font-weight: 600; }
.titelpaar { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 38px auto 0; max-width: 820px; align-items: end; }
.titelpaar .foto:first-child { transform: rotate(-1.2deg); }
.titelpaar .foto:last-child { transform: rotate(1deg); }

/* Abschnitte */
section { padding: 56px 0; }
section.getont { background: var(--papier-dunkel); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1.25; margin: 0 0 8px; }
.unterzeile { color: var(--tinte-weich); margin: 0 0 30px; }
h2::after { content: ''; display: block; width: 54px; height: 3px; background: var(--rot); margin-top: 14px; }
.mittig { text-align: center; }
.mittig h2::after { margin-left: auto; margin-right: auto; }

/* RoKo-Block */
.roko { font-family: 'Poppins', var(--sans); background: #fff; color: #202020; padding: 60px 0; border-top: 5px solid var(--roko-gruen); }
.roko h2 { font-family: inherit; color: var(--roko-blau); font-weight: 600; }
.roko h2::after { background: var(--roko-gruen); }
.roko p { font-size: 1rem; line-height: 1.7; }
.roko a { color: var(--roko-blau); }
.roko .dachband { background: var(--roko-blau); border-radius: 14px; padding: 22px 30px; display: inline-block; margin-bottom: 26px; }
.roko .dach { width: 200px; margin: 0; }
.standorte { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; text-align: left; }
.standort { background: var(--roko-flaeche); border-radius: 14px; padding: 0 26px 26px; display: flex; flex-direction: column; overflow: hidden; }
.standort .logoband { background: var(--roko-blau); margin: 0 -26px 20px; padding: 18px 26px; }
.standort .logo { height: 58px; width: auto; }
.standort .person { background: #fff; border-left: 4px solid var(--roko-gruen); border-radius: 6px; padding: 12px 14px; font-size: .95rem; line-height: 1.55; margin-bottom: 16px; }
.standort .person b { color: var(--roko-blau); }
.standort address { font-style: normal; font-size: .95rem; line-height: 1.65; margin-bottom: 12px; }
.standort table { font-size: .92rem; border-collapse: collapse; margin-bottom: 18px; }
.standort td, .standort th { padding: 1px 14px 1px 0; vertical-align: top; text-align: left; font-weight: 400; }
.knoepfe { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.knopf {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: .9rem; border-radius: 999px;
  padding: 10px 18px; background: var(--roko-blau); color: #fff !important; border: 2px solid var(--roko-blau);
}
.knopf.hell { background: transparent; color: var(--roko-blau) !important; }
.knopf:hover { opacity: .88; }
.roko .mehr { margin-top: 30px; font-size: .95rem; }

/* Chronik */
.chronik { list-style: none; margin: 0; padding: 0; position: relative; }
.chronik::before { content: ''; position: absolute; left: 86px; top: 8px; bottom: 8px; width: 2px; background: var(--linie); }
.chronik li { position: relative; padding: 0 0 30px 122px; min-height: 40px; }
.chronik li:last-child { padding-bottom: 0; }
.chronik .jahr { position: absolute; left: 0; top: 0; width: 70px; text-align: right; font: 700 1.05rem/1.7 var(--sans); color: var(--rot-dunkel); }
.chronik li::before { content: ''; position: absolute; left: 80px; top: 9px; width: 14px; height: 14px; border-radius: 50%; background: var(--papier); border: 3px solid var(--rot); }
.chronik li.ende::before { background: var(--rot); }
.chronik h3 { margin: 0 0 4px; font-size: 1.12rem; line-height: 1.4; }
.chronik p { margin: 0; color: #453f39; }

/* Galerie */
.paare { display: grid; gap: 34px; margin-top: 10px; }
.paar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.paar h3 { grid-column: 1 / -1; margin: 0 0 -6px; font-size: 1.15rem; }
.paar .breit { grid-column: 1 / -1; max-width: 520px; margin: 0 auto; }
.paar.hoch { grid-template-columns: 0.72fr 1fr; }
.einzel { max-width: 520px; margin: 40px auto 0; }

/* Fuß */
.fuss { background: var(--tinte); color: #cfc7bc; font: .88rem/1.7 var(--sans); padding: 34px 0; text-align: center; }
.fuss a { color: #fff; margin: 0 10px; }
.fuss .klein { opacity: .7; margin-top: 8px; }

/* Rechtstexte */
.recht { padding: 40px 0 70px; font: 1rem/1.7 var(--sans); }
.recht h1 { font: 700 2rem/1.2 var(--serif); margin-bottom: 26px; }
.recht h2 { font: 700 1.2rem/1.3 var(--sans); margin: 34px 0 8px; }
.recht h2::after { display: none; }
.recht h3 { font-size: 1rem; margin: 22px 0 4px; }
.recht p { margin: 0 0 12px; }
.zurueck { display: inline-block; margin: 26px 0 0; font: .95rem var(--sans); }

@media (max-width: 720px) {
  body { font-size: 17px; }
  .standorte, .paar, .paar.hoch { grid-template-columns: 1fr; }
  .standorte { max-width: 460px; margin-left: auto; margin-right: auto; }
  .standort th, .standort td { white-space: nowrap; padding-right: 10px; }
  .standort table { font-size: .86rem; }
  .titelpaar { gap: 12px; }
  .kopf .wrap { gap: 12px; }
  .kopf .balken { display: none; }
  .kopf img { width: 34px; }
  .kopf .name { letter-spacing: .1em; margin-right: -.1em; font-size: clamp(.95rem, 5vw, 1.4rem); -webkit-text-stroke-width: .6px; }
  .chronik::before { left: 6px; }
  .chronik li { padding-left: 32px; }
  .chronik li::before { left: 0; }
  .chronik .jahr { position: static; width: auto; text-align: left; display: block; }
  section { padding: 42px 0; }
}

/* Sehr schmale Geräte (z. B. 320 px oder starker Zoom): Öffnungszeiten dürfen wieder umbrechen */
@media (max-width: 370px) {
  .standort th, .standort td { white-space: normal; }
}
