/* Layout – ruhig, viel Fläche, an apple.com orientiert (ohne 1:1-Kopie) */

body.premium-body {
    background: #ffffff;
}

/* ——— Header ——— */
.topbar {
    position: sticky;
    top: 0;
    z-index: 260;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: saturate(1.2) blur(20px);
    -webkit-backdrop-filter: saturate(1.2) blur(20px);
}

.topbar-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: auto;
    height: 42px;
    filter: none;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-copy strong {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    font-weight: 600;
}

.brand-copy span {
    font-size: 12px;
    color: var(--ink-muted);
    max-width: 24em;
    line-height: 1.35;
}

.topnav {
    position: relative;
}

.topnav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.topnav-list a,
.topnav-panel a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 0;
    color: #1d1d1f;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: color 0.2s ease, opacity 0.2s ease;
    opacity: 0.88;
}

.topnav-list a:hover,
.topnav-panel a:hover {
    background: transparent;
    opacity: 1;
}

.topnav-list a.is-current,
.topnav-panel a.is-current {
    background: transparent;
    opacity: 1;
    font-weight: 500;
}

.topnav-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line-2);
    background: #fff;
    color: var(--ink);
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
}

.topnav-panel {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 240px;
    padding: 8px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(12px);
}

.topnav-panel.is-open {
    display: block;
}

