/* webdesign-regensburg24: one stylesheet, no external fonts (speed).
   Three colour themes, chosen with the dots in the header (data-theme on <html>, see main.js):
   "mix" (default: blue header, hero and contact, white page), "blau" (all blue), "weiss" (all white).
   The rules below are the blue theme; the white and mixed themes only change colours at the end of this file. */

:root {
    --bg: #0a3a8a;
    --bg-alt: #0b469f;
    --blue-dark: #06306b;
    --blue: #0b5fff;
    --card: rgba(255, 255, 255, 0.08);
    --card-border: rgba(255, 255, 255, 0.16);
    --line: rgba(255, 255, 255, 0.14);
    --text: #f2f6ff;
    --muted: #cbd9ff;
    --neon: #3dff8f;
    --neon-soft: rgba(61, 255, 143, 0.14);
    --orange: #ff7a1a;
    --radius: 14px;
    --wrap: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--neon);
}

strong {
    color: #fff;
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

.neon {
    color: var(--neon);
    text-shadow: 0 0 24px rgba(61, 255, 143, 0.35);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--neon);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1, h2, h3 {
    margin: 0 0 18px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 800;
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    max-width: 820px;
}

h3 {
    font-size: 21px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* Buttons */
.button {
    display: inline-block;
    padding: 15px 28px;
    border: 2px solid var(--neon);
    border-radius: 999px;
    background: var(--neon);
    color: #04120a;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 34px rgba(61, 255, 143, 0.35);
}

.button-ghost {
    background: transparent;
    color: var(--neon);
}

.button-small {
    padding: 9px 20px;
    font-size: 15px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(6, 48, 107, 0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

.logo {
    color: #fff;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.logo-dot {
    color: var(--neon);
}

.logo-24 {
    margin-left: 2px;
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--neon);
    color: #04120a;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav a:not(.button) {
    color: var(--muted);
    font-size: 15px;
    text-decoration: none;
}

.main-nav a:not(.button):hover {
    color: #fff;
}

/* Hero: grid background and a glow that follows the mouse (--mx/--my set in main.js) */
.hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 80px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) center top / 56px 56px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) center top / 56px 56px,
        linear-gradient(160deg, var(--blue-dark), var(--blue));
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 30%), rgba(61, 255, 143, 0.22), transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 160px;
    background: linear-gradient(transparent, var(--bg));
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}

.lead {
    max-width: 560px;
    color: var(--muted);
    font-size: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 30px 0 26px;
}

.load-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(6, 48, 107, 0.55);
    color: var(--muted);
    font-size: 15px;
}

.load-badge strong {
    color: var(--neon);
}

.pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--neon);
    box-shadow: 0 0 0 0 rgba(61, 255, 143, 0.6);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    to {
        box-shadow: 0 0 0 12px rgba(61, 255, 143, 0);
    }
}

/* Device demo: one frame that changes width (desktop, tablet, phone); the mini website
   inside reflows with container queries, exactly like a real responsive website. */
.device-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.device {
    width: 100%;
    max-width: 540px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(3, 20, 60, 0.45), 0 0 70px rgba(61, 255, 143, 0.18);
    overflow: hidden;
    transition: max-width 0.9s cubic-bezier(0.7, 0, 0.2, 1), border-radius 0.9s;
}

.device[data-size="tablet"] {
    max-width: 380px;
    border-radius: 22px;
}

.device[data-size="phone"] {
    max-width: 220px;
    border-radius: 30px;
}

.device-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid #e1e6ee;
    background: #f4f6f9;
}

.device-bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #c9d2e3;
}

.device-bar i:first-child {
    background: var(--orange);
}

.device-url {
    margin-left: 10px;
    padding: 2px 12px;
    border-radius: 999px;
    background: #ffffff;
    color: #6b7a99;
    font-size: 12px;
    white-space: nowrap;
}

.device-screen {
    height: 330px;
    padding: 16px;
    container-type: inline-size;
}

.mini-site i,
.mini-site b,
.mini-site em {
    display: block;
    border-radius: 6px;
}

.mini-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.mini-nav b {
    width: 70px;
    height: 14px;
    background: var(--blue);
}

.mini-links {
    display: flex;
    gap: 10px;
}

.mini-links i {
    width: 42px;
    height: 8px;
    background: #c9d2e3;
}

.mini-burger {
    display: none;
    width: 22px;
    height: 14px;
    border-top: 3px solid #8a97b3;
    border-bottom: 3px solid #8a97b3;
}

