@import url('../fonts/fonts.css');

/* ============================================================
   Ferienwohnung Wiehl
   Design-System. Mobil zuerst, Umbrüche bei 640 / 900 / 1100 px.
   ============================================================ */

:root {
  /* Farben */
  --kreide: #F3F4EF;
  --kreide-tief: #E8EAE2;
  --papier: #FFFFFF;
  --tinte: #24282B;
  --tinte-leise: #5A6166;
  --moos: #0F4336;          /* Bielstein, Links, Marke */
  --moos-hell: #1B5F4D;
  --honig: #8A5E15;         /* Sonnenterrasse */
  --honig-hell: #D8A24A;
  --kupfer: #A0522D;        /* einziger Ton für Handlungsknöpfe */
  --kupfer-tief: #8A4424;
  --schiefer: #2A2E32;      /* Kopf, Fuß, Langzeit-Band */
  --linie: #DCDED6;

  /* Maße */
  --rand: 1.25rem;
  --breite: 71.25rem;       /* 1140px */
  --schmal: 46rem;
  --radius: 14px;
  --radius-klein: 8px;
  --schatten: 0 1px 2px rgba(36,40,43,.06), 0 8px 24px rgba(36,40,43,.07);
  --schatten-hoch: 0 2px 4px rgba(36,40,43,.08), 0 18px 44px rgba(36,40,43,.12);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--kreide);
  color: var(--tinte);
  font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: clamp(1.02rem, .98rem + .2vw, 1.13rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.012em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.5rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 1.3rem + 1.7vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + .6vw, 1.45rem); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--moos); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--moos-hell); }
