/* Tief- und Landschaftsbau Frank Otto – bewusst schlicht gehalten */

@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --text: #1c1c1a;
  --gruen: #2c6a44;
  --gruen-dunkel: #1f4d31;
  --grau: #5b5b57;
  --linie: #cfcfc8;
  --hinten: #f5f5f1;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Barlow", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--text);
  background: #fff;
  border-top: 6px solid var(--gruen);
}
a { color: var(--gruen-dunkel); text-underline-offset: 0.18em; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--gruen); outline-offset: 2px; }

.wrap { width: 100%; max-width: 46rem; margin-inline: auto; padding-inline: 1.25rem; }

h1, h2, h3 { font-weight: 600; line-height: 1.2; margin: 0 0 0.6rem; }
h1 { font-size: clamp(1.9rem, 5vw, 2.5rem); }
h2 { font-size: 1.5rem; margin-top: 2.75rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.3rem; }
li { margin-bottom: 0.25rem; }

.skip { position: absolute; left: 1rem; top: -4rem; background: #fff; padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { top: 1rem; }

/* Kopf */
.kopf { border-bottom: 1px solid var(--linie); }
.kopf__innen { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 0.25rem 1.5rem; padding-block: 1rem; }
.marke { font-weight: 600; font-size: 1.2rem; text-decoration: none; color: var(--text); }
.kopf__tel { font-weight: 600; font-size: 1.2rem; text-decoration: none; color: var(--gruen-dunkel); }
.kopf__tel:hover { text-decoration: underline; }

/* Inhalt */
main { padding-block: 2.25rem 3rem; }
.lead { font-size: 1.3rem; line-height: 1.45; }

.anruf { background: var(--hinten); border-left: 6px solid var(--gruen); padding: 1rem 1.25rem; margin: 1.75rem 0; }
.anruf p { margin: 0; }
.anruf .nummer { font-size: 1.9rem; font-weight: 600; line-height: 1.2; }
.anruf a { color: var(--text); text-decoration: none; }
.anruf a:hover { text-decoration: underline; }

.kontaktdaten { margin: 0 0 1.5rem; }
.kontaktdaten p { margin-bottom: 0.2rem; }

/* Formular */
.formular { margin-top: 1.5rem; max-width: 34rem; }
.formular h3 { margin-bottom: 0.9rem; }
.feld { margin-bottom: 1rem; }
.feld label { display: block; font-weight: 600; margin-bottom: 0.25rem; }
.feld input, .feld select, .feld textarea { width: 100%; font: inherit; color: var(--text); background: #fff; border: 1.5px solid #8a8a84; border-radius: 3px; padding: 0.55rem 0.7rem; }
.feld textarea { min-height: 8rem; resize: vertical; }
.btn { font: inherit; font-weight: 600; background: var(--gruen); color: #fff; border: 0; border-radius: 3px; padding: 0.7rem 1.4rem; cursor: pointer; }
.btn:hover { background: var(--gruen-dunkel); }
.hinweis { font-size: 0.95rem; color: var(--grau); }
#f-status { color: var(--text); min-height: 1.4em; margin-bottom: 0.5rem; }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); padding: 1.25rem 0 2rem; font-size: 1rem; color: var(--grau); }
.fuss__innen { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; }
.fuss p { margin: 0; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; }
.fuss a { color: var(--grau); }

/* Rechtstexte */
.recht h1 { margin-bottom: 1.5rem; }
.recht h2 { font-size: 1.35rem; margin-top: 2.25rem; }
.recht h3 { font-size: 1.1rem; margin-top: 1.25rem; }
.platzhalter { background: #fff1b8; padding: 0 0.2em; }
