/* Freie OFL-Schriften wie in den UntermStrich-Planern, lokal ausgeliefert (keine Google Fonts). */
@font-face { font-family: "Libre Baskerville"; font-weight: 700; src: url("/fonts/LibreBaskerville-Bold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Libre Baskerville"; font-style: italic; font-weight: 400; src: url("/fonts/LibreBaskerville-Italic.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Source Sans 3"; font-weight: 400; src: url("/fonts/SourceSans3-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Source Sans 3"; font-weight: 700; src: url("/fonts/SourceSans3-Bold.ttf") format("truetype"); font-display: swap; }

:root {
  --bg: #f6efe4;
  --ink: #29211c;
  --soft: #786452;
  --line: #d9cbb6;
  --accent: #496360;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 400 1.0625rem/1.65 "Source Sans 3", system-ui, sans-serif;
}

.wrap { max-width: 42rem; margin: 0 auto; padding: 3.5rem 1.25rem 2rem; }

header { margin-bottom: 2.5rem; }

.name {
  font: 700 clamp(2rem, 6vw, 2.75rem)/1.15 "Libre Baskerville", Georgia, serif;
  margin: 0;
  color: var(--ink);
  text-decoration: none;
}

.claim { font: italic 400 1.15rem/1.5 "Libre Baskerville", Georgia, serif; color: var(--soft); margin: .5rem 0 0; }

h1 { font: 700 1.9rem/1.2 "Libre Baskerville", Georgia, serif; margin: 0 0 1.5rem; }

h2 {
  font: 700 1.15rem/1.3 "Libre Baskerville", Georgia, serif;
  margin: 2rem 0 .5rem;
  padding-bottom: .35rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

p { margin: 0 0 1rem; }

a { color: var(--accent); text-underline-offset: .15em; }
a:hover { color: var(--ink); }

.projekt {
  border: 1px solid var(--line);
  border-radius: .5rem;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
  background: #fbf7f0;
}
.projekt h3 { font: 700 1.1rem/1.3 "Libre Baskerville", Georgia, serif; margin: 0 0 .35rem; }
.projekt p { margin: 0 0 .5rem; }

footer {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: .95rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}
footer a { color: var(--soft); }
