/* ===== NANIL PULSE - EDEL & MODERN ===== */

:root {
    /* Hintergrund – etwas heller für bessere Lesbarkeit */
    --bg-dark: #393945;
    --bg-card: rgba(65, 65, 78, 0.9);
    --bg-glass: rgba(60, 60, 72, 0.9);

    /* Typo – weiches Weiß, kein kaltes Blau */
    --text-main: #f4f4f6;
    --text-muted: #c8ccd4;

    /* Akzent: gedämpftes Teal (nicht Neon – wirkt hochwertiger) */
    --cyan-primary: #5d9aa8;
    --cyan-light: #7eb8c4;
    --cyan-dark: #4a7c88;

    /* Gold: zurückhaltend, leicht kühler (modernes Edelmetall) */
    --gold-primary: #c9a227;
    --gold-light: #e2c96a;
    --gold-muted: rgba(201, 162, 39, 0.35);
    --gold-faint: rgba(201, 162, 39, 0.08);
    --gold-gradient: linear-gradient(135deg, #a68b1f, #c9a227, #e2c96a);

    /* Verlauf Buttons & Highlights – weicher, weniger grell */
    --cyan-gradient: linear-gradient(135deg, #4a7c88, #5d9aa8, #7eb8c4);
    --cyan-text-gradient: linear-gradient(to right, #5d9aa8, #8bc4ce, #5d9aa8);

    /* Glows dezent (edel statt Tech-Neon) */
    --glow-turquoise: 0 0 24px rgba(93, 154, 168, 0.15);
    --glow-gold: 0 0 20px rgba(201, 162, 39, 0.12);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.85);
    --border-glass: 1px solid rgba(255, 255, 255, 0.06);

    /* Skizzenbild: NUR Insta oben weg – Überschrift + alle Texte bleiben (Wert anpassen: z.B. 50px–70px) */
    --slide-sketch-crop-top: 58px;
    --slide-crop-top-y: 88px;
    --slide-crop-even-y: 62px;

    /* Layout */
    --container-width: 1100px;
    /* Viel schmaler = Handy-Look / Kompakter */
    --top-bar-height: 40px;
    --header-height: 72px;
    --banner-height: 48px;

    --gradient-cyan: linear-gradient(135deg, #4a7c88 0%, #5d9aa8 50%, #7eb8c4 100%);
}

/* Early Access Banner – unter Top-Leiste + Header */
.early-access-banner {
    margin-top: calc(var(--top-bar-height) + var(--header-height));
    position: sticky;
    top: calc(var(--top-bar-height) + var(--header-height));
    z-index: 9999;
    background: linear-gradient(90deg, #a68b1f, #c9a227, #e2c96a);
    padding: 14px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.early-access-banner p {
    margin: 0;
    color: #0a0a0c;
    font-size: 1.05rem;
    font-weight: 700;
}

/* Hero-Pulse: optimal – weicher Glow + dezente Skalierung, ruhiger Rhythmus */
@keyframes hero-pulse-glow {

    0%,
    100% {
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 28px rgba(93, 154, 168, 0.22);
    }

    50% {
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 48px rgba(93, 154, 168, 0.45);
    }
}

@keyframes hero-pulse-scale {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.015);
    }
}

/* Hero Video + Slider – EXAKT GLEICHE GRÖSSE (beide nutzen .hero-media-box) */
.hero-media-box {
    width: 100%;
    height: auto; aspect-ratio: 16/10;
    flex-shrink: 0;
}

.hero-video-wrap.hero-media-box,
.slider-container.hero-media-box {
    width: 100%;
    height: auto; aspect-ratio: 16/10;
}

.hero-video-wrap {
    display: block;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), var(--glow-turquoise);
    border: 1px solid rgba(93, 154, 168, 0.2);
    z-index: 5;
    animation: hero-pulse-glow 3s ease-in-out infinite, hero-pulse-scale 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
    .hero-video-wrap {
        animation: none;
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 36px rgba(93, 154, 168, 0.3);
    }
}

/* Produkt-Ribbons (PREMIUM, BESTSELLER, NEU) */
.ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 6px;
    color: #0a0a0c;
    z-index: 2;
}

#ribbon-gold {
    background: var(--gold-gradient);
}

#ribbon-silver {
    background: #b0b0b0;
    color: #0a0a0c;
}

#ribbon-patch {
    background: var(--cyan-dark);
    color: #fff;
}

