:root {
  --holz: #7a4a21;
  --holz-dunkel: #4e2e12;
  --creme: #faf6f0;
  --sand: #f1e4d3;
  --text: #2b2118;
  --hell: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--creme);
}

a { color: var(--holz); }
a:focus-visible, button:focus-visible { outline: 3px solid #e0a35c; outline-offset: 2px; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 10;
  background: var(--hell); padding: .5rem 1rem;
}
.skip:focus { left: 0; }

/* ---------- Kopfbereich & Navigation ---------- */
header.kopf {
  background: var(--holz-dunkel);
  color: var(--hell);
}
.kopf-innen {
  max-width: 64rem;
  margin: 0 auto;
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.marke {
  color: var(--hell);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
  margin-right: auto;
}
.marke span {
  display: block;
  font-weight: 400;
  font-size: .85rem;
  opacity: .9;
}
.kopf-tel {
  color: var(--hell);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.menue-knopf { display: none; }

.hauptnav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0 1rem .75rem;
  max-width: 64rem;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem;
}
.hauptnav a {
  display: block;
  color: var(--hell);
  text-decoration: none;
  padding: .4rem .5rem;
  border-radius: .3rem;
}
.hauptnav a:hover { background: rgba(255, 255, 255, .12); }
.hauptnav a[aria-current="page"] {
  background: var(--hell);
  color: var(--holz-dunkel);
  font-weight: 700;
}

/* Sehr schmale Bildschirme: Telefonnummer steht im Titelbild und in jedem Beratungskasten */
@media (max-width: 29.99rem) {
  .kopf-tel { display: none; }
}

/* Mobil mit JavaScript: Menü auf- und zuklappbar */
@media (max-width: 47.99rem) {
  .js .menue-knopf {
    display: inline-block;
    background: transparent;
    color: var(--hell);
    border: 2px solid var(--hell);
    border-radius: .3rem;
    padding: .35rem .8rem;
    font: inherit;
    cursor: pointer;
  }
  .js .hauptnav { display: none; }
  .js .hauptnav.offen { display: block; }
  .hauptnav ul { flex-direction: column; }
}

/* ---------- Brotkrumen ---------- */
.brotkrumen ol {
  list-style: none;
  margin: 0 auto;
  padding: .75rem 1rem 0;
  max-width: 60rem;
  display: flex;
  flex-wrap: wrap;
  font-size: .9rem;
}
.brotkrumen li + li::before { content: "›"; margin: 0 .5rem; }

/* ---------- Titelbild ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  color: var(--hell);
}
.hero img {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(30, 18, 6, .88), rgba(30, 18, 6, .25));
}
.hero .inhalt {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem;
  max-width: 60rem;
  margin: 0 auto;
  width: 100%;
}
.hero h1 { color: var(--hell); margin: 0 0 .5rem; font-size: 2rem; line-height: 1.2; }
.hero p { margin: 0 0 1.25rem; font-size: 1.1rem; max-width: 40rem; }

.knopf {
  display: inline-block;
  background: var(--hell);
  color: var(--holz-dunkel);
  font-weight: 700;
  padding: .75rem 1.25rem;
  border-radius: .4rem;
  text-decoration: none;
}
.knopf:hover { background: var(--sand); }

/* ---------- Inhalt ---------- */
main section, .seite {
  max-width: 60rem;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}
.seite section { padding-left: 0; padding-right: 0; }
h1, h2, h3 { color: var(--holz-dunkel); line-height: 1.25; }
.seite h1 { font-size: 2rem; margin-top: .5rem; }
.einleitung { font-size: 1.15rem; }

.haken { padding-left: 0; list-style: none; }
.haken li { padding-left: 1.6rem; position: relative; margin-bottom: .35rem; }
.haken li::before { content: "✓"; position: absolute; left: 0; color: var(--holz); font-weight: 700; }

.schritte li { margin-bottom: .5rem; }

.karten {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.karte {
  background: var(--hell);
  border: 1px solid var(--sand);
  border-radius: .5rem;
  padding: 1rem 1.25rem;
}
.karte h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.karte p { margin: 0; }

.cta {
  background: var(--sand);
  border-radius: .5rem;
  margin: 1.5rem auto;
  padding: 1.5rem 1.25rem !important;
}
.cta h2 { margin-top: 0; }
.cta .knopf { background: var(--holz-dunkel); color: var(--hell); }
.cta .knopf:hover { background: var(--holz); }

.link-liste { padding-left: 1.2rem; }

address { font-style: normal; }
.kontakt-tel { font-size: 1.4rem; font-weight: 700; }

.hinweis {
  background: #fff3cd;
  border-left: 4px solid #b8860b;
  padding: .75rem 1rem;
}

/* ---------- Fußbereich ---------- */
footer {
  background: var(--holz-dunkel);
  color: var(--hell);
  padding: 1.5rem 1rem;
  text-align: center;
  margin-top: 2rem;
}
footer a { color: var(--hell); margin: 0 .5rem; }

/* ---------- Größere Bildschirme ---------- */
@media (min-width: 40rem) {
  .karten { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 48rem) {
  .hero h1 { font-size: 3rem; }
  .hero .inhalt { padding: 3rem 1.5rem; }
  .seite h1 { font-size: 2.5rem; }
}
@media (min-width: 64rem) {
  .karten { grid-template-columns: repeat(3, 1fr); }
}
