/* Gemeinsame Gestaltung der Blogartikel: Raster, Inhaltsverzeichnis mit Belichtungsmesser,
   mobile Leiste und die Bausteine Konzeptblatt, Serienaufnahme, Kameradisplay, Formate, Fazit. */
.ar, .ar-weiter { padding-left: var(--seite); padding-right: var(--seite); }
.u-titel-unter { display: block; margin-top: 20px; max-width: 26ch; font-size: clamp(20px, 1.55vw, 28px); font-weight: 650; line-height: 1.25; letter-spacing: 0; text-transform: none; white-space: normal; }
.ar-hero-meta { font-variant-numeric: tabular-nums; }

/* ---------- Raster: Inhalt links (gepinnt), Text rechts, Bilder breiter als der Text ---------- */
.ar-raster { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 0 clamp(48px, 6vw, 112px); align-items: start; }
.ar-inhalt { position: sticky; top: 130px; }
.ar-text { min-width: 0; }
.ar-text > :is(p, ul, h2, h3, .ar-blatt, .ar-display, .knopf-reihe, .ar-aufwand) { max-width: 720px; }
.ar-text p { margin: 0 0 22px; font-size: 19px; line-height: 1.66; color: rgba(18,18,18,.86); }
.ar-text p.ar-einleitung { font-size: 23px; line-height: 1.5; font-weight: 500; color: var(--schwarz); }
.ar-text strong { color: var(--schwarz); font-weight: 680; }
.ar-text a:not([class]) { color: var(--schwarz); text-decoration: none; border-bottom: 2px solid rgba(229,50,45,.4); transition: border-color .2s, color .2s; }
.ar-text a:not([class]):hover { color: var(--rot); border-color: var(--rot); }
.ar-text h2 { margin: 96px 0 26px; font-size: clamp(32px, 2.9vw, 54px); font-weight: 800; text-transform: uppercase; letter-spacing: -.012em; line-height: .98; scroll-margin-top: 120px; }
.ar-text h3 { margin: 72px 0 20px; font-size: clamp(25px, 1.9vw, 33px); font-weight: 780; line-height: 1.16; letter-spacing: -.006em; scroll-margin-top: 120px; }
.ar-text h3 .ar-phase { color: var(--rot); }
.ar-text ul:not([class]) { margin: 0 0 26px; padding: 0; list-style: none; }
.ar-text ul:not([class]) li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 19px; line-height: 1.6; color: rgba(18,18,18,.86); }
.ar-text ul:not([class]) li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 9px; height: 9px; border-radius: 50%; background: var(--rot); }
.ar-text .ar-aufwand { margin: 6px 0 26px; padding: 18px 22px; background: var(--flaeche); font-size: 18px; line-height: 1.5; }
.ar-aufwand b { font-weight: 700; }
.ar-text .knopf-reihe { margin: 34px 0 10px; }

/* ---------- Inhalt + Belichtungsmesser als Lesefortschritt ---------- */
.ar-inhalt-titel { margin: 0 0 18px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(18,18,18,.5); }
.ar-inhalt ol, .ar-leiste-liste ol { list-style: none; margin: 0; padding: 0; }
.ar-inhalt li + li { margin-top: 4px; }
.ar-inhalt a, .ar-leiste-liste a {
  position: relative; display: block; padding: 7px 0 7px 22px; text-decoration: none;
  font-size: 16px; line-height: 1.35; color: rgba(18,18,18,.62); transition: color .2s;
}
.ar-inhalt a::before, .ar-leiste-liste a::before {
  content: ""; position: absolute; left: 2px; top: calc(7px + .68em - 5px); width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid rgba(18,18,18,.2); box-sizing: border-box; transition: background-color .2s, border-color .2s;
}
.ar-inhalt a:hover { color: var(--schwarz); }
.ar-inhalt a.ist-aktiv, .ar-leiste-liste a.ist-aktiv { color: var(--schwarz); font-weight: 650; }
.ar-inhalt a.ist-aktiv::before, .ar-leiste-liste a.ist-aktiv::before { background: var(--rot); border-color: var(--rot); }
.ar-messer-feld { margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(18,18,18,.14); }
.ar-messer { display: block; width: 100%; max-width: 252px; height: auto; overflow: visible; color: var(--schwarz); }
.ar-messer line { stroke: currentColor; stroke-width: 1.5; }
.ar-messer text { fill: currentColor; font: 600 11px "Inter", sans-serif; }
.ar-messer .marke { fill: var(--rot); }
.ar-rest { margin: 10px 0 0; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; color: rgba(18,18,18,.7); }

