/* 3dscanner.audisys.de – Inhalte im audiSys-Rahmen (übernommen von hearkiosk.css). Schrift, Grundstil, Kopf und Fuß kommen aus
   site.css + marke.css (beinhauer.it, body.p-au); hier nur die Leiste und die Bausteine der Seite. */
body.p-au { --sec: clamp(3rem, 2rem + 4vw, 5.5rem); --d-width: 92%; --d-weight: 640; }

/* Unterleiste: Name, Status und Menü unter dem audiSys-Kopf */
.hk-leiste { background: var(--blue-soft); border-bottom: var(--hair) solid var(--line); }
.hk-leiste .wrap { display: flex; align-items: center; justify-content: space-between; gap: .4rem 1.4rem; flex-wrap: wrap; min-height: 52px; padding-block: .4rem; }
.hk-name { display: flex; align-items: center; gap: .5rem; color: var(--head); font-weight: 700; text-decoration: none; font-stretch: 92%; font-size: 1.1rem; }
.hk-name svg { width: 1.7rem; height: 1.7rem; flex: none; }
.hk-name em { font-style: normal; font-weight: 400; color: var(--accent-text); }
.status { font-size: .72rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: .15rem .45rem; }
.hk-menue { display: flex; gap: .2rem 1.2rem; flex-wrap: wrap; }
.hk-menue a { color: var(--head); font-weight: 600; text-decoration: none; padding-block: .3rem; border-bottom: 3px solid transparent; }
.hk-menue a { white-space: nowrap; }
@media (max-width: 860px) {
  .hk-menue { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .hk-menue::-webkit-scrollbar { display: none; }
}
@media (hover: hover) and (pointer: fine) { .hk-menue a:hover { border-bottom-color: var(--accent); } }

/* Abschnitte */
h1 em { font-style: normal; color: var(--accent-text); }
h2 { max-width: 22ch; }
.hinweis, .klein { font-size: .9375rem; color: var(--muted); }
.band { border-block: 1px solid var(--line); }
.kopfzeile { margin-bottom: clamp(1.8rem, 1.4rem + 1.6vw, 3rem); }
.kopfzeile::before { content: ""; display: block; height: 14px; margin-bottom: 1rem; border-bottom: 1px solid var(--blue);
  background:
    repeating-linear-gradient(90deg, var(--blue) 0 1px, transparent 1px 80px) bottom left / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, #8b9fb1 0 1px, transparent 1px 16px) bottom left / 100% 6px no-repeat; }
.messwert-label { font-size: .8rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.drei { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-bottom: 1.5rem; }
.drei > div { padding: 1.5rem 1.5rem 1rem 0; }
.drei > div + div { border-left: 1px solid var(--line); padding-left: 1.5rem; }
@media (max-width: 860px) {
  .zwei, .drei { grid-template-columns: minmax(0, 1fr); }
  .drei > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
}

/* Einstieg */
.einstieg { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); }
.einstieg .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.einstieg h1 { margin-bottom: 1.2rem; max-width: 17ch; }
.marke-konzept { display: inline-block; font-size: .8rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
  border: 1px solid var(--blue); padding: .35rem .6rem; margin-bottom: 1.4rem; }
.bausteine { list-style: none; padding: 0; margin: 1.6rem 0 1.8rem; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.bausteine li + li { border-left: 1px solid var(--line); }
.bausteine a { display: grid; gap: .15rem; padding: 1rem 1rem 1rem 0; text-decoration: none; color: var(--ink); min-height: 48px; }
.bausteine li + li a { padding-left: 1rem; }
@media (hover: hover) and (pointer: fine) { .bausteine a:hover strong { color: var(--accent-text); } }
.bausteine .nr { font-size: .8rem; font-weight: 650; letter-spacing: .14em; color: var(--muted); }
.bausteine strong { color: var(--blue); font-size: var(--step-1); font-stretch: var(--d-width); font-weight: 650; }
.bausteine span:last-child { color: var(--muted); font-size: .9375rem; }
@media (max-width: 860px) { .einstieg .wrap { grid-template-columns: minmax(0, 1fr); } .einstieg .skizze { max-width: 420px; } }
@media (max-width: 480px) { .bausteine { grid-template-columns: 1fr; } .bausteine li + li { border-left: 0; border-top: 1px solid var(--line); } .bausteine li + li a { padding-left: 0; } }

/* Knopf */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .75rem 1.4rem; background: var(--blue); color: #fff;
  font: inherit; font-weight: 620; text-decoration: none; border: 0; border-radius: 0; cursor: pointer; box-shadow: inset 0 -4px 0 var(--accent);
  transition: background .2s, transform .1s ease-out; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) and (pointer: fine) { .knopf:hover { background: var(--night); color: #fff; } }
.knopf:active { transform: scale(.97); }
.knopf:disabled { opacity: .6; cursor: wait; }

/* Skizzen */
.skizze { margin: 0; background: var(--paper); border: 1px solid var(--line); padding: 1rem; }
.band .skizze { background: #fff; }
.skizze figcaption { font-size: .875rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .6rem; margin-top: .6rem; }

/* Listen */
.liste { padding: 0; margin: 0 0 1.2rem; list-style: none; }
.liste li { padding: .55rem 0 .55rem 1.4rem; border-bottom: 1px solid var(--line); position: relative; }
.liste li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: .7rem; height: 2px; background: var(--accent); }
.orte { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.orte li { border: 1px solid var(--blue); color: var(--blue); padding: .55rem .9rem; font-weight: 560; background: #fff; }

/* Tabelle Batteriegrößen */
.groessen { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.groessen caption { text-align: left; font-size: .8rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: .6rem; }
.groessen th, .groessen td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.groessen thead th { font-size: .875rem; color: var(--muted); font-weight: 600; }
.groessen tbody th { font-size: 1.5rem; font-stretch: var(--d-width); font-weight: 650; color: var(--blue); font-variant-numeric: tabular-nums; width: 40%; }
.farbe { display: inline-block; width: 1.4rem; height: 1.4rem; margin-right: .7rem; vertical-align: -.3rem; border: 1px solid var(--ink); }

/* Fragen */
.fragen { border-top: 1px solid var(--blue); max-width: 860px; }
.fragen details { border-bottom: 1px solid var(--line); background: #fff; }
.fragen summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1rem; min-height: 56px; font-weight: 640; color: var(--blue); position: relative; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: 1rem; top: .75rem; font-size: 1.5rem; line-height: 1; color: var(--accent-text); }
.fragen details[open] summary::after { content: "–"; }
.fragen details p { padding: 0 1rem 1rem; margin: 0; }

/* Formular */
.formular { display: grid; gap: 1.1rem; background: var(--paper-2); border: 1px solid var(--line); padding: clamp(1.2rem, .8rem + 1.5vw, 2rem); }
.formular label { display: block; font-weight: 600; margin-bottom: .3rem; }
.formular .hilfe { font-weight: 400; color: var(--muted); }
.formular input:not([type=checkbox]), .formular select, .formular textarea {
  width: 100%; min-height: 48px; padding: .65rem .8rem; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid var(--field-line); border-radius: 0; }
.formular textarea { min-height: 9rem; resize: vertical; }
.formular input:focus-visible, .formular select:focus-visible, .formular textarea:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 1px; }
.haken { display: grid !important; grid-template-columns: 28px 1fr; gap: .6rem; align-items: start; font-weight: 400 !important; }
.haken input { width: 24px; height: 24px; margin: .1rem 0 0; accent-color: var(--blue); }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { margin: 0; padding: .8rem 1rem; background: #eef5dc; border-left: 4px solid var(--accent); }
.meldung.fehler { background: #fbeaea; border-left-color: #a32020; }

/* Unterseiten */
.blatt { max-width: 760px; }
.blatt h1 { font-size: var(--step-3); margin-bottom: 1rem; }
.blatt h2 { font-size: var(--step-1); font-stretch: 100%; font-weight: 700; margin: 2rem 0 .5rem; max-width: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .knopf:active { transform: none; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Förderung (Abschnitt Für die Branche) */
.foerderung { margin: 2rem 0 1.2rem; padding: 1.4rem 1.6rem; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--accent); }
.foerderung h3 { margin-top: 0; }
.foerderung p:last-child { margin-bottom: 0; }

/* Steckbrief (Abschnitt Funktionen) */
.steckbrief tbody th { font-size: 1rem; font-stretch: 100%; width: 36%; }
.hk-gewaehr { max-width: 70ch; }