.mini-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 18px;
    margin-bottom: 22px;
}

.mini-hero-text .l1 { height: 18px; width: 92%; background: #06306b; margin-bottom: 8px; }
.mini-hero-text .l2 { height: 18px; width: 70%; background: #06306b; margin-bottom: 14px; }
.mini-hero-text .l3 { height: 8px; width: 85%; background: #c9d2e3; margin-bottom: 16px; }
.mini-hero-text em { height: 22px; width: 90px; border-radius: 999px; background: #0f9d58; }

.mini-hero-img {
    min-height: 110px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0b5fff, #06306b 60%, #0f9d58);
}

.mini-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mini-cards i {
    height: 64px;
    background: #f4f6f9;
    border: 1px solid #e1e6ee;
}

@container (max-width: 330px) {
    .mini-links { display: none; }
    .mini-burger { display: block; }
    .mini-hero { grid-template-columns: 1fr; }
    .mini-hero-img { min-height: 70px; }
    .mini-cards { grid-template-columns: 1fr 1fr; }
}

@container (max-width: 200px) {
    .mini-cards { grid-template-columns: 1fr; }
    .mini-cards i { height: 34px; }
}

.device-label {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.device-label span {
    color: var(--neon);
    font-weight: 700;
}

/* Scrolling keyword band */
.ticker {
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: var(--bg-alt);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker 38s linear infinite;
}

.ticker span {
    padding: 16px 28px;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ticker span::after {
    content: "✦";
    margin-left: 56px;
    color: var(--neon);
}

@keyframes ticker {
    to {
        transform: translateX(-50%);
    }
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-intro {
    max-width: 720px;
    color: var(--muted);
}

/* Numbers */
.proof {
    padding: 70px 0;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.proof-item {
    padding: 26px;
    border-left: 2px solid var(--neon);
    background: linear-gradient(90deg, var(--neon-soft), transparent);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.proof-number {
    display: block;
    color: #fff;
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.proof-item p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
}

/* Cards with a neon border that lights up on hover */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 44px;
}

.card {
    position: relative;
    padding: 30px;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    background: var(--card);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(61, 255, 143, 0.55);
    box-shadow: 0 18px 50px rgba(3, 20, 60, 0.4), 0 0 40px rgba(61, 255, 143, 0.15);
}

.card-icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--neon-soft);
    color: var(--neon);
    font-size: 22px;
}

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

/* Agency vs. me */
.compare {
    margin-top: 40px;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.compare-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.2fr;
}

.compare-row span {
    padding: 18px 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.compare-row span:first-child {
    color: #fff;
    font-weight: 700;
}

.compare-head span {
    border-top: 0;
    color: #fff;
    font-weight: 700;
}

.compare-me {
    background: var(--neon-soft);
    color: var(--text) !important;
}

.compare-head .compare-me {
    color: var(--neon) !important;
}

/* Speed check */
.check-box {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 50px;
    border: 1px solid rgba(61, 255, 143, 0.5);
    border-radius: 24px;
    background:
        radial-gradient(500px circle at 0% 0%, rgba(61, 255, 143, 0.14), transparent 60%),
        radial-gradient(400px circle at 100% 100%, rgba(255, 122, 26, 0.12), transparent 60%),
        var(--card);
}

.check-box p {
    color: var(--muted);
}

.check-form {
    display: flex;
    gap: 10px;
}

.check-form input,
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(3, 25, 70, 0.45);
    color: #fff;
    font: inherit;
}

.check-form input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--neon);
    outline-offset: 1px;
}

/* Portfolio */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 44px;
}

.work {
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    background: var(--card);
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s;
}

.work:hover {
    transform: translateY(-6px);
    border-color: rgba(61, 255, 143, 0.5);
}

.work-big {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
}

.work-visual {
    display: grid;
    place-items: center;
    min-height: 190px;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.work-big .work-visual {
    min-height: 300px;
    font-size: 54px;
}

.work-visual-1 { background: radial-gradient(circle at 30% 30%, #19a86a, #0b5fff 60%, #06306b); }
.work-visual-2 { background: radial-gradient(circle at 70% 30%, #ff8a3d, #06306b 70%); }
.work-visual-4 { background: repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 14px, rgba(255,255,255,0.11) 14px 28px); color: var(--muted); }

.work-text {
    padding: 26px 28px;
}

.work-big .work-text {
    align-self: center;
    padding: 40px;
}

.work-text p {
    margin: 0 0 12px;
    color: var(--muted);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags span {
    padding: 3px 12px;
    border: 1px solid rgba(61, 255, 143, 0.35);
    border-radius: 999px;
    color: var(--neon);
    font-size: 13px;
}

/* Prices */
.price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    align-items: stretch;
}

.price {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 26px;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    background: var(--card);
}

.price-featured {
    border-color: var(--neon);
    box-shadow: 0 0 50px rgba(61, 255, 143, 0.18);
    transform: scale(1.03);
}

.price-badge {
    position: absolute;
    top: -13px;
    left: 26px;
    padding: 3px 14px;
    border-radius: 999px;
    background: var(--orange);
    color: #1a0b00;
    font-size: 13px;
    font-weight: 800;
}

.price-amount {
    margin: 0;
    color: #fff;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.price-for {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 15px;
}

.price ul {
    flex: 1;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.price li {
    padding: 7px 0 7px 26px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 15px;
    position: relative;
}

.price li::before {
    content: "✓";
    position: absolute;
    left: 2px;
    color: var(--neon);
    font-weight: 800;
}

.price .button {
    text-align: center;
}

.price-note {
    margin: 30px 0 0;
    color: var(--muted);
    text-align: center;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin: 44px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.steps li {
    padding: 28px;
    border-top: 2px solid var(--neon);
    background: var(--card);
    border-radius: 0 0 var(--radius) var(--radius);
}

.steps span {
    color: var(--neon);
    font-size: 36px;
    font-weight: 800;
}

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

/* About: square photo with slightly rounded corners, never round */
.about {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 60px;
    align-items: center;
}

.about-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(61, 255, 143, 0.35), 18px 18px 0 0 var(--neon-soft);
}

.about-text p {
    color: var(--muted);
}

/* FAQ */
.faq {
    max-width: 860px;
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    padding: 22px 0;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq summary::after {
    content: "+";
    float: right;
    color: var(--neon);
    font-size: 26px;
    line-height: 1;
}

.faq details[open] summary::after {
    content: "–";
}

.faq details p {
    margin: 0 0 22px;
    color: var(--muted);
}

/* Contact */
.contact {
    background:
        radial-gradient(700px circle at 85% 20%, rgba(61, 255, 143, 0.14), transparent 60%),
        linear-gradient(160deg, var(--blue-dark), var(--blue));
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-grid p {
    color: var(--muted);
}

.contact-lines {
    font-size: 19px;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 34px;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    background: var(--card);
}

.contact-form label {
    display: grid;
    gap: 6px;
    color: #fff;
    font-weight: 600;
}

.form-note {
    margin: 0;
    color: var(--orange);
}

/* Footer */
.site-footer {
    padding: 34px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-footer nav {
    display: flex;
    gap: 22px;
}

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

/* Elements fade and slide in when they enter the screen (class added in main.js) */
.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s, transform 0.7s;
}

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }

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

/* Tablets */
@media (max-width: 1000px) {
    .hero-grid,
    .check-box,
    .contact-grid,
    .about {
        grid-template-columns: 1fr;
    }

    .about-photo {
        max-width: 340px;
    }

    .proof-grid,
    .price-grid,
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-grid,
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-big {
        grid-column: span 2;
    }

    .price-featured {
        transform: none;
    }
}

/* Phones */
@media (max-width: 700px) {
    body {
        font-size: 16px;
    }

    .wrap {
        padding: 0 16px;
    }

    .main-nav a:not(.button) {
        display: none;
    }

    .logo {
        font-size: 16px;
    }

    .hero {
        padding: 50px 0 60px;
    }

    .section {
        padding: 70px 0;
    }

    .proof-grid,
    .price-grid,
    .steps,
    .card-grid,
    .work-grid,
    .work-big {
        grid-template-columns: 1fr;
    }

    .work-big {
        grid-column: auto;
    }

    .compare-row {
        grid-template-columns: 1fr 1fr;
    }

    .compare-row span:first-child {
        grid-column: span 2;
        padding-bottom: 0;
        border-top: 1px solid var(--line);
    }

    .compare-row span:not(:first-child) {
        border-top: 0;
    }

    .check-box {
        padding: 30px 22px;
    }

    .check-form {
        flex-direction: column;
    }

    .device-screen {
        height: 280px;
    }
}


/* ===== Theme "weiss" (also the base of "mix"): white page, dark-blue text, green buttons ===== */
html:is([data-theme="weiss"], [data-theme="mix"]) {
    --bg: #ffffff;
    --bg-alt: #f4f6f9;
    --card: #ffffff;
    --card-border: #e1e6ee;
    --line: #e1e6ee;
    --text: #1d2a44;
    --muted: #4a5875;
    --neon: #0c8a4e;
    --neon-soft: rgba(15, 157, 88, 0.1);
}

:is([data-theme="weiss"], [data-theme="mix"]) strong,
:is([data-theme="weiss"], [data-theme="mix"]) .logo,
:is([data-theme="weiss"], [data-theme="mix"]) .proof-number,
:is([data-theme="weiss"], [data-theme="mix"]) .price-amount,
:is([data-theme="weiss"], [data-theme="mix"]) .faq summary,
:is([data-theme="weiss"], [data-theme="mix"]) .contact-form label,
:is([data-theme="weiss"], [data-theme="mix"]) .compare-row span:first-child,
:is([data-theme="weiss"], [data-theme="mix"]) .compare-head span {
    color: #06306b;
}

:is([data-theme="weiss"], [data-theme="mix"]) .neon {
    background: linear-gradient(90deg, #0646c8, #0a8f6a 70%, #0c8a4e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

:is([data-theme="weiss"], [data-theme="mix"]) .button {
    background: var(--neon);
    border-color: var(--neon);
    color: #ffffff;
}

:is([data-theme="weiss"], [data-theme="mix"]) .button:hover,
:is([data-theme="weiss"], [data-theme="mix"]) .button:focus-visible {
    box-shadow: 0 10px 28px rgba(15, 157, 88, 0.3);
}

:is([data-theme="weiss"], [data-theme="mix"]) .button-ghost {
    background: transparent;
    color: var(--neon);
}

:is([data-theme="weiss"], [data-theme="mix"]) .logo-24 {
    color: #ffffff;
}

:is([data-theme="weiss"], [data-theme="mix"]) .site-header {
    background: rgba(255, 255, 255, 0.88);
}

:is([data-theme="weiss"], [data-theme="mix"]) .main-nav a:not(.button):hover {
    color: #06306b;
}

:is([data-theme="weiss"], [data-theme="mix"]) .hero {
    background:
    linear-gradient(rgba(6, 48, 107, 0.06) 1px, transparent 1px) center top / 56px 56px,
    linear-gradient(90deg, rgba(6, 48, 107, 0.06) 1px, transparent 1px) center top / 56px 56px,
    #ffffff;
}

:is([data-theme="weiss"], [data-theme="mix"]) .hero::before {
    background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 30%), rgba(11, 95, 255, 0.12), transparent 60%);
}

:is([data-theme="weiss"], [data-theme="mix"]) .load-badge {
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(6, 48, 107, 0.08);
}

:is([data-theme="weiss"], [data-theme="mix"]) .device {
    border-color: #d5ddeb;
    box-shadow: 0 30px 70px rgba(6, 48, 107, 0.18);
}

:is([data-theme="weiss"], [data-theme="mix"]) .card:hover {
    box-shadow: 0 18px 40px rgba(6, 48, 107, 0.12);
}

:is([data-theme="weiss"], [data-theme="mix"]) .compare-me {
    background: rgba(11, 95, 255, 0.06);
}

:is([data-theme="weiss"], [data-theme="mix"]) .compare-head .compare-me {
    color: var(--blue) !important;
}

:is([data-theme="weiss"], [data-theme="mix"]) .check-box {
    border-color: rgba(11, 95, 255, 0.3);
    background:
    radial-gradient(500px circle at 0% 0%, rgba(15, 157, 88, 0.1), transparent 60%),
    radial-gradient(400px circle at 100% 100%, rgba(11, 95, 255, 0.1), transparent 60%),
    #f4f6f9;
}

:is([data-theme="weiss"], [data-theme="mix"]) .check-form input,
:is([data-theme="weiss"], [data-theme="mix"]) .contact-form input,
:is([data-theme="weiss"], [data-theme="mix"]) .contact-form textarea {
    border-color: #cfd8e6;
    background: #ffffff;
    color: var(--text);
}

:is([data-theme="weiss"], [data-theme="mix"]) .work-visual {
    color: #ffffff;
}

:is([data-theme="weiss"], [data-theme="mix"]) .work-visual-4 {
    background: repeating-linear-gradient(45deg, #eef2f8 0 14px, #e4eaf3 14px 28px);
    color: var(--muted);
}

:is([data-theme="weiss"], [data-theme="mix"]) .price-featured {
    box-shadow: 0 16px 44px rgba(15, 157, 88, 0.16);
}

:is([data-theme="weiss"], [data-theme="mix"]) .steps li {
    background: var(--bg-alt);
}

:is([data-theme="weiss"], [data-theme="mix"]) .contact {
    background:
    radial-gradient(700px circle at 85% 20%, rgba(11, 95, 255, 0.08), transparent 60%),
    #f4f6f9;
}

/* ===== Theme "mix": blue header, hero and contact section on the white page ===== */
[data-theme="mix"] .site-header {
    background: rgba(6, 48, 107, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.14);
}

[data-theme="mix"] .site-header .logo {
    color: #ffffff;
}

[data-theme="mix"] .site-header .logo-dot {
    color: #3dff8f;
}

[data-theme="mix"] .site-header .logo-24 {
    background: #3dff8f;
    color: #04120a;
}

[data-theme="mix"] .main-nav a:not(.button) {
    color: #cbd9ff;
}

[data-theme="mix"] .main-nav a:not(.button):hover {
    color: #ffffff;
}

[data-theme="mix"] .hero {
    color: #f2f6ff;
    background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) center top / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) center top / 56px 56px,
    linear-gradient(160deg, #06306b, #0b5fff);
}

[data-theme="mix"] .hero::before {
    background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 30%), rgba(61, 255, 143, 0.22), transparent 60%);
}

[data-theme="mix"] .hero::after {
    display: none;
}

[data-theme="mix"] .hero .eyebrow,
[data-theme="mix"] .hero .device-label span {
    color: #3dff8f;
}

[data-theme="mix"] .hero .lead,
[data-theme="mix"] .hero .device-label {
    color: #cbd9ff;
}

[data-theme="mix"] .hero strong {
    color: #ffffff;
}

[data-theme="mix"] .hero .neon,
[data-theme="mix"] .contact .neon {
    background: none;
    color: #3dff8f;
    text-shadow: 0 0 24px rgba(61, 255, 143, 0.35);
}

[data-theme="mix"] .hero .button,
[data-theme="mix"] .site-header .button,
[data-theme="mix"] .contact .button {
    background: #3dff8f;
    border-color: #3dff8f;
    color: #04120a;
}

[data-theme="mix"] .hero .button-ghost {
    background: transparent;
    color: #3dff8f;
}

[data-theme="mix"] .hero .load-badge {
    background: rgba(6, 48, 107, 0.55);
    border-color: rgba(255, 255, 255, 0.14);
    color: #cbd9ff;
    box-shadow: none;
}

[data-theme="mix"] .hero .load-badge strong {
    color: #3dff8f;
}

[data-theme="mix"] .hero .device {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 30px 80px rgba(3, 20, 60, 0.45), 0 0 70px rgba(61, 255, 143, 0.18);
}

[data-theme="mix"] .contact {
    color: #f2f6ff;
    background:
    radial-gradient(700px circle at 85% 20%, rgba(61, 255, 143, 0.14), transparent 60%),
    linear-gradient(160deg, #06306b, #0b5fff);
}

[data-theme="mix"] .contact .eyebrow {
    color: #3dff8f;
}

[data-theme="mix"] .contact-grid p {
    color: #cbd9ff;
}

[data-theme="mix"] .contact-lines a {
    color: #3dff8f;
}

[data-theme="mix"] .contact-form {
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 30px 70px rgba(3, 20, 60, 0.35);
}

/* ===== Colour switcher in the header: three dots, one per theme ===== */
.theme-switch {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-switch-label {
    color: var(--muted);
    font-size: 13px;
}

.theme-dot {
    width: 20px;
    height: 20px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.theme-dot:hover,
.theme-dot:focus-visible {
    transform: scale(1.15);
}

.theme-dot[aria-pressed="true"] {
    box-shadow: 0 0 0 3px #3dff8f;
}

.dot-mix { background: linear-gradient(135deg, #0b5fff 50%, #ffffff 50%); }
.dot-blau { background: linear-gradient(160deg, #06306b, #0b5fff); }
.dot-weiss { background: #ffffff; border-color: #cfd8e6; }

/* Speech bubble under the dots (first visits, and a short note after switching) */
.theme-tip {
    position: absolute;
    top: calc(100% + 14px);
    right: -10px;
    width: 270px;
    padding: 14px 34px 14px 16px;
    border-radius: 12px;
    background: #ffffff;
    color: #1d2a44;
    font-size: 14px;
    line-height: 1.45;
    box-shadow: 0 14px 40px rgba(3, 20, 60, 0.3);
    animation: tip-in 0.35s ease-out;
}

.theme-tip[hidden] {
    display: none;
}

.theme-tip::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 26px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    transform: rotate(45deg);
}

.theme-tip strong {
    color: #06306b;
}

.theme-tip-close {
    position: absolute;
    top: 6px;
    right: 8px;
    border: 0;
    background: none;
    color: #6b7a99;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

@keyframes tip-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

/* Short and long text of the header button (short one on small phones) */
.cta-short {
    display: none;
}

/* Colours change smoothly when the theme is switched */
.theme-changing *,
.theme-changing *::before,
.theme-changing *::after {
    transition: background-color 0.4s, color 0.4s, border-color 0.4s !important;
}

/* ===== Cookie banner (StatCounter only with consent) ===== */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 50;
    max-width: 760px;
    max-height: 80vh;
    margin: 0 auto;
    padding: 20px 22px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background: #06306b;
    color: #f2f6ff;
    box-shadow: 0 20px 60px rgba(3, 20, 60, 0.45);
}

.cookie-banner[hidden],
.cookie-panel[hidden] {
    display: none;
}

.cookie-banner p {
    margin: 0 0 14px;
    color: #cbd9ff;
    font-size: 14px;
}

.cookie-banner a {
    color: #3dff8f;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* "Ablehnen" and "Alle akzeptieren" have the same size and weight */
.cookie-btn {
    flex: 1 1 auto;
    padding: 10px 18px;
    border: 2px solid #3dff8f;
    border-radius: 999px;
    background: transparent;
    color: #3dff8f;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.cookie-btn-accept {
    background: #3dff8f;
    color: #04120a;
}

.cookie-panel {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-category {
    margin-bottom: 14px;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 15px;
}

.cookie-category p {
    margin: 4px 0 0;
    font-size: 13px;
}

.cookie-always-active {
    color: #3dff8f;
    font-size: 12px;
    font-weight: 400;
}

.cookie-toggle {
    position: relative;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.15s;
}

.cookie-toggle-slider::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    transition: transform 0.15s;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: #0f9d58;
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(18px);
}

.link-button {
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    font: inherit;
    cursor: pointer;
}

/* Header on phones: links hidden, dots and the short button stay */
@media (max-width: 700px) {
    .theme-switch-label {
        display: none;
    }

    .main-nav {
        gap: 12px;
    }

    .theme-tip {
        right: -70px;
        width: 250px;
    }

    .theme-tip::before {
        right: 86px;
    }
}

@media (max-width: 480px) {
    .cta-long {
        display: none;
    }

    .cta-short {
        display: inline;
    }

    .theme-switch {
        gap: 6px;
    }

    .theme-dot {
        width: 16px;
        height: 16px;
    }

    .logo {
        font-size: 14px;
    }

    .main-nav .button-small {
        padding: 7px 13px;
        font-size: 14px;
    }
}

@media (max-width: 370px) {
    .logo {
        font-size: 12.5px;
    }

    .main-nav {
        gap: 8px;
    }
}

/* Line under the hero buttons: the free-drafts offer */
.hero-offer {
    max-width: 560px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 15px;
}

[data-theme="mix"] .hero .hero-offer {
    color: #cbd9ff;
}

/* Launch offer (first 5 customers) and the hosting & maintenance plan under the prices */
.founder-offer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 30px;
    padding: 16px 22px;
    border: 2px dashed var(--neon);
    border-radius: var(--radius);
    background: var(--neon-soft);
}

.founder-offer p {
    margin: 0;
}

.founder-badge {
    flex: none;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--orange);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.care-plan {
    margin-top: 34px;
    padding: 28px;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    background: var(--card);
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

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

.care-grid span {
    display: block;
    margin-bottom: 4px;
    color: var(--neon);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.care-grid > p > strong {
    font-size: 28px;
}

.care-note {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 700px) {
    .founder-offer {
        flex-direction: column;
        align-items: flex-start;
    }

    .care-grid {
        grid-template-columns: 1fr;
    }
}
