﻿/* Root */
:root {
    --bg: #0b0e13;
    --panel: #0f141b;
    --muted: #a7b3c2;
    --text: #e9f0f7;
    --brand: #0ea5e9; /* Sky-ish */
    --brand-2: #22d3ee; /* Accent */
    --ring: #38bdf8;
    --ok: #22c55e;
    --warn: #eab308;
    --danger: #ef4444;
    --radius: 16px;
    --container: clamp(1100px, 80vw, 1600px);
    --shadow: 0 10px 30px rgba(2, 12, 27, 0.6);
    --nav-h: clamp(56px, 3.5vw, 120px);
    html { background: #000; }/* wichtig: auf dem Root-Element */

}

@font-face {
    font-family: 'AkiraExpanded';
    src: url('fonts/Nexa-Extra.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

/* Background-Layer */
.bg-anim {
    position: fixed;
    inset: 0;
    height: 100dvh; /* passt sich der dynamischen Höhe an */
    width: 100vw;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(1200px 800px at 12% 18%, rgba(14,165,233,0.5), transparent 80%), radial-gradient(1000px 700px at 82% 25%, rgba(34,211,238,0.5), transparent 80%), radial-gradient(900px 900px at 50% 90%, rgba(56,189,248,0.5), transparent 85%), linear-gradient(#0b0e13, #0b0e13);
    background-repeat: no-repeat;
    background-size: 200% 200%, 200% 200%, 200% 200%;
    background-position: 0% 0%, 100% 0%, 50% 100%;
    filter: saturate(1);
    bottom: env(safe-area-inset-bottom);
    animation: bg-drift 12s ease-in-out infinite alternate;
    filter: brightness(0.8)
}

/* Inhalt über dem BG */
.site-header, main, footer {
    position: relative;
    z-index: 1;
}

/* Animation */
@keyframes bg-drift {
    0% {
        background-position: 0% 0%, 100% 0%, 50% 100%;
    }

    50% {
        background-position: 50% 50%, 50% 100%, 0% 50%;
    }

    100% {
        background-position: 100% 100%, 0% 50%, 100% 0%;
    }
}

/* Inhalt über dem BG */
.site-header, main, footer {
    position: relative;
    z-index: 1;
}
/* Body bleibt transparent */
body {
    background: transparent;
}

/* Respektiert System-Einstellung für reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
    .bg-anim {
        animation: none;
    }
}

body {
    margin: 0;
    color: var(--text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    line-height: 1.6;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    backdrop-filter: saturate(1.2) blur(8px);
    background: linear-gradient(90deg, rgba(14,165,233,0.12), rgba(34,211,238,0.08)) no-repeat, linear-gradient(180deg, rgba(5,7,10,0.97), rgba(15,20,27,0.92));
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
    min-height: var(--nav-h) !important;
    padding: 0 clamp(12px, 2vw, 32px) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1;
}

.brand {
    display: inline-block;
}

    .brand .logo {
        /* scales with nav, higher ceiling so 4K looks different */
        height: clamp(36px, 3vw, 96px) !important;
        width: auto;
        display: block;
    }

/* pill backdrop + animated sheen */
.brand--sheen {
    position: relative;
    padding: 8px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(6px) saturate(1.05);
    overflow: hidden;
}

/* Gleiche Abstände für alle Header-Links */
.nav-links {
    display: flex;
    align-items: flex-start;
    gap: 1.3rem; /* hier Abstand auf Desktop */
}

/* Einheitliches Styling */
    .nav-links a {
        text-decoration: none;
        padding: 6px 10px; /* alle Links haben 'Hitbox' */
        border-radius: 6px;
        color: white;
        display: inline-flex; /* macht die Links zu flex items */
        align-items: center; /* Text mittig in der Höhe */
        line-height: 1; /* hält sie kompakt */
    }

    /* Optional: letztes Angebot als Button hervorheben */
    .nav-links a:last-child {
        text-decoration: none;
        background: linear-gradient(135deg, var(--brand), var(--brand-2));
        color: white;
        font-weight: 700;
    }

        .nav-links a:hover {
            color: var(--text);
        }

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}

    .nav-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text);
        margin: 5px 0;
        border-radius: 2px;
    }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: calc(var(--radius) - 6px);
    text-decoration: none;
    transition: transform .05s ease, background .2s ease, color .2s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

    .btn:active {
        transform: translateY(0);
    }

