/* R165: kleine Seitenkorrekturen; styles.css gehört der parallelen Preis-Bahn.
 * Maße: Bauzettel-Design tokens/design-tokens.json, masse.knopf = 48,
 * masse.touchziel-ios = 44. Farben und Formen aus den bestehenden Markenvariablen. */
.brand, .nav-links > li > a, .nav-links > li > button,
.mega-foot a, .foot-cols a, .foot-top a, .foot-legal a, .link, .ui-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.btn { min-height: 48px; }
@media (max-width: 760px) {
  .foot-legal nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; width: 100%; }
}
.foot-legal a, .link { min-width: 44px; }
/* Inline-Textlinks behalten den Zeilenfluss; eigenständige Aktionen bleiben 44 px hoch. */
main p a:not(.btn):not(.link), main small a:not(.btn):not(.link) {
  display: inline;
  min-height: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.wiz #checkout > label { display: block; min-height: 44px; }
.wiz #checkout > label a { min-height: 44px; display: inline-flex; align-items: center; }
.wiz .summary .row > * { min-width: 0; overflow-wrap: anywhere; }
.wiz .summary .row > span { flex: 0 0 30%; }
.wiz .summary .row > b { flex: 1; }
.wiz .help { overflow-wrap: anywhere; }
.wiz-foot { position: static; }
/* Inhalt darf im flexbasierten Bestelllayout nicht schrumpfen. */
body.app > .nav-wrap, body.app > footer { flex-shrink: 0; }
main .shell.narrow > .lead { margin-top: 1em; }

/* Inline-Verweise und Glossaranker: 44 px Trefferfläche laut Design-Skill. */
main li a, .gloss-nav a, .screen-cap a, .who a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
/* Auch kurze Linktexte brauchen 44 px Breite; Glossar-Chips sind Links. */
a:not(.skip-link) { min-width: 44px; }
a.chip { min-height: 44px; }
/* Ein langes deutsches Wort darf die einspaltige Mobilansicht nicht aufziehen. */
.page-hero .head > *, .page-hero.light .split > * { min-width: 0; }
h1 { overflow-wrap: anywhere; hyphens: manual; }
h2 { overflow-wrap: break-word; hyphens: auto; }
.device .top a, .price-compare-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
/* .visual kombiniert aspect-ratio mit min-height: ohne feste Breite wächst sie
 * mobil auf 903 px. Die Bildbreite muss an der vorhandenen Spalte bleiben. */
.page-hero .visual { width: 100%; max-width: 100%; }
/* 760 px: bestehender Handy-Breakpoint in styles.css; 16 px: bestehender Gutter.
 * Zweite Bildkarte bei 132 px = drei Trefferflächen à 44 px aus dem Design-Skill. */
@media (max-width: 760px) {
  .page-hero .visual .float.f1 { top: 16px; right: 16px; }
  .page-hero .visual .float.f2 { top: 132px !important; left: 16px; right: auto !important; }
  .page-hero .visual .float.f3 { bottom: 16px; right: 16px; }
}
/* Footer-Verweise bleiben einzelne Zeilen, auch mit vergrößerter Trefferfläche. */
.foot-cols a { display: flex; }
.foot-mobile { display: none; }
/* Lange Bestellbedingungen brauchen mobil die volle Kartenbreite. */
@media (max-width: 600px) {
  .wiz .summary .row { display: block; }
  .wiz .summary .row > span, .wiz .summary .row > b { display: block; text-align: left; }
}

/* Datenvorschauen sind keine Fotos: ohne festes Bildformat bleibt keine Leerfläche.
 * 24 px Innenabstand aus der bestehenden .page-hero.sky .visual-Regel. */
.page-hero .visual:has(> .iface) {
  display: grid;
  place-items: center;
  aspect-ratio: auto;
  min-height: 0;
  padding: 24px;
  background: var(--surface);
}

/* Runde 3: vorhandene Schrift, Farben und Grundgestaltung beibehalten. */
.hero-next { margin: 0 0 32px; }
.media-caption {
  margin-top: 16px;
  padding-bottom: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--on-surface-variant);
  text-align: left;
}
.hero .media-caption, .page-hero:not(.light) .media-caption { color: var(--on-dark-variant); padding-bottom: 24px; }
.page-hero.light .media-caption { margin-top: 24px; }
.page-hero h1, .cta h2 { text-wrap: balance; }
.page-hero .lead, .hero-copy .lead, .cta-copy .lead { max-width: 62ch; }
.page-hero .actions > .link, .hero .actions > .link { color: inherit; }
main > .wrap { max-width: var(--shell); margin: 32px auto 0; font-size: 14px; line-height: 1.6; }
main > section.center > .shell.narrow > .btn { margin-top: 28px; }
.wiz > p { max-width: 70ch; }
.wiz .method em { white-space: nowrap; }
@media (max-width: 760px) {
  .page-hero h1 { max-width: 18ch; }
  .media-caption { font-size: 14px; }
}
@media (max-width: 760px) {
  .foot-desktop { display: none; }
  .foot-mobile { display: block; }
  .foot-mobile summary {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-weight: 600;
    border-bottom: 1px solid var(--outline);
    list-style: none;
    cursor: pointer;
  }
  .foot-mobile summary::-webkit-details-marker { display: none; }
  .foot-mobile summary::marker { content: ""; }
  .foot-mobile .foot-toggle {
    margin-left: auto;
  }
  .foot-mobile .foot-toggle::before {
    content: "+";
    font-size: 20px;
    line-height: 1;
  }
  .foot-mobile[open] .foot-toggle::before {
    content: "−";
  }
  .foot-mobile summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
}

