@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --grund: #ffffff;
  --flaeche: #edf1f3;
  --text: #1e2a33;
  --text-weich: #4a5a66;
  --schiefer: #26373f;
  --akzent: #d77e26;
  --akzent-hell-hover: #c26f1e;
  --akzent-text: #2b1200;
  --akzent-dunkel: #a85a12;
  --akzent-hover: #7f4a0e;
  --weiss: #ffffff;
  --linie: #d5dce0;
  --radius: 14px;
  --breite: 1120px;
  --schrift-titel: "Fraunces", Georgia, serif;
  --schrift-text: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 1.125rem;
  line-height: 1.6;
  padding-bottom: 4.25rem;
}

h1,
h2,
h3 {
  font-family: var(--schrift-titel);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4.1rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--akzent-dunkel);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--akzent-hover);
}

:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  background: var(--text);
  color: var(--weiss);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--weiss);
}

.wrap {
  width: min(100% - 2rem, var(--breite));
  margin-inline: auto;
}

.schmal {
  max-width: 44rem;
}

/* Kopf */
.kopf {
  border-bottom: 1px solid var(--linie);
  background: var(--grund);
}

.kopf-innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 0.75rem;
}

.marke {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--schrift-titel);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.15;
}

.marke:hover {
  color: var(--text);
}

.marke img {
  width: 50px;
  height: 66px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-bottom-color: var(--akzent);
  color: var(--text);
}

/* Abschnitte */
.abschnitt {
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

.abschnitt-hell {
  background: var(--flaeche);
}

/* Auf der getönten Fläche reicht der Kontrast des normalen Akzents für kleine Schrift nicht */
.abschnitt-hell a:not(.knopf, .kontaktweg),
.abschnitt-hell .dachzeile {
  color: var(--akzent-hover);
}

.abschnitt-dunkel {
  background: var(--schiefer);
  color: var(--weiss);
}

.abschnitt-dunkel .alltag-liste li {
  border-top-color: rgba(255, 255, 255, 0.25);
}

.abschnitt-dunkel h2 {
  color: var(--grund);
}

.dachzeile {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--akzent-dunkel);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.einleitung {
  font-size: 1.25rem;
  color: var(--text-weich);
}

.seitenkopf {
  padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem);
}

