/*
 * Theme «plexitime» — Produktseite der Zeiterfassung.
 *
 * Lädt nach blocks.css und site.css (base/partials/head). Ändert Tokens,
 * setzt eigene Kopfzeile, Bühne und Bänder und zieht die gemeinsamen
 * Blockarten in dieselbe Sprache. Jede Regel für eine Blockart beginnt mit
 * .pt-body, damit sie die gleichnamigen Regeln aus blocks.css/site.css
 * sicher schlägt, ohne !important.
 *
 * Gestaltungsidee: die Stempelkarte. Feines Zeitraster im Hintergrund,
 * Zahlen in gleich breiten Ziffern, Indigo als Arbeitsfarbe (aus dem CMS,
 * --color-primary), Türkis für «gut», Bernstein für «läuft gerade».
 */

@font-face {
    font-family: "Bricolage Grotesque";
    src: url("/assets/fonts/webvanta/bricolage-grotesque-latin-800.woff2") format("woff2");
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: "Bricolage Grotesque";
    src: url("/assets/fonts/webvanta/bricolage-grotesque-latin-600.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Hanken Grotesk";
    src: url("/assets/fonts/webvanta/hanken-grotesk-latin-400.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Hanken Grotesk";
    src: url("/assets/fonts/webvanta/hanken-grotesk-latin-500.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Hanken Grotesk";
    src: url("/assets/fonts/webvanta/hanken-grotesk-latin-600.woff2") format("woff2");
    font-weight: 600 700;
    font-display: swap;
}

:root {
    --pt-ink: #0e1124;
    --pt-ink-2: #3b4060;
    --pt-muted: #6b7190;
    --pt-line: #e6e8f2;
    --pt-bg: #fbfbfe;
    --pt-tint: #f3f4fb;
    --pt-card: #ffffff;
    --pt-primary: var(--color-primary, #4f46e5);
    --pt-primary-soft: color-mix(in srgb, var(--pt-primary) 10%, #fff);
    --pt-teal: var(--color-accent, #14b8a6);
    --pt-amber: #f59e0b;
    --pt-red: #e5484d;
    --pt-radius: 18px;
    --pt-radius-lg: 28px;
    --pt-shadow: 0 1px 2px rgb(14 17 36 / 0.04), 0 8px 24px -8px rgb(14 17 36 / 0.12);
    --pt-shadow-lg: 0 2px 4px rgb(14 17 36 / 0.04), 0 30px 60px -20px rgb(30 27 75 / 0.28);
    --pt-container: 74rem;
    --pt-display: "Bricolage Grotesque", "Hanken Grotesk", ui-sans-serif, sans-serif;
    --pt-text: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;

    /* Die gemeinsamen Tokens aus site.css auf plexitime ziehen. */
    --font-body: var(--pt-text);
    --font-heading: var(--pt-display);
    --color-text: var(--pt-ink);
    --color-text-muted: var(--pt-muted);
    --color-border: var(--pt-line);
    --color-bg: var(--pt-card);
    --color-bg-muted: var(--pt-tint);
}

.pt-body {
    background: var(--pt-bg);
    color: var(--pt-ink);
    font-family: var(--pt-text);
    font-size: 1.0625rem;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.pt-body h1,
.pt-body h2,
.pt-body h3 {
    font-family: var(--pt-display);
    color: var(--pt-ink);
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.pt-container {
    width: min(100% - 2.5rem, var(--pt-container));
    margin-inline: auto;
}

/* --- Kopfzeile ------------------------------------------------------- */

.pt-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 14px 16px 0;
}

.pt-header__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: min(100%, var(--pt-container));
    margin-inline: auto;
    padding: 10px 12px 10px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pt-header[data-scrolled="true"] .pt-header__inner,
.pt-header[data-nav-open="true"] .pt-header__inner {
    border-color: rgb(14 17 36 / 0.06);
    background: rgb(255 255 255 / 0.78);
    box-shadow: var(--pt-shadow);
    backdrop-filter: saturate(1.6) blur(14px);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
}

.pt-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.pt-brand__logo {
    display: block;
    width: auto;
    height: 34px;
}

.pt-brand__name {
    font-family: var(--pt-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--pt-ink);
}

.pt-nav {
    margin-left: auto;
}

.pt-nav__list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pt-nav__list > li::before {
    content: none;
}

.pt-nav__list a {
    display: inline-flex;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    color: var(--pt-ink-2);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.pt-nav__list a:hover {
    background: var(--pt-tint);
    color: var(--pt-ink);
}

/* Der letzte Menüpunkt ist der Handlungsaufruf. */
.pt-nav__list > li:last-child > a {
    margin-left: 0.5rem;
    padding-inline: 1.15rem;
    background: var(--pt-ink);
    color: #fff;
    font-weight: 600;
}

.pt-nav__list > li:last-child > a:hover {
    background: var(--pt-primary);
    color: #fff;
}

.pt-nav-toggle {
    display: none;
}

@media (max-width: 63.99rem) {
    .pt-header__inner {
        flex-wrap: wrap;
        border-radius: 22px;
    }

    .pt-nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .pt-nav {
        display: none;
        order: 3;
        width: 100%;
        margin: 0;
    }

    .pt-header[data-nav-open="true"] .pt-nav {
        display: block;
    }

    .pt-nav__list {
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 0 0.75rem;
    }

    .pt-nav__list a {
        padding: 0.8rem 1rem;
        font-size: 1.05rem;
    }

    .pt-nav__list > li:last-child > a {
        justify-content: center;
        display: flex;
        margin: 0.5rem 0 0;
    }
}

/* --- Schaltflächen --------------------------------------------------- */

.pt-btn,
.pt-body .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.1rem;
    padding: 0.8rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--pt-text);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pt-btn--primary,
.pt-body .button--primary {
    background: var(--pt-primary);
    box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--pt-primary) 80%, transparent), inset 0 1px 0 rgb(255 255 255 / 0.2);
    color: #fff;
}

.pt-btn--primary:hover,
.pt-body .button--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--pt-primary) 90%, transparent), inset 0 1px 0 rgb(255 255 255 / 0.2);
    color: #fff;
}

.pt-btn--ghost,
.pt-body .button--quiet {
    border-color: var(--pt-line);
    background: var(--pt-card);
    color: var(--pt-ink);
}

.pt-btn--ghost:hover,
.pt-body .button--quiet:hover {
    border-color: color-mix(in srgb, var(--pt-primary) 40%, var(--pt-line));
    color: var(--pt-ink);
}

.pt-btn__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pt-amber);
    box-shadow: 0 0 0 4px rgb(245 158 11 / 0.2);
    animation: pt-pulse 1.8s ease-in-out infinite;
}

