:root {
    --bg: #050507;
    --bg-elevated: #111015;
    --bg-elevated-alt: #18171f;
    --bg-card: #15141c;
    --accent: #ff4b2b;
    --accent-soft: #ff7a3c;
    --accent-dark: #b83218;
    --text: #f5f5f5;
    --muted: #b2b2c0;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.55);
    --transition-fast: 0.2s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
        Segoe UI, sans-serif;
    background:
        radial-gradient(circle at top left, #351313, transparent 55%),
        radial-gradient(circle at bottom right, #3a1414, transparent 55%),
        var(--bg);
    color: var(--text);
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    border: none;
    cursor: pointer;
    background: none;
}

.Impo {
    color: var(--accent);
}

.container {
    width: min(1120px, 100% - 3rem);
    margin-inline: auto;
}

.section {
    padding-block: 72px;
}

.section--tight {
    padding-block: 56px;
}

.section-header {
    margin-bottom: 32px;
}

.section-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-soft);
    margin-bottom: 8px;
    font-weight: 600;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--muted);
    max-width: 520px;
    font-size: 0.98rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--muted);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
}

/* HEADER & NAV */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(20px);
    background: linear-gradient(to bottom, rgba(5, 5, 7, 0.96), transparent);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 14px;
    gap: 18px;
}

.nav-brand {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.brand-mark {
    width: 56px;
    height: 56px;
    color: #ffff;
    border-radius: 8px;
    background: linear-gradient(135deg, black 50%, var(--accent));
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.brand-text {
    font-weight: 200;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 1.1rem; /* kleiner gemacht */
}

/* optional: auf größeren Screens wieder etwas größer */
@media (min-width: 1024px) {
    .brand-text {
        font-size: 1.3rem;
    }
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 0.9rem;
}

.nav-links a {
    color: var(--muted);
    transition: color var(--transition-fast);
}

.nav-links .btn {
    color: #ffff;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: transform var(--transition-fast),
        box-shadow var(--transition-fast),
        background var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    color: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.7);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--text);
    background: rgba(8, 8, 10, 0.8);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(18, 18, 24, 0.95);
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.8rem;
}

.btn-outline-chip {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 6px 12px;
    font-size: 0.78rem;
    color: var(--muted);
    background: rgba(0, 0, 0, 0.55);
    transition: background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast);
}

.btn-outline-chip--active {
    border-color: rgba(255, 75, 43, 0.7);
    color: #fff;
    background: rgba(255, 75, 43, 0.12);
}

.btn-outline-chip:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
}

.nav-toggle span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: #fff;
    border-radius: 999px;
    transition: transform var(--transition-fast),
        opacity var(--transition-fast);
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
}

/* HERO */

.hero {
    padding-block: 36px 72px;
}

.hero-inner {
    display: grid;
    gap: 40px;
    align-items: center;
}

.hero-content-eyebrow {
    margin-bottom: 14px;
}

.hero-title {
    font-size: clamp(2.4rem, 4.4vw, 3.5rem);
    line-height: 1.05;
    margin-bottom: 12px;
}

.hero-title span {
    color: var(--accent-soft);
}

.hero-text {
    color: var(--muted);
    max-width: 580px;
    font-size: 0.98rem;
    margin-bottom: 22px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.hero-meta {
    font-size: 0.78rem;
    color: var(--muted);
}

.hero-highlight {
    color: #fff;
    font-weight: 500;
}

.hero-media {
    padding: 16px 16px 18px;
    position: relative;
    overflow: hidden;
}

.hero-media-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.76rem;
    color: var(--muted);
}

.hero-media-header img {
    height: 20rem;
}

@media (min-width: 1024px) {
  .hero-media-header img {
    height: 25rem;
}
}

.hero-media-dots {
    display: flex;
    gap: 4px;
}

.hero-media-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.hero-media-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 12px;
}

.media-placeholder {
    width: 100%;
    max-width: 28rem;          /* etwas schmaler als vorher (30rem) */
    height: auto;              /* Höhe nicht mehr erzwingen */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: calc(var(--radius-lg) - 4px);
    position: relative;
    overflow: hidden;
    margin-inline: auto;
}

@media (min-width: 1024px) {
    .media-placeholder {
        max-width: 24rem;      /* Desktop: noch kompakter */
    }
}

