/* AVV-Portal LX EXPERT - Gestaltung angelehnt an lxexpert.de: Arial, helles Beige, Rot #e30613, eckige Knoepfe. */
:root {
  --text: #17191c;
  --gedaempft: #5f6368;
  --linie: #dedbd2;
  --flaeche: #f5f4f0;
  --karte: #ffffff;
  --rot: #e30613;
  --rot-dunkel: #b8050f;
  --fehler: #b42318;
  --fehler-flaeche: #fdecea;
  --ok-flaeche: #eef6ee;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 Arial, Helvetica, sans-serif; color: var(--text); background: var(--flaeche); }
a { color: var(--text); text-decoration-color: var(--rot); text-underline-offset: 3px; }
a:hover { color: var(--rot); }
.huelle { max-width: 980px; margin: 0 auto; padding: 0 16px; }

.leiste { background: var(--text); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 7px 0; }
.kopf { background: #fff; border-bottom: 1px solid var(--linie); padding: 18px 0; }
.logo { display: block; height: 30px; width: auto; }

main.huelle { padding-top: 36px; padding-bottom: 48px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 4px; background: var(--rot); }
h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 28px; letter-spacing: -.01em; }
h2 { font-size: 20px; margin: 0 0 12px; }

.karte { background: var(--karte); border: 1px solid var(--linie); padding: 24px 28px; margin-bottom: 20px; }
.karte > :last-child { margin-bottom: 0; }
.karte.schmal { max-width: 640px; }
.spalten { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: start; }
.spalten .karte { margin-bottom: 0; }
.schritte { padding-left: 20px; }
.schritte li { margin-bottom: 6px; }

.raster { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 14px 0; }
.feld { display: flex; flex-direction: column; gap: 5px; font-size: 14px; }
.feld.breit { grid-column: 1 / -1; }
.feld > span { font-weight: 700; }
.pflicht { color: var(--rot); }
.optional { font-weight: 400; color: var(--gedaempft); }
input[type=text], input[type=email] {
  font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #b9b5aa; border-radius: 0; background: #fff; color: var(--text); width: 100%;
}
input:focus { outline: 2px solid var(--text); outline-offset: 1px; }
input[aria-invalid=true] { border-color: var(--fehler); background: var(--fehler-flaeche); }
input.fest { background: var(--flaeche); color: var(--gedaempft); }
.feldfehler { color: var(--fehler); font-size: 13px; }
.formular .feld + .hinweis { margin-top: 6px; }
.hinweis { font-size: 14px; color: var(--gedaempft); }
.hinweis-kasten { background: var(--flaeche); border-left: 4px solid var(--rot); padding: 12px 16px; font-size: 14px; }
.klein { font-size: 13px; color: var(--gedaempft); }

.haken { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--linie); background: var(--flaeche); margin-top: 16px; cursor: pointer; }
.haken input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--rot); }
.haken.ist-fehler { border-color: var(--fehler); background: var(--fehler-flaeche); }

.altcha-feld { margin: 16px 0; }
.altcha-feld.ist-fehler altcha-widget { outline: 2px solid var(--fehler); }
altcha-widget { --altcha-max-width: 100%; --altcha-border-radius: 0; --altcha-color-border: #b9b5aa; }

.knopf {
  display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 0; cursor: pointer;
  background: var(--rot); color: #fff; font: 700 15px/1 Arial, Helvetica, sans-serif; padding: 15px 22px; text-decoration: none;
}
.knopf:hover { background: var(--rot-dunkel); color: #fff; }
.knopf:disabled { opacity: .6; cursor: default; }
.knopf.gross { font-size: 17px; padding: 18px 28px; }
.absenden { text-align: left; }

.meldung { padding: 14px 18px; margin-bottom: 20px; border-left: 4px solid; }
.meldung.fehler { background: var(--fehler-flaeche); border-color: var(--fehler); }
.meldung.fehler.erledigt { background: var(--ok-flaeche); border-color: #2f7d32; }
.meldung ul { margin: 8px 0 0; padding-left: 20px; }
.meldung li.behoben { text-decoration: line-through; color: var(--gedaempft); }
.meldung a { color: inherit; }

.pdf { width: 100%; height: 560px; border: 1px solid var(--linie); background: #fff; }
.liste { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; }
.liste dt { color: var(--gedaempft); }
.liste dd { margin: 0; }

.fuss { border-top: 1px solid var(--linie); background: #fff; padding: 20px 0; font-size: 13px; color: var(--gedaempft); }
.fuss a { color: var(--gedaempft); }

@media (max-width: 760px) {
  main.huelle { padding-top: 24px; }
  .spalten, .raster { grid-template-columns: 1fr; }
  /* Am Handy zuerst das Formular, die Erklaerung darunter. */
  .karte-start { order: -1; }
  .karte { padding: 18px 16px; }
  .pdf { height: 420px; }
  .logo { height: 22px; }
}
