/* Handy-Akku tauschen (app/content/seiten/handy-akku-tausch.php) – nur Ergänzungen zu site.css */

/* Kopf: Text und Suche links, Zeichnung rechts (unter 960 px nur Text) */
.hak-kopf { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 28px 56px; }
.hak-kopf .gross { max-width: 52ch; }
.hak-kopf .suche { margin-bottom: 0; }
.hak-kopf__bild { max-height: 460px; }
.hak-daten { margin: 24px 0 0; max-width: 620px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 559px) { .hak-daten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .hak-kopf { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; padding-block: 40px 88px; }
}
@media (max-width: 959px) { .hak-kopf__bild { display: none; } }

/* Preise je Marke */
.hak-preise { padding-top: clamp(48px, 2rem + 3vw, 96px); }
.hak-preise__kopf { display: grid; gap: 8px 64px; margin-bottom: 28px; align-items: end; }
.hak-preise__kopf .h2 { margin-bottom: 0; }
.hak-preise__kopf p:not(.etikett) { margin: 0; color: var(--text-2); max-width: 58ch; }
@media (min-width: 900px) { .hak-preise__kopf { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.hak-marken li { padding: 0; }
.hak-marken a { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 12px 4px; text-decoration: none; color: var(--schwarz); }
.hak-marken span { font-weight: 600; }
.hak-marken small { display: block; font-weight: 400; font-size: .82rem; color: var(--stahl); }
.hak-marken a:hover span { color: var(--rot); }
.hak-marken a::after { content: "→"; color: var(--alu); margin-left: -4px; transition: transform .15s, color .15s; }
.hak-marken a:hover::after { color: var(--rot); transform: translateX(3px); }
.hak-marken strong { margin-left: auto; }
.hak-fussnote { margin: 16px 0 0; font-size: .88rem; color: var(--stahl); max-width: 70ch; }

/* Beispielpreise als Tabelle */
.hak-beispiele { margin-top: clamp(48px, 2rem + 3vw, 88px); }
.hak-beispiele .h3 { margin-bottom: .8em; }
.hak-tabelle { width: 100%; border-collapse: collapse; border-top: 2px solid var(--schwarz); font-variant-numeric: tabular-nums; }
.hak-tabelle th, .hak-tabelle td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px dashed var(--alu); }
.hak-tabelle thead th { padding-block: 10px; border-bottom: 1px solid var(--alu); font: 400 .72rem var(--din); letter-spacing: .16em; text-transform: uppercase; color: var(--stahl); }
.hak-tabelle tbody tr.hak-tabelle__erste > * { border-top: 1px solid var(--alu); }
.hak-tabelle tbody tr:first-child > * { border-top: 0; }
.hak-tabelle th[scope="row"] { font-weight: 600; width: 40%; }
.hak-tabelle th[scope="row"] a { text-decoration: none; }
.hak-tabelle th[scope="row"] a:hover { text-decoration: underline; }
.hak-tabelle td { color: var(--text-2); }
.hak-tabelle td:last-child, .hak-tabelle thead th:last-child { text-align: right; padding-right: 0; }
.hak-tabelle__preis { font: 700 1.05rem var(--din); color: var(--rot); white-space: nowrap; }
.hak-tabelle__buchen { display: inline-block; margin-left: 16px; font: 700 .88rem var(--din); color: var(--schwarz); text-decoration: underline; text-decoration-color: var(--alu); text-underline-offset: .25em; }
.hak-tabelle__buchen:hover { color: var(--rot); text-decoration-color: currentColor; }
@media (max-width: 599px) {
  .hak-tabelle { font-size: .92rem; }
  .hak-tabelle th, .hak-tabelle td { padding-right: 10px; }
  .hak-tabelle th[scope="row"] { width: auto; }
  .hak-tabelle__buchen { display: block; margin: 6px 0 0; padding-block: 6px; }
}

/* Befunde und Arbeitsschritte – nummeriert wie ein Befundbogen */
.hak-befunde { list-style: none; margin: 0; padding: 0; counter-reset: befund; border-top: 2px solid var(--schwarz); }
.hak-befunde li { counter-increment: befund; position: relative; display: grid; gap: 6px 48px; padding: 22px 0 20px 48px; border-bottom: 1px solid var(--alu); }
.hak-befunde li::before { content: counter(befund, decimal-leading-zero); position: absolute; left: 0; top: 25px; font: 700 .95rem var(--din); letter-spacing: .04em; color: var(--rot); }
.hak-befunde h3 { margin: 0; font: 700 1.2rem/1.3 var(--din); }
.hak-befunde p { margin: 0; color: var(--text-2); max-width: 64ch; }

/* Verschleiß: Befunde links, Akkuzustand rechts */
.hak-zeichen__kopf { margin-bottom: 28px; }
.hak-zeichen__kopf p:not(.etikett) { color: var(--text-2); max-width: 62ch; }
.hak-zeichen { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
@media (min-width: 960px) { .hak-zeichen { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }
.hak-zustand { background: #fff; border-radius: 4px; box-shadow: 0 0 0 1px rgb(10 10 11 / .08); padding: 26px 28px 20px; }
.hak-zustand > p { color: var(--text-2); }
.hak-zustand__liste { margin: 16px 0 0; border-top: 2px solid var(--schwarz); }
.hak-zustand__liste > div { padding: 14px 0; border-bottom: 1px solid var(--alu); }
.hak-zustand__liste > div:last-child { border-bottom: 0; padding-bottom: 4px; }
.hak-zustand__liste dt { font: 700 1rem var(--din); margin-bottom: 4px; }
.hak-zustand__liste dd { margin: 0; color: var(--text-2); }

/* Werkstatt: Einleitung und Schritte links, Explosionszeichnung rechts mitlaufend (schmal: Zeichnung zwischen Einleitung und Schritten) */
.hak-tausch { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; grid-template-areas: "kopf" "bild" "schritte"; }
.hak-tausch__kopf { grid-area: kopf; }
.hak-tausch__kopf p:not(.etikett) { color: var(--text-2); max-width: 58ch; margin-bottom: 0; }
.hak-schritte { grid-area: schritte; }
@media (min-width: 960px) {
  .hak-tausch { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "kopf bild" "schritte bild"; gap: 40px 64px; }
  .hak-tausch .hak-explosion { position: sticky; top: calc(var(--kopf-h) + 40px); align-self: start; margin-top: 56px; }
}

.hak-explosion { grid-area: bild; margin: 0; width: 100%; max-width: 520px; justify-self: center; }
.hak-explosion svg { width: 100%; height: auto; overflow: visible; }
.hak-explosion figcaption { margin-top: 14px; font-size: .88rem; color: var(--stahl); max-width: 54ch; }
.hak-x__fuehrung { stroke: var(--alu); stroke-width: 1; stroke-dasharray: 2 4; }
.hak-x__schraffur { stroke: var(--stahl); stroke-width: 1.1; }
.hak-x__glas { fill: #E6ECF1; stroke: var(--schwarz); stroke-width: 1.2; }
.hak-x__dichtung { fill: rgb(160 0 0 / .28); stroke: var(--rot); stroke-width: .75; }
.hak-x__spule { fill: var(--stahl); }
.hak-x__platine { fill: var(--stahl); stroke: var(--schwarz); stroke-width: 1; }
.hak-x__chip { fill: var(--graphit); }
.hak-x__stecker { fill: var(--schwarz); }
.hak-x__akku { fill: var(--graphit-2); stroke: var(--schwarz); stroke-width: 1.2; }
.hak-x__aufschrift { font: 700 9px var(--din); letter-spacing: .24em; fill: var(--text-hell-2); }
.hak-x__lasche { fill: #fff; stroke: var(--stahl); stroke-width: .75; }
.hak-x__lasche-ende, .hak-x__lasche-pfeil { fill: none; stroke: var(--stahl); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hak-x__einheit { fill: none; stroke: var(--glut); stroke-width: 2; stroke-dasharray: 7 5; }
.hak-x__rahmen { fill: url(#hak-schraffur); stroke: var(--schwarz); stroke-width: 1.2; }
.hak-x__panel { fill: var(--graphit-2); stroke: var(--schwarz); stroke-width: 1; }
.hak-x__t { font: 700 13.5px var(--din); fill: var(--schwarz); }
.hak-x__t--rot { fill: var(--rot); }
.hak-x__klein { font: 400 11px var(--din); fill: var(--stahl); letter-spacing: .03em; }
.hak-x__beschriftung line, .hak-x__beschriftung polyline { fill: none; stroke: var(--stahl); stroke-width: 1; }
.hak-x__beschriftung circle { fill: var(--schwarz); }

/* Gewölbter Akku (dunkle Karte auch im grauen Abschnitt – site.css hellt Karten dort auf) */
.hak-woelbung { align-items: center; }
.abschnitt--grau .hak-sofort { background: var(--graphit); color: #fff; }
.hak-woelbung p:not(.etikett) { color: var(--text-2); max-width: 58ch; }
.hak-sofort { padding: 28px 30px 24px; }
.hak-sofort .liste-haken li { color: var(--text-hell-2); }
.hak-sofort .liste-haken li::before { border-color: var(--glut); }
.hak-sofort .knopf-reihe { margin-top: 8px; }

/* Ablauf: Text links, die drei Wege (weg-kurz) rechts */
.hak-ablauf { align-items: start; }
.hak-ablauf p:not(.etikett):not(.knopf-reihe) { color: var(--text-2); max-width: 58ch; }

/* Kombi-Nachlass mit Beispielrechnung */
.hak-kombi { align-items: center; }
.hak-kombi p:not(.etikett):not(.knopf-reihe) { color: var(--text-2); max-width: 58ch; }
.hak-beleg { margin: 0; padding: 26px 28px 22px; background: #fff; border-radius: 4px; box-shadow: 0 0 0 1px rgb(10 10 11 / .08); max-width: 480px; justify-self: center; width: 100%; }
.hak-beleg .etikett { margin-bottom: 12px; }
.hak-beleg dl { margin: 0; border-top: 2px solid var(--schwarz); }
.hak-beleg dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--alu); }
.hak-beleg dt { color: var(--text-2); }
.hak-beleg dd { margin: 0; font: 700 1.05rem var(--din); white-space: nowrap; }
.hak-beleg s { margin-right: 6px; font-weight: 400; color: var(--stahl); }
.hak-beleg__summe { border-bottom: 0 !important; }
.hak-beleg__summe dt { color: var(--schwarz); font-weight: 600; }
.hak-beleg__summe dd { font-size: 1.5rem; color: var(--rot); }
.hak-beleg__hinweis { margin: 8px 0 0; font-size: .82rem; color: var(--stahl); }
.hak-beleg .knopf-reihe { margin-top: 16px; }
@media (max-width: 599px) {
  .hak-x__t { font-size: 15.5px; }
  .hak-x__klein { font-size: 12px; }
}
