/* dr-schilke.de – statische Fassung, angelehnt an WordPress-Theme „Twenty Seventeen“ (dunkel) */

@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/libre-franklin-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/libre-franklin-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/libre-franklin-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/libre-franklin-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/libre-franklin-latin-800-normal.woff2") format("woff2"); }

:root {
  --bg: #222;
  --bg-footer: #1b1b1b;
  --text: #ddd;
  --text-muted: #aaa;
  --heading: #eee;
  --line: #333;
  --link: #fff;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.66;
}

a { color: var(--link); text-decoration: underline; text-decoration-color: #666; text-underline-offset: 3px; }
a:hover, a:focus { text-decoration-color: currentColor; }

img { max-width: 100%; height: auto; display: block; }

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

/* ---------- Kopfbereich ---------- */

.site-header {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #111;
}
.home .site-header { min-height: 78vh; }

.site-header .header-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 30% 35%;
}
.site-header::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,.45) 100%);
}

.site-branding {
  position: relative; z-index: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
}
.site-title {
  margin: 0;
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.25;
  text-transform: uppercase;
  color: #fff;
}
.site-title a { color: inherit; text-decoration: none; }
.site-description {
  margin: .25rem 0 0;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,.85);
}

/* ---------- Navigation ---------- */

.main-navigation {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.main-navigation ul {
  list-style: none;
  margin: 0 auto;
  padding: .5rem 1rem;
  max-width: 1000px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem 1.75rem;
}
.main-navigation a {
  display: block;
  padding: .6rem .25rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.main-navigation a:hover,
.main-navigation a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 #888; }

/* ---------- Inhalt ---------- */

.site-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 3rem;
}

.entry-title {
  margin: 0 0 1.5rem;
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--heading);
}

.entry-content p { margin: 0 0 1.5em; }
.entry-content h2 {
  margin: 2.5rem 0 .75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--heading);
}
.entry-content h3 {
  margin: 2rem 0 .5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
}

.lead { font-size: 1.25rem; font-weight: 300; line-height: 1.5; color: var(--heading); }

.panel-image {
  height: 55vh;
  min-height: 260px;
  background: url("bilder/meer-1024.jpg") center / cover no-repeat;
  margin: 0;
}
@media (max-width: 480px) {
  .main-navigation ul { gap: 0 1rem; padding: .4rem .5rem; }
  .main-navigation a { font-size: .8125rem; }
}

.panel { border-top: 1px solid var(--line); }

/* ---------- Fußbereich ---------- */

.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--line);
  font-size: .875rem;
  color: var(--text-muted);
}
.footer-widgets {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 720px) {
  .footer-widgets { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.widget-title {
  margin: 0 0 1rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--heading);
}
.footer-widgets p { margin: 0 0 1em; }
.footer-widgets strong { color: var(--text); }

.site-info {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2rem;
}
.site-info a { color: var(--text-muted); }
.site-info a + a::before { content: "/"; margin: 0 .6em; color: #555; display: inline-block; }

@media print {
  body { background: #fff; color: #000; }
  .site-header { min-height: 0 !important; background: none; }
  .site-header .header-image, .site-header::after, .main-navigation, .panel-image { display: none; }
  .site-title, .site-description { color: #000; }
  .site-footer { background: none; color: #333; }
}
