:root {
    --koala-primary: #4778B2;
    --koala-secondary: #5B98E6;
    --koala-ink: #16314f;
    --koala-muted: #6d7d90;
    --koala-surface: #f4f8fc;
    --koala-border: rgba(71, 120, 178, 0.16);
    --koala-shadow: 0 28px 70px rgba(16, 40, 67, 0.14);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
    color: var(--koala-ink);
    background: #f4f8fc;
}

a {
    color: var(--koala-primary);
    text-decoration: none;
}

a:hover {
    color: #2f5e95;
}

.hero-shell {
    min-height: 100vh;
    color: #fff;
    overflow: hidden;
    background: var(--koala-primary);
}

.hero-video,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    object-fit: cover;
    opacity: 1;
}

.hero-overlay {
    background:
        linear-gradient(rgba(71, 120, 178, 0.14), rgba(71, 120, 178, 0.14));
}

.navbar {
    position: relative;
    z-index: 2;
}

.navbar .container {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.navbar-brand {
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(71, 120, 178, 0.46);
    backdrop-filter: blur(8px);
    box-shadow: 0 14px 32px rgba(8, 24, 44, 0.18);
}

.navbar .nav-link {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 10px rgba(6, 20, 38, 0.35);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #fff;
}

.navbar .nav-item:not(:last-child) .nav-link {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(71, 120, 178, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(8, 24, 44, 0.14);
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.navbar .nav-item:not(:last-child) .nav-link:hover,
.navbar .nav-item:not(:last-child) .nav-link:focus {
    background: rgba(71, 120, 178, 0.48);
    box-shadow: 0 14px 28px rgba(8, 24, 44, 0.18);
    transform: translateY(-1px);
}

.navbar .nav-item-cta .nav-link {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: var(--koala-primary);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 24px rgba(8, 24, 44, 0.18);
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.navbar .nav-item-cta .nav-link:hover,
.navbar .nav-item-cta .nav-link:focus {
    background: #3d6da6;
    box-shadow: 0 14px 28px rgba(8, 24, 44, 0.22);
    transform: translateY(-1px);
}

.brand-mark {
    width: 3.25rem;
    height: auto;
}

.brand-wordmark {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
    text-shadow: 0 1px 12px rgba(6, 20, 38, 0.35);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0 5.5rem;
}

.hero-panel {
    padding: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.75rem;
    background: rgba(71, 120, 178, 0.72);
    backdrop-filter: blur(10px);
    box-shadow: 0 28px 80px rgba(4, 15, 28, 0.22);
}

.eyebrow {
    letter-spacing: 0.2em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--koala-primary);
}

.hero-panel .eyebrow {
    color: #fff;
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    text-transform: uppercase !important;
}

.hero-copy {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.84);
}

.hero-claim {
    display: block;
    max-width: 100%;
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
    hyphens: auto;
}

.hero-note {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
}

.hero-note-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #b8dbff;
    box-shadow: 0 0 0 0.45rem rgba(184, 219, 255, 0.2);
}

.keyword-wall {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.keyword-chip {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    padding: 1rem 1.1rem;
    border-radius: 1.4rem;
    background: rgba(71, 120, 178, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-weight: 600;
    line-height: 1.35;
    backdrop-filter: blur(10px);
    animation: float-card 5.5s ease-in-out infinite;
    box-shadow: 0 16px 38px rgba(11, 28, 47, 0.18);
}

.keyword-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.keyword-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.chip-delay-1 {
    animation-delay: 0s;
}

.chip-delay-2 {
    animation-delay: 0.7s;
}

.chip-delay-3 {
    animation-delay: 1.4s;
}

.chip-delay-4 {
    animation-delay: 2.1s;
}

.section-space {
    padding: 6rem 0;
}

.section-secondary {
    color: #fff;
    background: var(--koala-secondary);
}

.section-muted {
    background: #edf4fb;
}

.section-intro {
    max-width: 52rem;
}

.section-kicker {
    margin-bottom: 0.85rem;
    color: var(--koala-ink);
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: none !important;
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

#SchuleUndKita .section-title {
    color: var(--koala-secondary);
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

#SchuleUndKita .section-kicker {
    font-size: clamp(2rem, 3vw, 3rem);
}

.section-copy {
    color: var(--koala-muted);
    font-size: 1.08rem;
}

.section-block {
    max-width: 34rem;
}

.story-card,
.content-card,
.pricing-card,
.hardware-card,
.team-card {
    border: 1px solid var(--koala-border);
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--koala-shadow);
}

.story-card,
.pricing-card,
.hardware-card {
    overflow: hidden;
}

.story-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
}

.story-body {
    padding: 1.75rem;
}

.story-body p:last-child,
.content-card p:last-child,
.hardware-body p:last-child,
.pricing-footnote:last-child {
    margin-bottom: 0;
}

.content-card {
    padding: 2rem;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 1.8rem;
    min-height: 24rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 24px 68px rgba(14, 39, 68, 0.22);
    background: rgba(11, 29, 51, 0.24);
}

.video-shell iframe,
.video-shell .youtube-state {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.youtube-state {
    display: grid;
    place-items: center;
    padding: 2rem;
    background: linear-gradient(180deg, rgba(15, 35, 58, 0.42), rgba(15, 35, 58, 0.68));
}

.youtube-state-consent {
    position: relative;
    overflow: hidden;
}

.youtube-state-ready {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(15, 35, 58, 0.18), rgba(15, 35, 58, 0.38));
}

.youtube-state-preview {
    position: relative;
    overflow: hidden;
    background: rgba(15, 35, 58, 0.08);
}

.youtube-poster-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.02) contrast(1.02);
}