.topnav-panel-inner {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* ——— Shell & Hero ——— */
.page-shell {
    padding: 0 0 4rem;
}

.page-hero {
    position: relative;
    margin: 0;
    padding: clamp(3.5rem, 10vh, 5.5rem) 0 clamp(3rem, 6vw, 4rem);
    background: #ffffff;
    overflow: hidden;
}

.page-hero::after {
    display: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-card,
.cta-shell,
.special-shell {
    position: relative;
    overflow: visible;
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.page-hero .page-hero-card {
    border: none;
    background: transparent;
    backdrop-filter: none;
}

.section-block .page-panel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #d2d2d2;
    background: #fff;
    box-shadow: none;
}

.page-hero-card,
.panel-body,
.cta-shell,
.special-shell {
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.page-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
}

.display-title {
    margin: 0.2rem 0 1rem;
    max-width: 18ch;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6.5vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: #1d1d1f;
    font-weight: 600;
}

.display-copy {
    max-width: 32em;
    margin: 0;
    color: #6e6e73;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.5;
    font-weight: 400;
}

.display-note {
    margin-top: 16px;
    color: var(--on-muted);
    font-size: 0.92rem;
}

.hero-visual-stack {
    position: relative;
    display: grid;
    gap: 16px;
}

.hero-image-frame,
.panel-visual,
.hero-product-card {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #d2d2d2;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.hero-image-frame {
    min-height: 400px;
}

.hero-image-frame img,
.hero-product-card img,
.panel-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-product-card {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 2vw, 1.5rem);
    background: #fff;
}

.hero-product-card img {
    width: min(100%, 400px);
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.hero-proof-list {
    display: grid;
    gap: 12px;
}

.hero-proof-item {
    padding: 0 0 0 0;
    border-radius: 0;
    border: none;
    border-top: 1px solid #d2d2d2;
    background: none;
    padding-top: 1.25rem;
    margin-top: 1.25rem;
    backdrop-filter: none;
}

.hero-proof-list .hero-proof-item:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.hero-proof-item strong {
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #1d1d1f;
}

.hero-proof-item p {
    margin: 0;
    color: #6e6e73;
    font-size: 0.95rem;
    line-height: 1.5;
}

.hero-meta-row {
    margin-top: 1.5rem;
}

.hero-meta-line {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #6e6e73;
    font-weight: 400;
    max-width: 36em;
}

.page-hero .chip {
    background: none;
    border: none;
    color: #6e6e73;
    font-size: 14px;
    font-weight: 400;
}

/* Grids */
.hero-signal-grid,
.panel-grid-3,
.panel-grid-4,
.stats-grid-premium,
.proof-grid,
.timeline-grid,
.usecase-grid,
.problem-grid {
    display: grid;
    gap: 20px;
}

.panel-grid-3,
.hero-signal-grid,
.proof-grid,
.usecase-grid,
.problem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel-grid-4,
.stats-grid-premium,
.timeline-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Problem-Sektion (hell) */
.section-problem {
    margin-top: 0.5rem;
}

.section-head {
    max-width: 40rem;
    margin-bottom: 2rem;
}

.section-head .section-kicker {
    margin-bottom: 0.5rem;
}

.section-head h2,
.section-head .section-title {
    color: var(--ink);
    margin: 0 0 0.75rem;
}

.section-head p {
    margin: 0;
    color: var(--ink-2);
    font-size: 1.1rem;
    line-height: 1.65;
    max-width: 38em;
}

.problem-card {
    border-radius: 12px;
    border: 1px solid #d2d2d2;
    background: #fff;
    padding: 1.5rem 1.5rem 1.4rem;
    min-height: 100%;
    box-shadow: none;
    transition: none;
}

.problem-card:hover {
    box-shadow: none;
    transform: none;
}

.problem-card-num {
    font-family: var(--font-body);
    font-size: 2rem;
    line-height: 1;
    color: rgba(0, 0, 0, 0.1);
    margin-bottom: 0.4rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.problem-card h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 0.5rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.problem-card p {
    margin: 0;
    color: var(--ink-2);
    font-size: 0.98rem;
    line-height: 1.6;
}

.compact-card {
    min-height: 100%;
    padding: 1.5rem 1.5rem 1.4rem;
    border: 1px solid #d2d2d2;
    background: #fff;
    box-shadow: none;
}

.compact-card::after {
    display: none;
}

.compact-card h3 {
    margin: 0 0 10px;
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 1.4vw, 1.3rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    font-weight: 600;
}

.compact-card p {
    margin: 0;
    max-width: 38ch;
    color: var(--ink-2);
    font-size: 0.98rem;
    line-height: 1.6;
}

.compact-card.soft {
    background: #f5f5f5;
    border-color: #d2d2d2;
    box-shadow: none;
}

.compact-card.dark {
    background: #1d1d1f;
    border-color: #1d1d1f;
    box-shadow: none;
}

.compact-card.dark h3,
.compact-card.dark .eyebrow-mini {
    color: var(--on-dark-strong);
}

.compact-card.dark p {
    color: var(--on-dim);
}

.compact-card.dark .eyebrow-mini {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.compact-card img {
    margin-top: 1rem;
    width: 100%;
    max-width: 200px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.eyebrow-mini {
    font-size: 10px;
    margin-bottom: 0.4rem;
}

/* Split panels */
.page-panel {
    padding: 0;
}

.panel-split {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
}

.panel-body {
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.panel-copy h2 {
    margin: 14px 0 12px;
    max-width: min(32ch, 100%);
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: #1d1d1f;
    font-weight: 600;
}

.panel-copy p {
    margin: 0 0 12px;
    max-width: 50ch;
    color: var(--ink-2);
    font-size: 1.02rem;
    line-height: 1.65;
}

.panel-list {
    margin: 16px 0 0;
    padding-left: 1.1em;
    color: var(--ink-2);
}

.panel-list li + li {
    margin-top: 8px;
}

.panel-copy .display-actions {
    margin-top: 1.25rem;
}

.panel-visual {
    min-height: 320px;
    border-radius: 0 12px 12px 0;
    border: none;
    background: #e8e8e8;
    box-shadow: none;
}

.split-panel--reverse .panel-split {
    direction: rtl;
}

.split-panel--reverse .panel-split > * {
    direction: ltr;
}

.split-panel--reverse .panel-visual {
    border-radius: var(--radius-2xl) 0 0 var(--radius-2xl);
}

/* Kennzahlen: hell, sachlich */
.stats-grid-premium {
    position: relative;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    box-shadow: none;
    gap: 1.25rem;
}

.stats-grid-premium::before {
    display: none;
}

.stats-grid-premium .metric-box {
    position: relative;
    z-index: 1;
    border: 1px solid #d2d2d2;
    background: #fff;
    color: #424245;
    box-shadow: none;
}

.stats-grid-premium .metric-box strong {
    color: #1d1d1f;
    font-family: var(--font-body);
    font-weight: 600;
}

.stats-grid-premium .metric-box span {
    color: #6e6e73;
    font-size: 0.9rem;
    line-height: 1.45;
    opacity: 1;
}

.metric-box {
    text-align: left;
    border-radius: var(--radius-lg);
}

/* CTA */
.section--dark-bottom {
    margin-bottom: 0;
}

.cta-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    box-shadow: none;
    border-radius: 12px;
}

.cta-shell::before {
    display: none;
}

.cta-shell > * {
    position: relative;
    z-index: 1;
}

.cta-shell h2,
.cta-shell h3 {
    margin: 0 0 8px;
    max-width: 20ch;
    font-family: var(--font-body);
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: #1d1d1f;
    font-weight: 600;
}

.cta-shell p {
    margin: 0;
    max-width: 50ch;
    color: #6e6e73;
    font-size: 1.02rem;
    line-height: 1.5;
}

.cta-shell .display-kicker {
    color: #6e6e73;
    margin-bottom: 0.35rem;
}

/* Footer */
.page-footer {
    margin-top: auto;
    border-top: 1px solid #e5e5e5;
    padding: 1.5rem 0 2.5rem;
    color: #6e6e73;
    font-size: 12px;
    background: #ffffff;
}

.page-footer a {
    color: var(--ink-2);
}

.page-footer a:hover {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.page-footer-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.special-shell {
    max-width: 980px;
    margin: 0 auto;
    border: 1px solid #d2d2d2;
    background: #fff;
    box-shadow: none;
    border-radius: 12px;
}

/* Unterseiten-Helden: gleiche helle, ruhige Erste Ebene */
body.page-hero-bright .page-hero,
.page-hero.page-hero--light {
    background: #ffffff;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

body.page-hero-bright .page-hero::after,
.page-hero.page-hero--light::after {
    display: none;
}

body.page-hero-bright .page-hero,
body.page-hero-bright .page-hero * {
    --text-strong: #1d1d1f;
    --text-body: #424245;
    --text-muted: #6e6e73;
}

body.page-hero-bright .page-hero .page-hero-card {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

body.page-hero-bright .display-title,
.page-hero.page-hero--light .display-title {
    color: #1d1d1f;
}

body.page-hero-bright .display-copy,
.page-hero.page-hero--light .display-copy {
    color: #6e6e73;
}

body.page-hero-bright .display-kicker,
body.page-hero-bright .chip,
.page-hero.page-hero--light .display-kicker,
.page-hero.page-hero--light .chip {
    color: #6e6e73;
}

body.page-hero-bright .chip.accent,
.page-hero.page-hero--light .chip.accent {
    color: #424245;
}

body.page-hero-bright .hero-image-frame,
body.page-hero-bright .hero-product-card,
.page-hero.page-hero--light .hero-image-frame,
.page-hero.page-hero--light .hero-product-card {
    border: 1px solid #d2d2d2;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

body.page-hero-bright .hero-proof-item,
.page-hero.page-hero--light .hero-proof-item {
    background: transparent;
    border: none;
    border-top: 1px solid #d2d2d2;
}

body.page-hero-bright .hero-proof-item strong,
.page-hero.page-hero--light .hero-proof-item strong {
    color: #1d1d1f;
}

body.page-hero-bright .hero-proof-item p,
.page-hero.page-hero--light .hero-proof-item p {
    color: #6e6e73;
}

body.page-hero-bright .btn-secondary,
.page-hero.page-hero--light .btn-secondary {
    border-color: #d2d2d2;
    background: #fff;
    color: #1d1d1f;
}

body.page-hero-bright .btn-secondary:hover,
.page-hero.page-hero--light .btn-secondary:hover {
    background: #f5f5f5;
}

@media (max-width: 1120px) {
    .page-hero-grid,
    .panel-split,
    .panel-grid-4,
    .stats-grid-premium,
    .timeline-grid,
    .problem-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-hero-grid,
    .panel-split {
        grid-template-columns: 1fr;
    }

    .panel-visual {
        border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
        min-height: 280px;
    }

    .page-panel .panel-split .panel-body:first-child {
        order: 1;
    }
}

@media (max-width: 920px) {
    .topnav-list {
        display: none;
    }

    .topnav-toggle {
        display: inline-flex;
    }

    .panel-grid-3,
    .hero-signal-grid,
    .proof-grid,
    .usecase-grid,
    .panel-grid-4,
    .stats-grid-premium,
    .timeline-grid,
    .problem-grid {
        grid-template-columns: 1fr;
    }

    .hero-image-frame {
        min-height: 280px;
    }
}

@media (max-width: 760px) {
    .page-shell {
        padding-bottom: 2.5rem;
    }

    .topbar-inner {
        min-height: 70px;
    }

    .page-hero-card,
    .panel-body,
    .cta-shell,
    .special-shell,
    .compact-card {
        padding: 1.15rem;
    }

    .display-title {
        margin: 10px 0 10px;
        max-width: none;
        font-size: clamp(1.9rem, 7vw, 2.4rem);
    }

    .display-copy {
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .topnav-panel {
        width: min(280px, calc(100vw - 36px));
        min-width: 0;
    }

    .brand-copy span {
        display: none;
    }
}