.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #041318;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.08);
}

.btn-ghost {
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text);
    background: transparent;
}

.btn-small {
    padding: 8px 12px;
    font-size: .95rem;
}

/* Hero */
.hero {
    padding: 72px 0 36px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr .9fr;
    gap: 36px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: .3px;
    margin: 0 0 .6rem;
}

.accent {
    color: var(--brand-2);
}

.hero-text p {
    color: var(--muted);
    margin: 0 0 1rem;
    max-width: 60ch;
}

.hero-cta {
    display: flex;
    gap: .8rem;
    margin: 1rem 0 1rem;
    flex-wrap: wrap;
}

.trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: .5rem;
    padding: 0;
    margin: 1rem 0 0;
    list-style: none;
    color: #cfe6ff;
    font-size: .95rem;
}

.stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

    .stat:last-child {
        border-bottom: 0;
    }

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
}

.stat-label {
    color: var(--muted);
}

/* Sections */
.section {
    padding: 64px 0;
}

    .section.alt {
        background: rgba(255,255,255,0.03);
        border-top: 1px solid rgba(255,255,255,0.06);
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    margin: 0 0 1rem;
}

.card h3 {
    margin: .2rem 0 .4rem;
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

blockquote {
    margin: 0;
    padding: 18px;
    background: var(--panel);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

    blockquote footer {
        margin-top: .6rem;
        color: var(--muted);
    }

/* Map */
.map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow);
}

    .map iframe {
        width: 100%;
        height: 360px;
        display: block;
    }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
    align-items: start;
}

.form {
    display: grid;
    gap: 12px;
}

.field {
    display: grid;
    gap: 6px;
}

    .field.checkbox {
        grid-template-columns: 20px 1fr;
        align-items: center;
        gap: 10px;
    }

label {
    font-weight: 600;
}

input, select, textarea {
    background: #0b1016;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 12px 12px;
    outline: none;
}

    input:focus, select:focus, textarea:focus {
        border-color: var(--ring);
        box-shadow: 0 0 0 3px rgba(56,189,248,0.25);
    }

.contact-meta {
    color: var(--muted);
    margin: .8rem 0 0;
}

.contact-aside .badge {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .contact-aside .badge span {
        background: rgba(34,211,238,0.15);
        color: #bff6ff;
        border: 1px solid rgba(34,211,238,0.3);
        padding: 6px 10px;
        border-radius: 999px;
        font-weight: 700;
        font-size: .9rem;
    }

/* Footer & legal */
.site-footer {
    padding: 36px 0 56px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.35);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-self: center;
}

.legal {
    margin: 36px auto 0;
    max-width: var(--container);
    padding: 0 20px;
    color: var(--muted);
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column; /* Text über Buttons */
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 12px;
    background: #0c1117;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--shadow);
    z-index: 80;
    opacity: 1;
    transition: .25s ease;
    width: auto;
    max-width: 400px; /* Desktop: feste Max-Breite */
    margin: 0 auto;
}

    .cookie-banner.hide {
        transform: translate(-50%, 12px);
        opacity: 0;
        visibility: hidden;
    }

    .cookie-banner p {
        margin: 0;
        color: var(--muted);
        text-align: center;
    }

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

    .cookie-actions button {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

/* Mobil */
@media (max-width: 720px) {
    .cookie-banner {
        max-width: 95%; /* fast volle Breite */
        font-size: 0.9rem;
        text-align: center;
    }

    .cookie-actions {
        flex-direction: column; /* Buttons untereinander */
        gap: 6px;
        width: 100%;
    }

        .cookie-actions button {
            width: 100%;
            font-size: 0.85rem;
            padding: 8px;
        }
}

.cookie-link {
    display: block;
    text-align: center;
    margin-top: 4px;
    color: var(--brand-2); /* Akzentfarbe */
    text-decoration: underline;
    font-size: 0.85rem;
}

    .cookie-link:hover {
        color: var(--brand); /* leichte Farbänderung beim Hover */
    }

/* Utilities */
.note {
    color: var(--muted);
    margin-top: .6rem;
    font-size: .95rem;
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr; /* Hero immer einspaltig */
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Standard: Burger ausgeblendet */
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}

    /* Linien im Burger */
    .nav-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text);
        margin: 5px 0;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