/* Bestellen: ruhige Website-Typografie, klarer Ablauf und kompakte Vertragszeilen. */
.order-progress { margin-bottom: 36px; }
.order-progress ol { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0; }
.order-progress li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--on-surface-variant); }
.order-progress li > span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--outline-variant); border-radius: 50%; font-size: 13px; }
.order-progress [aria-current] { color: var(--on-surface); font-weight: 600; }
.order-progress [aria-current] > span { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.checkout-layout > * { min-width: 0; }
.checkout-main { grid-column: 1; grid-row: 1; }
.checkout-summary { grid-column: 2; grid-row: 1; }
.checkout-main .card h3 { margin-bottom: 24px; }
.checkout-summary .card { background: var(--surface-low); }
.checkout-summary .summary .row { padding: 12px 0; gap: 18px; font-size: 14px; align-items: baseline; }
.checkout-summary .summary .row > span { flex: 1; }
.checkout-summary .summary .row > b { flex: 1; text-align: right; font-weight: 500; }
.checkout-summary .summary .row.total > b { font-size: 25px; font-weight: 600; white-space: nowrap; }
.checkout-summary hr { margin: 20px 0 24px; border: 0; border-top: 1px solid var(--outline-variant); }
.checkout-summary h3 { font-size: 18px; }
.checkout-summary .checkout-caption { margin: 8px 0 0; }
.checkout-trial { padding: 24px 4px 0; font-size: 14px; color: var(--on-surface-variant); }
.checkout-trial h3 { color: var(--on-surface); margin-bottom: 10px; }
.checkout-trial p + p { margin-top: 12px; }
.consents { border: 0; padding: 0; margin: 28px 0 16px; min-width: 0; }
.consents legend { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.wiz .consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 0; font-size: 14px; line-height: 1.6; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--dark); }
.wiz .consent a, .wiz .checkout-privacy a, .wiz .checkout-trial a, .wiz .checkout-legal p a { display: inline; min-height: 0; min-width: 0; text-decoration: underline; text-underline-offset: 3px; }
.checkout-privacy, .checkout-caption { font-size: 13px; color: var(--on-surface-variant); line-height: 1.6; }
.checkout-caption { margin-top: 12px; }
#bot-status { font-size: 13px; color: var(--on-surface-variant); margin: 12px 0 16px; }
#checkout > .btn { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.checkout-legal { margin-top: 24px; border-top: 1px solid var(--outline-variant); font-size: 14px; }
.checkout-legal summary { padding: 16px 0; cursor: pointer; font-weight: 600; min-height: 48px; }
.checkout-legal p { margin-bottom: 14px; color: var(--on-surface-variant); line-height: 1.65; }
.field-error { color: #9b281d; font-size: 13px; font-weight: 400; }
.field input[aria-invalid="true"] { border-color: #9b281d; }
.checkout-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.tariff-total { margin-top: 24px; background: var(--surface-low); }
.tariff-total > p { margin: 12px 0 0; }
.wiz .method:has(input:focus-visible) { outline: 3px solid var(--primary); outline-offset: 3px; }
@media (max-width: 760px) {
  .order-progress ol { gap: 12px; justify-content: space-between; }
  .order-progress li { font-size: 11px; gap: 6px; flex-direction: column; align-items: flex-start; }
  .order-progress { margin-bottom: 28px; }
  .checkout-layout { display: flex; flex-direction: column; gap: 28px; }
  .checkout-summary { width: 100%; }
  .checkout-main { width: 100%; }
  .checkout-summary .summary .row { display: flex; }
  .checkout-summary .summary .row > span, .checkout-summary .summary .row > b { display: block; }
  .checkout-summary .card, .checkout-main .card { padding: 22px; }
  .checkout-actions { flex-direction: column-reverse; align-items: stretch; }
  .checkout-actions .btn { width: 100%; }
}
@media print {
  .checkout-legal > * { display: block; }
}
.checkout-summary .summary .contract-term { display: block; }
.checkout-summary .summary .contract-term > b { display: block; text-align: left; margin-top: 6px; }
.order-header { background: #fff; border-bottom: 1px solid var(--outline-variant); flex-shrink: 0; }
.order-header .shell, .order-footer .shell { max-width: 1120px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.order-header .shell { min-height: 88px; }
.order-support { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; padding: 12px 0; }
footer.order-footer { padding: 24px 0; margin: 0; border-radius: 0; font-size: 13px; }
.order-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.order-footer a { display: inline-flex; min-height: 44px; align-items: center; }
@media (max-width: 600px) {
  .order-header .shell { min-height: 76px; gap: 16px; }
  .order-support { max-width: 120px; text-align: right; font-size: 12px; }
  .order-footer .shell { align-items: flex-start; flex-direction: column; gap: 8px; }
  .order-footer nav { gap: 16px; }
}

/* Produktstand 09.10.: originale Screenshots und neutraler Anbietervergleich. */
.product-screen{border:1px solid var(--line,#deded8);border-radius:16px;box-shadow:var(--shadow-float);height:auto!important;transform:none!important}
.page-hero .product-visual{height:auto;aspect-ratio:auto;background:#f5f4f0}
.page-hero .product-visual img{position:static;width:100%;height:auto;object-fit:contain}
.provider-comparison{overflow-x:auto;margin-top:32px;border:1px solid #d8d8d2;border-radius:16px;background:#fff}
.provider-comparison table{border-collapse:collapse;width:100%;min-width:900px;text-align:left;font-size:15px;line-height:1.6}
.provider-comparison th,.provider-comparison td{padding:22px 18px;border-bottom:1px solid #deded8;vertical-align:top;color:#202522;background:#fff;font-weight:400}
.provider-comparison thead th{background:#f0f0eb;font-weight:600}
.provider-comparison tbody th{font-weight:600;width:24%}
.provider-comparison small{display:block;font-size:13px;margin-top:6px;color:#525953;font-weight:400}
.provider-comparison caption{text-align:left;padding:18px;font-size:14px;color:#525953}
.comparison-sources{margin-top:20px;font-size:14px;line-height:1.8}.comparison-sources a{text-decoration:underline;text-underline-offset:3px}
.foot-legal nav{flex-wrap:wrap}
@media(max-width:760px){.provider-comparison th,.provider-comparison td{padding:16px}.hero .product-screen{max-width:100%}}

@media(max-width:760px){
 .provider-comparison table{min-width:0;display:block}.provider-comparison caption{display:block}
 .provider-comparison thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .provider-comparison tbody{display:block}.provider-comparison tr{display:block;margin-bottom:12px}
 .provider-comparison tbody th{display:block;width:auto;background:#f0f0eb}
 .provider-comparison td{display:block;min-width:0}.provider-comparison td::before{content:attr(data-label);display:block;font-weight:600;margin-bottom:4px}
}
.cta:not(:has(.cta-phone)){grid-template-columns:1fr}.cta:not(:has(.cta-phone)) .cta-copy{max-width:850px}

.product-note{display:block;margin-top:20px;line-height:1.7}

/* Produktaufnahme: vollständiger Handybildschirm im vorhandenen Zweispaltenrahmen. */
.quote-block figure.mobile-product{aspect-ratio:auto;max-width:320px;justify-self:center;background:transparent}
.quote-block figure.mobile-product img{height:auto;object-fit:contain}

/* R148 / K10-003: Karten unter 640 px; Maße laut Finding target,
 * Typografie/Abstand: canvas-quellen/project/bz.css .t-16/.t-14. */
@media(max-width:639px){
 .criteria-comparison,.criteria-comparison tbody{display:block;width:100%}
 .criteria-comparison thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .criteria-comparison tr{display:block;margin-bottom:16px;padding:16px;border:1px solid var(--outline-variant);border-radius:var(--r-card,16px);background:var(--surface)}
 .criteria-comparison td{display:block;width:100%;box-sizing:border-box;padding:0;border:0;font-size:14px;line-height:20px}
 .criteria-comparison td:first-child{font-size:16px;line-height:24px}
 .criteria-comparison td+td{margin-top:16px}
 .criteria-comparison td[data-label]::before{content:attr(data-label);display:block;font-weight:600;margin-bottom:4px}
}
.breadcrumbs { padding-block: .8rem; color: #6b6e68; font-size: .9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .45rem; margin: 0; padding: 0; list-style: none; }
/* Link hat 44 px Trefferfläche (main li a); Schrägstrich und aktuelle Seite mittig daneben statt versetzt. */
.breadcrumbs li { display: inline-flex; align-items: center; min-width: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .45rem; color: #a4a49d; }
.breadcrumbs a { color: inherit; text-underline-offset: .18em; }
.breadcrumbs [aria-current="page"] { color: #1b1c1a; }

/* K056: Auftragsübersicht als Ausschnitt, ohne die leere Bildschirmfläche. */
.quote-block figure.mobile-product.product-detail{aspect-ratio:780/1080}
.quote-block figure.mobile-product.product-detail img{height:100%;object-fit:cover;object-position:top}