@media (max-width: 768px) {
    .Two_sect {
        margin-left: 0;
    }

    .media-placeholder {
        height: auto;
        min-height: 220px;
    }

    #about .split {
        gap: 24px;
    }
}


.media-badge {
    position: absolute;
    inset-inline: 10px;
    bottom: 10px;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
}

.media-badge span:first-child {
    font-weight: 500;
    color: #fff;
}

/* CARDS / GRIDS */

.cards-grid {
    display: grid;
    gap: 18px;
}

.cards-grid--three {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at top left, #262231, #121017);
    padding: 20px 18px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.card-number {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    text-align: right;
    margin-bottom: 12px;
}

.card-title {
    font-size: 1.02rem;
    margin-bottom: 6px;
}

.card-text {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 10px;
}

.card-tagline {
    font-size: 0.8rem;
    color: #fff;
    opacity: 0.85;
}

/* ABOUT + NOT JUST WEBSITES */

.about-video {
    width: 100%;
    height: auto;              /* statt 100% → verzerrt nicht & ist flexibler */
    object-fit: cover;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
    border-radius: calc(var(--radius-lg) - 4px);
    display: block;
}

.split {
    display: grid;
    gap: 32px;
    align-items: center;
}

.split-media {
    min-height: 220px;
}

.split-alt {
    margin-top: 40px;
}

/* PRICING */

.pricing-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.pricing-card {
    background: linear-gradient(155deg, #17141e, #0c0b10);
    border-radius: var(--radius-xl);
    padding: 22px 20px 20px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: "";
    position: absolute;
    inset-inline: -30%;
    top: -40%;
    height: 60%;
    background: radial-gradient(circle at top, rgba(255, 75, 43, 0.3), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    transform: translate3d(0, 10px, 0);
    pointer-events: none;
}

.pricing-card:hover::before {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.pricing-name {
    font-size: 0.92rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.pricing-price {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.pricing-note {
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 16px;
}

.pricing-list {
    list-style: none;
    font-size: 0.9rem;
    color: var(--muted);
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
}

.pricing-list li::before {
    content: "•";
    color: var(--accent-soft);
    margin-right: 6px;
}

/* --- Price Calculator extras --- */

.pricing-card--calculator {
    display: flex;
    flex-direction: column;
}

.pricing-form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.pricing-form-field label {
    color: var(--muted);
    font-weight: 500;
}

.pricing-input {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 12px;
    font: inherit;
    color: var(--text);
    outline: none;
    width: 100%;
}

.pricing-input:focus {
    border-color: rgba(255, 75, 43, 0.7);
    box-shadow: 0 0 0 1px rgba(255, 75, 43, 0.4);
}

.pricing-help {
    font-size: 0.78rem;
    color: var(--muted);
}

.pricing-disclaimer {
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--muted);
}

.pricing-list--compact {
    font-size: 0.88rem;
}

.pricing-list--compact li {
    display: flex;
    justify-content: left;
    gap: 12px;
}

.pricing-value {
    font-weight: 500;
    color: #fff;
}

/* --- Responsive Layout für die 3 Kasten --- */

/* Desktop: 3 Spalten (dein bestehendes Grid kann so bleiben) */
/* .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } */

/* Tablet: max 900px -> 2 Spalten */
@media (max-width: 900px) {
    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    /* Dritter Kasten geht dann automatisch in die nächste Zeile
     und bekommt die volle Breite */
    .pricing-grid>.pricing-card:nth-child(3) {
        grid-column: 1 / -1;
    }
}

/* Handy: max 600px -> 1 Spalte */
@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pricing-grid>.pricing-card:nth-child(3) {
        grid-column: auto;
    }
}


/* SUCCESS STORIES */

.showcase {
    display: grid;
    gap: 20px;
}

.showcase-card {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    background: radial-gradient(circle at top left, #25212f, #100f15);
    border-radius: var(--radius-xl);
    padding: 18px 18px 18px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.showcase-card--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
}

.showcase-text h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.showcase-text p {
    font-size: 0.9rem;
    color: var(--muted);
}

.showcase-media {
    min-height: 160px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.focus_One {
    background: url("blog_pictures/ki_blog.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.focus_Two {
    background: url("blog_pictures/teuer_blog.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.showcase-kpi {
    position: absolute;
    inset: auto 10px 10px 10px;
    border-radius: 14px;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.74rem;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.showcase-kpi span:first-child {
    color: #fff;
    font-weight: 500;
}

/* BLOG */

.blog-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.blog-card {
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at top left, #272333, #131018);
    padding: 14px 14px 16px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.blog-thumb {
    border-radius: 12px;
    height: 110px;
    margin-bottom: 10px;
}

.One {
    background: url("blog_pictures/ki_blog.jpg");
    background-size: cover;
}

.Two {
    background: url(blog_pictures/teuer_blog.jpg);
    background-size: cover;
}

.Three {
    background: url(blog_pictures/workflow.jpg);
    background-size: cover;
}

.blog-meta {
    font-size: 0.76rem;
    color: var(--muted);
    margin-bottom: 4px;
}

.blog-title {
    font-size: 0.96rem;
    margin-bottom: 4px;
}

.blog-link {
    font-size: 0.82rem;
    color: var(--accent-soft);
}

/* FAQ */

.faq-list {
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at top left, #252130, #0b0a0f);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    padding: 18px 16px;
    display: grid;
    gap: 10px;
}

.faq-item {
    border-radius: 14px;
    border: 1px solid transparent;
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.faq-item.is-open {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(8, 7, 12, 0.9);
}

.faq-question {
    width: 100%;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    text-align: left;
    font-size: 0.9rem;
    color: #fff;
}

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--muted);
    transition: transform var(--transition-fast),
        background var(--transition-fast),
        color var(--transition-fast);
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
    background: rgba(255, 75, 43, 0.15);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding-inline: 14px;
    font-size: 0.86rem;
    color: var(--muted);
    transition: max-height 0.22s ease;
}

.faq-item.is-open .faq-answer {
    padding-bottom: 10px;
}

/* TESTIMONIALS */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.testimonial-card {
    border-radius: var(--radius-lg);
    padding: 16px 16px 18px;
    background: radial-gradient(circle at top left, #262333, #131019);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
    font-size: 0.88rem;
    position: relative;
}

.testimonial-stars {
    font-size: 0.8rem;
    color: #ffd167;
    margin-bottom: 6px;
}

.testimonial-quote {
    margin-bottom: 10px;
    color: var(--muted);
}

.testimonial-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-meta span {
    display: block;
}

/* CTA / FOOTER */

.cta {
    border-radius: 999px;
    padding: 26px 24px;
    background: radial-gradient(circle at left, #ff4b2b33, transparent 60%),
        radial-gradient(circle at right, #ff7a3c33, transparent 60%),
        #121018;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cta-title {
    font-size: 1.4rem;
}

.cta-sub {
    font-size: 0.9rem;
    color: var(--muted);
}

.footer {
    padding-block: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.8rem;
    color: var(--muted);
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-links a {
    color: var(--muted);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.footer-meta {
    opacity: 0.8;
}

.social-dots {
    display: inline-flex;
    gap: 6px;
}

.social-dot {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.back-link {
    font-size: 0.85rem;
    color: var(--muted);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.4);
}

main {
    padding-block: 48px 64px;
}

.legal-card {
    background: radial-gradient(circle at top left, #262231, #121017);
    border-radius: 26px;
    padding: 28px 26px 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-subtle);
}

.legal-header {
    margin-bottom: 24px;
}

.legal-eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #ff7a3c;
    margin-bottom: 6px;
}

.legal-title {
    font-size: clamp(1.7rem, 3vw, 2rem);
    margin-bottom: 4px;
}

.legal-subtitle {
    font-size: 0.9rem;
    color: var(--muted);
}

.legal-section {
    margin-bottom: 22px;
    font-size: 0.95rem;
}

.legal-section:last-of-type {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.legal-section p {
    margin-bottom: 8px;
    color: var(--muted);
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section address {
    font-style: normal;
    color: var(--muted);
    white-space: pre-line;
}

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-block: 20px 26px;
    font-size: 0.8rem;
    color: var(--muted);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* === Cookie Banner === */

.cookie-banner {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 9999;
    padding: 12px;
    pointer-events: none;
    /* Klicks nur auf inneren Container */
}

.cookie-banner-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 14px 18px;
    border-radius: 18px;
    background: radial-gradient(circle at top left, #262231, #121017);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
    display: flex;
    gap: 16px;
    align-items: center;
    pointer-events: auto;
}

.cookie-banner-text {
    flex: 1 1 auto;
    min-width: 0;
}

.cookie-banner-title {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.cookie-banner-desc {
    font-size: 0.86rem;
    color: #b2b2c0;
    margin-bottom: 4px;
}

.cookie-banner-link {
    font-size: 0.8rem;
    color: #ff7a3c;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-actions {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-cookie {
    font: inherit;
    font-size: 0.82rem;
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-cookie-primary {
    background: linear-gradient(135deg, #ff4b2b, #ff7a3c);
    border-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-weight: 600;
}

.btn-cookie-primary:hover {
    filter: brightness(1.05);
}

.btn-cookie-secondary {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.18);
    color: #f5f5f5;
}

.btn-cookie-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* versteckt, wenn nicht sichtbar */
.cookie-banner--hidden {
    display: none;
}

/* === Popup / Modal === */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 7, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-out;
  }
  
  .modal-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }
  
  .modal-dialog {
    position: relative;
    width: min(480px, 100% - 2.5rem);
    background: radial-gradient(circle at top left, #262231, #121017);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.75);
    padding: 20px 20px 22px;
    color: #f5f5f5;
  }
  
  .modal-title {
    font-size: 1.25rem;
    margin-bottom: 4px;
  }
  
  .modal-subtitle {
    font-size: 0.9rem;
    color: #b2b2c0;
    margin-bottom: 16px;
  }
  
  .modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    color: #b2b2c0;
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 999px;
  }
  
  .modal-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }
  
  .modal-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .modal-form-row {
    display: flex;
    gap: 10px;
  }
  
  .modal-form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 0;
    font-size: 0.9rem;
  }
  
  .modal-form-field label {
    color: #d4d4dd;
    font-weight: 500;
  }
  
  .modal-form-field input {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 12px;
    font: inherit;
    color: #f5f5f5;
    outline: none;
  }
  
  .modal-form-field input:focus {
    border-color: rgba(255, 75, 43, 0.7);
    box-shadow: 0 0 0 1px rgba(255, 75, 43, 0.5);
  }
  
  .modal-hint {
    font-size: 0.78rem;
    color: #9a9ab0;
    margin-top: 2px;
  }
  
  .modal-submit-btn {
    margin-top: 4px;
    width: 100%;
    border-radius: 999px;
    border: none;
    padding: 10px 14px;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #ff4b2b, #ff7a3c);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  }
  
  .modal-submit-btn:hover {
    filter: brightness(1.05);
  }
  
  /* Mobile Anpassung */
  @media (max-width: 480px) {
    .modal-dialog {
      padding: 18px 16px 20px;
      border-radius: 18px;
    }
  
    .modal-form-row {
      flex-direction: column;
    }
  }
  

/* Mobile Anpassung */
@media (max-width: 640px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner-actions {
        width: 100%;
        flex-direction: row;
        justify-content: flex-end;
        gap: 8px;
    }

    .btn-cookie {
        flex: 0 0 auto;
    }
}


@media (max-width: 640px) {
    .legal-card {
        padding: 22px 18px 24px;
        border-radius: 20px;
    }
}

/* RESPONSIVE */

@media (min-width: 768px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    }

    .split {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    }

    .split-alt {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    }
}

@media (max-width: 960px) {
    .site-header {
        background: rgba(5, 5, 7, 0.96);
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .nav-links {
        position: fixed;
        inset-inline: 16px;
        top: 60px;
        padding: 12px;
        border-radius: 18px;
        background: rgba(8, 7, 12, 0.98);
        border: 1px solid var(--border-subtle);
        box-shadow: var(--shadow-soft);
        flex-direction: column;
        align-items: flex-start;
        transform-origin: top;
        transform: scaleY(0.6);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-fast),
            transform var(--transition-fast);
    }

    .nav-links.is-open {
        opacity: 1;
        transform: scaleY(1);
        pointer-events: auto;
    }

    .nav-cta {
        width: 100%;
        justify-content: flex-start;
        margin-top: 8px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .hero {
        padding-top: 26px;
    }

    .cta {
        border-radius: 22px;
    }
}

@media (max-width: 600px) {
    .section {
        padding-block: 56px;
    }

    .showcase-card,
    .showcase-card--reverse {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-media-grid {
        grid-template-columns: 1fr;
    }

    .hero-media {
        margin-inline: auto;
    }
}