/* Mobile */
@media (max-width: 720px) {
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0.8rem; /* kleinerer Abstand auf Handy */
        position: absolute;
        right: 20px;
        top: 64px;
        background: #0c1117;
        border: 1px solid rgba(255,255,255,0.12);
        padding: 12px;
        border-radius: 12px;
        box-shadow: var(--shadow);
        width: 220px;
        z-index: 9999;
    }

        .nav-links.show {
            display: flex !important;
        }

    .nav-toggle {
        display: block;
        z-index: 10001; /* höher als nav-links */
        position: relative;
    }
}

/* am Ende von styles.css hinzufügen */
:target {
    scroll-margin-top: 84px;
}
/* für #preise, #leistungen, usw. */
.section, .legal {
    scroll-margin-top: 84px;
}

/* Falls die Variablen mal fehlen, setze Fallbacks */
:root {
    --text: #e9f0f7; /* helle Schrift */
    --muted: #a7b3c2; /* sekundärer Text */
    --panel: #0f141b; /* Kartenhintergrund */
}

/* Team Layout */
#team .team-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

/* Standard Team-Karten */
#team .card {
    width: 260px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 14px 18px;
    margin: 0; /* verhindert Extra-Abstände */
    height: auto; /* passt sich Inhalt an */
    min-height: 120px; /* etwas Mindesthöhe, sieht sauberer aus */
    position: relative;
    z-index: 0;
    transform-origin: center center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden; /* Hover nur innerhalb */
    background: rgba(15, 20, 27, 0.85); /* dunkles Glas */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    color: var(--text);
}

    /* Hover-Effekt */
    #team .card:hover {
        transform: scale(1.06); /* kleiner als vorher, nur leicht */
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
        z-index: 5;
    }

/* Gründer-Boxen optional etwas größer */
#team .founders .card {
    flex: 1 1 280px;
    max-width: 320px;
    padding: 20px;
}

/* Mobile Ansicht: alles untereinander */
@media (max-width: 720px) {
    #team .team-row {
        flex-direction: column;
        align-items: center;
    }

    #team .card {
        width: 100%;
        max-width: 320px;
    }
}

/* Mobile Ansicht */
@media (max-width: 720px) {
    #team .team-row {
        flex-direction: column; /* Karten stapeln */
        align-items: center; /* zentriert */
    }

    #team .card {
        width: 100%;
        max-width: 300px; /* nicht zu breit */
    }
}

/* Footer links (Impressum, Datenschutz, etc.) */
.footer-links a,
.footer-links a:visited {
    color: var(--text, lightblue);
    text-decoration: underline;
}

    .footer-links a:hover {
        color: var(--primary, lightblue);
        text-decoration: underline; /* optional */
    }

    .footer-links a:active {
        color: var(--brand-2, #22d3ee);
    }

.trust {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 0;
    margin: 1rem 0 0;
    list-style: none;
    color: #cfe6ff;
    font-size: .95rem;
}

/* Dynamische Schriftgrößen */
body {
    font-size: clamp(16px, 1vw + 0.5rem, 20px);
}

h3 {
    font-size: clamp(1.2rem, 1.6vw, 1.6rem);
    line-height: 1.4;
}

/* TRUST-Liste: Desktop nebeneinander, Mobile untereinander */
.trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
    padding: 0;
    margin: 1rem 0 0;
    list-style: none;
    color: #cfe6ff;
    font-size: .95rem;
}