/* --- Bühne ----------------------------------------------------------- */

.pt-hero {
    position: relative;
    overflow: clip;
    margin-top: -80px;
    padding: 150px 0 90px;
}

/* Das Zeitraster der Stempelkarte: Stundenlinien, nach unten ausblendend. */
.pt-hero__grid {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 480px at 78% 18%, color-mix(in srgb, var(--pt-primary) 16%, transparent), transparent 70%),
        radial-gradient(600px 400px at 12% 90%, color-mix(in srgb, var(--pt-teal) 12%, transparent), transparent 70%),
        repeating-linear-gradient(90deg, rgb(14 17 36 / 0.045) 0 1px, transparent 1px 96px),
        repeating-linear-gradient(0deg, rgb(14 17 36 / 0.03) 0 1px, transparent 1px 48px);
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
    mask-image: linear-gradient(180deg, #000 55%, transparent);
    pointer-events: none;
}

.pt-hero__inner {
    position: relative;
    display: grid;
    gap: 3.5rem;
    align-items: center;
}

@media (min-width: 60rem) {
    .pt-hero__inner {
        grid-template-columns: 1.05fr 0.95fr;
    }
}

.pt-hero__title {
    margin: 0 0 1.25rem;
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.pt-hero__lead {
    max-width: 34rem;
    margin: 0 0 2rem;
    color: var(--pt-ink-2);
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    line-height: 1.55;
}

.pt-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pt-stage {
    position: relative;
    min-height: 560px;
}

.pt-phone {
    position: relative;
    z-index: 2;
    width: 290px;
    height: 590px;
    margin-left: auto;
    margin-right: clamp(0px, 4vw, 48px);
    padding: 12px;
    border-radius: 48px;
    background: linear-gradient(160deg, #22263d, #0e1124);
    box-shadow: var(--pt-shadow-lg), inset 0 0 0 1px rgb(255 255 255 / 0.08);
    transform: rotate(-3deg);
}

.pt-phone__notch {
    position: absolute;
    top: 22px;
    left: 50%;
    z-index: 1;
    width: 92px;
    height: 26px;
    border-radius: 999px;
    background: #0e1124;
    transform: translateX(-50%);
}

.pt-phone__screen {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 64px 22px 22px;
    border-radius: 38px;
    background: linear-gradient(180deg, #ffffff, #f4f5fc);
    font-variant-numeric: tabular-nums;
}

.pt-phone__hello {
    margin: 0;
    color: var(--pt-muted);
    font-size: 0.85rem;
}

.pt-phone__status {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0.3rem 0 0;
    color: var(--pt-ink);
    font-size: 0.9rem;
    font-weight: 600;
}

.pt-live {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--pt-amber);
    box-shadow: 0 0 0 4px rgb(245 158 11 / 0.22);
    animation: pt-pulse 1.8s ease-in-out infinite;
}

.pt-phone__time {
    margin: 1.4rem 0 0;
    font-family: var(--pt-display);
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.pt-phone__time small {
    margin-left: 0.2rem;
    color: var(--pt-muted);
    font-size: 1.3rem;
}

.pt-phone__sub {
    margin: 0.35rem 0 1.4rem;
    color: var(--pt-muted);
    font-size: 0.85rem;
}

.pt-phone__btn {
    display: grid;
    place-items: center;
    height: 54px;
    margin-bottom: 10px;
    border-radius: 16px;
    color: #fff;
    font-weight: 700;
}

.pt-phone__btn--pause {
    background: var(--pt-amber);
}

.pt-phone__btn--out {
    background: var(--pt-ink);
}

.pt-phone__week {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 90px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--pt-line);
}

.pt-bar {
    flex: 1;
    border-radius: 6px 6px 3px 3px;
    background: color-mix(in srgb, var(--pt-primary) 22%, #fff);
}

.pt-bar--now {
    background: var(--pt-primary);
}

.pt-bar--h0 {
    height: 6%;
}

.pt-bar--h4 {
    height: 45%;
}

.pt-bar--h6 {
    height: 66%;
}

.pt-bar--h7 {
    height: 78%;
}

.pt-bar--h8 {
    height: 89%;
}

.pt-bar--h9 {
    height: 100%;
}

.pt-float {
    position: absolute;
    z-index: 3;
    padding: 16px 18px;
    border: 1px solid rgb(14 17 36 / 0.06);
    border-radius: 20px;
    background: rgb(255 255 255 / 0.86);
    box-shadow: var(--pt-shadow-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-variant-numeric: tabular-nums;
}

.pt-float__label {
    margin: 0 0 0.6rem;
    color: var(--pt-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pt-float--team {
    top: 110px;
    left: -10px;
    width: 250px;
    animation: pt-float 7s ease-in-out infinite;
}

.pt-float--team ul {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pt-float--team li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.pt-float--team em {
    margin-left: auto;
    color: var(--pt-muted);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
}

.pt-avatar {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
}

.pt-avatar--a {
    background: var(--pt-primary);
}

.pt-avatar--b {
    background: var(--pt-amber);
}

.pt-avatar--c {
    background: var(--pt-teal);
}

.pt-float--month {
    right: 0;
    bottom: 70px;
    width: 220px;
    animation: pt-float 8s ease-in-out -3s infinite;
}

.pt-float__big {
    margin: 0;
    font-family: var(--pt-display);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.pt-float__big small {
    color: var(--pt-muted);
    font-size: 1rem;
}

.pt-float__meta {
    display: flex;
    gap: 0.4rem;
    margin: 0.6rem 0 0;
}

.pt-tag {
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--pt-tint);
    color: var(--pt-ink-2);
    font-size: 0.75rem;
    font-weight: 600;
}

.pt-tag--ok {
    background: color-mix(in srgb, var(--pt-teal) 16%, #fff);
    color: #0f766e;
}

@media (max-width: 40rem) {
    .pt-stage {
        min-height: 520px;
    }

    .pt-phone {
        margin-inline: auto;
        transform: rotate(-2deg) scale(0.9);
    }

    .pt-float--team {
        top: 10px;
        left: -6px;
        width: 210px;
    }

    .pt-float--month {
        right: -6px;
        bottom: 20px;
        width: 190px;
    }
}

/* --- Bänder ---------------------------------------------------------- */

.pt-sections {
    display: block;
}

.pt-body .pt-section {
    margin: 0;
    padding: clamp(4rem, 9vw, 7rem) 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.pt-body .pt-section--tint {
    background: var(--pt-tint);
}

.pt-body .pt-section--stats {
    padding: 0 0 3rem;
}

.pt-body .pt-section .content-card__heading {
    max-width: 44rem;
    margin: 0 auto 1rem;
    padding: 0;
    background: none;
    color: var(--pt-ink);
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-align: center;
    scroll-margin-top: 110px;
}

.pt-body .pt-section {
    scroll-margin-top: 90px;
}

.pt-body .pt-section .content-card__body {
    max-width: none;
    padding: 0;
    color: var(--pt-ink-2);
    font-size: 1.0625rem;
    line-height: 1.65;
}

/* Der Einleitungstext eines Bandes steht mittig unter der Überschrift. */
.pt-body .pt-section .content-card__body > p:first-child,
.pt-body .pt-section .content-card__body > .rich:first-child {
    max-width: 40rem;
    margin: 0 auto 3rem;
    color: var(--pt-muted);
    font-size: 1.15rem;
    text-align: center;
}

/* Aufzählung im Einleitungstext (z. B. Schichtplan): als Block mittig,
   die Zeilen selbst linksbündig — zentrierte Zeilen mit Punkten links
   sähen schief aus. */
.pt-body .pt-section .content-card__body > .rich:first-child ul {
    display: grid;
    gap: 0.6rem;
    width: fit-content;
    max-width: 34rem;
    margin: 1.5rem auto;
    font-size: 1.02rem;
    text-align: left;
}

/* --- Kennzahlen ------------------------------------------------------ */

.pt-body .pt-section--stats .stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--pt-line);
    border-radius: var(--pt-radius-lg);
    background: var(--pt-line);
    box-shadow: var(--pt-shadow);
}

.pt-body .pt-section--stats .stat {
    padding: 1.6rem 1.75rem;
    border: 0;
    background: var(--pt-card);
    text-align: left;
}

.pt-body .pt-section--stats .stat::before {
    content: none;
}

.pt-body .pt-section--stats .stat__value {
    color: var(--pt-ink);
    font-family: var(--pt-display);
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.pt-body .pt-section--stats .stat__label {
    margin-top: 0.2rem;
    color: var(--pt-muted);
    font-size: 0.95rem;
}

/* --- Symbolkacheln --------------------------------------------------- */

.pt-body .pt-section .icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
    gap: 1.25rem;
}

.pt-body .pt-section .icon-grid__item {
    position: relative;
    align-items: flex-start;
    padding: 1.75rem;
    border: 1px solid var(--pt-line);
    border-radius: var(--pt-radius);
    background: var(--pt-card);
    box-shadow: 0 1px 2px rgb(14 17 36 / 0.03);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pt-body .pt-section .icon-grid__item:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--pt-primary) 30%, var(--pt-line));
    box-shadow: var(--pt-shadow);
}

.pt-body .pt-section .icon-grid__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 0 1.1rem;
    margin-inline: 0;
    border: 0;
    border-radius: 14px;
    background: var(--pt-primary-soft);
    color: var(--pt-primary);
}

.pt-body .pt-section .icon-grid__icon svg {
    width: 24px;
    height: 24px;
}

.pt-body .pt-section .icon-grid__title {
    margin: 0 0 0.45rem;
    text-transform: none;
    letter-spacing: -0.02em;
    text-align: left;
    color: var(--pt-ink);
    font-family: var(--pt-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.pt-body .pt-section .icon-grid__text {
    margin: 0;
    color: var(--pt-muted);
    font-size: 0.98rem;
    line-height: 1.55;
}

.pt-body .pt-section .icon-grid__list {
    margin: 1rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px dashed var(--pt-line);
}

.pt-body .pt-section .icon-grid__list li {
    margin: 0 0 0.4rem;
    padding-left: 1.6rem;
    color: var(--pt-ink-2);
    font-size: 0.92rem;
}

.pt-body .pt-section .icon-grid__list li::before {
    top: 0.42em;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--pt-teal) 18%, #fff);
    transform: none;
}

/* --- Preise ---------------------------------------------------------- */

.pt-body .pt-section--pricing .pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 1rem;
    align-items: stretch;
    margin: 0;
    padding: 0;
}

.pt-body .pt-section--pricing .pricing__item {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 1.9rem 1.6rem 1.6rem;
    border: 1px solid var(--pt-line);
    border-radius: var(--pt-radius-lg);
    background: var(--pt-card);
    box-shadow: 0 1px 2px rgb(14 17 36 / 0.03);
}

.pt-body .pt-section--pricing .pricing__item::before {
    content: none;
}

.pt-body .pt-section--pricing .pricing__item--featured {
    border-color: var(--pt-ink);
    background: var(--pt-ink);
    box-shadow: var(--pt-shadow-lg);
    color: #fff;
}

@media (min-width: 64rem) {
    .pt-body .pt-section--pricing .pricing__item--featured {
        transform: translateY(-12px);
    }
}

.pt-body .pt-section--pricing .pricing__badge {
    position: absolute;
    top: -0.8rem;
    left: 1.6rem;
    margin: 0;
    /* blocks.css zentriert per translate(-50%) — hier steht es links. */
    transform: none;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--pt-amber);
    color: #241500;
    font-size: 0.75rem;
    font-weight: 700;
}

.pt-body .pt-section--pricing .pricing__title {
    margin: 0 0 0.4rem;
    color: inherit;
    font-family: var(--pt-display);
    font-size: 1.15rem;
    font-weight: 600;
}

.pt-body .pt-section--pricing .pricing__price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin: 0.4rem 0 0.25rem;
    font-variant-numeric: tabular-nums;
}

.pt-body .pt-section--pricing .pricing__amount {
    color: inherit;
    font-family: var(--pt-display);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.pt-body .pt-section--pricing .pricing__period {
    color: var(--pt-muted);
    font-size: 0.9rem;
}

.pt-body .pt-section--pricing .pricing__item--featured .pricing__period,
.pt-body .pt-section--pricing .pricing__item--featured .pricing__text,
.pt-body .pt-section--pricing .pricing__item--featured .pricing__features li {
    color: rgb(255 255 255 / 0.72);
}

.pt-body .pt-section--pricing .pricing__text {
    min-height: 3em;
    margin: 0 0 1.25rem;
    color: var(--pt-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.pt-body .pt-section--pricing .pricing__features {
    flex: 1;
    margin: 0 0 1.5rem;
    padding: 1.1rem 0 0;
    border-top: 1px solid var(--pt-line);
}

.pt-body .pt-section--pricing .pricing__item--featured .pricing__features {
    border-top-color: rgb(255 255 255 / 0.14);
}

.pt-body .pt-section--pricing .pricing__features li {
    margin: 0 0 0.55rem;
    padding-left: 1.55rem;
    color: var(--pt-ink-2);
    font-size: 0.93rem;
}

.pt-body .pt-section--pricing .pricing__features li::before {
    content: "";
    top: 0.35em;
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--pt-teal) 22%, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='%230f766e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
    transform: none;
}

.pt-body .pt-section--pricing .pricing__action {
    width: 100%;
}

.pt-body .pt-section--pricing .pricing__item--featured .pricing__action {
    background: #fff;
    box-shadow: none;
    color: var(--pt-ink);
}

/* Der Hinweis unter den Karten (Text nach der Liste). */
.pt-body .pt-section--pricing .content-card__body > p:last-child {
    margin-top: 2rem;
    color: var(--pt-muted);
    font-size: 0.9rem;
    text-align: center;
}

/* --- Vergleich ------------------------------------------------------- */

.pt-body .pt-section--comparison .comparison__scroll {
    overflow-x: auto;
    border: 1px solid var(--pt-line);
    border-radius: var(--pt-radius-lg);
    background: var(--pt-card);
    box-shadow: var(--pt-shadow);
}

.pt-body .pt-section--comparison .comparison {
    display: table;
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 0.98rem;
}

.pt-body .pt-section--comparison .comparison th,
.pt-body .pt-section--comparison .comparison td {
    padding: 1.05rem 1.4rem;
    border: 0;
    border-bottom: 1px solid var(--pt-line);
    background: none;
    text-align: left;
    vertical-align: top;
}

.pt-body .pt-section--comparison .comparison tr:last-child > * {
    border-bottom: 0;
}

.pt-body .pt-section--comparison .comparison thead th {
    color: var(--pt-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pt-body .pt-section--comparison .comparison thead th:nth-child(2) {
    color: var(--pt-primary);
}

.pt-body .pt-section--comparison .comparison tbody th {
    color: var(--pt-ink);
    font-weight: 600;
}

.pt-body .pt-section--comparison .comparison tbody td:nth-of-type(1) {
    background: color-mix(in srgb, var(--pt-primary) 5%, transparent);
    color: var(--pt-ink);
    font-weight: 500;
}

.pt-body .pt-section--comparison .comparison tbody td:nth-of-type(2) {
    color: var(--pt-muted);
}

/* --- Häufige Fragen -------------------------------------------------- */

.pt-body .pt-section--accordion .accordion {
    max-width: 48rem;
    margin-inline: auto;
}

.pt-body .pt-section .faq-item {
    margin: 0 0 0.75rem;
    border: 1px solid var(--pt-line);
    border-radius: var(--pt-radius);
    background: var(--pt-card);
}

.pt-body .pt-section .faq-item summary {
    position: relative;
    padding: 1.2rem 3.5rem 1.2rem 1.5rem;
    color: var(--pt-ink);
    font-size: 1.05rem;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.pt-body .pt-section .faq-item summary::-webkit-details-marker {
    display: none;
}

.pt-body .pt-section .faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 1.25rem;
    display: grid;
    place-items: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: var(--pt-tint);
    color: var(--pt-ink);
    font-size: 1.2rem;
    font-weight: 500;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
}

.pt-body .pt-section .faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.pt-body .pt-section .faq-item p {
    margin: 0;
    padding: 0 1.5rem 1.35rem;
    color: var(--pt-ink-2);
}

/* --- Handlungsaufruf ------------------------------------------------- */

/* Die dunkle Fläche liegt auf dem Container, damit Überschrift und Text im
   normalen Fluss darin stehen — eine zweizeilige Überschrift schiebt den
   Text nach unten, statt ihn zu überdecken. */
.pt-body .pt-section--cta {
    padding-top: 0;
}

.pt-body .pt-section--cta .pt-container {
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
    border-radius: 36px;
    background:
        radial-gradient(500px 300px at 85% 0%, color-mix(in srgb, var(--pt-primary) 70%, transparent), transparent 70%),
        radial-gradient(400px 260px at 10% 110%, color-mix(in srgb, var(--pt-teal) 45%, transparent), transparent 70%),
        var(--pt-ink);
    text-align: center;
}

.pt-body .pt-section--cta .content-card__heading {
    color: #fff;
}

.pt-body .pt-section--cta .cta-band {
    display: grid;
    gap: 1.75rem;
    justify-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
}

.pt-body .pt-section--cta .cta-band__text {
    max-width: 38rem;
}

.pt-body .pt-section--cta .content-card__body .cta-band__text p {
    margin: 0;
    color: rgb(255 255 255 / 0.82);
    font-size: 1.2rem;
}

.pt-body .pt-section--cta .cta-band .button--primary {
    background: #fff;
    color: var(--pt-ink);
    box-shadow: none;
}

/* --- Formular -------------------------------------------------------- */

.pt-body .pt-section--form .lead-form {
    max-width: 44rem;
    margin-inline: auto;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--pt-line);
    border-radius: var(--pt-radius-lg);
    background: var(--pt-card);
    box-shadow: var(--pt-shadow);
}

.pt-body .lead-form input,
.pt-body .lead-form select,
.pt-body .lead-form textarea {
    border: 1px solid var(--pt-line);
    border-radius: 12px;
    background: var(--pt-bg);
    font-family: var(--pt-text);
    font-size: 1rem;
}

.pt-body .lead-form input:focus,
.pt-body .lead-form select:focus,
.pt-body .lead-form textarea:focus {
    border-color: var(--pt-primary);
    outline: 3px solid color-mix(in srgb, var(--pt-primary) 22%, transparent);
    outline-offset: 0;
}

/* --- Stempeluhr-Demo im Band ----------------------------------------- */

.pt-body .pt-section--timeclock_demo .tcd {
    margin-top: 0;
}

.pt-body .pt-section--timeclock_demo .tcd__report {
    border-radius: var(--pt-radius-lg);
    box-shadow: var(--pt-shadow);
}

/* --- Fußbereich ------------------------------------------------------ */

.pt-body .site-footer {
    margin-top: 0;
    padding-block: 3.5rem 2.5rem;
    border-top: 1px solid var(--pt-line);
    background: var(--pt-bg);
    color: var(--pt-muted);
}

.pt-body .site-footer a {
    color: var(--pt-ink-2);
    text-decoration: none;
}

.pt-body .site-footer a:hover {
    color: var(--pt-primary);
}

/* --- Bewegung -------------------------------------------------------- */

@keyframes pt-pulse {
    50% {
        box-shadow: 0 0 0 7px rgb(245 158 11 / 0);
    }
}

@keyframes pt-float {
    50% {
        transform: translateY(-10px);
    }
}

.pt-js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pt-js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .pt-js [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .pt-float,
    .pt-live,
    .pt-btn__dot {
        animation: none;
    }
}

/* Die Dachzeile über der Bandüberschrift, mittig wie die Überschrift. */
.pt-body .pt-section .pt-kicker {
    display: table;
    margin: 0 auto 1rem;
    padding: 0.35rem 0.8rem;
    border: 1px solid color-mix(in srgb, var(--pt-primary) 25%, var(--pt-line));
    border-radius: 999px;
    background: var(--pt-card);
    color: var(--pt-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Gegen die Vorgaben aus blocks.css: Preis im hervorgehobenen Tarif weiß,
   Tariftitel ohne Versalien. */
.pt-body .pt-section--pricing .pricing__price,
.pt-body .pt-section--pricing .pricing__amount {
    color: var(--pt-ink);
}

.pt-body .pt-section--pricing .pricing__item--featured .pricing__price,
.pt-body .pt-section--pricing .pricing__item--featured .pricing__amount,
.pt-body .pt-section--pricing .pricing__item--featured .pricing__title {
    color: #fff;
}

.pt-body .pt-section--pricing .pricing__title {
    text-transform: none;
    letter-spacing: -0.01em;
}

.pt-body .pt-section .icon-grid__title::after {
    content: none;
}

/* --- Umschalter Hell/Dunkel (nur mit tenants.dark_mode) -------------- */

.pt-theme {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-left: 0.25rem;
    border: 1px solid var(--pt-line);
    border-radius: 999px;
    background: var(--pt-card);
    color: var(--pt-ink-2);
    cursor: pointer;
}

.pt-theme__moon,
.pt-brand__logo--dark {
    display: none;
}

:root[data-theme="dark"] .pt-theme__sun,
:root[data-theme="dark"] .pt-brand__logo--light {
    display: none;
}

:root[data-theme="dark"] .pt-theme__moon,
:root[data-theme="dark"] .pt-brand__logo--dark {
    display: block;
}

@media (max-width: 63.99rem) {
    .pt-theme {
        margin-left: auto;
    }

    .pt-theme + .pt-nav-toggle {
        margin-left: 0.4rem;
    }
}

/* --- Dunkelmodus ------------------------------------------------------
   Nur die Tokens drehen, wo es geht. Flächen, die im hellen Modus «Tinte»
   als Hintergrund benutzen (hervorgehobener Tarif, Handlungsaufruf, letzter
   Menüpunkt), bekommen eigene dunkle Werte — sonst würden sie hell. */

:root[data-theme="dark"] {
    --pt-ink: #eef0fb;
    --pt-ink-2: #c3c7dc;
    --pt-muted: #8e94b0;
    --pt-line: #252a3e;
    --pt-bg: #0a0c15;
    --pt-tint: #10131e;
    --pt-card: #151928;
    --pt-primary-soft: color-mix(in srgb, var(--pt-primary) 24%, #151928);
    --pt-shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px -8px rgb(0 0 0 / 0.5);
    --pt-shadow-lg: 0 2px 4px rgb(0 0 0 / 0.3), 0 30px 60px -20px rgb(0 0 0 / 0.7);
    --pt-deep: #1b2036;

    --color-text: var(--pt-ink);
    --color-text-muted: var(--pt-muted);
    --color-border: var(--pt-line);
    --color-bg: var(--pt-card);
    --color-bg-muted: var(--pt-tint);
    --color-heading: var(--pt-ink);

    color-scheme: dark;
}

:root[data-theme="dark"] .pt-header[data-scrolled="true"] .pt-header__inner,
:root[data-theme="dark"] .pt-header[data-nav-open="true"] .pt-header__inner {
    border-color: rgb(255 255 255 / 0.06);
    background: rgb(10 12 21 / 0.78);
}

:root[data-theme="dark"] .pt-nav__list a:hover {
    background: var(--pt-tint);
}

:root[data-theme="dark"] .pt-nav__list > li:last-child > a {
    background: var(--pt-primary);
}

:root[data-theme="dark"] .pt-hero__grid {
    background:
        radial-gradient(900px 480px at 78% 18%, color-mix(in srgb, var(--pt-primary) 26%, transparent), transparent 70%),
        radial-gradient(600px 400px at 12% 90%, color-mix(in srgb, var(--pt-teal) 16%, transparent), transparent 70%),
        repeating-linear-gradient(90deg, rgb(255 255 255 / 0.04) 0 1px, transparent 1px 96px),
        repeating-linear-gradient(0deg, rgb(255 255 255 / 0.03) 0 1px, transparent 1px 48px);
}

:root[data-theme="dark"] .pt-phone__screen {
    background: linear-gradient(180deg, #151928, #0f1220);
}

:root[data-theme="dark"] .pt-phone__btn--out {
    background: var(--pt-deep);
}

:root[data-theme="dark"] .pt-float {
    border-color: rgb(255 255 255 / 0.07);
    background: rgb(21 25 40 / 0.88);
}

:root[data-theme="dark"] .pt-tag--ok {
    background: color-mix(in srgb, var(--pt-teal) 20%, #151928);
    color: #5eead4;
}

:root[data-theme="dark"] .pt-body .pt-section--pricing .pricing__item--featured {
    border-color: var(--pt-primary);
    background: linear-gradient(180deg, var(--pt-deep), #141830);
}

:root[data-theme="dark"] .pt-body .pt-section--pricing .pricing__item--featured .pricing__action,
:root[data-theme="dark"] .pt-body .pt-section--cta .cta-band .button--primary {
    background: #fff;
    color: #0a0c15;
}

:root[data-theme="dark"] .pt-body .pt-section--pricing .pricing__features li::before {
    background-color: color-mix(in srgb, var(--pt-teal) 30%, #151928);
}

:root[data-theme="dark"] .pt-body .pt-section--cta .pt-container {
    background:
        radial-gradient(500px 300px at 85% 0%, color-mix(in srgb, var(--pt-primary) 60%, transparent), transparent 70%),
        radial-gradient(400px 260px at 10% 110%, color-mix(in srgb, var(--pt-teal) 35%, transparent), transparent 70%),
        var(--pt-deep);
}

:root[data-theme="dark"] .pt-body .lead-form input,
:root[data-theme="dark"] .pt-body .lead-form select,
:root[data-theme="dark"] .pt-body .lead-form textarea {
    color: var(--pt-ink);
}

/* Handy-Ansichten (blocks.css, .aps) im Dunkelmodus — dieselben Werte wie
   die App selbst (portal.css, :root[data-theme="dark"]). */
:root[data-theme="dark"] .pt-body .aps {
    --m-soft: color-mix(in srgb, var(--m-accent) 24%, #151928);
    --m-ink: #eef0fb;
    --m-ink-2: #c3c7dc;
    --m-muted: #8e94b0;
    --m-line: #252a3e;
    --m-bg: #0a0c15;
    --m-card: #141826;
    --m-off: #1b2036;
}
