/* Öffentliche Infoseite /info: Diptychon „Vom Spielfeldrand in den Film-Raum“.
   Alle Ansichten sind nachgebaute Ausschnitte der App, keine Screenshots. */

/* ── Kopf ─────────────────────────────────────────────────────────────── */
.info-hero { padding-top: 24px; }
.info-hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 56px;
    align-items: end;
}
.info-page .info-hero h1 {
    font-size: clamp(44px, 5.4vw, 72px);
    line-height: 0.92;
    letter-spacing: 0.01em;
    text-wrap: balance;
    margin: 0;
}
.info-lead {
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 52ch;
    margin: 0;
}
.info-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.info-actions .btn { min-height: 44px; padding: 10px 20px; align-items: center; }
.info-cta { font-size: 15px; }

/* ── Diptychon ────────────────────────────────────────────────────────── */
.rig {
    position: relative;
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
    gap: 72px;
    align-items: start;
    margin-top: 48px;
}
.rig figure { margin: 0; }
.rig figcaption { margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.rig-phone { display: flex; flex-direction: column; align-items: center; }
.rig-phone figcaption { text-align: center; }

/* iPhone mit dem Live-Skript */
.phone {
    position: relative;
    width: 248px;
    aspect-ratio: 9 / 17.5;
    display: flex;
    flex-direction: column;
    padding: 54px 18px 22px;
    border-radius: 44px;
    background: #141417;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
}
.phone::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 50%;
    width: 84px;
    height: 24px;
    margin-left: -42px;
    border-radius: 999px;
    background: #000;
}
.phone-top { text-align: center; font-size: 13px; color: var(--ink-2); }
.phone-top b { font-family: var(--font-mono); font-weight: 400; color: var(--ink); }
.phone-stage { flex: 1; display: grid; place-items: center; }
.rec-btn {
    width: 180px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #d63a2f;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.rec-state { font-size: 13px; font-weight: 600; }
.rec-main { font-family: var(--font-display); font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: 0.02em; }
.rec-sub { font-size: 13px; }
.phone-bottom { display: flex; gap: 8px; }
.phone-bottom span {
    flex: 1;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
}

/* Spielansicht am Laptop */
.view {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    border-radius: 20px;
    background: #141417;
    border: 1px solid rgba(255, 255, 255, 0.09);
}
.view-video {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 22px 60px rgba(0, 0, 0, 0.55);
}
.view-video svg { display: block; width: 100%; height: 100%; }

/* Play-Streifen: Marken in den Ergebnisfarben, offene Clips hohl in Gold */
.strip { position: relative; height: 30px; margin-top: 14px; }
.strip-axis { position: absolute; left: 0; right: 0; top: 14px; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, 0.16); }
.mark {
    position: absolute;
    top: 8px;
    width: 4px;
    height: 14px;
    border-radius: 2px;
    transform: translateX(-50%);
    background: var(--green);
}
.mark-bad { background: var(--red); }
.mark-drop { background: var(--amber); }
.mark-td { top: 4px; height: 22px; background: var(--signal); }
.mark-open, .mark-new { width: 6px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--amber); }
.mark-new { box-shadow: inset 0 0 0 1.5px var(--amber), 0 0 0 3px rgba(240, 220, 74, 0.28); }

.player {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 44px;
    margin-top: 6px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.player-btn { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); }
