@font-face {
    font-family: 'Roboto Local';
    src: url('/site-assets/fonts/roboto-variable.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Condensed Local';
    src: url('/site-assets/fonts/roboto-condensed-variable.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --fs-yellow: #fed45a;
    --fs-yellow-deep: #ffcd3b;
    --fs-yellow-border: #ffc009;
    --fs-yellow-soft: #FED253;
    --fs-gray: #5b6269;
    --fs-gray-dark: #4f565c;
    --fs-gray-deep: #3a3f45;
    --fs-muted: #a1a1a1;
    --fs-bg: #ffffff;
    --fs-bg-alt: #f5f5f5;
    --fs-bg-panel: #f9f9f9;
    --fs-border: #e5e5e5;
    --fs-white: #ffffff;
    --fs-green: #35bc00;
    --fs-red: #bc0000;
    --fs-orange: #ffa800;
    --radius: 8px;
    --shadow: 0 6px 24px rgba(79, 86, 92, .10);
    --shadow-hover: 0 10px 32px rgba(79, 86, 92, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--fs-gray);
    font-family: 'Roboto Local', sans-serif;
    background: var(--fs-bg);
}

a { color: inherit; text-decoration: none; }

.skip-link {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 1000;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    padding: .7rem .9rem;
    color: var(--fs-gray-deep);
    background: var(--fs-yellow);
    font-weight: 800;
}
.skip-link:focus {
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem clamp(1rem, 4vw, 4rem);
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--fs-border);
    backdrop-filter: blur(18px);
    transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled { background: rgba(255, 255, 255, .98); box-shadow: var(--shadow); }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.webengine-logo {
    display: inline-flex;
    align-items: baseline;
    gap: .18rem;
    color: var(--fs-gray-deep);
    font-family: 'Roboto Local', sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
}
.webengine-logo img {
    width: auto;
    height: 1.05em;
    margin-right: .35rem;
    transform: translateY(.08em);
}
.webengine-web { color: var(--fs-yellow); }
.webengine-engine { color: var(--fs-gray-deep); }

.site-nav { display: flex; align-items: center; gap: 1.4rem; color: var(--fs-gray); font-weight: 650; }
.site-nav a:hover { color: var(--fs-gray-deep); }
.site-nav a.active { color: var(--fs-gray-deep); box-shadow: inset 0 -2px 0 var(--fs-yellow-border); }
.login-link { color: var(--fs-gray-deep) !important; }
.nav-toggle { display: none; border: 0; background: transparent; padding: .4rem; }
.nav-toggle span { display: block; width: 1.5rem; height: 2px; margin: 5px 0; background: var(--fs-gray-deep); }

.hero, .section, .cta-band, .legal-page {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.hero {
    min-height: calc(100svh - 5rem);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, .72fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    padding: clamp(3rem, 8vw, 7rem) 0 4rem;
    border-bottom: 1px solid var(--fs-yellow-border);
}

.eyebrow {
    margin: 0 0 .8rem;
    color: var(--fs-gray);
    font-family: 'Roboto Condensed Local', sans-serif;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1, h2, h3 { font-family: 'Roboto Condensed Local', sans-serif; letter-spacing: 0; line-height: .98; }
h1 { margin: 0; color: var(--fs-gray-deep); font-size: clamp(3.2rem, 8vw, 6.8rem); max-width: 11ch; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 4rem); }
h2, h3 { color: var(--fs-gray-deep); }
h3 { margin: 0 0 .8rem; font-size: 1.65rem; }
.lead { max-width: 36rem; color: var(--fs-gray); font-size: 1.22rem; line-height: 1.65; }

.hero-actions, .section-heading { margin-top: 1.6rem; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: .78rem 1.1rem;
    border: 1px solid var(--fs-border);
    border-radius: var(--radius);
    font-weight: 800;
}
.primary, .btn-primary { color: var(--fs-gray-deep); background: linear-gradient(var(--fs-yellow-deep), var(--fs-yellow)); border-color: var(--fs-yellow-border); }
.secondary, .card-action, .btn-secondary { background: var(--fs-bg-panel); color: var(--fs-gray-deep); border-color: var(--fs-border); }
.btn-outline-dark { color: var(--fs-gray-deep); background: transparent; border-color: var(--fs-gray-deep); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.trust-line { max-width: 42rem; color: var(--fs-gray); font-size: .92rem; font-weight: 650; line-height: 1.7; }
.info-box { display: inline-block; padding: .8rem 1rem; background: var(--fs-bg-panel); border-left: .32rem solid var(--fs-yellow); color: var(--fs-gray); font-weight: 700; }

.hero-panel {
    padding: 1.2rem;
    background: var(--fs-bg-panel);
    border: 1px solid var(--fs-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.signal-row, .signal-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: .75rem;
    background: var(--fs-white);
    border-left: .35rem solid var(--fs-yellow);
}
.signal-card { display: block; margin-bottom: 0; border-left-color: var(--fs-green); }
.signal-row span, .signal-card span { color: var(--fs-gray); }
.signal-row strong, .signal-card strong { display: block; margin-top: .25rem; }

.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.band { width: 100%; max-width: none; padding-inline: max(1rem, calc((100% - 1180px) / 2)); background: var(--fs-bg-alt); }
.section-heading { max-width: 44rem; margin-bottom: 2rem; }
#leistungen .section-heading > p:last-child,
#portal .section-heading > p:last-child,
#software .section-heading > p:last-child,
#mail-system .section-heading > p:last-child,
#vergleich .section-heading > p:last-child { line-height: 1.62; }
#ki-chat .section-heading > p:last-child,
#webfonts .section-heading > p:last-child,
.addons-section .section-heading > p:last-child { line-height: 1.82; }
.benefit-grid, .pricing-grid, .addons-grid { display: grid; gap: 1rem; }
.benefit-grid { grid-template-columns: repeat(3, 1fr); }
.benefit, .price-card, .addon-box, .comparison, .faq-list, .fact-panel, .step-card {
    background: var(--fs-white);
    border: 1px solid var(--fs-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.benefit, .addon-box { padding: 1.4rem; }
.benefit p, .addon-box p, .faq-list p, .fact-panel p, .step-card p { color: var(--fs-gray); line-height: 1.6; }
.check-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .45rem; }
.check-list li::before { content: '✓'; color: var(--fs-green); font-weight: 900; margin-right: .45rem; }
.panel-grid, .steps-grid { display: grid; gap: 1rem; }
.panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compact-panels { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1rem; }
.fact-panel { padding: 1.4rem; border-left: 4px solid var(--fs-yellow); }
.portal-section { background: var(--fs-bg-alt); }
.portal-module-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.portal-module { padding: 1rem; background: var(--fs-white); border: 1px solid var(--fs-border); border-left: 4px solid var(--fs-yellow); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.portal-module h3 { margin-bottom: .45rem; font-size: 1rem; }
.portal-module p { margin: 0; color: var(--fs-gray); font-size: .92rem; line-height: 1.5; }
.software-section { background: var(--fs-white); }
.software-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.software-card { padding: 1.4rem; background: var(--fs-bg-panel); border: 1px solid var(--fs-border); border-radius: var(--radius); box-shadow: var(--shadow); }
.software-card.highlighted { border: 2px solid var(--fs-yellow-border); background: var(--fs-white); }
.software-card p { color: var(--fs-gray); line-height: 1.6; }
.ai-chat-section { border-block: 1px solid var(--fs-yellow-border); background: linear-gradient(var(--fs-yellow-deep), var(--fs-yellow)); }
.ai-chat-section .section-heading { margin-inline: auto; text-align: center; }
.ai-chat-section .section-heading p { color: var(--fs-gray-deep); }
.ai-chat-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ai-chat-card { padding: 1.4rem; background: rgba(255, 255, 255, .72); border: 1px solid var(--fs-yellow-border); border-radius: var(--radius); box-shadow: var(--shadow); }
.ai-chat-card p { color: var(--fs-gray); line-height: 1.6; }
.webfonts-section { background: var(--fs-white); }
.webfonts-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.webfonts-panel > div { padding: 1.4rem; background: var(--fs-bg-panel); border: 1px solid var(--fs-border); border-left: 4px solid var(--fs-yellow); border-radius: var(--radius); box-shadow: var(--shadow); }
.webfonts-panel p { color: var(--fs-gray); line-height: 1.6; }
.mail-system-section { background: var(--fs-bg-alt); }
.mail-system-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.mail-system-card { padding: 1.4rem; background: var(--fs-white); border: 1px solid var(--fs-border); border-radius: var(--radius); box-shadow: var(--shadow); }
.mail-system-card.highlighted { border: 2px solid var(--fs-yellow-border); background: var(--fs-bg-panel); }
.mail-system-card p { color: var(--fs-gray); line-height: 1.6; }
.steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step-card { position: relative; padding: 1.4rem; }
.step-card span { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; color: var(--fs-gray-deep); background: var(--fs-yellow); border: 1px solid var(--fs-yellow-border); border-radius: 50%; font-weight: 850; }

.pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.price-card { position: relative; padding: 1.2rem; display: flex; flex-direction: column; min-height: 31rem; }
.price-card.featured { border: 2px solid var(--fs-yellow-border); transform: scale(1.03); }
.badge { position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%); padding: .25rem .7rem; background: var(--fs-yellow); border: 1px solid var(--fs-yellow-border); border-radius: 999px; color: var(--fs-gray-deep); font-size: .75rem; font-weight: 850; }
.price span { display: block; color: var(--fs-gray-deep); font-family: 'Roboto Local', sans-serif; font-size: 2.7rem; font-weight: 300; }
.price small { color: var(--fs-gray); }
.gross-price { display: block; margin-top: .2rem; color: var(--fs-muted); font-size: .78rem; font-weight: 300; line-height: 1.35; }
.package-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: 1rem 0; }
.package-facts div { min-width: 0; padding: .7rem; background: var(--fs-bg-panel); }
.package-facts dt { color: var(--fs-gray); font-size: .8rem; }
.package-facts dd { margin: .2rem 0 0; font-weight: 800; }
.feature-list { list-style: none; padding: 0; margin: .4rem 0 1rem; display: grid; gap: .45rem; }
.feature-list li { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem; }
.feature-list li::before { content: '+'; color: var(--fs-green); font-weight: 900; margin-right: .45rem; }
.feature-list li span { flex: 1; }
.feature-list li strong { color: var(--fs-muted); font-size: .78rem; font-weight: 750; white-space: nowrap; }
.feature-list .state-included strong { color: var(--fs-green); }
.feature-list .state-addon::before { content: '○'; color: var(--fs-orange); }
.feature-list .state-addon strong { color: var(--fs-orange); }
.feature-list .state-no::before { content: '-'; color: var(--fs-muted); }
.package-detail { margin: .45rem 0; color: var(--fs-gray); font-size: .92rem; line-height: 1.45; }
.card-action { margin-top: auto; }
.notice { color: var(--fs-orange); font-weight: 700; }

.comparison { overflow-x: auto; }
.comparison caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.comparison-subheading { margin-top: 2rem; }
.mobile-scroll-hint { display: none; margin: 0 0 .75rem; color: var(--fs-muted); font-size: .875rem; }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
.comparison-matrix { min-width: 980px; }
.comparison-feature-col { width: 17rem; }
.comparison-package-col { width: auto; }
th, td { padding: 1rem; border: 1px solid var(--fs-border); text-align: left; }
thead th { color: var(--fs-gray-deep); background: var(--fs-yellow-soft); font-size: .9rem; }
tbody tr:nth-child(even) { background: var(--fs-bg-alt); }
tbody th { color: var(--fs-gray-deep); }
.comparison-matrix td { text-align: center; vertical-align: top; }
.comparison-matrix tbody th { width: 17rem; }
.comparison-matrix .comparison-group-row th {
    width: auto;
    padding: 0;
    color: var(--fs-gray-deep);
    background: var(--fs-yellow-soft);
    border-top: 2px solid var(--fs-yellow-border);
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.comparison-group-label { display: block; padding: .75rem 1rem; }
.comparison-check { color: var(--fs-green); font-size: 1.2rem; font-weight: 900; line-height: 1; }

.addons-grid { grid-template-columns: 1fr 1fr; }
.addon-box ul { list-style: none; padding: 0; margin: 0; }
.addon-box li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--fs-border); }
.tld-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.tld-cloud span { padding: .45rem .65rem; background: var(--fs-bg-panel); color: var(--fs-gray-deep); font-weight: 800; border-left: .25rem solid var(--fs-yellow); }
.tld-cloud .tld-note { color: var(--fs-gray); font-weight: 700; }

.faq-list details { padding: 1rem 1.2rem; border-bottom: 1px solid var(--fs-border); }
.faq-list details[open] { border-left: 4px solid var(--fs-yellow); }
.faq-list summary { cursor: pointer; font-weight: 850; }
.cta-band { margin-bottom: 4rem; padding: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: linear-gradient(var(--fs-yellow-deep), var(--fs-yellow)); color: var(--fs-gray-deep); border-block: 1px solid var(--fs-yellow-border); border-radius: var(--radius); }
.cta-band h2 { max-width: 14ch; }
.site-footer { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(15rem, 1.15fr) minmax(12rem, .85fr); gap: 1.5rem 2.5rem; padding: 2rem clamp(1rem, 4vw, 4rem); color: #fff; background: var(--fs-gray-dark); }
.site-footer p { color: rgba(255, 255, 255, .72); }
.site-footer nav { display: flex; flex-wrap: wrap; align-content: flex-start; gap: .75rem 1rem; padding-top: 2rem; }
.site-footer h2 { margin: 0 0 .7rem; color: #fff; font-size: 1.1rem; }
.footer-logo { display: inline-flex; width: 8.5rem; padding: 0; background: transparent; }
.footer-logo img { display: block; width: 100%; height: auto; object-fit: contain; filter: brightness(0) invert(1); }
.footer-bottom { grid-column: 2 / -1; margin: 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; }
.legal-page { min-height: 60vh; padding: clamp(4rem, 9vw, 7rem) 0; }
.legal-page h1 { max-width: none; font-size: clamp(3rem, 6vw, 5rem); }
.legal-page h2 { margin-top: 2.25rem; max-width: 46rem; font-size: clamp(1.5rem, 2.5vw, 2.25rem); line-height: 1.08; }
.legal-page h3 { margin: 1.25rem 0 .35rem; max-width: 46rem; color: var(--fs-gray-deep); font-size: 1.1rem; line-height: 1.25; }
.legal-page p { max-width: 46rem; line-height: 1.7; color: var(--fs-muted); }
.legal-page a { color: var(--fs-blue); font-weight: 700; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 980px) {
    .hero, .addons-grid, .panel-grid, .compact-panels, .steps-grid, .software-layout, .ai-chat-layout, .webfonts-panel, .mail-system-layout { grid-template-columns: 1fr; }
    .portal-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .benefit-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    h1 { max-width: 12ch; }
}

@media (max-width: 1120px) {
    .site-header { align-items: center; padding-block: .8rem; }
    .nav-toggle { display: block; }
    .site-nav { display: none; position: absolute; inset: 4.6rem 1rem auto 1rem; flex-direction: column; align-items: stretch; padding: 1rem; background: #fff; border: 1px solid var(--fs-border); box-shadow: var(--shadow); }
    .site-nav.open { display: flex; }
}

@media (max-width: 720px) {
    .webengine-logo { font-size: clamp(1.2rem, 7vw, 1.55rem); }
    .webengine-logo img { height: 1.08em; margin-right: .3rem; }
    .benefit-grid, .pricing-grid { grid-template-columns: 1fr; }
    .portal-module-grid { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }
    .package-facts { grid-template-columns: 1fr; }
    .cta-band { flex-direction: column; align-items: flex-start; }
    .site-footer { grid-template-columns: 1fr; }
    .site-footer nav { padding-top: 0; }
    .footer-bottom { grid-column: 1; width: 100%; }
    .mobile-scroll-hint { display: block; }
    .comparison-matrix { min-width: 760px; table-layout: fixed; }
    .comparison-feature-col { width: 10.5rem; }
    .comparison-package-col { width: 8.25rem; }
    .comparison-matrix th, .comparison-matrix td { padding: .75rem .65rem; }
    .comparison-matrix tbody th { width: 10.5rem; max-width: 10.5rem; overflow-wrap: anywhere; }
    .comparison th:first-child, .comparison td:first-child { position: sticky; left: 0; background: var(--fs-white); z-index: 2; }
    .comparison-matrix .comparison-group-row th {
        position: static;
        width: auto;
        max-width: none;
        overflow: visible;
        background: var(--fs-yellow-soft);
    }
    .comparison-matrix .comparison-group-label {
        position: sticky;
        left: 0;
        z-index: 4;
        width: min(10.5rem, calc(100vw - 2rem));
        max-width: calc(100vw - 2rem);
        padding: .75rem .65rem;
        background: var(--fs-yellow-soft);
        box-shadow: 1px 0 0 var(--fs-border);
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
