/* =====================================================================
   hedtke.eu – Farben, Schrift und Breite zentral anpassen
   ===================================================================== */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Raleway"), local("Raleway Regular"), local("Raleway-Regular"),
       url("fonts/raleway-regular.woff2") format("woff2"),
       url("fonts/raleway-regular.woff") format("woff");
}

:root {
  --text: #222222;
  --heading: #195163;
  --link: #195163;
  --line: rgba(25, 81, 99, .35);
  --panel: rgba(150, 192, 206, 0.8);
  --panel-w: 760px;
  --gap: 50px;
  --font: "Raleway", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; font-size: 20px; }
body {
  margin: 0;
  min-height: 100%;
  background: #4a5b61;
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.4;
}
/* Festes Hintergrundfoto (funktioniert auch auf iOS) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #4a5b61 url("../images/bauforschung_britta_hedtke.jpg") center / cover no-repeat;
}
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration: none; }
a:focus-visible { outline: 2px solid var(--heading); outline-offset: 3px; }

/* ---------- Inhalt: Streifen am linken Rand ---------- */
.content {
  width: min(var(--panel-w), 100% - 2 * var(--gap));
  margin: var(--gap) var(--gap) 12px var(--gap);
  padding: 36px 44px 40px;
  background: var(--panel);
  overflow-wrap: anywhere;
}
.content::after { content: ""; display: block; clear: both; }
.content h1, .content h2, .content h3, .content h4 {
  color: var(--heading);
  font-family: var(--font);
  font-weight: 400;
}
.content h1 { font-size: 1.9rem; margin: 0 0 .4rem; line-height: 1.2; }
.content h2 { font-size: 1.4rem; margin: 2.2rem 0 .9rem; padding-bottom: .3rem; border-bottom: 1px solid var(--line); }
.content h3 { font-size: 1.15rem; margin: 1.8rem 0 .7rem; }
.content h4 { font-size: 1.05rem; margin: 1.4rem 0 .6rem; }
.content p { margin: 0 0 1rem; }
.content ul { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.content li { margin-bottom: .6rem; }
.content hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.content strong { font-weight: 700; }
.lead { margin: 0 0 1.4rem; color: var(--heading); }
.portrait {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: 50% 25%;
  margin: 0 0 1.6rem;
}
.contact { font-style: normal; margin: 0 0 1.5rem; }
.pubs { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.pubs li {
  position: relative;
  margin: 0;
  padding: .8rem 0 .8rem 2.3rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.4;
}
.pubs li:last-child { border-bottom: 0; }
.pubs li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: .95rem;
  width: 1.3rem;
  height: 1.3rem;
  background: var(--heading);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
/* Listensymbol: Pfeil */
.pubs { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 12h15M13 6l6 6-6 6'/></svg>"); }

/* ---------- Footer: eigener Streifen mit Abstand unter dem Inhalt ---------- */
.site-footer {
  width: min(var(--panel-w), 100% - 2 * var(--gap));
  margin: 0 var(--gap) var(--gap) var(--gap);
  padding: 14px 44px;
  background: var(--panel);
  color: var(--heading);
  font-size: .95rem;
}
.site-footer a { color: var(--heading); }
.site-footer a[aria-current="page"] { text-decoration: none; font-weight: 700; }
.site-footer .credit { margin: .3rem 0 0; font-size: .85rem; }

@media (max-width: 600px) {
  :root { --gap: 12px; }
  html { font-size: 18px; }
  .content { padding: 22px 18px 26px; }
  .content h1 { font-size: 1.6rem; }
  .portrait { max-height: 320px; }
  .site-footer { padding: 14px 18px; }
  .pubs li { padding-left: 2.1rem; }
}
@media print {
  body::before { display: none; }
  .content, .site-footer { background: #fff; }
}