.player-btn .ico { width: 16px; height: 16px; }
.player-play { background: var(--maroon-2); color: #fff; }
.player-time { margin-left: auto; padding-right: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }

.view-list { list-style: none; margin: 0; padding: 0; align-self: start; }
.view-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 10px;
    padding: 11px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 13px;
    color: var(--ink-2);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.view-list li:last-child { border-bottom: none; }
.view-list b { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: 0.02em; }
.view-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.view-list em { font-style: normal; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.view-list .is-on { background: rgba(255, 255, 255, 0.05); box-shadow: inset 3px 0 0 var(--signal); }
.res-ok { color: var(--green); }
.res-drop, .res-open { color: var(--amber); }

/* Gelbe Linie vom Tipp zum Clip, von info.php gezeichnet */
.rig-link { position: absolute; top: 0; left: 0; overflow: visible; pointer-events: none; }
.rig-link path { fill: none; stroke: var(--signal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.info-sample { margin: 20px 0 0; font-size: 12.5px; color: var(--ink-3); }

/* Einmaliger Moment beim Laden: Tipp, Linie, Clip */
.rig.is-playing .rec-btn { animation: info-tap 560ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.rig.is-playing .mark-new { box-shadow: inset 0 0 0 1.5px var(--amber); }
.rig.is-playing .view-list .is-on { background: transparent; box-shadow: none; }
.rig.is-landed .mark-new { animation: info-land 800ms cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes info-tap {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(240, 220, 74, 0); }
    35% { transform: scale(0.95); box-shadow: 0 0 0 10px rgba(240, 220, 74, 0.32); }
    100% { transform: scale(1); box-shadow: 0 0 0 22px rgba(240, 220, 74, 0); }
}
@keyframes info-land {
    from { box-shadow: inset 0 0 0 1.5px var(--amber), 0 0 0 12px rgba(240, 220, 74, 0.4); }
    to { box-shadow: inset 0 0 0 1.5px var(--amber), 0 0 0 3px rgba(240, 220, 74, 0.28); }
}

/* ── Abschnitte ───────────────────────────────────────────────────────── */
.info-flow, .info-why { margin-top: 112px; }
.info-page .info-flow h2, .info-page .info-why h2, .info-page .info-close h2 {
    font-size: 44px;
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin: 0;
}

/* Ablauf eines Spieltags: Zeilen an einer durchgehenden Linie */
.flow { position: relative; list-style: none; margin: 32px 0 0; padding: 0; }
.flow::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: rgba(255, 255, 255, 0.12);
}
.flow-step {
    position: relative;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 32px;
    padding: 32px 0 32px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.flow-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 38px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.flow-when { grid-column: 1; grid-row: 1; margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.flow-text { grid-column: 2; grid-row: 1; }
.flow-step:not(.has-fig) .flow-text { grid-column: 2 / 4; }
.flow-text h3 { font-size: 28px; font-weight: 700; line-height: 1.05; letter-spacing: 0.01em; margin: 0; }
.flow-text p { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 58ch; }
.flow-text p b { color: var(--ink); font-weight: 600; }
.flow-fig { grid-column: 3; grid-row: 1; margin: 0; }

/* Taggen: Feld + Tag-Zeilen */
.fig-tag { display: flex; gap: 16px; align-items: flex-start; }
.minifield {
    flex: 0 0 104px;
    aspect-ratio: 125 / 350;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.minifield svg { display: block; width: 100%; height: 100%; }
.tagcard, .fig-bars, .talk {
    background: #141417;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    padding: 16px 18px;
}
.tagcard { flex: 1; min-width: 0; }
.tag-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tag-head b { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: 0.02em; }
.tag-time { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.tag-rows { margin: 8px 0 0; }
.tag-rows div {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.tag-rows div:last-child { border-bottom: none; }
.tag-rows dt { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.tag-rows dd { margin: 0; font-size: 14px; color: var(--ink); }
/* Eigene Klasse statt .chip: Das ist ein Bild und kein Bedienelement. .chip bekäme auf
   Touch-Geräten 44 px Mindesthöhe, die Schrift säße dann oben in der Pille. */
.tag-chip {
    display: inline-block;
    padding: 2px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--green);
    background: rgba(95, 185, 138, 0.14);
}

/* Auswerten: Satz und Balkenzeilen */
.bars-sentence { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.bars-sentence b { color: var(--ink); font-weight: 600; }
.info-bars { margin-top: 14px; }
.bar-row {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) 72px;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
}
.bar-row span { font-size: 13px; color: var(--ink-2); }
.bar-row i { position: relative; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bar-row i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; background: var(--signal); }
.bar-row b { font-family: var(--font-mono); font-size: 15px; font-weight: 400; text-align: right; color: var(--ink); }

/* Film schauen: Kommentar am Play */
.talk-still {
    aspect-ratio: 640 / 240;
    margin-bottom: 14px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.talk-still svg { display: block; width: 100%; height: 100%; }
.talk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.talk-list { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.talk-pos { font-size: 12.5px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.talk-msg { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; margin-top: 14px; }
.talk-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #2b2b31; font-size: 13px; font-weight: 600; }
.talk-msg p { margin: 0; font-size: 15px; line-height: 1.5; }
.talk-who { display: flex; align-items: baseline; gap: 8px; }
.talk-who b { font-size: 14px; font-weight: 600; }
.talk-msg .talk-who + p { margin-top: 2px; }
.talk-at { color: var(--ink); font-weight: 600; }
.talk-msg .talk-react { display: flex; gap: 6px; margin-top: 10px; }
.talk-react span { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); font-size: 13px; }

/* Warum FilmRoom: Zeilen statt Kacheln */
.why { margin: 28px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.why-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 32px;
    padding: 26px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.why dt {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.why dd { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 58ch; }

/* Abschluss mit der Anfrage */
.info-close {
    margin: 112px 0 40px;
    padding: 40px;
    border-radius: 20px;
    background: #141417;
    border: 1px solid rgba(255, 255, 255, 0.09);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: start;
    scroll-margin-top: 88px;
}
.close-copy p { margin: 14px 0 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.close-copy .close-trial {
    margin-top: 24px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(240, 220, 74, 0.08);
    box-shadow: inset 0 0 0 1px rgba(240, 220, 74, 0.28);
    font-size: 15px;
}
.close-trial b {
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ink);
}
/* Preise nach der Testzeit: ruhiger als die Testkarte, Beträge rechtsbündig */
.close-copy .close-prices {
    margin-top: 14px;
    padding: 16px 18px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.close-prices h3 {
    margin: 0 0 4px;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.price-list { margin: 0; }
.price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.price-row dt { font-size: 15px; font-weight: 600; color: var(--ink); }
.price-row dt small { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 400; line-height: 1.45; color: var(--ink-2); }
.price-row dd {
    margin: 0;
    text-align: right;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.price-row dd small { display: block; margin-top: 3px; font-family: var(--font-body); font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.close-copy .price-note { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.info-trial { margin: 14px 0 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* Anfrage-Formular */
.contact-form { position: relative; min-width: 0; }
.contact-form .alert { margin-bottom: 18px; }
.contact-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
/* Eigene Klasse statt .form-group: Deren Beschriftungen sind für die App auf 12,5 px festgelegt. */
.contact-field { margin-bottom: 16px; }
.contact-field label, .contact-choice legend {
    display: block;
    margin-bottom: 6px;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}
.contact-form .form-control { min-height: 44px; padding: 10px 14px; font-size: 16px; }
.contact-form textarea.form-control { resize: vertical; line-height: 1.5; }
.contact-form .form-control[aria-invalid="true"] { border-color: var(--red); }
.contact-opt { margin-left: 4px; font-weight: 400; color: var(--ink-3); }
.contact-error { margin: 6px 0 0; font-size: 13.5px; line-height: 1.4; color: #e9897a; }
.contact-hint { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.contact-choice { margin: 4px 0 18px; padding: 0; border: 0; min-width: 0; }
.choice {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.11);
    cursor: pointer;
}
.choice:first-of-type { margin-top: 0; }
.choice input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--amber); }
.choice:has(input:checked) { background: rgba(240, 220, 74, 0.07); box-shadow: inset 0 0 0 1.5px rgba(240, 220, 74, 0.55); }
.choice:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 2px; }
.choice-text b { display: block; font-size: 15px; font-weight: 600; }
.choice-text small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.contact-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.contact-send .btn { min-height: 44px; padding: 10px 22px; align-items: center; }
.contact-send .contact-hint { flex: 1 1 240px; margin: 0; }
.contact-done {
    padding: 28px;
    border-radius: 14px;
    background: rgba(95, 185, 138, 0.08);
    box-shadow: inset 0 0 0 1px rgba(95, 185, 138, 0.3);
}
.contact-done h3 { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.05; }
.contact-done p { margin: 10px 0 0; font-size: 17px; color: var(--ink-2); }

/* ── Schmalere Bildschirme ────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .rig { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; }
    .phone { width: 240px; }
    .rec-btn { width: 172px; }
}
@media (max-width: 980px) {
    .view { grid-template-columns: minmax(0, 1fr); }
    .info-close { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .close-copy p { max-width: 62ch; }
    .flow-step { grid-template-columns: 150px minmax(0, 1fr); }
    .flow-step .flow-fig { grid-column: 2; grid-row: 2; }
    .flow-step:not(.has-fig) .flow-text { grid-column: 2; }
}
@media (max-width: 880px) {
    .info-hero-copy { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .rig { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 40px; }
    .phone { width: 220px; padding: 50px 16px 18px; border-radius: 40px; }
    .rec-btn { width: 156px; }
    .rec-main { font-size: 40px; }
}
@media (max-width: 600px) {
    .info-hero { padding-top: 8px; }
    .info-actions .btn { flex: 1 1 auto; justify-content: center; }
    .view { padding: 12px; }
    .phone { width: 200px; aspect-ratio: 9 / 16; padding: 46px 14px 16px; border-radius: 36px; }
    .phone::before { top: 12px; width: 72px; height: 22px; margin-left: -36px; }
    .rec-btn { width: 140px; }
    .rec-main { font-size: 36px; }
    .phone-bottom span { height: 36px; }
    .player-time { display: none; }
    .info-flow, .info-why { margin-top: 80px; }
    .info-page .info-flow h2, .info-page .info-why h2, .info-page .info-close h2 { font-size: 36px; }
    .flow::before { top: 30px; bottom: 30px; }
    .flow-step { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 24px 0 24px 32px; }
    .flow-step::before { top: 27px; }
    .flow-step .flow-text, .flow-step:not(.has-fig) .flow-text { grid-column: 1; grid-row: 1; }
    .flow-when { grid-column: 1; grid-row: 2; margin: 0; }
    .flow-step .flow-fig { grid-column: 1; grid-row: 3; }
    .flow-text h3 { font-size: 24px; }
    .fig-tag .minifield { flex-basis: 84px; }
    .tag-rows div { grid-template-columns: 84px minmax(0, 1fr); }
    .bar-row { grid-template-columns: 88px minmax(0, 1fr) 64px; }
    .why-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 22px 0; }
    .why dt { font-size: 24px; }
    .info-close { margin-top: 80px; padding: 24px 20px; }
    .contact-row { grid-template-columns: minmax(0, 1fr); }
    .contact-send .btn { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .rig *, .rig { animation: none !important; transition: none !important; }
}
