:root {
    --bg: #0b0f1a;
    --bg-alt: #0e1422;
    --card: #121a2b;
    --text: #e8ecf3;
    --muted: #a6b0c3;
    --primary: #6cf0c2;
    --primary-900: #16443a;
    --accent: #ffa222;
    --border: #ffffff;/*22304a;*/
    --shadow: 0 10px 30px rgba(0, 0, 0, .25);

}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    
}
html{
overflow-x: hidden;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #020231; /*radial-gradient(1200px 600px at 80% -10%, #1b2a47 0%, #0b0f1a 60%) no-repeat, var(--bg);*/
    color: var(--text);
    font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.container {
    width: min(1100px, 92%);
    margin-inline: auto;
    overflow-x: hidden;
}

.section {
    padding: 72px 0;
}

.section.alt {
    /*background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02));*/
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: clamp(24px, 4vw, 34px);
    margin: 0 0 8px;
}

.section-header p {
    color: var(--muted);
    margin: 0 auto;
    max-width: 760px;
}

.site-header {
    position: sticky;
    top: 0;
   /* z-index: 50;*/
    -webkit-backdrop-filter: blur(10px);/*only for old safari browser*/
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}

.logo svg {
    color: var(--primary);
}
main{
    flex: 1;
}
.main-nav {
    margin-left: auto;
}

.main-nav ul {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
}

.main-nav a:hover, .main-nav a:focus {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--text);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
}

.lang-switcher select {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 6px 10px;
}

