/* Schrift EB Garamond: wird genutzt, wenn die Dateien im Ordner "schrift" liegen,
   sonst greift der Browser auf Garamond, Hoefler Text, Baskerville oder Georgia zurück. */
@font-face { font-family: "EB Garamond"; src: local("EB Garamond"), url("schrift/EBGaramond-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: local("EB Garamond Italic"), url("schrift/EBGaramond-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: local("EB Garamond Bold"), url("schrift/EBGaramond-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: local("EB Garamond Bold Italic"), url("schrift/EBGaramond-BoldItalic.ttf") format("truetype"); font-weight: 700; font-style: italic; font-display: swap; }

/* PAMP-Immuntherapie – schlichtes, gut lesbares Layout */
:root {
  --text: #1f2328;
  --leise: #5b636b;
  --akzent: #1d5c63;
  --akzent-hell: #e6f0f0;
  --linie: #d9dee2;
  --grund: #ffffff;
  --kopf: #f6f8f8;
}

* { box-sizing: border-box; }

html { font-size: 100%; }            /* 16 px Grundschrift */

body {
  margin: 0;
  color: var(--text);
  background: var(--grund);
  font-family: "EB Garamond", Garamond, "Garamond Premier Pro", "Adobe Garamond Pro", "Hoefler Text", Baskerville, Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.6;
}

.breite { max-width: 67rem; margin: 0 auto; padding: 0 1.25rem; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem; z-index: 10; }

/* Kopf und Menü */
.kopf { background: var(--kopf) url(bilder/kopf.svg) center bottom / cover no-repeat; border-bottom: 1px solid #e9d6c4; padding: 1.25rem 0 .75rem; }
.marke {
  display: block; font-size: 1.2rem; font-weight: bold; color: var(--akzent);
  text-decoration: none; margin-bottom: .6rem; letter-spacing: .01em;
}
.marke span { font-weight: inherit; color: inherit; }
.kopf nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .4rem; }
.kopf nav a {
  display: inline-block; padding: .3rem .6rem; border-radius: .35rem;
  font-size: .95rem;
  color: var(--text); text-decoration: none;
}
.kopf nav a { background: rgba(255,255,255,.6); }
.kopf nav a:hover { background: var(--akzent-hell); }
.kopf nav a[aria-current="page"] { background: var(--akzent); color: #fff; }

/* Inhalt */
main.breite { padding-top: 2.25rem; padding-bottom: 3rem; }
main.breite { display: grid; grid-template-columns: minmax(0, 48.5rem) 13rem; gap: 3rem; align-items: start; }
article { max-width: 48.5rem; }
.rand { padding-top: 3.6rem; font-size: .88rem; color: var(--leise); line-height: 1.5; }
.rand img { display: block; border: 1px solid var(--linie); border-radius: .3rem; }
.unterschrift { margin-top: .6rem; }
@media (max-width: 760px) {
  main.breite { display: block; }
  .rand { padding-top: 1rem; border-top: 1px solid var(--linie); margin-top: 1.5rem; }
}
h1 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 1.25rem; color: var(--akzent); }
h2 { font-size: 1.15rem; line-height: 1.35; margin: 2rem 0 .5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 .4rem; }
p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: .35rem; }
a { color: var(--akzent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }
blockquote {
  margin: 1.25rem 0; padding: .75rem 1rem; border-left: 4px solid var(--akzent);
  background: var(--akzent-hell); font-style: italic;
}
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .95rem; }
td, th { border: 1px solid var(--linie); padding: .4rem .6rem; vertical-align: top; text-align: left; }

/* Links auf PDF-Dateien kennzeichnen */
a[href$=".pdf"]::after { content: " (PDF)"; font-size: .8em; color: var(--leise); }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); background: var(--kopf); padding: 1.25rem 0; color: var(--leise); font-size: .9rem; }
.fuss p { margin: .2rem 0; }

@media print {
  .kopf nav, .fuss, .skip { display: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}

.adresse { line-height: 1.5; }
.mailbild { height: 1.375em; width: auto; vertical-align: -0.47em; }
.mail .mailbild { height: 1.6em; }