.youtube-card {
    position: relative;
    z-index: 1;
    width: min(30rem, 100%);
    padding: 1.6rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--koala-ink);
    box-shadow: 0 18px 50px rgba(11, 28, 47, 0.18);
}

.youtube-card p {
    color: var(--koala-muted);
    margin-bottom: 1rem;
}

.youtube-play-trigger {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.35rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--koala-ink);
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 18px 50px rgba(11, 28, 47, 0.2);
}

.youtube-play-icon {
    position: relative;
    display: inline-block;
    width: 3.15rem;
    height: 3.15rem;
    border-radius: 50%;
    background: var(--koala-primary);
    box-shadow: inset 0 0 0 0.25rem rgba(255, 255, 255, 0.14);
}

.youtube-play-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-38%, -50%);
    border-top: 0.7rem solid transparent;
    border-bottom: 0.7rem solid transparent;
    border-left: 1.05rem solid #fff;
}

.consent-hint {
    display: inline-flex;
    align-items: center;
    max-width: 20rem;
    color: #fff;
    font-size: 0.95rem;
}

.demo-visual {
    position: relative;
}

.demo-visual::after {
    content: "";
    position: absolute;
    inset: auto 6% -1.5rem 6%;
    height: 2rem;
    border-radius: 999px;
    background: rgba(71, 120, 178, 0.18);
    filter: blur(18px);
    z-index: -1;
}

.highlight-card {
    height: 100%;
    padding: 2rem 1.5rem 1.7rem;
    border: 1px solid rgba(71, 120, 178, 0.14);
    border-radius: 1.6rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.96));
    box-shadow: 0 22px 50px rgba(16, 40, 67, 0.1);
}

.highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    margin-bottom: 1.25rem;
    border-radius: 1.4rem;
    background: rgba(91, 152, 230, 0.14);
    color: var(--koala-primary);
    box-shadow: inset 0 0 0 1px rgba(71, 120, 178, 0.14);
}

.highlight-icon svg {
    width: 2.3rem;
    height: 2.3rem;
}