.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-switcher select {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.lang-icon {
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 1;
}

.lang-icon img {
    width: 100%;
    height: auto;
    display: block;
}


.hero {
    padding: 80px 0 40px;
    background: linear-gradient(138deg, rgb(2, 2, 49) 53%, rgb(130, 4, 255));
}

.hero-inner {
    /*display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
    align-items: center;*/

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 3.1rem;

}
.hero-copy {
    flex: 1 1 500px;
    min-width: 280px;
}
.hero-copy h1 {
    font-size: clamp(28px, 5vw, 44px);
    margin: 0 0 8px;
}
.hero-image {
    flex: 1 1 550px;
    min-width: 280px;
    text-align: center;
}
.hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.lead {
    color: var(--muted);
    font-size: 1.1rem;
    margin: 0 0 16px;
}

.hero-bullets {
    margin: 0 0 20px;
    padding-left: 18px;
}

.hero-bullets li {
    margin: 4px 0;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    margin: 12px 0 6px;
}

.claim {
    margin-top: 8px;
    letter-spacing: .12em;
    color: var(--accent);
    font-weight: 700;
}

.hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .06s ease, background .2s;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: linear-gradient(180deg, #ffa222, #ffa222);
    color: #000000;
}

.btn-primary:hover {
    background: linear-gradient(180deg, #ffa222, #ffa222);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.14);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.grid {
    display: grid;
    gap: 18px;
}

.features-grid {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.card h3 {
    margin: 14px 0 6px;
    font-size: 1.1rem;
}

.card p {
    color: var(--muted);
    margin: 0;
}

.steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr; /* Box – Trenner – Box – Trenner – Box */
    gap: 12px; /* Minimaler Abstand */
    /*grid-template-columns: repeat(5, 1fr);
    gap: 2px;  Weniger Abstand */
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps li {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow);
    text-align: center;
}

.steps li h3 {
    margin: 0 0 6px;
}

.steps li::before {
    content: attr(data-step);
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-900);
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

/* Zwischen-Elemente: „oder“ und „=“ */
.steps li.between {
    background: none;
    border: none;
    box-shadow: none;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Kein Punkt bei „oder“ und „=“ */
.steps li.between::before {
    content: none;
}

.price-card {
    max-width: 320px;

    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-title {
    font-size: 1.6em;
    font-weight: bold;
   /* color: var(--primary-900);*/
    margin: 0;
}

.plan-price {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--primary);
}

.plan-price span {
    font-size: 0.9em;
   /* color: var(--text-muted);*/
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plan-features li {
    font-size: 0.95em;
    color: var(--text);
}

.plan-button {
    background: var(--primary-900);
    color: var(--primary);
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95em;
    color: var(--text);
}

.feature-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}



.scoreboard-demo .board {
    background: #0a0f1b;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: linear-gradient(180deg, #0e1627, #0a0f1b);
}

.badge {
    background: #ff3b3b;
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: .85rem;
}

.board-rows {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.board-rows li {
    display: grid;
    grid-template-columns: 40px 1fr 80px 70px;
    gap: 8px;
    padding: 8px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.center {
    text-align: center;
    margin-top: 16px;
}
.centered-card {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%; /* Füllt den verfügbaren Platz im main */
}
.contact-form .form-grid {
    grid-template-columns: repeat(2, 1fr);
}

.contact-form .form-grid .full {
    grid-column: 1 / -1;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form input, .contact-form textarea {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 10px 12px;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: #8a94a7;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    margin-top: 40px;
    text-align: center;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    color: var(--muted);
}

.footer-inner a {
    color: var(--muted);
    text-decoration: none;
}

.footer-inner a:hover {
    color: var(--text);
}

.sr-only {
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
}

/* Notification / Popup */
#notify-root {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    pointer-events: none;
    padding-top: 120px;
    z-index: 999;
}

.notify-box {
    min-width: 300px;
    max-width: 420px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px 20px 16px;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,.5);
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(-8px) scale(.98);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

    .notify-box.show {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .notify-box.success {
        border-color: #0dd400;/* var(--success-accent);*/
        box-shadow: 0 0 0 1px rgba(53,210,125,0.25), 0 20px 50px -10px rgba(0,0,0,.55);
    }

    .notify-box.error {
       /* border-color: var(--error-accent);*/
        box-shadow: 0 0 0 1px rgba(255,93,107,0.25), 0 20px 50px -10px rgba(0,0,0,.55);
    }

.notify-accent-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 6px;
   /* background: linear-gradient(var(--success), var(--success-accent));*/
    opacity: .9;
}

.notify-box.error .notify-accent-bar {
   /* background: linear-gradient(var(--error), var(--error-accent));*/
}

.notify-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: .5px;
}

.notify-message {
    margin: 0;
    font-size: .95rem;
    color: var(--muted);
}

.notify-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px;
}

.notify-close-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    color: var(--text);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    line-height: 1.1;
}

    .notify-close-btn:hover {
        background: rgba(255,255,255,0.12);
    }

.notify-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    background: rgba(255,255,255,0.18);
    width: 100%;
    overflow: hidden;
}

    .notify-progress > span {
        display: block;
        height: 100%;
        width: 100%;
        transform-origin: left;
        /*background: var(--success-accent);*/
        animation: notify-bar linear forwards;
    }

.notify-box.error .notify-progress > span {
   /* background: var(--error-accent);*/
}

@keyframes notify-bar {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}


/* Responsive */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .features-grid, .steps {
        grid-template-columns: 1fr;
    }

    .board-rows li {
        grid-template-columns: 32px 1fr 70px 60px;
    }
}

@media (max-width: 750px) {
    .nav-toggle {
        display: block;
    }

    .main-nav ul {
        position: absolute;
        right: 4%;
        top: 56px;
        width: 240px;
        flex-direction: column;
        background: rgba(11, 15, 26, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 12px;
        padding: 10px;
        display: none;
    }

    .main-nav[aria-expanded="true"] ul {
        display: flex;
    }

    #privacy-btn {
        position: fixed;
        bottom: 1rem;
        right: 1rem;
        padding: 0.5rem 1rem;
        background: #333;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

    dialog {
        max-width: 600px;
        padding: 1.5rem;
        border: none;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0,0,0,0.3);
    }

    dialog::backdrop {
        background: rgba(0,0,0,0.5);
    }

}