.product-card {
    position: relative;
}

/* Base Setup */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Touch-freundlich: Buttons/Links mind. 44px für Finger */
.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--top-bar-height) + var(--header-height) + var(--banner-height));
    font-size: 14px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(ellipse 120% 80% at 50% 0%, rgba(95, 100, 118, 0.45) 0%, var(--bg-dark) 70%);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Profi: Focus für Tastatur & A11y */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--cyan-primary);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 20px;
    padding: 12px 20px;
    background: var(--cyan-primary);
    color: #000;
    font-weight: 600;
    border-radius: 8px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 20px;
}

ul {
    list-style: none;
}

/* ===== UTILITIES & ANIMATIONS ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 25px;
}

.text-gradient-cyan {
    background: var(--cyan-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shine 6s linear infinite;
}

.text-gradient-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gold {
    color: var(--gold-primary);
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(93, 154, 168, 0.25);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 36px rgba(93, 154, 168, 0.45);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(93, 154, 168, 0.25);
    }
}

/* Premium Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--cyan-gradient);
    color: #0a0a0c;
    box-shadow: 0 6px 20px rgba(93, 154, 168, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(93, 154, 168, 0.4);
}

.btn-secondary {
    background: rgba(93, 154, 168, 0.12);
    border: 2px solid var(--cyan-primary);
    color: var(--cyan-primary);
}

.btn-secondary:hover {
    background: var(--cyan-primary);
    color: #0a0a0c;
}

/* ===== HEADER ===== */
header {
    height: var(--header-height);
    position: fixed;
    top: var(--top-bar-height);
    left: 0;
    width: 100%;
    z-index: 10000;
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

/* Logo ganz links: kein linkes Padding im Header-Container; mehr Platz für Nav */
header .container {
    padding-left: 0;
    padding-right: 20px;
    max-width: min(100%, 1200px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 800;
    flex-shrink: 0;
    padding-left: max(12px, env(safe-area-inset-left, 0));
}

.logo img {
    width: auto;
    height: 48px;
    max-height: 48px;
    object-fit: contain;
}

/* Ganz oben: Vorseite + Konzept – überdeckt keine andere Schrift */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10002;
    background: rgba(10, 10, 12, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 0;
    min-height: var(--top-bar-height);
    box-sizing: border-box;
}
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 0 24px;
    max-width: 100%;
}
.top-bar-btn {
    display: inline-block;
    color: #f4f4f6 !important;
    background: transparent;
    border: 1px solid rgba(126, 184, 196, 0.6);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.top-bar-btn:hover {
    background: var(--cyan-primary);
    color: #0a0a0c !important;
    border-color: var(--cyan-primary);
}

/* Nav + Sprachumschalter: immer sichtbar, Gründerin und DE/EN/TR nicht abschneiden */
.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 1;
    min-width: 0;
}

.main-menu {
    flex-shrink: 1;
    min-width: 0;
}

nav ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
}

nav a {
    font-size: 0.9rem;
    font-weight: 600;
    color: #d8dbe3;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    white-space: nowrap;
}

nav a:hover,
nav a.active {
    color: var(--cyan-primary);
    text-shadow: 0 0 12px rgba(93, 154, 168, 0.35);
}

/* Language Switcher – immer sichtbar, nie abgeschnitten */
.lang-switcher {
    display: flex;
    gap: 6px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f4f4f6;
    padding: 6px 12px;
    min-height: 36px;
    min-width: 36px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--cyan-primary);
    color: #0a0a0c;
    border-color: var(--cyan-primary);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: auto;
    padding-top: 0;
    display: flex;
    align-items: center;
    position: relative;
}

/* Patent-Zeile gut sichtbar und auffindbar */
.hero-patent {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 10px;
    margin-bottom: 0;
}

.hero-bg-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(93, 154, 168, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 1.1rem;
    color: #d8dbe3;
    margin-bottom: 24px;
    max-width: 550px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.hero-visual {
    position: relative;
    width: 100%;
}

/* Hero-Visual: Video füllt den Wrapper, Rundung über .hero-video-wrap */
.hero-visual video {
    border-radius: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== HERO: Überschrift (Auftrag-Bild) – pulsierend ===== */
.hero-heading-visual {
    display: block;
    width: 100%;
}

.hero-auftrag-above {
    margin-bottom: 28px;
}

.hero-auftrag-wrap {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 24px;
    padding: 16px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), var(--glow-turquoise);
    border: 1px solid rgba(93, 154, 168, 0.25);
    background: rgba(10, 10, 12, 0.7);
    animation: hero-pulse-glow 3.2s ease-in-out infinite, hero-pulse-scale 3.2s ease-in-out infinite;
    transition: transform 0.3s ease;
    text-align: center;
}

.hero-auftrag-wrap .slider-heading-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    object-fit: contain;
}