@media (max-width: 768px) {
    .trust {
        grid-template-columns: 1fr; /* untereinander */
    }
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-toggle span {
    transition: all 0.3s ease;
}

/* Standard: Desktop */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* Tablet */
@media (max-width: 980px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Handy */
@media (max-width: 720px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Standard: Desktop */
.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* Tablet */
@media (max-width: 980px) {
    .testimonials {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Handy */
@media (max-width: 720px) {
    .testimonials {
        grid-template-columns: 1fr;
    }
}

/* Container */
.styled-select {
    appearance: none; /* Browser-Styles entfernen */
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #0b1016 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M7 10l5 5 5-5z"/></svg>') no-repeat right 12px center;
    background-size: 16px;
    padding: 12px 40px 12px 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

    /* Beim Hover */
    .styled-select:hover {
        border-color: var(--brand-2);
    }

    /* Beim Fokus */
    .styled-select:focus {
        outline: none;
        border-color: var(--brand);
        box-shadow: 0 0 0 3px rgba(14,165,233,0.3);
    }

/* Entfernt die Pfeile / Spinner bei number inputs */
/* WebKit (Chrome, Safari, Edge) */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

/* Optional: etwas mehr Abstand/Styling */
input[type="number"] {
    appearance: textfield;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    padding-right: 12px; /* Platz für evtl. Icons */
}

/* Modal Hintergrund */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10004;
    align-items: center;
    justify-content: center;
}

/* Schwarzer Overlay-Hintergrund */
.modal::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 9999; /* liegt UNTER den Blasen */
}

/* Wenn offen (JS setzt display:flex) */
.modal.show {
    display: flex;
}

/* Popup Box */
.modal-content {
    position: relative;
    background: #0f141b;
    padding: 30px;
    border-radius: 16px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    z-index: 10006; /* immer ganz vorne */
}

    /* Textfarben */
    .modal-content h2 {
        color: var(--brand-2);
        margin: 0 0 12px;
    }

    .modal-content p {
        color: var(--text);
        margin: 0;
        line-height: 1.5;
    }

/* Schließen-Button oben rechts */
.close-btn {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 1.5rem;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s ease;
}

    .close-btn:hover {
        color: var(--brand);
    }

/* Einfache Fade-In Animation */
@keyframes fadeIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (min-width: 981px) {
    .hero {
        padding-top: 140px;
    }
}

/* Einheitliche Modals für Impressum & Datenschutz */
#impressumModal .modal-content,
#datenschutzModal .modal-content {
    margin: 20px auto 40px; /* Abstand oben & unten */
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    width: 90%;
    max-width: 700px;
    max-height: calc(100vh - var(--nav-h, 100px) - 40px);
    overflow-y: auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    position: relative;
    background: #0f141b;
}

/* Mobile extra Regeln */
@media (max-width: 720px) {
    #impressumModal .modal-content,
    #datenschutzModal .modal-content {
        max-width: 95%;
        max-height: calc(100vh - 100px); /* mehr Platz auf kleinen Screens */
    }
}

    #impressumModal .modal-content h1,
    #datenschutzModal .modal-content h1 {
        font-size: 1.5rem; /* ~24px */
        margin-bottom: 0.8rem;
    }

    #impressumModal .modal-content h2,
    #datenschutzModal .modal-content h2 {
        font-size: 1.2rem; /* ~19px */
        margin: 1rem 0 0.5rem;
    }

/* Mobile (bis 600px) */
@media (max-width: 600px) {
    #impressumModal .modal-content,
    #datenschutzModal .modal-content {
        max-width: 95%;
        font-size: 0.85rem; /* ~14px */
        line-height: 1.1;
        padding: 8px;
    }

        #impressumModal .modal-content h1,
        #datenschutzModal .modal-content h1 {
            font-size: 1.2rem; /* ~19px */
        }

        #impressumModal .modal-content h2,
        #datenschutzModal .modal-content h2 {
            font-size: 1rem; /* ~16px */
        }
}

/* Tablet (601px – 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
    #impressumModal .modal-content,
    #datenschutzModal .modal-content {
        max-width: 80%;
        font-size: 0.95rem; /* ~15px */
    }

        #impressumModal .modal-content h1,
        #datenschutzModal .modal-content h1 {
            font-size: 1.1rem; /* ~22px */
        }

        #impressumModal .modal-content h2,
        #datenschutzModal .modal-content h2 {
            font-size: 1rem; /* ~17px */
        }
}

/* Large desktop (1600px+) */
@media (min-width: 1600px) {
    #impressumModal .modal-content,
    #datenschutzModal .modal-content {
        max-width: 800px;
        font-size: 0.9rem; /* ~14–15px */
    }

        #impressumModal .modal-content h1,
        #datenschutzModal .modal-content h1 {
            font-size: 1.1rem; /* ~20px */
        }

        #impressumModal .modal-content h2,
        #datenschutzModal .modal-content h2 {
            font-size: 1rem; /* ~16–17px */
        }
}

#impressumModal .modal-content h2,
#datenschutzModal .modal-content h2 {
    margin-bottom: 0.025rem;
}

#impressumModal .modal-content p,
#datenschutzModal .modal-content p {
    margin-top: 0.025rem;
    margin-bottom: 0.025rem;
}

/* X-Button fix sichtbar */
.close-btn {
    position: sticky;
    top: 10px;
    right: 14px;
    float: right;
    font-size: 1.5rem;
    color: var(--muted);
    cursor: pointer;
    z-index: 100000;
}

