/* iVos – Seite «همکاری با ما» (/partnership), QAT-20261203-e5775ab1.
   Pastellblau, Liquid-Glass-Karten, dezentes Punktraster im Hintergrund. Präfix .pt-.
   Durchgehend logische Properties (RTL); Bewegungen entfallen bei prefers-reduced-motion. */

.pt-page {
    --pt-ink: #0f1f3a;
    --pt-muted: #4b5d7a;
    --pt-blue: #2f6fe4;
    --pt-blue-soft: #e4efff;
    --pt-line: rgba(120, 160, 230, .28);
    --pt-radius: 24px;
    position: relative;
    isolation: isolate;
    max-inline-size: 1180px;
    margin-inline: auto;
    padding: clamp(20px, 4vw, 48px) clamp(16px, 3vw, 32px) 72px;
    color: var(--pt-ink);
}

/* ── Hintergrund: Verlauf, Punktraster, weiche Farbflecken ── */
.pt-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 1px 1px, rgba(47, 111, 228, .12) 1px, transparent 0) 0 0 / 26px 26px,
        linear-gradient(180deg, #f3f8ff 0%, #eaf3ff 45%, #f6f9ff 100%);
    overflow: hidden;
}
.pt-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .55;
    animation: pt-float 18s ease-in-out infinite alternate;
}
.pt-blob--a { inline-size: 420px; block-size: 420px; inset-block-start: -120px; inset-inline-end: -80px; background: #bfdcff; }
.pt-blob--b { inline-size: 360px; block-size: 360px; inset-block-start: 40%; inset-inline-start: -140px; background: #d7e4ff; animation-delay: -6s; }
.pt-blob--c { inline-size: 300px; block-size: 300px; inset-block-end: -80px; inset-inline-end: 20%; background: #c9f0ff; animation-delay: -12s; }
@keyframes pt-float {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(30px, -24px, 0) scale(1.08); }
}

/* ── Glas-Karte ── */
.pt-glass {
    background: linear-gradient(150deg, rgba(255, 255, 255, .78) 0%, rgba(240, 247, 255, .55) 60%, rgba(228, 240, 255, .62) 100%);
    backdrop-filter: blur(18px) saturate(1.6);
    -webkit-backdrop-filter: blur(18px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: var(--pt-radius);
    box-shadow: 0 10px 34px rgba(30, 64, 140, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.pt-icon {
    display: inline-grid;
    place-items: center;
    flex: none;
    inline-size: 44px;
    block-size: 44px;
    border-radius: 14px;
    color: var(--pt-blue);
    background: linear-gradient(145deg, #ffffff, var(--pt-blue-soft));
    box-shadow: inset 0 0 0 1px var(--pt-line);
}
.pt-icon svg { inline-size: 24px; block-size: 24px; }

.pt-eyebrow {
    margin: 0 0 8px;
    color: var(--pt-blue);
    font-size: .9rem;
    font-weight: 700;
}

/* ── Hero ── */
.pt-hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    padding-block: clamp(16px, 4vw, 40px) clamp(32px, 5vw, 64px);
}
.pt-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(1.9rem, 4.4vw, 3rem);
    line-height: 1.35;
    font-weight: 800;
}
.pt-hero h1 span {
    background: linear-gradient(90deg, #2f6fe4, #22a6d8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.pt-lead { margin: 0 0 24px; color: var(--pt-muted); font-size: 1.08rem; line-height: 2; }
.pt-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pt-path {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    color: inherit;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
.pt-path strong { display: block; font-size: 1rem; }
.pt-path small { display: block; color: var(--pt-muted); font-size: .85rem; margin-block-start: 2px; }
.pt-path b { margin-inline-start: auto; color: var(--pt-blue); transition: transform .25s ease; }
.pt-path:hover, .pt-path:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(30, 64, 140, .14); }
.pt-path:hover b { transform: translateX(-4px); }

.pt-hero-visual { position: relative; display: grid; place-items: center; min-block-size: 300px; }
.pt-orbit { position: absolute; inset: 0; display: grid; place-items: center; }
.pt-orbit span {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(47, 111, 228, .25);
    inline-size: 280px;
    block-size: 280px;
    animation: pt-spin 40s linear infinite;
}
.pt-orbit span + span { inline-size: 380px; block-size: 380px; animation-duration: 60s; animation-direction: reverse; }
@keyframes pt-spin { to { transform: rotate(360deg); } }
.pt-robot-card {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 28px 24px 22px;
    max-inline-size: 300px;
    text-align: center;
}
.pt-robot { inline-size: 132px; block-size: 132px; animation: pt-bob 5s ease-in-out infinite; }
.pt-robot svg { inline-size: 100%; block-size: 100%; }
@keyframes pt-bob { 50% { transform: translateY(-8px); } }
.pt-robot-card p { margin: 0; }
.pt-robot-card strong { display: block; font-size: 1.05rem; }
.pt-robot-card span { display: block; color: var(--pt-muted); font-size: .9rem; line-height: 1.9; }

/* ── Abschnitte ── */
.pt-section { padding-block: clamp(32px, 6vw, 72px) 0; scroll-margin-block-start: 90px; }
.pt-head { max-inline-size: 720px; margin-block-end: 28px; }
.pt-head h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.pt-head p:last-child { margin: 0; color: var(--pt-muted); line-height: 2; }
.pt-sub { margin: 36px 0 16px; font-size: 1.2rem; font-weight: 800; }

/* ── Stellen ── */
.pt-jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.pt-job { display: flex; flex-direction: column; gap: 10px; padding: 22px; transition: transform .25s ease, box-shadow .25s ease; }
.pt-job:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(30, 64, 140, .13); }
.pt-job h3 { margin: 0; font-size: 1.15rem; }
.pt-job-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--pt-blue);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
}
.pt-chip svg { inline-size: 14px; block-size: 14px; }
.pt-chip--soft { background: var(--pt-blue-soft); color: var(--pt-blue); }
.pt-job-summary { margin: 0; color: var(--pt-muted); line-height: 1.9; }
.pt-job-more summary {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: var(--pt-blue);
    font-weight: 700;
    list-style: none;
}
.pt-job-more summary::-webkit-details-marker { display: none; }
.pt-job-more summary svg { inline-size: 16px; block-size: 16px; transition: transform .2s ease; }
.pt-job-more[open] summary svg { transform: rotate(180deg); }
.pt-job-desc { white-space: pre-line; line-height: 1.9; color: var(--pt-ink); }
.pt-job-more h4 { margin: 12px 0 6px; font-size: .95rem; }
.pt-job-more ul { margin: 0; padding-inline-start: 20px; line-height: 1.9; color: var(--pt-muted); }
.pt-job .pt-btn { margin-block-start: auto; align-self: flex-start; }

.pt-empty { display: flex; align-items: center; gap: 16px; padding: 22px; }
.pt-empty strong { display: block; margin-block-end: 4px; }
.pt-empty p { margin: 0; color: var(--pt-muted); line-height: 1.9; }

/* ── Vertrieb ── */
.pt-types { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pt-type { padding: 24px; }
.pt-type h3 { margin: 14px 0 6px; font-size: 1.15rem; }
.pt-type p { margin: 0; color: var(--pt-muted); line-height: 1.9; }

.pt-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.pt-benefit { display: grid; gap: 6px; padding: 18px; transition: transform .25s ease, box-shadow .25s ease; }
.pt-benefit:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(30, 64, 140, .12); }
.pt-benefit strong { margin-block-start: 6px; }
.pt-benefit > span:last-child { color: var(--pt-muted); font-size: .92rem; line-height: 1.85; }

.pt-terms {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-block-start: 22px;
    padding: 18px 20px;
    border-inline-start: 4px solid var(--pt-blue);
}
.pt-terms p { margin: 0; font-weight: 600; line-height: 1.9; }

/* ── Formulare ── */
.pt-form-wrap {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
    margin-block-start: 36px;
    scroll-margin-block-start: 90px;
}
.pt-form-side h3 { margin: 0 0 8px; font-size: 1.3rem; font-weight: 800; }
.pt-form-side > p { margin: 0 0 18px; color: var(--pt-muted); line-height: 2; }
.pt-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pt-steps li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.pt-steps li span {
    display: inline-grid;
    place-items: center;
    inline-size: 30px;
    block-size: 30px;
    border-radius: 50%;
    background: var(--pt-blue-soft);
    color: var(--pt-blue);
    font-weight: 800;
}

.pt-form { padding: clamp(18px, 3vw, 28px); }
.pt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.pt-field { display: grid; gap: 6px; align-content: start; min-inline-size: 0; }
.pt-field--wide { grid-column: 1 / -1; }
.pt-field label, .pt-label, .pt-field legend, .pt-switch legend { font-weight: 700; font-size: .92rem; }
.pt-opt { color: var(--pt-muted); font-weight: 400; font-size: .82rem; }
.pt-form input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
.pt-form select,
.pt-form textarea {
    inline-size: 100%;
    box-sizing: border-box;
    min-block-size: 48px;
    padding: 10px 14px;
    border: 1px solid var(--pt-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .85);
    color: var(--pt-ink);
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.pt-form textarea { resize: vertical; line-height: 1.9; }
.pt-form input:focus, .pt-form select:focus, .pt-form textarea:focus {
    outline: none;
    border-color: var(--pt-blue);
    box-shadow: 0 0 0 4px rgba(47, 111, 228, .15);
}
.pt-form [aria-invalid="true"], .pt-drop.is-invalid { border-color: #d93a4a !important; }
.pt-err { margin: 0; color: #c0283a; font-size: .85rem; }
.pt-alert {
    margin-block-end: 16px;
    padding: 12px 16px;
    border-radius: 14px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
    line-height: 1.9;
}
.pt-hp { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }

/* Initiativbewerbung: Freitext-Position nur bei „andere Position" */
.pt-other-position { display: none; }
.pt-form:has(select[data-pt-job-select] option[value="0"]:checked) .pt-other-position { display: grid; }

/* Datei-Feld als Drop-Fläche */
.pt-file { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.pt-drop {
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 14px;
    border: 1.5px dashed rgba(47, 111, 228, .4);
    border-radius: 14px;
    background: rgba(228, 239, 255, .5);
    color: var(--pt-blue);
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    transition: background .2s ease, border-color .2s ease;
}
.pt-drop svg { inline-size: 26px; block-size: 26px; }
.pt-drop span { overflow-wrap: anywhere; }
.pt-drop small { color: var(--pt-muted); font-weight: 400; font-size: .8rem; }
.pt-drop:hover { background: rgba(228, 239, 255, .85); }
.pt-file:focus-visible + * , .pt-field:focus-within .pt-drop { box-shadow: 0 0 0 4px rgba(47, 111, 228, .18); }

/* Umschalter einzeln / B2B */
.pt-switch { margin: 0 0 18px; padding: 0; border: 0; min-inline-size: 0; }
.pt-switch legend { padding: 0 0 8px; }
.pt-switch-opts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 6px;
    border-radius: 16px;
    background: rgba(228, 239, 255, .7);
}
.pt-switch label { position: relative; cursor: pointer; }
.pt-switch input { position: absolute; opacity: 0; inset: 0; }
.pt-switch span {
    display: block;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    color: var(--pt-muted);
    transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.pt-switch input:checked + span { background: #fff; color: var(--pt-blue); box-shadow: 0 4px 14px rgba(30, 64, 140, .12); }
.pt-switch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(47, 111, 228, .35); }

/* B2B-Felder und wechselnde Beschriftung — reines CSS, funktioniert auch ohne JavaScript */
.pt-b2b { display: none; grid-template-columns: 1fr 1fr 1fr; gap: 14px 16px; }
.pt-when-business { display: none; }
.pt-sales-form:has(input[name="partner_type"][value="business"]:checked) .pt-b2b { display: grid; animation: pt-in .35s ease; }
.pt-sales-form:has(input[name="partner_type"][value="business"]:checked) .pt-when-business { display: inline; }
.pt-sales-form:has(input[name="partner_type"][value="business"]:checked) .pt-when-individual { display: none; }
@keyframes pt-in { from { opacity: 0; transform: translateY(-6px); } }

/* Marketing-Wege als Chips */
.pt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.pt-chips legend { inline-size: 100%; margin-block-end: 6px; }
.pt-chip-check { position: relative; cursor: pointer; }
.pt-chip-check input { position: absolute; opacity: 0; inset: 0; }
.pt-chip-check span {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--pt-line);
    background: rgba(255, 255, 255, .8);
    font-size: .9rem;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pt-chip-check input:checked + span { background: var(--pt-blue); border-color: var(--pt-blue); color: #fff; }
.pt-chip-check input:focus-visible + span { box-shadow: 0 0 0 3px rgba(47, 111, 228, .3); }

/* ── Knöpfe ── */
.pt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-block-size: 46px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 14px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.pt-btn--primary { background: linear-gradient(135deg, #3b7cf0, #2a60d0); color: #fff; box-shadow: 0 8px 22px rgba(47, 111, 228, .3); }
.pt-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(47, 111, 228, .38); }
.pt-btn--primary[disabled] { opacity: .7; cursor: progress; transform: none; }
.pt-btn--ghost { background: rgba(255, 255, 255, .8); border-color: var(--pt-line); color: var(--pt-blue); }
.pt-btn--ghost:hover { background: #fff; transform: translateY(-2px); }
.pt-btn--wide { inline-size: 100%; margin-block-start: 18px; }
.pt-btn--sm { min-block-size: 36px; padding: 6px 14px; font-size: .88rem; }
.pt-privacy { margin: 12px 0 0; color: var(--pt-muted); font-size: .85rem; text-align: center; }
.pt-privacy a { color: var(--pt-blue); }

/* ── Danke-Seite ── */
.pt-page--thanks { display: grid; place-items: center; min-block-size: 70vh; }
.pt-thanks { display: grid; justify-items: center; gap: 12px; max-inline-size: 560px; padding: 32px 24px; text-align: center; }
.pt-thanks h1 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.pt-thanks p { margin: 0; color: var(--pt-muted); line-height: 2; }
.pt-code {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 16px;
    background: var(--pt-blue-soft);
}
.pt-code bdi { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.25rem; font-weight: 800; letter-spacing: .06em; color: var(--pt-blue); }
.pt-help { font-size: .9rem; }
.pt-thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block-start: 8px; }

/* ── Einblenden beim Scrollen (nur mit JS; ohne JS sofort sichtbar) ── */
.pt-js .pt-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.pt-js .pt-reveal[data-delay="1"] { transition-delay: .08s; }
.pt-js .pt-reveal[data-delay="2"] { transition-delay: .16s; }
.pt-js .pt-reveal[data-delay="3"] { transition-delay: .24s; }
.pt-js .pt-reveal.is-in { opacity: 1; transform: none; }

/* ── Responsiv ── */
@media (max-width: 900px) {
    .pt-hero { grid-template-columns: 1fr; }
    .pt-hero-visual { order: -1; min-block-size: 220px; }
    .pt-orbit span { inline-size: 210px; block-size: 210px; }
    .pt-orbit span + span { inline-size: 280px; block-size: 280px; }
    .pt-form-wrap { grid-template-columns: 1fr; }
    .pt-b2b { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .pt-paths, .pt-types, .pt-grid, .pt-b2b { grid-template-columns: 1fr; }
    .pt-robot { inline-size: 104px; block-size: 104px; }
    .pt-terms, .pt-empty { align-items: flex-start; }
    .pt-form input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), .pt-form select, .pt-form textarea { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .pt-blob, .pt-orbit span, .pt-robot { animation: none; }
    .pt-js .pt-reveal { opacity: 1; transform: none; transition: none; }
    .pt-path, .pt-job, .pt-benefit, .pt-btn { transition: none; }
}