.hero-auftrag-wrap .slider-heading-fallback {
    font-size: 1.5rem;
    color: var(--cyan-primary);
    font-weight: 700;
    margin: 0;
    padding: 12px 0;
    letter-spacing: 0.02em;
}

.hero-auftrag-wrap .slider-heading-extra {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 12px auto 0;
    border-radius: 12px;
    object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
    .hero-auftrag-wrap {
        animation: none;
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 36px rgba(93, 154, 168, 0.3);
    }
}

.slider-heading-wrap {
    text-align: center;
}

.slider-heading-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    object-fit: contain;
}

.slider-heading-fallback {
    font-size: 1.25rem;
    color: var(--cyan-primary);
    font-weight: 600;
    margin: 0;
    padding: 8px 0;
}

.slider-heading-extra {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 12px auto 0;
    border-radius: 12px;
    object-fit: contain;
}

.slider-container.hero-media-box {
    width: 100%;
    height: auto; aspect-ratio: 16/10;
    margin: 0;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), var(--glow-turquoise);
    border: 1px solid rgba(93, 154, 168, 0.2);
    animation: hero-pulse-glow 3.2s ease-in-out infinite, hero-pulse-scale 3.2s ease-in-out infinite;
    transition: transform 0.3s ease;
    background: transparent;
}

@media (prefers-reduced-motion: reduce) {
    .slider-container {
        animation: none;
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 36px rgba(93, 154, 168, 0.3);
    }
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
}

.slide.active {
    display: block;
    animation: fadeIn 1s ease;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
    transform: none;
}

.slide img.slide-crop-top {
    object-position: 0 calc(-1 * var(--slide-crop-top-y));
}

.slide img.slide-crop-even {
    object-position: center calc(-1 * var(--slide-crop-even-y));
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--cyan-primary);
    box-shadow: 0 0 10px var(--cyan-primary);
    transform: scale(1.2);
}

@keyframes fadeIn {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

/* ===== GLASS CARDS (Features & Products) ===== */
.features,
.products-section,
.voice-agent,
.contact {
    padding: 15px 0;
    /* Ultra-Kompakt / Flow */
}

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

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* ZWINGEND 3 SPALTEN */
    gap: 8px;
    /* Sehr eng */
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px;
    /* Dicht */
    border-radius: 12px;
    border: var(--border-glass);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--cyan-primary);
    box-shadow: var(--glow-turquoise);
}

/* Vagus-Bild in About – mittig, harmonisch */
.vagus-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2.5rem auto 0;
    padding: 0 1rem;
}

/* Neue 3er-Reihe: Skizze - Vagus - Erklärung */
.gallery-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    /* fast berührend */
    flex-wrap: nowrap;
    margin-top: 10px;
    /* Kompakter */
    margin-bottom: 10px;
    overflow-x: auto;
    /* Scrollen, falls Bildschirm zu klein */
}

.gallery-item {
    flex: 0 1 auto;
    /* Nicht dehnen */
    min-width: 200px;
    max-width: 250px;
    /* Sehr klein & kompakt */
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: block;
    margin: 0 auto;
}

.gallery-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
    min-height: 1.5em;
    /* Damit alles auf gleicher Höhe beginnt */
}

.specs-cards {
    align-content: start;
}

.feature-icon {
    font-size: 3rem;
    color: var(--cyan-primary);
    margin-bottom: 30px;
    filter: drop-shadow(0 0 12px rgba(93, 154, 168, 0.3));
}

/* Product Cards Premium - Compact Row */
.product-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
    flex-wrap: nowrap;
    margin-top: 30px;
}

.product-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    border: var(--border-glass);
    overflow: hidden;
    flex: 1;
    max-width: 260px;
    /* Schön schmal */
    min-width: 200px;
    /* Passt auf alle Screens in 1 Reihe */
    transition: 0.5s;
    display: flex;
    flex-direction: column;
}

.prod-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.prod-features {
    margin-top: auto;
    /* Push features to bottom */
    margin-bottom: 20px;
}

