  :root{
  /* Markenfarben */
  --rot:         #80171a;
  --rot-tief:    #5d1013;
  --orange:      #f2951d;
  --orange-tief: #d47f11;

  --tinte:       #2b1c1c;
  --tinte-weich: #6c5854;
  --sand:        #faf6f0;   /* Seitenhintergrund */
  --papier:      #ffffff;
  --linie:       #e8ded2;

  --formular-hoehe: 800px;
  --formular-hoehe-mobil: 1300px;

  --breite: 62rem;
}

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

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

body{
  margin:0;
  background:var(--sand);
  color:var(--tinte);
  font-family: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size:1.0625rem;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

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

a{ color:var(--rot); }
a:focus-visible,
button:focus-visible{
  outline:3px solid var(--orange);
  outline-offset:3px;
  border-radius:2px;
}

/* ---------- Kopf ---------- */

.kopf{
  padding:2.5rem 0 0;
  text-align:center;
  border-top:5px solid var(--rot);
}
.logo{
  display:inline-block;
  line-height:0;
}
.logo img{
  width:290px;
  max-width:78vw;
  height:auto;
}

.hinweis{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  margin-top:1.75rem;
  padding:.4rem 1rem;
  background:var(--papier);
  border:1px solid var(--linie);
  border-radius:100px;
  font-size:.8125rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-weight:600;
  color:var(--tinte-weich);
}
.hinweis::before{
  content:"";
  width:.55rem; height:.55rem;
  border-radius:50%;
  background:var(--orange);
}

/* ---------- Hero ---------- */

.hero{
  padding:2rem 0 3.5rem;
  text-align:center;
}
.hero h1{
  margin:0 auto;
  max-width:16ch;
  font-size:clamp(2rem, 6.2vw, 3.35rem);
  line-height:1.1;
  letter-spacing:-0.02em;
  font-weight:700;
  color:var(--rot);
}
.hero p{
  margin:1.5rem auto 0;
  max-width:46ch;
  font-size:1.125rem;
  color:var(--tinte-weich);
}

.pfotenlinie{
  display:block;
  margin:2.5rem auto 0;
  width:220px;
  max-width:70vw;
  height:auto;
  color:var(--orange);
}
.pfotenlinie .spur{ fill:#b6a79c; }

.knopf{
  display:inline-block;
  margin-top:2rem;
  padding:.9rem 1.9rem;
  background:var(--rot);
  color:#fff;
  text-decoration:none;
  border-radius:100px;
  font-weight:600;
  transition:background .18s ease, transform .18s ease;
}
.knopf:hover{ background:var(--rot-tief); transform:translateY(-1px); }

/* ---------- Abschnitte ---------- */

.abschnitt{ padding:3.25rem 0; }
.abschnitt + .abschnitt{ padding-top:0; }

.augenbraue{
  margin:0 0 .5rem;
  font-size:.75rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--orange-tief);
  font-weight:700;
}
.abschnitt h2{
  margin:0 0 1.75rem;
  font-size:clamp(1.5rem, 3.4vw, 2rem);
  letter-spacing:-0.01em;
  color:var(--rot);
}

.kurse{
  list-style:none;
  margin:0; padding:0;
  display:grid;
  gap:.75rem;
  grid-template-columns:repeat(auto-fit, minmax(15rem, 1fr));
}
.kurse li{
  background:var(--papier);
  border:1px solid var(--linie);
  border-left:3px solid var(--orange);
  border-radius:4px;
  padding:.9rem 1.1rem;
  font-weight:600;
}
.kurse li span{
  display:block;
  font-weight:400;
  font-size:.9375rem;
  color:var(--tinte-weich);
}

.karte{
  background:var(--papier);
  border:1px solid var(--linie);
  border-top:3px solid var(--rot);
  border-radius:6px;
  padding:1.6rem 1.5rem;
}
.karte h3{ margin:0 0 .4rem; font-size:1.125rem; }
.karte p{ margin:0 0 1rem; color:var(--tinte-weich); }
.karte a{ font-weight:600; }

/* ---------- Rechtliches ---------- */

.recht details{
  background:var(--papier);
  border:1px solid var(--linie);
  border-radius:6px;
  margin-bottom:.6rem;
  scroll-margin-top:1.5rem;
}
.recht summary{
  padding:1rem 1.2rem;
  cursor:pointer;
  font-weight:700;
  color:var(--rot);
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.recht summary::-webkit-details-marker{ display:none; }
.recht summary::after{
  content:"+";
  font-size:1.4rem;
  line-height:1;
  color:var(--orange-tief);
}
.recht details[open] summary::after{ content:"–"; }
.recht details[open] summary{ border-bottom:1px solid var(--linie); }

.rechtstext{
  padding:1.2rem 1.2rem 1.6rem;
  font-size:.9375rem;
  line-height:1.6;
}
.rechtstext h3{
  margin:1.75rem 0 .4rem;
  font-size:1.0625rem;
  color:var(--rot);
}
.rechtstext h4{
  margin:1.25rem 0 .3rem;
  font-size:.9375rem;
  color:var(--tinte);
}
.rechtstext > h3:first-child,
.rechtstext > p:first-child{ margin-top:0; }
.rechtstext p{ margin:.5rem 0; }
.rechtstext ul, .rechtstext ol{ margin:.5rem 0; padding-left:1.3rem; }
.rechtstext li{ margin:.25rem 0; }
.rechtstext a{ word-break:break-word; }
.rechtstext .versal{
  text-transform:uppercase;
  font-size:.875rem;
}

/* ---------- Kontakt ---------- */

.formularrahmen{
  background:var(--papier);
  border:1px solid var(--linie);
  border-radius:6px;
  padding:.5rem;
  overflow:hidden;
}
.formularrahmen iframe{
  display:block;
  width:100%;
  height:var(--formular-hoehe);
  border:0;
}
.ersatzweg{
  margin-top:1rem;
  font-size:.9375rem;
  color:var(--tinte-weich);
}

/* ---------- Fuß ---------- */

.fuss{
  margin-top:3.5rem;
  padding:2rem 0 2.75rem;
  background:var(--rot);
  color:#f3ddd8;
  font-size:.9375rem;
  text-align:center;
}
.fuss nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:.5rem 1.5rem;
  margin-bottom:1rem;
}
.fuss a{
  color:#fff;
  text-decoration-color:rgba(242,149,29,.9);
  text-underline-offset:3px;
}
.fuss a:hover{ color:var(--orange); }
.fuss a:focus-visible{ outline-color:var(--orange); }

@media (max-width:600px){
  .formularrahmen iframe{ height:var(--formular-hoehe-mobil); }
}

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

/* ---------- Unterseiten Rechtstexte ---------- */

.rechtseite{ padding:2.5rem 0 1rem; }
.rechtseite h1{
font-size:clamp(1.6rem, 4vw, 2.2rem);
color:var(--rot);
margin:0 0 1.5rem;
letter-spacing:-0.01em;
}
.rechtseite .blatt{
background:var(--papier);
border:1px solid var(--linie);
border-top:3px solid var(--rot);
border-radius:6px;
}
.zurueck{
display:inline-block;
margin:0 0 1.5rem;
font-weight:600;
text-decoration:none;
}
.zurueck::before{ content:"\2190\00a0"; color:var(--orange-tief); }
.zurueck:hover{ text-decoration:underline; }