/* Mobile extra Abstand */
@media (max-width: 720px) {
    .modal {
        padding-top: 0; /* war 80px → stört das Zentrieren */
    }

    .modal-content {
        max-width: 95%;
        max-height: calc(100vh - 100px);
    }
}


    /* Scrollbar Styling (optional, für schöneren Look) */
    .modal-content::-webkit-scrollbar {
        width: 8px;
    }

    .modal-content::-webkit-scrollbar-thumb {
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 4px;
    }

    .modal-content::-webkit-scrollbar-track {
        background: transparent;
    }

/* Scroll komplett blockieren wenn Modal offen */
html.modal-open,
body.modal-open {
    overflow: hidden !important;
    height: 100% !important;
}

.wide-btn {
    width: 100%; /* Button füllt die ganze Karte aus */
    display: block;
    margin: 0 auto;
    padding: 15px 0; /* Höhe ein bisschen größer */
    font-size: 1.2rem; /* Schrift größer */
}

/* Nur eine große Box mittig anzeigen */
.pricing.single {
    display: flex;
    justify-content: center;

}

/* Button mittig */
.btn-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* Alles außer Team */
.cards .card,
.price-card,
.testimonials blockquote,
.contact-aside .info,
.hero-card {
    background: rgba(15, 20, 27, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
}

/* Anfrage-Box wie normale Cards */
    .price-card.wide-card {
        width: 100%; /* nimmt die volle Containerbreite */
        max-width: 900px; /* stell hier deine Wunschbreite ein */
        margin: 0 auto; /* mittig platzieren */
        text-align: center; /* Text + Button mittig */
        padding: 40px; /* etwas mehr Innenabstand */
        border-radius: 20px; /* schöne Rundung */
    }

        /* Button in der Box größer machen */
        .price-card.wide-card .btn {
            font-size: 1.2rem; /* größere Schrift */
            padding: 16px 28px; /* mehr Fläche */
        }

.site-footer .brand.small {
    display: flex;
    align-items: center; /* vertically centers icon + text */
    justify-content: center; /* keeps them together centered */
    gap: 8px; /* space between icon and text */
    font-weight: 600; /* optional: make text a bit bolder */
}

@media (max-width: 720px) {
    .footer-grid {
        display: flex;
        flex-direction: column; /* Stapelt alles */
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .footer-links {
        display: flex;
        flex-direction: row; /* nebeneinander */
        flex-wrap: wrap; /* falls zu lang -> umbrechen */
        justify-content: center;
        gap: 16px;
        order: 1; /* kommt über das Copyright */
    }

    .copyright {
        order: 2; /* direkt unter den Links */
        text-align: center;
        font-size: 0.9rem;
    }

    .brand.small {
        order: 3; /* Logo ganz unten */
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }
}

/* Oberer Balken (so wie bisher) */
.ios-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: env(safe-area-inset-bottom, 0px);
    background: #000;
    z-index: 2147483647;
    pointer-events: none;
}

#team .card {
    position: relative;
    z-index: 0; /* Basis */
    overflow: hidden; /* verhindert, dass Schatten als Hitbox zählt */
}

    #team .card:hover {
        transform: scale(1.06);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
        z-index: 1; /* Karte über andere bringen */
    }

/* Automatische Trennerlinien zwischen Sections */
.section {
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* feiner Strich */
}

    /* Erste Section (Hero) ohne Linie */
    .section:first-of-type {
        border-top: none;
    }

/* Overlay (grau) */
#thankYouModal::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999; /* ganz hinten */
}

/* Blasen-Layer hinter ALLEM */
#bubbleLayer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10000; /* Ganz unten */
}


/* Box über Overlay */
#thankYouModal .modal-content {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    z-index: 10001;
    /* Hintergrund wie andere Cards */
    background: rgba(15, 20, 27, 0.85);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
}

/* Einzelne Blasen */
.bubble {
    position: absolute;
    bottom: -100px;
    background-image: url('bubble.png');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 1;
    animation: floatUp linear forwards, sway ease-in-out infinite;
}

@keyframes floatUp {
    from {
        bottom: 0;
        opacity: 0.8;
    }

    to {
        bottom: 100vh; /* bis ganz oben */
        opacity: 0;
    }
}

@keyframes sway {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(20px);
    }

    100% {
        transform: translateX(0);
    }
}