/* ---------- Phase 2: das Shootingkonzept zum Abhaken ---------- */
.ar-blatt { margin: 10px 0 30px; padding: 30px 32px 8px; background: #fff; box-shadow: 0 24px 50px -30px rgba(18,18,18,.4); }
.ar-text .ar-blatt-titel { margin: 0 0 22px; font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(18,18,18,.55); }
.ar-blatt ul { margin: 0; padding: 0; list-style: none; }
.ar-blatt li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 18px; padding-bottom: 24px; }
.ar-blatt b { display: block; font-size: 19px; font-weight: 720; line-height: 1.3; }
.ar-blatt li span:not(.ar-kasten) { display: block; margin-top: 4px; font-size: 17px; line-height: 1.5; color: rgba(18,18,18,.76); }
.ar-kasten { position: relative; width: 28px; height: 28px; margin-top: 1px; border: 2px solid var(--schwarz); border-radius: 4px; }
.ar-kasten svg { position: absolute; left: -4px; top: -13px; width: 42px; height: 42px; overflow: visible; visibility: hidden; }
.ar-kasten path { fill: none; stroke: var(--rot); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Phase 3: Serienaufnahme vom Drehtag ---------- */
.ar-text figure { margin: 56px 0 60px; }
.ar-serie-bogen { padding: 22px 22px 26px; background: var(--schwarz); color: var(--papier); }
.ar-serie-kopf { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.ar-serie-kopf .zaehler { gap: 10px; }
.ar-bilder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 14px; margin: 0; padding: 0; list-style: none; }
.ar-bild { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #262626; }
.ar-bild img { width: 100%; height: 100%; object-fit: cover; }
.ar-text .ar-bild-daten { margin: 9px 0 0; color: inherit; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: 13px; line-height: 1.35; font-weight: 600; letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.ar-bild-daten span:first-child { color: var(--rot-hell); }
.ar-bild-daten span:last-child { color: rgba(245,242,237,.6); }
.ar-text figcaption { margin-top: 14px; max-width: 720px; font-size: 15px; line-height: 1.5; color: rgba(18,18,18,.62); }

/* Drehtag in Zahlen: Kameradisplay */
.ar-display { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 8px 0 30px; background: var(--schwarz); color: var(--papier); }
.ar-display div { padding: 18px 20px 20px; }
.ar-display div + div { box-shadow: inset 1px 0 0 rgba(245,242,237,.14); }
.ar-display dt { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(245,242,237,.6); }
.ar-display dd { margin: 0; font-size: 22px; font-weight: 750; line-height: 1.15; font-variant-numeric: tabular-nums; }
.ar-display div:first-child dt::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--rot-hell); vertical-align: 1px; }

/* ---------- Phase 4: Der Fettstift zieht die Formate ---------- */
.ar-formate-bild { position: relative; }
.ar-formate-bild img { width: 100%; height: auto; aspect-ratio: 2000 / 1333; object-fit: cover; }
.ar-beschnitt { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ar-beschnitt path { fill: none; stroke: var(--rot); stroke-width: 3.5; stroke-linecap: round; vector-effect: non-scaling-stroke; visibility: hidden; }
.ar-formate-liste { display: flex; align-items: flex-end; gap: 22px; margin: 22px 0 0; padding: 0; list-style: none; }
.ar-formate-liste li { flex: none; transition: opacity .3s; }
.ar-formate-liste.wartet li:not(.ist-gezogen) { opacity: .28; }
.ar-mini { display: block; height: 150px; width: auto; aspect-ratio: var(--ar, 1); padding: 0; background-repeat: no-repeat; background-color: #ddd7cd; box-shadow: 0 0 0 6px #fff, 0 16px 30px -18px rgba(18,18,18,.5); margin: 6px; }
.ar-formate-liste b { display: block; margin-top: 18px; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--rot); }
.ar-formate-liste small { display: block; margin-top: 2px; font-size: 15px; line-height: 1.35; color: rgba(18,18,18,.72); }

/* ---------- Phase 5: Lieferung ---------- */
.ar-lieferung { position: relative; overflow: hidden; background: #1a1a1a; }
.ar-lieferung img { width: 100%; height: auto; aspect-ratio: 2000 / 1333; object-fit: cover; }
.ar-lieferung .sucher { inset: 16px; }
.ar-lieferung .ecke { width: 36px; height: 36px; }

/* ---------- Fazit ---------- */
.ar-text .ar-fazit { max-width: 720px; margin-top: 30px; padding: 36px 36px 30px; background: var(--flaeche); }
.ar-fazit h2 { margin-top: 0; }
.ar-fazit p:last-of-type { margin-bottom: 0; }
.ar-fazit .knopf-reihe { margin-top: 24px; }

.ar-weiter .u-kopf .knopf-reihe { margin-top: 26px; }

/* ---------- Mobile Leiste: Abschnitt, Restzeit, Inhalt zum Aufklappen ---------- */
.ar-leiste { display: none; }

@media (max-width: 1100px), (orientation: portrait) {
  .ar-raster { grid-template-columns: minmax(0, 1fr); }
  .ar-inhalt { display: none; }
  .ar-text > :is(p, ul, h2, h3, .ar-blatt, .ar-display, .knopf-reihe, .ar-aufwand), .ar-text .ar-fazit { max-width: 760px; }
  .ar-leiste {
    display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 50;
    max-width: 560px; margin: 0 auto;
    transform: translateY(140%); transition: transform .45s cubic-bezier(.2,.7,.2,1);
  }
  .ar-leiste.sichtbar { transform: none; }
  .ar-leiste-knopf {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 2px 16px; align-items: center;
    width: 100%; min-height: 58px; padding: 9px 16px 9px 18px; border: 0; border-radius: 14px; cursor: pointer; text-align: left;
    background: var(--schwarz); color: var(--papier); font-family: inherit; box-shadow: 0 18px 36px -16px rgba(0,0,0,.55);
  }
  .ar-leiste-titel { grid-column: 1; grid-row: 1 / 3; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; line-height: 1.25; }
  .ar-leiste-titel::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--rot-hell); }
  .ar-leiste-rest { grid-column: 2; grid-row: 1; justify-self: end; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: rgba(245,242,237,.75); }
  .ar-leiste .ar-messer { grid-column: 2; grid-row: 2; width: 112px; color: var(--papier); }
  .ar-leiste .ar-messer text { display: none; }
  .ar-leiste-liste { margin-bottom: 8px; padding: 14px 18px; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px -16px rgba(0,0,0,.4); }
  .ar-leiste-liste a { padding: 11px 0 11px 22px; font-size: 16px; color: rgba(18,18,18,.75); }
  .ar-leiste-liste a::before { top: calc(11px + .68em - 5px); }
}
@media (max-width: 767px) {
  .u-titel-unter { margin-top: 14px; font-size: 19px; }
  .ar-text p, .ar-text ul:not([class]) li { font-size: 17px; }
  .ar-text p.ar-einleitung { font-size: 19.5px; }
  .ar-text h2 { margin-top: 76px; font-size: 8.6vw; }
  .ar-text h3 { margin-top: 56px; font-size: 23px; }
  .ar-text .ar-aufwand { font-size: 16.5px; padding: 16px 18px; }
  .ar-blatt { margin-left: calc(-1 * var(--rand)); margin-right: calc(-1 * var(--rand)); padding: 24px 18px 4px; }
  .ar-blatt b { font-size: 17.5px; }
  .ar-blatt li span:not(.ar-kasten) { font-size: 16px; }
  .ar-text figure { margin: 44px calc(-1 * var(--rand)) 48px; }
  .ar-text figcaption { padding: 0 var(--rand); }
  .ar-serie-bogen { padding: 16px 12px 20px; }
  .ar-bilder { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 8px; }
  .ar-text .ar-bild-daten { font-size: 12.5px; }
  .ar-display { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ar-display div:nth-child(3) { box-shadow: inset 0 1px 0 rgba(245,242,237,.14); }
  .ar-display div:nth-child(4) { box-shadow: inset 1px 0 0 rgba(245,242,237,.14), inset 0 1px 0 rgba(245,242,237,.14); }
  .ar-display dd { font-size: 19px; }
  .ar-formate-liste { flex-wrap: wrap; gap: 26px 22px; padding: 0 var(--rand); }
  .ar-mini { height: 104px; }
  .ar-lieferung .sucher { inset: 12px; }
  .ar-lieferung .ecke { width: 28px; height: 28px; }
  .ar-text .ar-fazit { margin-left: calc(-1 * var(--rand)); margin-right: calc(-1 * var(--rand)); padding: 28px 18px 26px; }
}
