/* Pakete & Preise – öffentliche Preisseite (pr-*) und Verwaltung (pk-*). Version in den Seiten: ?v=1 */

/* ---------- Startseite: Preiszeile ---------- */
.pt-preiszeile { margin: 26px 0 0; font-size: 1.05rem; color: var(--pt-tinte-weich, #5A4352); }
.pt-preiszeile a { font-weight: 700; }

/* ---------- Öffentliche Preisseite ---------- */
.pr-seite { max-width: 1120px; margin: 0 auto; padding: 24px 24px 80px; }
.pr-kopf { max-width: 760px; margin: 18px 0 40px; }
.pr-kopf h1 { font-family: var(--pt-schild); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.01em; margin: 0 0 18px; color: var(--pt-tinte); max-width: 16ch; }
.pr-kopf p { font-size: 1.15rem; line-height: 1.6; color: var(--pt-tinte-weich); margin: 0; max-width: 40em; }

/* eine Tafel mit Spalten statt einzelner Karten */
.pr-tafel { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); background: var(--pt-papier); border-top: 3px solid var(--pt-tinte); border-radius: 0 0 14px 14px; }
.pr-spalte { position: relative; display: flex; flex-direction: column; padding: 28px 24px 26px; border-left: 1px solid var(--pt-linie); }
.pr-spalte:first-child { border-left: 0; }
.pr-spalte h2 { font-size: 1.1rem; margin: 0 0 18px; color: var(--pt-tinte); }
.pr-zahl { margin: 0 0 4px; color: var(--pt-tinte-weich); font-weight: 600; }
.pr-zahl span { display: block; font-family: var(--pt-schild); font-weight: 700; font-size: 3.6rem; line-height: .95; color: var(--pt-akzent); margin-bottom: 4px; }
.pr-preis { margin: 14px 0 12px; font-size: 1.35rem; font-weight: 700; color: var(--pt-tinte); }
.pr-preis small { font-size: .9rem; font-weight: 500; color: var(--pt-tinte-weich); }
.pr-text { margin: 0 0 22px; color: var(--pt-tinte-weich); line-height: 1.55; flex: 1; }
.pr-spalte .button { align-self: flex-start; margin-top: auto; }
.pr-empfohlen::before { content: ""; position: absolute; left: -1px; right: 0; top: -3px; height: 6px; background: var(--pt-orange); }
.pr-gratis { background: transparent; }
.pr-hinweis { margin: 16px 0 0; color: var(--pt-tinte-weich); font-size: .95rem; }

.pr-fragen { margin-top: 64px; max-width: 820px; }
.pr-fragen h2 { font-family: var(--pt-schild); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 18px; color: var(--pt-tinte); }
.pr-fragen dl { margin: 0; border-top: 2px solid var(--pt-tinte); }
.pr-fragen dl > div { padding: 18px 0; border-bottom: 1px solid var(--pt-linie); }
.pr-fragen dt { font-weight: 700; margin: 0 0 6px; }
.pr-fragen dd { margin: 0; color: var(--pt-tinte-weich); line-height: 1.6; }

@media (max-width: 720px) {
    .pr-seite { padding: 12px 16px 56px; }
    .pr-tafel { grid-template-columns: minmax(0, 1fr); }
    .pr-spalte { border-left: 0; border-top: 1px solid var(--pt-linie); }
    .pr-spalte:first-child { border-top: 0; }
    .pr-empfohlen::before { left: 0; top: -1px; height: 4px; }
    .pr-zahl span { font-size: 3rem; }
}

/* ---------- Mein Paket ---------- */
.pk-stand { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; padding: 22px 24px; margin: 0 0 30px; background: var(--surface, #fff); border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: 12px; }
.pk-stand-zahl { display: flex; align-items: baseline; gap: 10px; }
.pk-gross { font-size: 2.6rem; font-weight: 750; line-height: 1; color: var(--primary); font-variant-numeric: tabular-nums; }
.pk-klein { color: var(--muted); font-weight: 600; }
.pk-stand-text { flex: 1 1 320px; }
.pk-stand-text p { margin: 4px 0; }
.pk-test { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #E8EEF9; border: 1px solid #C3D2EE; color: #2C4A80; font-size: .72rem; font-weight: 700; vertical-align: 1px; white-space: nowrap; }

.pk-zustimmung { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 20px; padding: 14px 16px; background: var(--surface-soft, #F7F8F6); border: 1px solid var(--line); border-radius: 10px; font-weight: 400; line-height: 1.5; cursor: pointer; max-width: 760px; }
.pk-zustimmung input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--primary); }

.pk-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.pk-karte { display: flex; flex-direction: column; padding: 20px 20px 18px; background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 12px; }
.pk-karte.is-aktuell { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary) inset; }
.pk-karte h3 { margin: 0 0 10px; font-size: 1.1rem; }
.pk-umfang { margin: 0; color: var(--muted); font-weight: 600; }
.pk-umfang .pk-gross { display: block; margin-bottom: 2px; }
.pk-preis { margin: 12px 0 8px; font-size: 1.2rem; font-weight: 700; }
.pk-preis span { font-size: .88rem; font-weight: 500; color: var(--muted); }
.pk-text { margin: 0 0 16px; color: var(--muted); line-height: 1.5; flex: 1; }
.pk-paypal { min-height: 46px; }
.pk-aktuell { margin: 0; color: var(--primary); font-weight: 700; }
.pk-kuendigen { margin-top: 36px; }
.pk-kuendigen form { padding: 14px 0; border-top: 1px solid var(--line); }
.pk-kuendigen form p { margin: 0 0 10px; }
.pk-verlauf { margin-top: 30px; }
.pk-verlauf summary { cursor: pointer; font-weight: 600; color: var(--muted); }

/* ---------- Verwaltung: Pakete ---------- */
.pk-einrichtung { margin-bottom: 26px; }
.pk-modus { display: block; padding: 12px 16px 12px 42px; position: relative; border-radius: 10px; margin: 0 0 10px; line-height: 1.5; }
.pk-modus.is-test { background: #E8EEF9; border: 1px solid #C3D2EE; color: #22385F; }
.pk-modus.is-live { background: var(--success-tint, #E4F3EA); border: 1px solid #B7DCC5; color: var(--success, #1E6B43); }
.pk-modus i { position: absolute; left: 16px; top: 16px; }
.pk-kennzahl { margin: 6px 0 0; color: var(--muted); }
.pk-kennzahl strong { color: var(--ink); font-size: 1.15rem; }

.pk-editor { display: grid; gap: 14px; margin-bottom: 34px; }
.pk-zeile { display: grid; grid-template-columns: minmax(140px, 1.3fr) minmax(110px, .8fr) minmax(100px, .7fr) 90px; grid-template-areas: "name max preis sort" "text text text text" "fuss fuss fuss fuss"; gap: 10px 14px; padding: 16px 18px; background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 12px; }
.pk-feld label { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.pk-feld input { width: 100%; }
.pk-f-name { grid-area: name; } .pk-f-max { grid-area: max; } .pk-f-preis { grid-area: preis; } .pk-f-sort { grid-area: sort; } .pk-f-text { grid-area: text; }
.pk-f-fuss { grid-area: fuss; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.pk-schalter { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin: 0; cursor: pointer; }
.pk-schalter input { width: 18px; height: 18px; accent-color: var(--primary); }
.pk-f-knoepfe { margin-left: auto; display: flex; gap: 8px; }
.pk-neu summary { cursor: pointer; font-weight: 600; color: var(--primary); padding: 6px 0; }
.pk-neu[open] summary { margin-bottom: 10px; }
.pk-abos td { vertical-align: top; }
.pk-abos code, .pk-abos td:nth-child(4), .pk-abos td:nth-child(5) { white-space: nowrap; }
.pk-abos .status-badge { white-space: normal; }
.pk-aktionen { white-space: nowrap; }
.pk-aktionen form { display: inline; }
.pk-aktionen button { min-height: 0; padding: 7px 11px; font-size: .88rem; }
.pt-tag.pk-tag { background: var(--primary-tint, #E5F0EA); border-color: var(--primary); color: var(--primary); }
@media (max-width: 720px) {
    .pk-zeile { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "name name" "max preis" "sort sort" "text text" "fuss fuss"; }
    .pk-f-knoepfe { margin-left: 0; width: 100%; }
    .pk-f-knoepfe .button { flex: 1; }
}

/* Rechtlicher Hinweis direkt unter den Paketen (seit v2) */
.pk-hinweis { margin: 14px 0 0; font-size: .9rem; line-height: 1.55; color: var(--muted); max-width: 78ch; }
.pk-feld textarea { width: 100%; }
.pr-hinweis { max-width: 78ch; line-height: 1.55; }
.pr-zahlung { margin-top: 6px; }
