/* iPhone-Rückseite reparieren (app/content/seiten/iphone-rueckseite-reparatur.php) – Präfix irs- */

/* Kopf: Zeichnung links, Text mit Preis und Suche rechts */
.irs-kopf .h1 { font-size: clamp(2rem, 1.35rem + 2.3vw, 3.4rem); }
.irs-kopf__satz { color: var(--text-2); max-width: 58ch; margin: 0 0 12px; }
.irs-suche { margin: 24px 0 0; max-width: 560px; }
@media (max-width: 899px) {
  .irs-kopf { padding-top: 12px; }
  .irs-kopf .modell-kopf__text { order: -1; }
  .irs-kopf .modell-kopf__bild { aspect-ratio: 16 / 11; max-height: 300px; }
}

.irs-einleitung { max-width: 860px; margin: 0 0 36px; }
.irs-einleitung p:not(.etikett) { max-width: 62ch; }
.irs-einleitung .gross { margin-bottom: 0; }
.irs-einleitung p:not(.etikett):not(.gross) { margin-bottom: 0; color: var(--text-2); }

/* Dringlichkeits-Leiter: vier Fälle mit Zeichnung der Rückseite, die Farbe der Kante zeigt die Eile */
.irs-leiter { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.irs-stufe { border-top: 6px solid #B9BDC4; padding-top: 22px; }
.irs-stufe--bald { border-top-color: var(--stahl); }
.irs-stufe--sofort { border-top-color: var(--rot); }
.irs-bild { width: 92px; height: auto; margin: 0 0 18px; overflow: visible; }
.irs-stufe__tag { margin: 0 0 6px; font: 400 .74rem var(--din); letter-spacing: .2em; text-transform: uppercase; color: var(--stahl); }
.irs-stufe--sofort .irs-stufe__tag { color: var(--rot); }
.irs-stufe .h4 { margin-bottom: .4em; }
.irs-stufe__text p:not(.irs-stufe__tag) { margin: 0; color: var(--text-2); font-size: .98rem; max-width: 36ch; }
.irs-stufe__text a { color: var(--rot); }
@media (max-width: 1039px) { .irs-leiter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .irs-leiter { grid-template-columns: 1fr; gap: 0; }
  .irs-stufe { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 16px; align-items: start; border-top: 0; border-left: 6px solid #B9BDC4; padding: 18px 0 20px 16px; }
  .irs-stufe--bald { border-left-color: var(--stahl); }
  .irs-stufe--sofort { border-left-color: var(--rot); }
  .irs-bild { width: 64px; margin: 0; }
}

/* Zeichnung der Rückseite: schlicht, Sprünge in Schwarz, nur der vierte Fall in Rot */
.irs-tel { fill: #fff; stroke: var(--schwarz); stroke-width: 2; }
.irs-insel { fill: var(--werkbank); stroke: var(--stahl); stroke-width: 1.5; }
.irs-linse { fill: var(--graphit); }
.irs-blitz { fill: var(--alu); stroke: var(--stahl); stroke-width: 1; }
.irs-riss { fill: none; stroke: var(--schwarz); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.irs-riss--fein { stroke-width: 1; }
.irs-riss--rot { stroke: var(--rot); }
.irs-splitter { fill: var(--schwarz); }
.irs-ring { fill: none; stroke: var(--stahl); stroke-width: 1.5; stroke-dasharray: 3 3; }
.irs-loch { fill: rgb(160 0 0 / .1); stroke: var(--rot); stroke-width: 1.6; stroke-dasharray: 4 3; stroke-linejoin: round; }

.irs-bis { margin-top: 52px; max-width: 66ch; padding-top: 24px; border-top: 2px solid var(--schwarz); }
.irs-bis .liste-haken { margin-bottom: 0; }
.irs-bis .liste-haken li { color: var(--text-2); }
.irs-bis a { color: var(--rot); }

/* Preisliste: Beispielpreise, dann je Baureihe eine kleine Tabelle, auf breiten Bildschirmen in zwei Spalten */
.irs-preise { padding-top: clamp(40px, 1.5rem + 3vw, 88px); }
.irs-preise__kopf { max-width: 860px; margin-bottom: 28px; }
.irs-preise__kopf p:not(.etikett) { max-width: 66ch; color: var(--text-2); }
.irs-beispiele { margin-bottom: 32px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.irs-beispiele li { padding: 0; }
.irs-beispiele 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); }
.irs-beispiele span { font-weight: 600; line-height: 1.3; }
.irs-beispiele small { display: block; font-weight: 400; font-size: .82rem; color: var(--stahl); }
.irs-beispiele strong { margin-left: auto; }
.irs-beispiele a::after { content: "→"; color: var(--alu); transition: transform .15s, color .15s; }
.irs-beispiele a:hover span, .irs-beispiele a:hover::after { color: var(--rot); }
.irs-beispiele a:hover::after { transform: translateX(3px); }
.irs-sprung { margin-bottom: 24px; }
.irs-sprung a { border-radius: 4px; }
.irs-stand { margin: 0 0 8px; padding-bottom: 12px; border-bottom: 2px solid var(--schwarz); font: 400 .78rem/1.5 var(--din); letter-spacing: .14em; text-transform: uppercase; color: var(--stahl); }
.irs-reihen { column-gap: 56px; }
@media (min-width: 900px) { .irs-reihen { columns: 2; } }
.irs-reihe { width: 100%; border-collapse: collapse; break-inside: avoid; margin: 0 0 8px; font-variant-numeric: tabular-nums; scroll-margin-top: calc(var(--kopf-h) + 12px); }
.irs-reihe__titel { caption-side: top; text-align: left; padding: 22px 4px 8px; border-bottom: 1px solid var(--schwarz); font: 700 1.2rem/1.1 var(--din); letter-spacing: -.005em; }
.irs-reihe__kopf { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.irs-reihe tbody :is(th, td) { padding: 12px 8px 12px 4px; border-bottom: 1px dashed var(--alu); vertical-align: middle; font-weight: 400; text-align: left; }
.irs-reihe tbody tr:hover :is(th, td) { background: var(--werkbank); }
.irs-reihe tbody .irs-reihe__modell a { font-weight: 600; text-decoration: none; }
.irs-reihe__modell a:hover { text-decoration: underline; }
.irs-reihe tbody td.irs-reihe__optionen { width: 226px; }
.irs-optionen { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.irs-optionen li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.irs-marke { display: inline-block; padding: 2px 8px; border: 1px solid var(--alu); border-radius: 3px; background: #fff; font: 600 .76rem/1.5 var(--din); letter-spacing: .02em; color: var(--text-2); white-space: nowrap; }
.irs-marke--original { border-color: var(--schwarz); color: var(--schwarz); }
.irs-leer { color: var(--stahl); font-size: .9rem; }
.irs-preis { font: 700 1.15rem var(--din); white-space: nowrap; }
.irs-reihe tbody td.irs-reihe__aktion { width: 84px; text-align: right; padding-left: 10px; padding-right: 2px; }
.irs-buchen { font: 700 .95rem var(--din); color: var(--rot); text-decoration: none; white-space: nowrap; }
.irs-buchen::after { content: " →"; }
.irs-buchen:hover { text-decoration: underline; color: var(--rot-tief); }

@media (max-width: 559px) {
  .irs-reihe, .irs-reihe tbody, .irs-reihe caption { display: block; }
  .irs-reihe__titel { padding-inline: 2px; }
  .irs-reihe tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "modell aktion" "optionen optionen"; align-items: center; column-gap: 14px; row-gap: 6px; padding: 12px 2px; border-bottom: 1px dashed var(--alu); }
  .irs-reihe tbody :is(th, td) { display: block; width: auto !important; padding: 0 !important; border: 0; background: none !important; }
  .irs-reihe__modell { grid-area: modell; line-height: 1.35; }
  .irs-reihe__optionen { grid-area: optionen; }
  .irs-reihe__aktion { grid-area: aktion; }
  .irs-buchen { display: inline-block; padding: 8px 0; }
}

/* Was die Angabe zur Teilequalität bedeutet */
.irs-teile { margin-top: 36px; max-width: 760px; padding: 20px 22px; border-radius: 4px; background: var(--werkbank); border-left: 3px solid var(--rot); }
.irs-teile .h4 { margin-bottom: .4em; }
.irs-teile p { margin: 0 0 .6em; color: var(--text-2); font-size: .95rem; }
.irs-teile dl { margin: 10px 0 0; }
.irs-teile dl > div { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; align-items: baseline; padding: 9px 0; border-top: 1px dashed var(--alu); }
.irs-teile dt, .irs-teile dd { margin: 0; }
.irs-teile dd { color: var(--text-2); font-size: .95rem; }
@media (max-width: 559px) { .irs-teile dl > div { grid-template-columns: minmax(0, 1fr); } }
.irs-fussnote { max-width: 66ch; margin: 22px 0 0; font-size: .92rem; color: var(--text-2); }
.irs-fussnote a { color: var(--rot); }

/* Beim Tausch: drei Karten (Rahmen und Abstände kommen aus site.css: .spalten--3 > .karte) */
.irs-karten .karte p { color: var(--text-2); font-size: .98rem; }
.irs-karten .karte p:last-child { margin-bottom: 0; }
.irs-karten .pfeil-link { color: var(--rot); }

/* Kameraglas, Display und Kombi-Nachlass */
.irs-kombi .spalten { align-items: center; }
.irs-kombi p:not(.etikett) { color: var(--text-2); max-width: 58ch; }
.irs-kombi p a { color: var(--rot); }
.irs-beispiel { border-top: 2px solid var(--schwarz); padding-top: 20px; }
.irs-beispiel .etikett { margin-bottom: .6em; }
.irs-beispiel dl { margin: 0; }
.irs-beispiel dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 2px; border-bottom: 1px dashed var(--alu); }
.irs-beispiel dt { color: var(--text-2); }
.irs-beispiel dt small { display: block; font-size: .82rem; color: var(--stahl); }
.irs-beispiel dd { margin: 0; font: 700 1.15rem var(--din); white-space: nowrap; }
.irs-beispiel s { font-weight: 400; color: var(--stahl); margin-right: 6px; }
.irs-beispiel__summe { border-bottom: 2px solid var(--schwarz) !important; }
.irs-beispiel__summe dt { color: var(--schwarz); font-weight: 600; }
.irs-beispiel__summe dd { color: var(--rot); font-size: 1.4rem; }
.irs-kombi .irs-beispiel p.irs-beispiel__fuss { margin: 12px 0 0; font-size: .84rem; color: var(--stahl); }

/* Schluss, verwandte Seiten und Quellen */
.irs-schluss p:not(.knopf-reihe):not(.irs-verwandt) { color: var(--text-2); }
.irs-verwandt { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--alu); }
.irs-verwandt .etikett { margin: 0 8px 0 0; }
.irs-verwandt a { color: var(--rot); }
@media (max-width: 559px) { .irs-verwandt .etikett { flex-basis: 100%; } }
.irs-quellen { margin-top: 36px; font-size: .88rem; color: var(--text-2); }
.irs-quellen .etikett { margin-bottom: .8em; }
.irs-quellen p { max-width: 70ch; }
.irs-quellen ul { list-style: none; margin: 0; padding: 0; }
.irs-quellen li { margin-bottom: 4px; }
.irs-quellen a { color: var(--text-2); overflow-wrap: anywhere; }
.irs-quellen a:hover { color: var(--rot); }
