/* Obstgarten Seitel – Stylesheet
   Farben, Schriftgrade, Zeilenabstände und Satzregeln folgen designsystem.md
   und sind dort verbindlich festgelegt. */

/* ---------- Schriften: EB Garamond ---------- */

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* ---------- Schriften: Source Sans 3 ---------- */

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* ---------- Farbvariablen (designsystem.md, Abschnitt 1.5) ---------- */

:root {
  --og-krone:         #4A5D2A;
  --og-wurzel:        #754C29;
  --og-text:          #241C14;
  --og-papier:        #F4EDDF;
  --og-akzent:        #9E3624;
  --og-linie:         #C4B49B;
  --og-papier-dunkel: #E9DECB;
  --og-laub-hell:     #C3CBA6;

  --og-serif: 'EB Garamond', 'Georgia', serif;
  --og-sans:  'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Grundlagen ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font: 400 19px/31px var(--og-serif);
  color: var(--og-text);
  background: var(--og-papier);
  font-variant-numeric: tabular-nums lining-nums;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--og-serif); letter-spacing: 0; margin: 0 0 0.5em; }

h1 { font-weight: 500; font-size: 44px; line-height: 50px; color: var(--og-text); }
h2 { font-weight: 500; font-size: 30px; line-height: 36px; color: var(--og-krone); }
h3 { font-weight: 600; font-size: 21px; line-height: 27px; color: var(--og-text); }

p { max-width: 66ch; margin: 0 0 1.2em; }

em { font-style: italic; font-weight: 400; }
strong { font-weight: 400; font-style: italic; }

a { color: var(--og-akzent); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--og-akzent);
  outline-offset: 3px;
}

hr {
  border: none;
  border-top: 1px solid var(--og-linie);
  margin: 3rem 0;
}

/* ---------- Untertitelzeile ---------- */

.untertitel {
  font: 400 16px/24px var(--og-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--og-wurzel);
  margin: 0 0 1.5em;
}

/* ---------- Tabellen ---------- */

table { border-collapse: collapse; width: 100%; max-width: 66ch; }

th {
  font: 600 15px/23px var(--og-sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--og-laub-hell);
  color: var(--og-text);
  text-align: left;
  padding: 0.6em 0.8em;
}

td {
  font: 400 15px/23px var(--og-sans);
  border-bottom: 1px solid var(--og-linie);
  padding: 0.6em 0.8em;
}

td.preis { text-align: right; color: var(--og-akzent); }

/* ---------- Bildunterschriften, Fußzeile ---------- */

figure { margin: 0 0 2.5rem; }

figcaption {
  font: 400 13.5px/20px var(--og-sans);
  color: var(--og-wurzel);
  margin-top: 0.6em;
}

/* ---------- Seitenrahmen ---------- */

.seite {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Kopf ---------- */

.kopf {
  padding: 2.5rem 1.25rem 1.75rem;
  text-align: center;
}

.kopf__logo {
  display: inline-block;
  width: min(560px, 92%);
  padding: 0.5em 0 0.75em;
}

.kopf__logo img { width: 100%; height: auto; }

/* Titel bleibt für Gliederung und Suchmaschinen erhalten; der Schriftzug
   im Logo übernimmt seine sichtbare Rolle, eine zweite sichtbare
   Überschrift direkt darunter wäre redundant. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.kopf .untertitel { max-width: none; margin: 0 0 0.35em; }

.kopf__ort {
  font: 400 13.5px/20px var(--og-sans);
  color: var(--og-wurzel);
  max-width: none;
  margin: 0;
}

/* ---------- Abschnitte ---------- */

main .einleitung {
  padding-bottom: 1rem;
}

main section {
  padding: 2.5rem 0;
}

main section + section {
  border-top: 1px solid var(--og-linie);
}

.angebot dt {
  font-style: italic;
  margin-top: 1.2em;
}

.angebot dd {
  margin: 0.3em 0 0;
  max-width: 66ch;
}

address {
  font-style: normal;
  margin: 0 0 1.2em;
}

/* ---------- Fuß ---------- */

footer {
  font: 400 12px/18px var(--og-sans);
  letter-spacing: 0.06em;
  color: var(--og-wurzel);
  background: var(--og-papier-dunkel);
  padding: 2.5rem 1.25rem;
  text-align: center;
}

footer .fuss__logo {
  display: inline-block;
  width: 64px;
  margin-bottom: 1rem;
}

footer nav {
  margin: 0.8em 0;
}

footer nav a {
  color: var(--og-wurzel);
  margin: 0 0.6em;
}

footer p { max-width: none; margin: 0.4em 0; }

/* ---------- Kleine Viewports ---------- */

@media (max-width: 600px) {
  h1 { font-size: 34px; line-height: 40px; }
  h2 { font-size: 24px; line-height: 30px; }
  body { font-size: 18px; line-height: 29px; }
}

/* ---------- Druck ---------- */

@media print {
  body { background: #fff; color: #000; }
  footer, .kopf__logo { display: none; }
  a { color: #000; text-decoration: underline; }
  main section + section { border-top: none; }
  .seite { max-width: none; }
}