:focus-visible { outline: 3px solid var(--kupfer); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- Grundbausteine ---------- */

.huelle { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.huelle--schmal { max-width: var(--schmal); }

.abschnitt { padding-block: clamp(3rem, 2rem + 5vw, 5.5rem); }
.abschnitt--hell { background: var(--papier); }
.abschnitt--dunkel { background: var(--schiefer); color: #EDEFEA; }
.abschnitt--dunkel h2, .abschnitt--dunkel h3 { color: #FFF; }
.abschnitt--dunkel a { color: var(--honig-hell); }

.augenbraue {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--moos);
  margin: 0 0 .7rem;
}
.abschnitt--dunkel .augenbraue { color: var(--honig-hell); }

.vorspann { font-size: 1.12em; color: var(--tinte-leise); max-width: 42rem; }
.abschnitt--dunkel .vorspann { color: #C8CCC5; }

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 3.1rem; padding: .7rem 1.6rem;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.knopf--haupt { background: var(--kupfer); color: #FFF; }
.knopf--haupt:hover { background: var(--kupfer-tief); color: #FFF; transform: translateY(-1px); }
.knopf--rand { border-color: var(--moos); color: var(--moos); background: transparent; }
.knopf--rand:hover { background: var(--moos); color: #FFF; }
.knopf--hell { background: #FFF; color: var(--schiefer); }
.knopf--hell:hover { background: var(--kreide); color: var(--schiefer); }

/* ---------- Kopfzeile ---------- */

.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243,244,239,.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf__reihe { display: flex; align-items: center; gap: 1rem; min-height: 4.2rem; }
.kopf__marke { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--moos); margin-right: auto; }
.kopf__marke img { width: 40px; height: 40px; }
.kopf__name { font-family: 'Newsreader', serif; font-size: 1.16rem; font-weight: 600; line-height: 1.1; }
.kopf__zusatz { display: block; font-family: 'Source Sans 3', sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tinte-leise); }
.kopf__nav { display: none; gap: 1.5rem; }
.kopf__nav a { color: var(--tinte); text-decoration: none; font-weight: 600; font-size: .98rem; }
.kopf__nav a:hover, .kopf__nav a[aria-current="page"] { color: var(--moos); text-decoration: underline; }
.kopf .knopf { display: none; }

@media (min-width: 900px) {
  .kopf__nav { display: flex; }
  .kopf .knopf { display: inline-flex; min-height: 2.7rem; padding: .45rem 1.25rem; }
}

/* ---------- Menueknopf fuer kleine Bildschirme ---------- */

.menuknopf {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  flex: 0 0 auto; width: 2.7rem; height: 2.7rem; padding: .62rem;
  background: none; color: var(--tinte);
  border: 1px solid var(--linie); border-radius: var(--radius-klein);
  cursor: pointer;
}
.menuknopf span { display: block; height: 2px; width: 100%; background: currentColor; border-radius: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .menuknopf span { transition: transform .18s ease, opacity .18s ease; }
}
.menuknopf[aria-expanded="true"] { background: var(--kreide-tief); border-color: var(--moos); color: var(--moos); }
.menuknopf[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menuknopf[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menuknopf[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .kopf__nav.offen {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; inset-inline: 0; top: 100%;
    background: var(--kreide);
    border-bottom: 1px solid var(--linie);
    box-shadow: var(--schatten);
    padding: .1rem var(--rand) .9rem;
  }
  .kopf__nav.offen a { padding: .9rem .2rem; border-top: 1px solid var(--linie); font-size: 1.05rem; }
  .kopf__nav.offen a:first-child { border-top: none; }
}
@media (min-width: 900px) { .menuknopf { display: none; } }

/* ---------- Sprachumschaltung ---------- */

.sprachen { display: flex; align-items: center; gap: .3rem; flex: 0 0 auto; }
.sprachen a {
  display: inline-flex; padding: .3rem; line-height: 0;
  border: 1px solid transparent; border-radius: var(--radius-klein);
}
.sprachen img { display: block; width: 26px; height: 17px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(36,40,43,.18); }
.sprachen a:not([aria-current]) img { opacity: .5; }
.sprachen a:hover img, .sprachen a:focus-visible img { opacity: 1; }
.sprachen a[aria-current] { border-color: var(--moos); background: var(--kreide-tief); }
.sprachen a[aria-current] img { opacity: 1; }
@media (max-width: 420px) {
  .sprachen img { width: 22px; height: 15px; }
  .sprachen a { padding: .22rem; }
}
/* Sehr schmale Handys (320 px): sonst ragt der Menuknopf ueber den Rand */
@media (max-width: 360px) {
  .kopf__reihe { gap: .5rem; }
  .kopf__marke { gap: .5rem; }
  .kopf__marke img { width: 34px; height: 34px; }
  .kopf__name { font-size: 1.05rem; }
  .kopf__zusatz { letter-spacing: .04em; }
  .sprachen { gap: .2rem; }
  .sprachen a { padding: .22rem .12rem; }
}

/* ---------- Hinweis-Band ---------- */

.band {
  background: var(--moos); color: #FFF;
  font-size: .95rem; text-align: center;
  padding: .6rem var(--rand);
}
.band strong { font-weight: 700; }
.band a { color: #FFF; text-decoration: underline; }

/* ---------- Titelbereich ---------- */

.titel { position: relative; background: var(--papier); }
.titel__bild { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.titel__bild img { width: 100%; height: 100%; object-fit: cover; }
.titel__text { padding: clamp(1.8rem, 1rem + 4vw, 3.5rem) 0 clamp(2rem, 1rem + 4vw, 3rem); }
.titel__ort { font-size: .9rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--moos); margin: 0 0 .8rem; }

@media (min-width: 900px) {
  .titel__innen { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 4vw, 4rem); }
  .titel__bild { aspect-ratio: 5 / 4; border-radius: var(--radius); }
  .titel__text { padding-block: clamp(3rem, 6vw, 5rem); }
}

.merkmale { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.4rem 0 0; padding: 0; }
.merkmale li {
  background: var(--kreide-tief); border-radius: 999px;
  padding: .32rem .85rem; font-size: .9rem; font-weight: 600; color: var(--tinte);
}

/* ---------- Wohnungskarten ---------- */

.karten { display: grid; gap: 1.6rem; }
@media (min-width: 800px) { .karten { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.karte {
  background: var(--papier); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--schatten); display: flex; flex-direction: column;
  border-top: 5px solid var(--moos);
  transition: box-shadow .2s ease, transform .2s ease;
}
.karte:hover { box-shadow: var(--schatten-hoch); transform: translateY(-2px); }
.karte--honig { border-top-color: var(--honig-hell); }
.karte__bild { aspect-ratio: 16 / 10; overflow: hidden; background: var(--kreide-tief); }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; }
.karte__inhalt { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.karte__ort { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--moos); margin: 0 0 .4rem; }
.karte--honig .karte__ort { color: var(--honig); }
.karte h3 { margin-bottom: .5rem; }
.karte__fuss { margin-top: auto; padding-top: 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.karte__preis { font-size: .95rem; color: var(--tinte-leise); }
.karte__preis b { font-family: 'Newsreader', serif; font-size: 1.5rem; font-weight: 600; color: var(--tinte); display: block; line-height: 1.1; }
.karte__preis small { display: block; font-size: .82rem; line-height: 1.35; margin-top: .25rem; color: var(--tinte-leise); max-width: 15rem; }

.preis-gross {
  font-family: 'Newsreader', serif; font-size: clamp(2rem, 1.4rem + 2.4vw, 2.9rem);
  font-weight: 600; line-height: 1.05; margin: 0 0 1rem; color: #FFF;
}
.preis-gross span {
  display: block; font-family: 'Source Sans 3', sans-serif;
  font-size: .95rem; font-weight: 600; letter-spacing: .04em;
  color: var(--honig-hell); margin-top: .35rem;
}

.preis-staffel {
  margin-top: 1.6rem; padding: 1rem 1.15rem;
  border-left: 3px solid var(--honig-hell);
  background: rgba(255,255,255,.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .97rem; line-height: 1.65;
}
.preis-staffel strong { color: var(--honig-hell); }

/* ---------- Vorteile ---------- */

.vorteile { display: grid; gap: 1.2rem; margin-top: 2.2rem; }
@media (min-width: 700px) { .vorteile { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .vorteile { grid-template-columns: repeat(4, 1fr); } }

.vorteil { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.4rem; }
.abschnitt--dunkel .vorteil { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.vorteil__zeichen { font-size: 1.7rem; line-height: 1; margin-bottom: .7rem; display: block; }
.vorteil h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.vorteil p { font-size: .97rem; color: var(--tinte-leise); }
.abschnitt--dunkel .vorteil p { color: #C8CCC5; }

/* ---------- Gastgeberin ---------- */

.gastgeberin { display: grid; gap: 1.8rem; align-items: center; }
@media (min-width: 800px) { .gastgeberin { grid-template-columns: 22rem 1fr; gap: 3rem; } }
.gastgeberin img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* ---------- Buchungsbereich ---------- */

.buchung { background: var(--papier); border-radius: var(--radius); box-shadow: var(--schatten); padding: 1.3rem; }
.buchung iframe { width: 100%; border: 0; display: block; min-height: 680px; }

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

.fuss { background: var(--schiefer); color: #C8CCC5; padding-block: 3rem 6.5rem; font-size: .96rem; }
.fuss a { color: #EDEFEA; }
.fuss__raster { display: grid; gap: 2rem; }
@media (min-width: 750px) { .fuss__raster { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.fuss h3 { font-size: 1.05rem; color: #FFF; margin-bottom: .7rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .45rem; }
.fuss__recht { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; display: flex; flex-wrap: wrap; gap: 1.2rem; }
@media (min-width: 900px) { .fuss { padding-bottom: 3rem; } }

/* ---------- Mobile Leiste unten ---------- */

.leiste {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; gap: .8rem;
  background: var(--papier); border-top: 1px solid var(--linie);
  padding: .7rem var(--rand) calc(.7rem + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(36,40,43,.1);
}
.leiste__text { font-size: .9rem; line-height: 1.3; margin-right: auto; }
.leiste__text b { display: block; font-size: 1.02rem; }
.leiste .knopf { min-height: 2.9rem; padding: .5rem 1.3rem; white-space: nowrap; }
@media (min-width: 900px) { .leiste { display: none; } }

/* ---------- Kleinteile ---------- */

.nur-fuer-screenreader {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.sprungmarke {
  position: absolute; left: var(--rand); top: -4rem; z-index: 100;
  background: var(--kupfer); color: #FFF; padding: .7rem 1.2rem; border-radius: 0 0 8px 8px;
  text-decoration: none; font-weight: 600; transition: top .16s ease;
}
.sprungmarke:focus { top: 0; color: #FFF; }

.liste-schlicht { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .6rem; }
.liste-schlicht li { padding-left: 1.7rem; position: relative; }
.liste-schlicht li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .6rem; height: .6rem; border-radius: 50%; background: var(--moos);
}
.abschnitt--dunkel .liste-schlicht li::before { background: var(--honig-hell); }

.galerie { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-top: 2rem; }
@media (min-width: 800px) { .galerie { grid-template-columns: repeat(4, 1fr); gap: .8rem; } }
.galerie img { border-radius: var(--radius-klein); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.galerie figure { margin: 0; }
.galerie--gross img { aspect-ratio: 3 / 2; }

details.frage { border-bottom: 1px solid var(--linie); padding: 1.1rem 0; }
details.frage summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-size: 1.06rem; }
details.frage summary::-webkit-details-marker { display: none; }
details.frage summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--moos); flex: none; }
details.frage[open] summary::after { content: "−"; }
details.frage > div { padding-top: .8rem; color: var(--tinte-leise); }

/* ---------- Kopierblock (Hochzeitsseite) ---------- */

.kopierblock {
  margin-top: 1.8rem; padding: 1.6rem 1.7rem;
  background: var(--papier); border: 1px solid var(--linie);
  border-left: 4px solid var(--moos);
  border-radius: var(--radius);
  font-size: 1rem; line-height: 1.7;
}
.kopierblock p { margin: 0 0 .9rem; }
.kopierblock p:last-child { margin-bottom: 0; }


/* Eingebettete Drittanbieter (Zwei-Klick-Loesung) */
.einbettung { margin-top: 2rem; }
.einbettung__hinweis { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.8rem; max-width: 46rem; }
.einbettung__hinweis p { margin: 0 0 1rem; color: var(--tinte-leise); }
.einbettung__hinweis p:last-child { margin-bottom: 0; }
.einbettung__klein { font-size: .9rem; }
#apartmentIframeAll:not(:empty) { margin-top: 1rem; }

/* Bildreihe mit Bildunterschriften */
.bildreihe { display: grid; gap: 1.6rem; }
.bildreihe figure { margin: 0; }
.bildreihe img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.bildreihe figcaption { font-size: .93rem; color: var(--tinte-leise); margin-top: .6rem; line-height: 1.5; }
@media (min-width: 900px) { .bildreihe { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }

/* Entfernungstabelle */
.entfernung { width: 100%; border-collapse: collapse; margin-top: 1.8rem; }
.entfernung td { padding: 1rem 0; border-top: 1px solid var(--linie); vertical-align: top; }
.entfernung tr:first-child td { border-top: none; }
.entfernung__weg {
  width: 6.2rem; padding-right: 1.2rem !important; white-space: nowrap;
  font-weight: 700; color: var(--moos); font-variant-numeric: tabular-nums;
}
.entfernung__weg em { display: block; font-style: normal; font-weight: 400; font-size: .86rem; color: var(--tinte-leise); margin-top: .15rem; }
.entfernung td strong { display: block; margin-bottom: .2rem; }
.entfernung td span { display: block; font-size: .95rem; color: var(--tinte-leise); line-height: 1.55; }
.abschnitt--dunkel .entfernung td { border-color: rgba(255,255,255,.16); }
.abschnitt--dunkel .entfernung__weg { color: var(--honig); }
@media (min-width: 640px) { .entfernung__weg { width: 7.5rem; } }

/* ---------- Hervorgehobener Tipp (Kranenberg, Bierweg) ---------- */

.tipp {
  display: grid; gap: 1.4rem; align-items: center;
  background: var(--papier); border: 1px solid var(--linie);
  border-radius: var(--radius); box-shadow: var(--schatten);
  padding: 1.4rem; margin-top: 2rem;
}
@media (min-width: 800px) {
  .tipp { grid-template-columns: 19rem 1fr; gap: 2.4rem; padding: 2rem; }
}
.tipp > img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-klein); background: var(--kreide);
}
.tipp h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); line-height: 1.2; }
.tipp .vorspann { margin-top: .6rem; font-size: 1.02rem; }
.tipp__knopf { margin-top: 1.5rem; margin-bottom: 0; }
.tipp__danach { margin-top: 2.6rem; }
.tipp--foto > img { aspect-ratio: 4 / 3; object-fit: cover; }

/* Entfernungstabelle fuer Fusswege: breitere Wegspalte fuer "13 Min zu Fuss" */
.entfernung--fuss .entfernung__weg { width: 8.6rem; }
@media (min-width: 640px) { .entfernung--fuss .entfernung__weg { width: 9.4rem; } }

/* Textspalte ueber dem Buchungskalender: schmal fuer die Lesbarkeit,
   waehrend der Kalender darunter die volle Breite bekommt. */
.kopfblock { max-width: var(--schmal); }
#buchungsbereich .einbettung__klein { max-width: var(--schmal); }

/* Gutscheincode auf der Buchen-Seite: ein Klick kopiert ihn (Smoobu traegt ihn nicht selbst ein) */
.gutschein {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem;
  margin-top: 1.4rem; padding: 1rem 1.2rem;
  background: var(--papier); border: 1px dashed var(--kupfer); border-radius: var(--radius-klein);
}
.gutschein__text { margin: 0; flex: 1 1 16rem; }
.gutschein__code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; font-weight: 700;
  letter-spacing: .06em; background: var(--kreide); padding: .1em .45em; border-radius: 4px;
}
.gutschein__knopf { min-height: 2.6rem; padding: .45rem 1.2rem; white-space: nowrap; }

/* ---------- Monteurzimmer-Seite: Ablauf, Preistabelle, Anfrageformular ---------- */

.schritte { list-style: none; counter-reset: schritt; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 700px) { .schritte { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .schritte { grid-template-columns: repeat(4, 1fr); } }
.schritte li {
  counter-increment: schritt; background: var(--papier); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: 1.3rem 1.4rem; font-size: .97rem; color: var(--tinte-leise);
}
.schritte li::before {
  content: counter(schritt); display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem; margin-bottom: .7rem; border-radius: 50%;
  background: var(--moos); color: #FFF; font-weight: 700;
}
.schritte strong { display: block; color: var(--tinte); font-size: 1.05rem; margin-bottom: .25rem; }

.tabellenrahmen { overflow-x: auto; margin-top: 1.6rem; }
.preistabelle {
  width: 100%; border-collapse: collapse; background: var(--papier);
  border: 1px solid var(--linie); border-radius: var(--radius-klein);
  font-variant-numeric: tabular-nums; font-size: .97rem;
}
.preistabelle th, .preistabelle td { padding: .75rem .8rem; border-bottom: 1px solid var(--linie); text-align: right; }
.preistabelle th:first-child, .preistabelle td:first-child { text-align: left; }
.preistabelle thead th { font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--tinte-leise); vertical-align: bottom; }
.preistabelle tbody tr:last-child td { border-bottom: none; }
.preistabelle td strong { color: var(--moos); }
.preistabelle__klein { font-size: .9rem; color: var(--tinte-leise); margin-top: .8rem; }

.formular {
  position: relative; display: grid; gap: 1.2rem; margin-top: 2rem;
  background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: clamp(1.2rem, .8rem + 2vw, 2.2rem); box-shadow: var(--schatten);
}
.formular__reihe { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .formular__reihe { grid-template-columns: 1fr 1fr; } }
.feld { display: grid; gap: .35rem; align-content: start; }
.feld > label { font-weight: 600; }
.feld__pflicht { color: var(--kupfer); }
.feld__optional { font-weight: 400; color: var(--tinte-leise); font-size: .92rem; }
.feld__hilfe { font-size: .9rem; color: var(--tinte-leise); margin: 0; }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 3rem; padding: .65rem .85rem;
  font: inherit; color: var(--tinte); background: #FFF;
  border: 1px solid #858B83; border-radius: var(--radius-klein);
}
.feld textarea { min-height: 5.6rem; resize: vertical; line-height: 1.5; }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible {
  outline: 3px solid var(--kupfer); outline-offset: 1px; border-color: var(--kupfer);
}
.feld--fehler input, .feld--fehler select, .feld--fehler textarea { border-color: #B3261E; border-width: 2px; }
.feld__fehler { color: #B3261E; font-size: .92rem; font-weight: 600; margin: 0; }
.feld__fehler:empty { display: none; }
.formular__zeitraum { margin: 0; font-size: .95rem; color: var(--moos); font-weight: 600; }
.formular__zeitraum:empty { display: none; }
.haken { display: flex; gap: .75rem; align-items: flex-start; font-size: .97rem; color: var(--tinte-leise); cursor: pointer; }
.haken input { flex: none; width: 1.3rem; height: 1.3rem; margin: .2rem 0 0; accent-color: var(--moos); cursor: pointer; }
.formular__falle { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.formular__klein { font-size: .9rem; color: var(--tinte-leise); margin: 0; }
.formular__knopf { justify-self: start; }
.formular__knopf[disabled] { opacity: .7; cursor: progress; transform: none; }

.antwort { margin-top: 1.4rem; padding: 1.1rem 1.3rem; border-radius: var(--radius-klein); border-left: 4px solid var(--moos); background: var(--papier); }
.antwort[hidden] { display: none; }
.antwort:focus { outline: none; }
.antwort--frei { border-color: var(--moos); background: #E5F0EA; }
.antwort--belegt, .antwort--pruefung { border-color: var(--honig-hell); background: #FAF1E1; }
.antwort--fehler { border-color: #B3261E; background: #FBEAE8; }
.antwort p { margin: 0; }
@media (max-width: 480px) {
  .preistabelle { font-size: .88rem; }
  .preistabelle th, .preistabelle td { padding: .6rem .4rem; }
  .preistabelle thead th { font-size: .7rem; letter-spacing: .02em; }
}
