  /* Tokens wie auf www.zap-pruefstelle.de (neue Website, assets/css/style.css) */
  :root{
    --c-accent:#e24e1f; --c-accent-dk:#b93f1a; --c-text:#0e0e0e; --c-bg:#fff; --c-paper:#faf7f1;
    --c-line:#e4dfd6; --c-rand:#8a8378; --c-muted:#6b6b6b; --c-fehler:#b3261e; --c-ok:#1d6b3a;
    --font:Helvetica,Arial,sans-serif; --font-mark:Georgia,"Times New Roman",serif;
    --pad-x:20px;
  }
  @media (min-width:768px){ :root{ --pad-x:32px; } }
  *,*::before,*::after{ box-sizing:border-box; }
  html{ -webkit-text-size-adjust:100%; scroll-padding-top:16px; }
  body{ margin:0; font-family:var(--font); font-size:17px; line-height:1.5; color:var(--c-text); background:var(--c-paper);
        -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
  h1,h2,h3,p,ol,ul,fieldset,legend,figure{ margin:0; padding:0; }
  ol,ul{ list-style:none; }
  fieldset{ border:0; min-width:0; }
  a{ color:inherit; }
  :focus-visible{ outline:2px solid var(--c-accent); outline-offset:3px; }
  [hidden]{ display:none !important; }
  .sr-only{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
  .skip{ position:absolute; left:8px; top:-60px; z-index:20; padding:10px 14px; background:var(--c-text); color:#fff; font-weight:700; text-decoration:none; }
  .skip:focus{ top:8px; }

  /* Kopf – Maße wie auf der Website (64 px, ab 992 px 96 px; Logo 48×40 bzw. 63×52) */
  .kopf{ background:var(--c-bg); border-bottom:1px solid var(--c-line); }
  .kopf__innen{ display:flex; align-items:center; justify-content:space-between; gap:16px; max-width:1440px; height:64px; margin:0 auto; padding:0 var(--pad-x); }
  .brand{ display:inline-flex; align-items:center; gap:12px; white-space:nowrap; text-decoration:none; }
  .brand__logo{ flex:0 0 auto; width:48px; height:40px; background:url("/assets/img/zap-logo.svg") center/contain no-repeat; }
  .brand__name{ font-family:var(--font-mark); font-size:19px; line-height:1.2; }
  .kopf__rechts{ display:flex; align-items:center; gap:28px; }
  .kopf__tel{ display:none; font-size:16px; font-weight:700; text-decoration:none; font-variant-numeric:tabular-nums; }
  .kopf__zurueck{ display:inline-flex; align-items:center; gap:6px; min-height:44px; font-size:15px; font-weight:700; text-decoration:none; }
  .kopf__zurueck span{ background:linear-gradient(var(--c-accent),var(--c-accent)) 0 100%/100% 1px no-repeat; padding:4px 0 2px; }
  @media (max-width:420px){ .kopf__zurueck .lang{ display:none; } }
  @media (min-width:992px){
    .kopf__innen{ height:96px; }
    .brand__logo{ width:63px; height:52px; }
    .brand__name{ font-size:23px; }
    .kopf__tel{ display:inline-flex; align-items:center; min-height:44px; }
  }

  /* Seite */
  .seite{ max-width:1440px; margin:0 auto; padding:28px var(--pad-x) 56px; }
  .intro{ max-width:760px; }
  .intro h1{ font-size:clamp(34px,22px + 3vw,64px); line-height:1.05; font-weight:700; letter-spacing:-.01em; }
  .intro p{ margin-top:10px; font-size:16px; line-height:24px; color:#3a3a3a; max-width:36em; }
  @media (min-width:768px){ .intro p{ font-size:19px; line-height:30px; } }
  .raster{ display:grid; gap:24px; margin-top:24px; }
  @media (min-width:992px){
    .seite{ padding-top:64px; }
    .raster{ grid-template-columns:minmax(0,760px) 320px; gap:64px; align-items:start; margin-top:36px; }
    .seitenspalte{ position:sticky; top:24px; }
  }
  @media (max-width:767px){ body{ font-size:16px; } .nur-gross{ display:none !important; } }

  /* Formular-Blöcke */
  .form{ display:grid; gap:16px; min-width:0; }
  .block{ padding:22px 18px 24px; background:var(--c-bg); border:1px solid var(--c-line); }
  @media (min-width:768px){ .block{ padding:28px 32px 32px; } }
  /* legend schwebt sonst auf der Rahmenlinie: float holt sie in den Kasten */
  .block__titel{ float:left; display:flex; align-items:baseline; gap:12px; width:100%; font-size:20px; line-height:1.3; font-weight:700; }
  .block__titel + *{ clear:both; }
  .block__nr{ font-size:13px; font-weight:700; letter-spacing:.06em; color:var(--c-accent-dk); font-variant-numeric:tabular-nums; }   /* dunkles Orange: 5,5 : 1 */
  .block__opt{ margin-left:auto; font-size:14px; font-weight:400; color:var(--c-muted); }
  .block__text{ margin-top:6px; font-size:15px; line-height:22px; color:var(--c-muted); }

  /* Stellenwahl */
  .stellen{ display:grid; gap:8px; margin-top:16px; }
  .stelle{ position:relative; display:flex; align-items:center; gap:14px; min-height:64px; padding:12px 14px; border:1px solid var(--c-rand); background:var(--c-bg); cursor:pointer; }
  .stelle input{ position:absolute; opacity:0; width:1px; height:1px; }
  .stelle__punkt{ flex:0 0 auto; width:22px; height:22px; border:1.5px solid var(--c-rand); border-radius:50%; background:#fff; }
  .stelle__text{ display:grid; gap:2px; min-width:0; }
  .stelle__titel{ font-size:17px; line-height:22px; font-weight:700; }
  .stelle__ort{ font-size:14px; line-height:20px; color:var(--c-muted); }
  /* .stelle--aktiv setzt das Skript (Rückfall für Browser ohne :has) */
  .stelle--aktiv, .stelle:has(input:checked){ border:2px solid var(--c-text); padding:11px 13px; }
  .stelle input:checked + .stelle__punkt{ border:6px solid var(--c-accent); }
  .stelle:focus-within{ outline:2px solid var(--c-accent); outline-offset:2px; }
  .ablage:focus-within .ablage__knopf{ outline:2px solid var(--c-accent); outline-offset:3px; }
  @media (hover:hover){ .stelle:hover{ border-color:var(--c-text); } }
  .stellen--zu .stelle:not(.stelle--aktiv){ display:none; }
  .stellen__aendern{ justify-self:start; margin-top:4px; }

  /* Felder */
  .felder{ display:grid; gap:18px; margin-top:18px; }
  @media (min-width:640px){ .felder--2{ grid-template-columns:repeat(2,minmax(0,1fr)); } .feld--breit{ grid-column:1/-1; } }
  .feld{ display:grid; gap:6px; align-content:start; min-width:0; }
  .feld > label, .feld > .feld__label{ font-size:15px; line-height:20px; font-weight:700; }
  .feld__label .opt, .feld > label .opt{ font-weight:400; color:var(--c-muted); }
  .feld__hilfe{ font-size:14px; line-height:20px; color:var(--c-muted); }
  input[type=text],input[type=tel],input[type=email],input[type=url],textarea{
    width:100%; min-height:50px; padding:11px 12px; border:1px solid var(--c-rand); border-radius:0; background:#fff; color:var(--c-text);
    font:inherit; font-size:17px; line-height:1.4; -webkit-appearance:none; appearance:none; }
  textarea{ min-height:112px; resize:vertical; }
  input::placeholder,textarea::placeholder{ color:#757575; }   /* 4,6 : 1 auf Weiß */
  input:focus,textarea:focus{ outline:none; border-color:var(--c-text); box-shadow:0 0 0 1px var(--c-text); }
  [aria-invalid="true"]{ border-color:var(--c-fehler) !important; box-shadow:0 0 0 1px var(--c-fehler) !important; }
  .feldfehler{ display:flex; gap:6px; font-size:14px; line-height:20px; color:var(--c-fehler); font-weight:700; }

  /* Auswahl-Knöpfe (Ja/Nein, Erfahrung …) */
  .chips{ display:flex; flex-wrap:wrap; gap:8px; }
  .chip{ position:relative; }
  .chip input{ position:absolute; opacity:0; width:1px; height:1px; }
  .chip span{ display:inline-flex; align-items:center; min-height:44px; padding:0 16px; border:1px solid var(--c-rand); background:#fff; font-size:16px; cursor:pointer; user-select:none; }
  .chip input:checked + span{ border:2px solid var(--c-text); padding:0 15px; font-weight:700; box-shadow:inset 0 -3px 0 var(--c-accent); }
  .chip input:focus-visible + span{ outline:2px solid var(--c-accent); outline-offset:2px; }
  @media (hover:hover){ .chip span:hover{ border-color:var(--c-text); } }
  [role="radiogroup"][aria-invalid="true"] .chip span{ border-color:var(--c-fehler); }
  .stellen[aria-invalid="true"] .stelle{ border-color:var(--c-fehler); }
  .feldfehler:empty{ display:none; }

  /* Unterlagen */
  .ablage{ position:relative; display:grid; justify-items:center; gap:6px; margin-top:16px; padding:22px 16px; border:1.5px dashed var(--c-rand); background:var(--c-paper); text-align:center; }
  .ablage.ziehen{ border-color:var(--c-accent); background:#fff4ef; }
  .ablage__knopf{ display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:0 20px; border:1px solid var(--c-text); background:#fff; font:inherit; font-size:16px; font-weight:700; cursor:pointer; }
  .ablage__knopf svg{ width:18px; height:18px; }
  @media (hover:hover){ .ablage__knopf:hover{ background:var(--c-text); color:#fff; } }
  .ablage__text{ font-size:14px; line-height:20px; color:var(--c-muted); }
  .ablage__nur-desktop{ display:none; }
  @media (hover:hover) and (pointer:fine){ .ablage__nur-desktop{ display:inline; } }
  /* Am Handy kein „Ablegen“: nur ein breiter, flacher Knopf */
  @media (max-width:767px){
    .ablage{ padding:0; border:0; background:none; }
    .ablage__knopf{ width:100%; min-height:52px; }
    .ablage__text{ display:none; }
  }
  .dateien{ display:grid; gap:8px; margin-top:12px; }
  .datei{ display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:12px; padding:10px 8px 10px 12px; border:1px solid var(--c-line); background:#fff; }
  .datei__typ{ display:grid; place-items:center; width:40px; height:40px; background:var(--c-paper); border:1px solid var(--c-line); font-size:11px; font-weight:700; letter-spacing:.04em; }
  .datei__name{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:15px; font-weight:700; }
  .datei__info{ font-size:13px; color:var(--c-muted); }
  .datei__info--arbeit::before{ content:""; display:inline-block; width:10px; height:10px; margin-right:6px; border:2px solid var(--c-rand); border-top-color:transparent; border-radius:50%; vertical-align:-1px; animation:drehen .8s linear infinite; }
  .datei__weg{ display:grid; place-items:center; width:44px; height:44px; border:0; background:none; cursor:pointer; color:var(--c-muted); }
  .datei__weg:hover{ color:var(--c-fehler); }
  .datei__weg svg{ width:18px; height:18px; }
  .speicher{ display:flex; align-items:center; gap:10px; margin-top:10px; font-size:13px; color:var(--c-muted); font-variant-numeric:tabular-nums; }
  .speicher__balken{ flex:1; height:4px; background:var(--c-line); }
  .speicher__balken i{ display:block; height:100%; width:0; background:var(--c-text); transition:width .2s; }
  .speicher--voll .speicher__balken i{ background:var(--c-fehler); }

  /* Absenden */
  .absenden{ display:grid; gap:12px; padding:4px 0 0; }
  .knopf{ display:inline-flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:56px; padding:0 24px; border:1px solid var(--c-text);
          background:var(--c-text); color:#fff; font:inherit; font-size:18px; font-weight:700; text-decoration:none; cursor:pointer; transition:background-color .2s,border-color .2s; }
  @media (hover:hover){ .knopf:hover:not(:disabled){ background:var(--c-accent-dk); border-color:var(--c-accent-dk); } }
  .knopf:disabled{ opacity:.7; cursor:default; }
  .knopf__dreh{ width:18px; height:18px; border:2px solid rgba(255,255,255,.5); border-top-color:#fff; border-radius:50%; animation:drehen .8s linear infinite; }
  @media (min-width:640px){ .knopf{ width:auto; min-width:280px; justify-self:start; } }
  .absenden__hinweis{ font-size:14px; line-height:20px; color:var(--c-muted); max-width:40em; }
  .fehlerbox{ padding:14px 16px; border-left:3px solid var(--c-fehler); background:#fff; font-size:16px; line-height:24px; }
  .fehlerbox strong{ display:block; }
  .fehlerbox a{ font-weight:700; }
  .textlink{ padding:0; border:0; background:none; font:inherit; font-size:15px; font-weight:700; color:var(--c-text); cursor:pointer; text-decoration:none; min-height:44px; display:inline-flex; align-items:center; }
  .textlink span{ background:linear-gradient(var(--c-accent),var(--c-accent)) 0 100%/100% 1px no-repeat; padding:4px 0 2px; }
  .falle{ position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }

  /* Seitenspalte: so geht es weiter */
  .info{ padding:22px 18px; background:var(--c-bg); border:1px solid var(--c-line); }
  @media (min-width:768px){ .info{ padding:24px 28px; } }
  .info h2{ font-size:17px; line-height:24px; font-weight:700; }
  .ablauf{ display:grid; gap:14px; margin-top:14px; counter-reset:ablauf; }
  .ablauf li{ display:grid; grid-template-columns:28px minmax(0,1fr); gap:10px; font-size:15px; line-height:22px; counter-increment:ablauf; }
  .ablauf li::before{ content:"0" counter(ablauf); font-size:13px; font-weight:700; color:var(--c-accent-dk); padding-top:1px; font-variant-numeric:tabular-nums; }
  .info__kontakt{ margin-top:18px; padding-top:16px; border-top:1px solid var(--c-line); font-size:15px; line-height:22px; }
  .info__kontakt a{ font-weight:700; text-decoration:none; background:linear-gradient(var(--c-accent),var(--c-accent)) 0 100%/100% 1px no-repeat; }
  @media (max-width:991px){ .seitenspalte{ order:2; } }

  /* Erfolg */
  .erfolg{ max-width:720px; margin-top:28px; padding:28px 20px 32px; background:var(--c-bg); border:1px solid var(--c-line); border-top:3px solid var(--c-accent); }
  @media (min-width:768px){ .erfolg{ padding:40px; } }
  .erfolg:focus{ outline:none; }
  .erfolg__haken{ display:grid; place-items:center; width:48px; height:48px; border-radius:50%; background:var(--c-text); color:#fff; }
  .erfolg__haken svg{ width:24px; height:24px; }
  .erfolg h2{ margin-top:18px; font-size:clamp(26px,20px + 1.6vw,34px); line-height:1.15; font-weight:700; }
  .erfolg__lead{ margin-top:10px; font-size:17px; line-height:26px; }
  .erfolg .ablauf{ margin-top:24px; }
  .erfolg .ablauf li{ font-size:16px; line-height:24px; }
  .erfolg .knopf{ margin-top:24px; }
  .erfolg__klein{ margin-top:16px; font-size:15px; line-height:22px; color:var(--c-muted); }
  .erfolg__klein a{ color:var(--c-text); font-weight:700; }

  /* Fuß */
  .fuss{ border-top:1px solid var(--c-line); background:var(--c-bg); }
  .fuss__innen{ display:flex; flex-wrap:wrap; gap:8px 24px; justify-content:space-between; max-width:1120px; margin:0 auto; padding:24px var(--pad-x) 32px; font-size:14px; line-height:22px; color:var(--c-muted); }
  .fuss a{ color:var(--c-text); }
  .fuss__links{ display:flex; flex-wrap:wrap; gap:4px 18px; }
  .fuss__links a{ display:inline-flex; align-items:center; min-height:44px; }
  .fuss__links span{ display:inline-flex; align-items:center; min-height:44px; }

  @keyframes drehen{ to{ transform:rotate(360deg); } }
  @media (prefers-reduced-motion:reduce){ *{ animation:none !important; transition:none !important; } }