.highlight-title {
    margin-bottom: 0.4rem;
    color: var(--koala-ink);
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.highlight-subtitle {
    margin-bottom: 1rem;
    color: var(--koala-secondary);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-showcase {
    display: grid;
    gap: 2rem;
}

.feature-row {
    padding: 0.5rem 0;
}

.feature-copy-card {
    height: 100%;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: -0.2rem 0 1rem;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 0.82rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-tag-primary {
    background: var(--koala-primary);
}

.feature-tag-secondary {
    background: var(--koala-secondary);
}

.feature-copy-card .pricing-list {
    margin-bottom: 0;
}

.feature-video-shell {
    min-height: 26rem;
    border-color: rgba(71, 120, 178, 0.18);
    background: rgba(71, 120, 178, 0.12);
    box-shadow: 0 26px 60px rgba(16, 40, 67, 0.14);
}

.pricing-card {
    padding: 2rem;
}

.pricing-card-featured {
    border: 2px solid rgba(71, 120, 178, 0.42);
    padding-top: 2rem;
}

.pricing-featured-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.15rem;
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: var(--koala-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.pricing-head {
    margin-bottom: 1.5rem;
    text-align: center;
}

.pricing-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.9rem;
}

.pricing-logo {
    width: 4.6rem;
    height: auto;
    display: block;
}

.pricing-kicker,
.pricing-subtitle,
.pricing-period {
    color: var(--koala-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-subtitle,
.pricing-period {
    font-size: 0.9rem;
}

.pricing-value {
    font-size: clamp(1.8rem, 2.5vw, 2.55rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
}

.pricing-card-secondary-value .pricing-value {
    color: var(--koala-secondary);
}

.pricing-card-featured .pricing-value {
    color: var(--koala-secondary);
}

.pricing-list {
    display: grid;
    gap: 0.8rem;
    padding-left: 0;
    margin-bottom: 1.5rem;
    list-style: none;
}

.pricing-list li {
    position: relative;
    padding-left: 1.6rem;
}

.pricing-list li::before {
    content: "";
    position: absolute;
    top: 0.55rem;
    left: 0;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--koala-secondary);
    box-shadow: 0 0 0 0.35rem rgba(91, 152, 230, 0.12);
}

.pricing-footnote {
    color: var(--koala-muted);
    font-size: 0.95rem;
    margin-top: 1rem;
}

.hardware-card {
    display: grid;
    grid-template-columns: 1fr;
}

.hardware-image {
    width: 100%;
    height: 18rem;
    object-fit: cover;
    object-position: right center;
}

.hardware-body {
    padding: 1.75rem;
}

.hardware-body h3 {
    margin-bottom: 1rem;
}

.hardware-link {
    display: inline-flex;
    align-items: center;
    margin-top: 0.75rem;
    font-weight: 700;
}

.team-card {
    height: 100%;
    padding: 1.6rem 1rem;
    text-align: center;
}

.team-photo {
    width: 8.25rem;
    height: 8.25rem;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 0.5rem solid rgba(91, 152, 230, 0.12);
}

.team-name {
    color: var(--koala-primary);
    font-size: 1.08rem;
    margin-bottom: 0.35rem;
}

.team-role {
    color: var(--koala-muted);
    margin-bottom: 0;
}

.site-footer {
    padding: 3rem 0;
    color: rgba(255, 255, 255, 0.9);
    background: var(--koala-primary);
}

.legal-header {
    color: #fff;
    background: var(--koala-primary);
}

.subpage-topbar {
    background: #fff;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
}

.subpage-topbar .btn-light {
    color: var(--koala-ink);
    background: #fff;
    border-color: rgba(71, 120, 178, 0.18);
    box-shadow: 0 10px 24px rgba(8, 24, 44, 0.08);
}

.subpage-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.subpage-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
}

.subpage-brand .brand-wordmark {
    color: var(--koala-primary);
    text-shadow: none;
}

.subpage-intro {
    color: #fff;
    background: var(--koala-primary);
    padding-top: 1rem;
    padding-bottom: 2.5rem;
}

.subpage-panel {
    max-width: 52rem;
}

.feature-tag-note {
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(16, 40, 67, 0.12);
}

.feature-tag-note-copy {
    color: var(--koala-ink);
    font-size: 0.98rem;
    line-height: 1.6;
}

.legal-header-body {
    padding-top: 0.35rem;
    padding-bottom: 2.25rem;
}

.legal-kicker {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.legal-title {
    font-size: clamp(2rem, 3.2vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.legal-copy {
    max-width: 50rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-brand {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.footer-brand:hover {
    color: #fff;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.76);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    align-items: center;
}

.footer-links a,
.footer-button {
    color: #fff;
    font-weight: 600;
}

.footer-button {
    background: transparent;
    border: 0;
    padding: 0;
}

.navbar .btn.btn-light,
.navbar .btn.btn-light:hover,
.navbar .btn.btn-light:focus {
    background: var(--koala-primary);
    border-color: var(--koala-primary);
    color: #fff;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: var(--koala-primary) !important;
    border-color: var(--koala-primary) !important;
    color: #fff !important;
}

.btn.btn-koala-secondary,
.btn.btn-koala-secondary:hover,
.btn.btn-koala-secondary:focus,
.btn.btn-koala-secondary:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--koala-secondary) !important;
    border-color: var(--koala-secondary) !important;
    color: #fff !important;
    text-decoration: none !important;
}

.btn.btn-koala-secondary:hover,
.btn.btn-koala-secondary:focus {
    background: #4a88d8 !important;
    border-color: #4a88d8 !important;
}

.footer-notes {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.footer-notes p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

body.subpage-static .reveal,
body.subpage-static .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
}

@keyframes float-card {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

@media (min-width: 992px) {
    .hardware-card {
        grid-template-columns: minmax(0, 16rem) 1fr;
    }

    .hardware-image {
        height: 100%;
    }
}

@media (max-width: 1199.98px) {
    .hero-content {
        padding-top: 2rem;
    }
}

@media (max-width: 991.98px) {
    .hero-shell {
        min-height: auto;
    }

    .navbar-brand {
        padding: 0.45rem 0.75rem;
    }

    .navbar .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 1.4rem;
        background: rgba(71, 120, 178, 0.82);
        backdrop-filter: blur(14px);
        box-shadow: 0 18px 40px rgba(8, 24, 44, 0.2);
    }

    .navbar .nav-item:not(:last-child) .nav-link {
        background: rgba(255, 255, 255, 0.08);
    }

    .navbar .nav-item-cta .nav-link {
        background: var(--koala-primary);
    }

    .subpage-brand-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .keyword-wall {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .section-space {
        padding: 4.5rem 0;
    }

    .hero-panel,
    .content-card,
    .pricing-card,
    .hardware-body,
    .story-body {
        padding: 1.5rem;
    }

    .brand-wordmark {
        display: none;
    }

    .video-shell {
        min-height: 20rem;
    }

    .section-kicker {
        font-size: 1.2rem;
    }

}