.prod-img {
    height: 160px;
    /* Halb so hoch wie vorher */
    /* Fixed height for all images */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.prod-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Specific tweaks if needed for ring centering */
#img-gold,
#img-silver,
#img-patch {
    object-position: center;
}

/* ===== NANNI FLOATING BUTTON ===== */
.nanni-float {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nanni-status {
    background: rgba(0, 0, 0, 0.7);
    color: var(--cyan-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin: 0;
    white-space: nowrap;
    border: 1px solid rgba(0, 180, 216, 0.35);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nanni-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.25), rgba(0, 150, 190, 0.15));
    border: 2px solid rgba(0, 180, 216, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.25);
}

.nanni-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(0, 180, 216, 0.45);
    border-color: rgba(0, 180, 216, 0.9);
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.35), rgba(0, 150, 190, 0.25));
}

.nanni-btn:active {
    transform: scale(0.98);
}

.nanni-btn i {
    filter: drop-shadow(0 0 8px rgba(0, 180, 216, 0.6));
}

.nanni-btn.nanni-active {
    background: linear-gradient(135deg, rgba(255, 94, 98, 0.4), rgba(220, 80, 85, 0.3));
    border-color: rgba(255, 94, 98, 0.8);
    box-shadow: 0 4px 24px rgba(255, 94, 98, 0.35);
}

.nanni-btn.nanni-active:hover {
    box-shadow: 0 6px 28px rgba(255, 94, 98, 0.5);
}

/* ===== FLOAT BUTTONS WRAP (Nanni + WhatsApp) – immer sichtbar, kein Toggle ===== */
.float-buttons-wrap {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 2000 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: flex-end !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
.float-buttons-wrap .float-btn,
.float-buttons-wrap a {
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
    pointer-events: auto !important;
}
.float-btn-nanni .float-btn-label {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}
.float-btn-whatsapp {
    background: #25D366 !important;
    color: #fff !important;
}

/* ===== VOICE INTERFACE (Nanni) ===== */
.voice-interface {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95), rgba(5, 5, 5, 0.98));
    border: 1.5px solid var(--cyan-primary) !important;
    box-shadow: 0 0 60px rgba(0, 188, 212, 0.15) !important;
    border-radius: 24px;
    padding: 25px 30px;
    /* Viel kompakter */
    text-align: center;
    max-width: 420px;
    /* Schmales Design */
    margin: 0 auto;
}

.orb {
    width: 80px;
    /* Kleiner Orb */
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(93, 154, 168, 0.35), rgba(74, 124, 136, 0.15));
    border: 2px solid rgba(93, 154, 168, 0.4);
    box-shadow: 0 0 28px rgba(93, 154, 168, 0.2);
    animation: none;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.orb:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 188, 212, 0.5);
}