/* Einstieg */
.einstieg {
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.einstieg-raster {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.ort-hinweis {
  font-size: 1rem;
  color: var(--text-weich);
  margin-top: 1.25rem;
}

.bewertung {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.55rem;
  margin-bottom: 1.25rem;
  color: var(--text);
  font-size: 1rem;
  text-decoration: none;
}

.bewertung:hover {
  text-decoration: underline;
}

.sterne {
  color: var(--akzent);
  letter-spacing: 0.08em;
}

/* Knöpfe */
.knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.4rem;
  border: 2px solid var(--akzent);
  border-radius: 999px;
  background: var(--akzent);
  color: var(--akzent-text);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.knopf:hover {
  background: var(--akzent-hell-hover);
  border-color: var(--akzent-hell-hover);
  color: var(--akzent-text);
}

.knopf-zweit {
  background: transparent;
  border-color: var(--schiefer);
  color: var(--schiefer);
}

.knopf-zweit:hover {
  background: var(--schiefer);
  border-color: var(--schiefer);
  color: var(--weiss);
}

.abschnitt-dunkel .knopf-zweit {
  border-color: var(--weiss);
  color: var(--weiss);
}

.abschnitt-dunkel .knopf-zweit:hover {
  background: var(--weiss);
  border-color: var(--weiss);
  color: var(--schiefer);
}

/* Foto-Platzhalter, wird durch echte Fotos ersetzt */
.foto-platzhalter {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 1.5rem;
  border: 2px dashed var(--akzent);
  border-radius: var(--radius);
  background: var(--flaeche);
  color: var(--text-weich);
  font-size: 1rem;
  text-align: center;
}

.abschnitt-hell .foto-platzhalter {
  background: var(--grund);
}

.foto-quer {
  aspect-ratio: 16 / 9;
}

.foto {
  margin: 0;
}

.foto img,
.foto video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.foto video {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  cursor: pointer;
}

.foto figcaption {
  margin: 0.5rem 0 0;
}

.video-paar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.video-paar .foto video {
  aspect-ratio: 9 / 16;
}

/* Raster und Karten */
.raster {
  display: grid;
  gap: 1.25rem;
}

.karte {
  padding: 1.5rem;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--weiss);
}

.karte p:last-child {
  margin-bottom: 0;
}

.karte .foto-platzhalter {
  margin-bottom: 1rem;
  background: var(--flaeche);
}

.karte .foto {
  margin-bottom: 1rem;
}

.bild-unterschrift {
  margin: -0.5rem 0 1rem;
  color: var(--text-weich);
  font-size: 0.95rem;
}

.karte-link {
  font-weight: 600;
}

.zwei-spalten {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.alltag-liste {
  display: grid;
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.alltag-liste li {
  padding-block: 0.95rem;
  border-top: 1px solid var(--linie);
  font-family: var(--schrift-titel);
  font-size: 1.25rem;
  line-height: 1.3;
}

.abschluss-satz {
  margin-top: 2rem;
  font-size: 1.25rem;
}

/* Ablauf */
.schritte {
  counter-reset: schritt;
  display: grid;
  gap: 1.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.schritte li {
  counter-increment: schritt;
  padding-top: 1rem;
  border-top: 2px solid var(--akzent);
}

.schritte li::before {
  content: counter(schritt);
  display: block;
  margin-bottom: 0.4rem;
  color: var(--akzent-dunkel);
  font-family: var(--schrift-titel);
  font-size: 2.2rem;
  line-height: 1;
}

/* Kundenstimmen */
.stimme {
  margin: 0;
  padding: 1.5rem;
  border-left: 3px solid var(--akzent);
  background: var(--weiss);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.stimme blockquote {
  margin: 0 0 0.75rem;
  font-family: var(--schrift-titel);
  font-size: 1.15rem;
  line-height: 1.45;
}

.stimme figcaption {
  color: var(--text-weich);
  font-size: 1rem;
}

.stand {
  color: var(--text-weich);
  font-size: 0.95rem;
}

/* Preis */
.preis {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.6rem;
  margin-bottom: 0.75rem;
  font-family: var(--schrift-titel);
}

.preis-zahl {
  font-size: clamp(3rem, 9vw, 4.5rem);
  line-height: 1;
}

.preis-einheit {
  font-size: 1.3rem;
}

.haken-liste {
  margin: 0;
  padding-left: 1.2rem;
}

.haken-liste li {
  margin-bottom: 0.45rem;
}

/* Fragen */
.fragen details {
  border-top: 1px solid var(--linie);
  padding-block: 0.95rem;
}

.fragen details:last-child {
  border-bottom: 1px solid var(--linie);
}

.fragen summary {
  cursor: pointer;
  font-family: var(--schrift-titel);
  font-size: 1.2rem;
  font-weight: 500;
}

.fragen details p {
  margin: 0.75rem 0 0.25rem;
}

/* Kontakt */
.kontaktwege {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.kontaktweg {
  display: block;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--weiss);
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.kontaktweg:hover {
  border-color: var(--akzent-dunkel);
  color: var(--text);
}

.kontaktweg strong {
  display: block;
  font-family: var(--schrift-titel);
  font-size: 1.2rem;
  font-weight: 500;
}

.kontaktweg-haupt {
  border: 2px solid var(--akzent-dunkel);
}

.formular {
  display: grid;
  gap: 1.1rem;
  padding: 1.5rem;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--weiss);
}

.formular[hidden] {
  display: none;
}

.feld label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.feld .hilfe {
  font-weight: 400;
  color: var(--text-weich);
}

.feld input,
.feld textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--text-weich);
  border-radius: 8px;
  background: var(--weiss);
  color: var(--text);
  font: inherit;
}

.feld textarea {
  min-height: 8rem;
  resize: vertical;
}

.formular-hinweis {
  margin: 0;
  color: var(--text-weich);
  font-size: 0.95rem;
}

/* Rechtstexte */
.rechtstext {
  overflow-wrap: break-word;
}

.rechtstext h1 {
  font-size: clamp(1.9rem, 6vw, 3rem);
}

.rechtstext h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
}

.rechtstext h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.3rem;
  font-size: 1.15rem;
}

/* Fuß */
.fuss {
  padding-block: 2.5rem;
  background: var(--text);
  color: var(--grund);
  font-size: 1rem;
}

.fuss a {
  color: var(--grund);
}

.fuss a:hover {
  color: var(--flaeche);
}

.fuss-raster {
  display: grid;
  gap: 1.5rem;
}

.fuss p {
  margin-bottom: 0.3rem;
}

.fuss-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
}

/* Feste Kontaktleiste auf dem Handy */
.kontaktleiste {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-top: 1px solid var(--linie);
  background: var(--grund);
}

.kontaktleiste .knopf {
  min-height: 2.75rem;
  padding-inline: 0.5rem;
}

@media (min-width: 700px) {
  .raster-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .raster-3,
  .schritte {
    grid-template-columns: repeat(3, 1fr);
  }

  .fuss-raster {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }

  .kontaktleiste {
    display: none;
  }

  .einstieg-raster {
    grid-template-columns: 1.25fr 1fr;
    gap: 4rem;
  }

  .zwei-spalten {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .spalten-text-breit {
    grid-template-columns: 1.5fr 1fr;
  }

  .alltag-liste {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
