/* Hundekot-Service Birkenfeld
   Eine Spalte wie der Flyer: große Überschrift, Linien, grüner Kontaktkasten.
   Farben und Schriften wie Flyer und Aushang. Bewusst nur ein helles Design. */

@font-face {
  font-family: "Literata";
  src: url("fonts/literata-latin-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --gruen: #2b5741;
  --gruen-dunkel: #214533;
  --text: #1b1f1c;
  --grau: #454c47;
  --linie: #b9c3b8;
  --infobox: #edf2ec;
  --weiss: #ffffff;

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible", Verdana, Arial, sans-serif;
  --nummer: "Public Sans", Arial, sans-serif;

  --breite: 44rem;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.1875rem;
  line-height: 1.6;
}

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

a { color: var(--gruen); text-underline-offset: 0.15em; }
a:hover { color: var(--gruen-dunkel); }
:focus-visible { outline: 3px solid var(--gruen); outline-offset: 3px; }

.huelle {
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Kopfzeile */
.kopf { border-bottom: 1px solid var(--linie); }
.kopf .huelle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.875rem;
}
.marke {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  line-height: 1.15;
}
.marke img { width: 2.75rem; height: 2.75rem; flex: none; }
.marke-name { display: block; font-size: 1.05rem; font-weight: 700; }
.marke-ort {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gruen);
}
.kopf-telefon {
  font-family: var(--nummer);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

/* Abschnitte */
main section { padding-block: 2.5rem; }
main section + section { border-top: 1px solid var(--linie); }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--text);
  text-wrap: balance;
  margin: 0;
}
h1 {
  font-size: clamp(3rem, 12vw, 5.25rem);
  font-weight: 700;
  font-variation-settings: "opsz" 72;
  line-height: 0.98;
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(1.9rem, 6vw, 2.4rem);
  font-weight: 600;
  font-variation-settings: "opsz" 48;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }

p { margin: 0; }
.stapel > * + * { margin-top: 1rem; }

/* Einstieg */
.einstieg { padding-top: 2rem; }
.ort {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--gruen);
  margin-bottom: 1rem;
}
.unterzeile {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 6vw, 2.35rem);
  font-weight: 600;
  font-variation-settings: "opsz" 48;
  line-height: 1.15;
  color: var(--gruen);
  margin-top: 1rem;
  text-wrap: balance;
}
.einleitung { margin-top: 1.25rem; max-width: 36rem; }

.punkte {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  border-top: 1px solid var(--linie);
}
.punkte li {
  border-bottom: 1px solid var(--linie);
  padding-block: 0.8rem;
  font-weight: 700;
}

/* Hinweis Winterpause (erscheint nur im Zeitraum, siehe Skript) */
.pause {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  background: var(--infobox);
  border-left: 4px solid var(--gruen);
}

/* Grüner Kontaktkasten */
.kontakt {
  margin-top: 2rem;
  background: var(--gruen);
  color: var(--weiss);
  padding: 1.5rem 1.5rem 1.75rem;
}
.kontakt p { color: var(--weiss); }
.kontakt .nummer {
  display: inline-block;
  font-family: var(--nummer);
  font-weight: 700;
  font-size: clamp(2.2rem, 10vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--weiss);
  text-decoration: none;
  margin-block: 0.25rem 0.5rem;
}
.knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.5rem;
  padding: 0.75rem 1.4rem;
  border: 2px solid var(--weiss);
  border-radius: 0.375rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  flex: 1 1 13rem;
}
.knopf svg { width: 1.4rem; height: 1.4rem; flex: none; }
.knopf-voll { background: var(--weiss); color: var(--gruen); }
.knopf-voll:hover { background: var(--infobox); color: var(--gruen-dunkel); }
.knopf-rand { background: transparent; color: var(--weiss); }
.knopf-rand:hover { background: var(--gruen-dunkel); color: var(--weiss); }
.kontakt :focus-visible { outline-color: var(--weiss); }
.kontakt .klein { margin-top: 1rem; font-size: 1rem; }
.kontakt .klein a { color: var(--weiss); overflow-wrap: anywhere; }

/* Ablauf */
.schritte {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.schritte li {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.75rem;
}
.schritte li > span {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--gruen);
}
.schritte li > p { min-width: 0; }

/* Preise */
.preise { width: 100%; border-collapse: collapse; }
.preise th,
.preise td {
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  padding-block: 0.8rem;
  text-align: left;
  font-weight: 400;
}
.preise td {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
  padding-left: 1rem;
  font-variant-numeric: tabular-nums;
}
.anmerkung { color: var(--grau); font-size: 1.0625rem; margin-top: 1rem; }

.gebiet { margin-top: 1.5rem; }
.gebiet h3 { margin-bottom: 0.5rem; }
.gebiet ul { margin: 0; padding-left: 1.25rem; }
.gebiet li + li { margin-top: 0.25rem; }

.infobox {
  margin-top: 2rem;
  background: var(--infobox);
  padding: 1.25rem 1.5rem;
}
.infobox .quelle { font-size: 0.9375rem; color: var(--grau); margin-top: 0.5rem; }

/* Fragen */
.fragen { margin: 0; }
.fragen dt {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
  padding-top: 1rem;
  border-top: 1px solid var(--linie);
}
.fragen dt:first-child { border-top: 0; padding-top: 0; }
.fragen dd { margin: 0.35rem 0 1rem; }

/* Über mich: Platz für ein späteres Foto */
.ueber { display: grid; gap: 1.25rem; align-items: start; }
.ueber:has(img) { grid-template-columns: 8rem 1fr; }
.ueber img { width: 8rem; height: 8rem; object-fit: cover; border-radius: 50%; }
.ueber > div { min-width: 0; }

/* Fußzeile */
.fuss {
  border-top: 1px solid var(--linie);
  padding-block: 2rem 2.5rem;
  font-size: 1rem;
  color: var(--grau);
}
.fuss strong { color: var(--text); }
.fuss a { overflow-wrap: anywhere; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1rem; }

/* Leiste unten auf dem Handy */
.leiste { display: none; }
@media (max-width: 40rem) {
  body { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px)); }
  .kopf-telefon { display: none; }
  .leiste {
    display: flex;
    gap: 0.5rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: var(--gruen);
    padding: 0.625rem 0.75rem calc(0.625rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -2px 8px rgba(27, 31, 28, 0.15);
  }
  .leiste .knopf { flex: 1 1 0; min-height: 3.25rem; padding-inline: 0.5rem; }
}

/* Unterseiten Impressum und Datenschutz */
.text { padding-block: 2rem 3rem; }
.text h1 { font-size: clamp(2.4rem, 9vw, 3.5rem); margin-bottom: 1.5rem; }
.text h2 { font-size: 1.5rem; margin: 2rem 0 0.5rem; }
.text p + p { margin-top: 0.75rem; }
.zurueck { display: inline-block; margin-top: 2rem; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