.orb.active {
    box-shadow: 0 0 36px rgba(93, 154, 168, 0.4);
    border-color: var(--cyan-primary);
    animation: none;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.orb.active.speaking {
    animation: pulse-glow 2.5s infinite ease-in-out;
    box-shadow: 0 0 40px rgba(0, 188, 212, 0.5);
}

/* ===== CROP HELPER (FOR USER IMAGES) ===== */
.crop-top-container {
    overflow: hidden;
    position: relative;
    border-radius: 25px;
}

.crop-top-container img {
    margin-top: -45px;
    transition: 0.5s;
}

.crop-top-container:hover img {
    transform: scale(1.03);
}

/* ===== CONTACT FORM (Profi) ===== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="number"],
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239ca3af' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--cyan-primary);
    box-shadow: 0 0 0 3px rgba(93, 154, 168, 0.2);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group-checkbox {
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.checkbox-label a {
    color: var(--cyan-primary);
}

.honeypot-wrap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-dark);
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-logo .text-gradient-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#footer-nav a,
.footer-nav a {
    color: #888;
    margin: 0 10px;
    font-size: 0.85rem;
}

#footer-nav a:hover,
.footer-nav a:hover {
    color: var(--cyan-primary);
}

footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Vergleichstabelle */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.table-wrap {
    overflow-x: auto;
    margin: 0 auto;
    max-width: 900px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    overflow: hidden;
}

.comparison-table thead tr {
    background: rgba(93, 154, 168, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-table .th-nanil {
    color: var(--cyan-primary);
}

.comparison-table tbody td:first-child+td {
    color: var(--cyan-primary);
    font-weight: 600;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Sticky Language Button Utility */
.lang-switcher {
    position: relative;
}

/* ===== RESPONSIVE – HANDY TAUGLICH ===== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --banner-height: 44px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .early-access-banner {
        padding: 10px 16px;
    }

    .early-access-banner p {
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo img {
        height: 56px;
        max-height: 56px;
    }

    .hero-grid {
        gap: 32px;
        padding-top: 20px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero-btns {
        gap: 12px;
        justify-content: center;
    }

    .hero-btns .btn {
        min-height: 44px;
        padding: 12px 24px;
        font-size: 0.8rem;
    }

    /* Video + Slider auf Handy kleiner, nicht zu groß */
    .hero-media-box,
    .hero-video-wrap.hero-media-box,
    .slider-container.hero-media-box {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 320 / 213;
    }

    /* Alle Bilder auf Handy: nicht breiter als Bildschirm */
    .vagus-image-wrap img,
    .slide img,
    .hero-visual img,
    .crop-top-container img,
    .skizze-erklaerung-wrap img {
        max-width: 100%;
        width: auto;
        height: auto;
    }

    .features,
    .products-section,
    .voice-agent,
    .contact {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 1.75rem;
        margin-bottom: 8px;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-card {
        padding: 20px 16px;
    }

    .feature-icon {
        font-size: 2.25rem;
    }

    .product-row {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .product-card {
        max-width: 100%;
        min-width: 0;
    }

    .prod-details {
        padding: 20px 16px;
    }

    .prod-img {
        height: 220px;
    }

    .voice-interface {
        padding: 28px 20px;
        margin: 0 4px;
    }

    .orb {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    #start-vapi-btn {
        min-height: 48px;
        padding: 14px 28px;
        width: 100%;
        max-width: 280px;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="number"],
    .contact-form textarea,
    .contact-form select {
        padding: 14px 16px;
        font-size: 16px;
        /* verhindert Zoom auf iOS */
    }

    .contact-form textarea {
        min-height: 120px;
    }

    .table-wrap {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }

    #footer-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    #footer-nav a {
        margin: 0;
        padding: 8px 12px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    footer {
        padding: 36px 0 24px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.85rem;
    }

    .hero-media-box,
    .hero-video-wrap.hero-media-box,
    .slider-container.hero-media-box {
        max-width: 100%;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .three-images-row {
        grid-template-columns: 1fr !important;
    }

    .vagus-image-wrap img {
        max-width: 100%;
    }

    .prod-img img {
        max-width: 100%;
        object-fit: contain;
    }
}

/* Safe-Area für Handys mit Notch (viewport-fit=cover) */
@supports (padding: env(safe-area-inset-top)) {
    header .header-inner {
        padding-left: max(25px, env(safe-area-inset-left));
        padding-right: max(25px, env(safe-area-inset-right));
    }

    .early-access-banner {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    footer .container {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Drei Bilder (Bone Conduction, Nachrichten, Nanni) – immer in einer Reihe */
.three-images-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    align-items: start !important;
}

.three-images-row>* {
    min-width: 0;
}

@media (max-width: 700px) {
    .three-images-row {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .main-menu {
        display: none;
    }

    .main-menu.open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(5, 5, 5, 0.98);
        padding: 20px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-menu.open ul {
        flex-direction: column;
        gap: 4px;
    }

    .main-menu.open a {
        display: flex;
        align-items: center;
        padding: 14px 12px;
        min-height: 44px;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 10px;
        color: #fff;
        cursor: pointer;
        font-size: 1.2rem;
    }

    .mobile-menu-btn:hover,
    .mobile-menu-btn:focus-visible {
        background: var(--cyan-primary);
        color: #000;
        border-color: var(--cyan-primary);
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Schmale Desktops: Nav + Gründerin + DE/EN/TR bleiben sichtbar */
@media (min-width: 769px) and (max-width: 1100px) {
    header .container {
        padding-right: 12px;
    }

    nav ul {
        gap: 10px;
    }

    nav a {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .lang-switcher {
        padding-left: 10px;
        gap: 4px;
    }

    .lang-btn {
        padding: 6px 10px;
        min-width: 32px;
        font-size: 0.7rem;
    }
}

/* Weniger Bewegung für Nutzer mit prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .orb {
        animation: none;
    }
}

/* Drei Bilder (Skizze, Vagusnerv, Erklärung) exakt gleich groß */
.three-equal-img-inner {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
}
.three-equal-img-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}