@charset "utf-8";

/* ========= FARBSYSTEM (Unverändert) ========= */

:root {
    --indigo-deep: #0e2f5a;
    --indigo: #1e3a8a;
    --indigo-soft: #2841c2;
    --accent-cyan: #47c9ff;
    --sand: #e7d0b4;
    --gray-soft: #f2f3f5;
    --white: #ffffff;
    --text-dark: #0b192f;
}

/* ========= GLOBAL (Unverändert) ========= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--gray-soft);
    overflow-x: hidden; /* Schneidet alles ab, was seitlich übersteht */
}


h1, h2, h3, h4 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    color: var(--indigo-deep);
}

.hero-title {
    color: var(--white);
}

a {
    text-decoration: none;
}

/* ========= HEADER (Unverändert) ========= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    color: var(--white);
}

    /* Blur + Verlauf hinter dem Header */
    .site-header::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        backdrop-filter: blur(50px);
        -webkit-backdrop-filter: blur(50px);
        background: linear-gradient( to bottom, rgba(11,19,42,0.95) 10%, rgba(11,19,42,0.95) 30%, rgba(11,19,42,0.95) 55%, rgba(11,19,42,0.85) 55%, rgba(11,19,42,0.55) 75%, rgba(11,19,42,0.20) 85%, rgba(11,19,42,0.0) 90% );
    }

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2; /* über dem Blur-Layer */
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.brand-logo {
    height: 70px;
}

.brand-name {
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 1.2rem;
    font-size: 0.95rem;
}

    .main-nav a {
        color: var(--gray-soft);
        opacity: 0.85;
    }

        .main-nav a:hover {
            opacity: 1;
        }

.header-cta {
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    background: rgba(71,201,255,0.1);
    border: 1px solid var(--accent-cyan);
    color: var(--white);
    font-size: 0.9rem;
}

/* ========================= HERO (Fixiert) ========================= */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at top, #263455 0%, #0b0f18 55%, #050608 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(14,47,90,0.5), rgba(5,6,8,0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 3.5rem;
}

.hero-art {
    display: block;
    width: 100%;
    max-width: 1300px;
    margin: 2rem auto 0;
}
/* In der Wave keine Max-Breite und keinen Extra-Margin */
.hero-wave .hero-art {
    max-width: none;
    margin: 0 auto;
}

/* Titel (Unverändert) */
.hero-title {
    font-size: 3.6rem;
    font-family: "Playfair Display", serif;
    text-shadow: 0 10px 26px rgba(0,0,0,.6);
}

/* Untertitel (Unverändert) */
.hero-subtitle {
    font-size: 1.35rem;
    opacity: .92;
}

/* ===== HERO-WAVE über die ganze Breite (Angepasst an VW Skalierung) ===== */
.hero-wave {
    position: absolute;
    top: 43%; /* je nach Gefühl anpassen */
    left: 15%;
    transform: translateX(-50%);
    /* VW-Skalierung, um proportional zu wachsen und zu schrumpfen */
    width: min(2200px, 140vw);
    max-width: none;
    z-index: 2;
    pointer-events: none;
}

    .hero-wave img {
        display: block;
        width: 100%;
        height: auto;
        opacity: 0.95;
        /* Wave etwas „dicker“ machen */
        transform-origin: center;
        animation: waveBreath 12s ease-in-out infinite;
    }

/* sanftes „Atmen“ der Wave (Unverändert) */
@keyframes waveBreath {
    0% {
        transform: scaleY(1.30) translateY(0);
        opacity: 0.6;
    }

    50% {
        transform: scaleY(1.45) translateY(-3px);
        opacity: 1;
    }

    100% {
        transform: scaleY(1.30) translateY(0);
        opacity: 0.6;
    }
}

/* Feintuning für sehr breite Screens (z.B. TV) */
@media (min-width: 1600px) {
    .hero-wave {
        top: 44%;
        /* Setzt feste Max-Breite, um auf riesigen Monitoren nicht zu explodieren */
        width: 1600px;
    }

    .hero-dog {
        right: 8vw; /* leicht angepasst */
        width: 380px; /* Hier wieder feste Größe, da es ab 1600px passt */
        max-width: 380px;
    }
}

/* Slogan (Unverändert) */
.hero-tagline {
    width: 70%;
    max-width: 900px;
    margin: 0 auto -8rem;
    opacity: .92;
}

/* Buttons (Unverändert) */
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 10rem;
    margin-bottom: 2.8rem; /*abstand scroll*/
}
/* Bedingungen für Bildschirme einstellen. Hier: alles unter 600px bekommt folgende Bedingungen:*/
@media (max-width: 600px) {
    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .section {
        padding: 3.5rem 1.3rem;
    }
}
/* ... Rest der Styles (Unverändert) ... */


.nav-toggle {
    display: none; /* wird nur auf Mobil eingeblendet */
    background: none;
    border: none;
    padding: 0;
    margin-left: 1rem;
    cursor: pointer;
}

    .nav-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        margin: 4px 0;
        background-color: #e5e7eb; /* helles Grau/Weiß für dunklen Header */
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

/* optional: kleines X bei geöffnetem Menü */
.site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}
/* Desktop bleibt wie gehabt – wichtig: .main-nav im Header bleibt sichtbar */
@media (max-width: 900px) {

    /* Haupt-Navigation wird zum Dropdown */
    .main-nav {
        position: absolute;
        top: 100%; /* direkt unter dem Header */
        right: 0;
        left: 0;
        background: rgba(11, 19, 42, 0.97); /* dunkler Hintergrund wie Header */
        display: none; /* Standard: versteckt */
        flex-direction: column;
        padding: 0.75rem 1.5rem 1rem;
        gap: 0.6rem;
        border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    }

        .main-nav a {
            display: block;
            padding: 0.4rem 0;
            color: #e5e7eb;
        }

    /* Wenn nav-open aktiv ist, Menü anzeigen */
    .site-header.nav-open .main-nav {
        display: flex;
    }

    /* CTA im Header auf Mobil ausblenden, um Platz zu sparen */
    .header-cta {
        display: none;
    }

    /* Brand + Toggle schön nebeneinander */
    .header-inner {
        position: relative;
    }

    /* Hamburger-Icon auf Mobil einblenden */
    .nav-toggle {
        display: block;
    }

    /* Hund auf Mobil ausblenden */
    .hero-dog {
        display: none;
    }

    /* Wave auf Mobil: zwischen Untertitel und Slogan */
    .hero-wave {
		display: none;
        position: static; /* nicht mehr absolut */
        width: 100%;
        margin: 1.5rem 0 0; /* Abstand unter dem Untertitel */
        z-index: 3; /* vor dem Hintergrund, unter anderem Content */
    }

        .hero-wave img {
            display: block;
            width: 140%; /* etwas breiter als der Textbereich */
            max-width: none;
            height: auto;
            position: relative;
            left: -20%; /* etwas nach links ziehen, um Rand-zu-Rand-Eindruck zu erzeugen */
            transform: none; /* Desktop-Transform zurücksetzen */
        }

    .product-teaser {
        grid-template-columns: 1fr;
    }

    .contact-section {
        flex-direction: column;
    }

    .hero {
        height: auto;
        padding-top: 90px;
        padding-bottom: 3.5rem;
    }

    .hero-content {
        margin-top: 0.5rem;
		gap: 0.2rem;          /* reduziert vertikale Abstände zwischen Elementen */
    }

    .hero-title {
        font-size: 2.6rem;
        margin-bottom: 0;     /* FIX: keine Extra-Abstände */
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0;     /* FIX: keine Extra-Abstände zum nächsten Element */
    }

  .hero-tagline{
    margin-top: 0.15rem;     /* FIX: näher an den Subtitle */
    margin-bottom: 0.15rem;  /* FIX: näher an die Buttons */
  }

  /* FIX: falls das Slogan-Bild selbst Abstände erzeugt */
  .hero-tagline img{
    display: block;
    margin: 0 auto;          /* entfernt Default-Abstände */
  }

  .hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.35rem;     /* FIX: Buttons näher an den Slogan */
    margin-bottom: 0.1rem;   /* FIX: weniger Abstand zum Scroll-Indicator */
}

  /* FIX: Scroll-Indicator höher setzen, damit er nicht “zu weit unten” wirkt */
  .scroll-indicator{
    bottom: 0.9rem;
  }

}


/* Hund (FIX: Jetzt VW-basiert und Responsive) */
/* HUND: Größe und Positionierung skalieren jetzt proportional (VW) */
.hero-dog {
    position: absolute;
    /* Nutze VW, um Positionierung an Breite zu koppeln */
    right: 7.9vw;
    bottom: 0;
    /* FIX: Wechsel von fester 435px-Größe zu Viewport-Breite (VW) für Skalierung */
    width: 23vw;
    height: auto;
    /* Setzt die maximale Größe auf den gewünschten "Monitor"-Wert */
    max-width: 435px;
    /* Fügt eine Mindestbreite hinzu, bevor der mobile Breakpoint greift */
    min-width: 320px;
    pointer-events: none;
    z-index: 3;
    filter: drop-shadow(0 8px 14px rgba(0,0,0,0.3));
}

/* Slogan unter der Wave (Unverändert) */
.hero-tagline {
    margin-top: 10rem;
}

    .hero-tagline img {
        width: 600px;
        max-width: 80vw;
        opacity: 0.9;
        filter: drop-shadow(0 0 10px rgba(0,0,0,0.35));
    }


/* Buttons allgemein (Unverändert) */

.btn-primary,
.btn-secondary,
.btn-outline {
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, var(--indigo-soft), var(--accent-cyan));
    color: var(--white);
    border: none;
    box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}

.btn-secondary {
    padding: 0.9rem 2.2rem;
    background: rgba(255,255,255,0.05);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(6px);
}

.btn-outline {
    padding: 0.9rem 2.2rem;
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
}

.btn-primary.large {
    padding: 1.1rem 3rem;
    font-size: 1.1rem;
}

/* Scroll-Indikator (Unverändert) */

.scroll-indicator {
    position: absolute;
    bottom: 1.4rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.8;
    z-index: 5;
    color: var(--gray-soft);
}

.scroll-dot {
    width: 6px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.5);
    margin: 0.3rem auto 0;
    position: relative;
    overflow: hidden;
}

    .scroll-dot::after {
        content: "";
        position: absolute;
        top: 2px;
        left: 50%;
        width: 3px;
        height: 6px;
        border-radius: 999px;
        background: rgba(255,255,255,0.9);
        transform: translateX(-50%);
        animation: scrollHint 1.2s infinite;
    }

@keyframes scrollHint {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 8px);
        opacity: 0;
    }
}

/* ========= SECTIONS (Unverändert) ========= */

.section {
    padding: 5rem 1.5rem;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-light {
    background: var(--gray-soft);
}

.section-dark {
    background: var(--indigo-deep);
    color: var(--gray-soft);
}

.section-soft {
    background: var(--white);
}

.section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.section-dark h2 {
    color: var(--white);
}

.section-lead {
    font-size: 1.05rem;
    max-width: 620px;
    margin-bottom: 3rem;
}

/* Cards – Werte */

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    justify-content: center;
}

.card {
    background: var(--white);
    border-radius: 18px;
    padding: 2rem 2rem 2.2rem;
    box-shadow: 0 10px 26px rgba(15,23,42,0.08);
    flex: 1 1 260px;
    max-width: 320px;
}

    .card h3 {
        margin-bottom: 0.8rem;
    }

/* Steps – Technologie */

.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}

.step {
    flex: 1 1 240px;
    padding: 1.6rem 1.8rem;
    border-radius: 16px;
    background: linear-gradient( 135deg, rgba(30,58,138,0.80) 0%, /* indigo */
    rgba(40,65,194,0.85) 100% /* indigo-soft */
    );
    color: #ffffff;
    backdrop-filter: blur(4px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.25);
}


.step-number {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--accent-cyan);
    letter-spacing: 0.05em;
}

/* Produkte */

.product-teaser {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
    gap: 2.5rem;
    align-items: flex-start;
    margin-top: 2.5rem;
}

.product-info h3 {
    margin-bottom: 0.8rem;
}

.product-meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-meta li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.3rem;
}

    .product-meta li::before {
        content: "•";
        position: absolute;
        left: 0;
        color: var(--indigo-soft);
    }

/* Kontakt */

.contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.contact-box {
    padding: 1.5rem 2rem;
    border-radius: 16px;
    background: var(--gray-soft);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Footer */

.site-footer {
    text-align: center;
    padding: 1.8rem 1.2rem 2.2rem;
    font-size: 0.85rem;
    color: rgba(15,23,42,0.7);
}

/* ========= RESPONSIVE (Fixiert) ========= */

@media (max-width: 900px) {
    .header-inner {
        gap: 1rem;
    }

    .main-nav {
        display: none; /* später evtl. Burger-Menü */
    }

    .hero {
        height: auto;
        padding-top: 90px;
        padding-bottom: 3.5rem;
    }

    .hero-content {
        margin-top: 1.5rem;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* FIX: HIDE DOG AND WAVE on MOBILE */
    .hero-dog, .hero-wave {
        display: none;
    }

    /* Die folgenden .hero-wave Regeln sind jetzt redundant, 
       aber wir lassen sie zur Sicherheit auskommentiert, falls du das Bild später 
       doch auf Mobile anzeigen möchtest.
    .hero-wave {
      top: initial;
      left: initial;
      transform: none;
      width: 100%;
      margin-top: 2rem;
      position: relative; 
    }

    .hero-wave img {
        width: 130%;
        position: relative;
        left: -15%; 
        transform: none;
    }
    */

    .product-teaser {
        grid-template-columns: 1fr;
    }

    .contact-section {
        flex-direction: column;
    }
}

/* Bedingungen für Bildschirme einstellen. Hier: alles unter 600px bekommt folgende Bedingungen:*/
@media (max-width: 600px) {
    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .section {
        padding: 3.5rem 1.3rem;
    }
}
/* ... Rest der Styles (Unverändert) ... */


/* ===== Floating "Zur Studie"-Button (Unverändert) ===== */

.floating-study-btn {
    position: fixed;
    right: 35px;
    bottom: 80px;
    z-index: 9999;
    background: linear-gradient(135deg, var(--indigo-soft), var(--accent-cyan));
    color: #fff;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    /* Anfangszustand: unsichtbar & nicht klickbar */
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

    .floating-study-btn.is-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .floating-study-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 26px rgba(0,0,0,0.45);
    }


/* ============= STUDIE FLOATING BUTTON – Pulse Animation (Unverändert) ============= */

.floating-study-btn {
    position: fixed;
    right: 35px;
    bottom: 80px;
    z-index: 9999;
    background: linear-gradient(135deg, var(--indigo-soft), var(--accent-cyan));
    color: #fff;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

    /* eingeblendet */
    .floating-study-btn.is-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        animation: pulseOnce 3.5s ease-in-out 0.9s 2;
    }

    /* Hover reaktiv */
    .floating-study-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.45);
    }

/* sanftes Pulsieren (Unverändert) */
@keyframes pulseOnce {
    0% {
        box-shadow: 0 0 0 0 rgba(71,201,255,0.55);
    }

    50% {
        box-shadow: 0 0 0 14px rgba(71,201,255,0.0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(71,201,255,0.0);
    }
}

/* ====================== STUDY LANDING PAGE (Unverändert) ====================== */

/* HERO-BEREICH DER STUDIE */
.study-hero {
    position: relative;
    min-height: 70vh;
    padding: 7rem 1.5rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: radial-gradient(circle at top, #263455 0%, #0b0f18 55%, #050608 100%);
}

.study-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.study-label {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.4);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.study-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.9rem;
    margin-bottom: 1rem;
    text-shadow: 0 12px 30px rgba(0,0,0,0.7);
}

.study-hero-sub {
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0 auto 2.2rem;
    opacity: 0.95;
}

.study-hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.study-hero-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* INTRO / HIGHLIGHTS */

.study-intro {
    text-align: left;
}

.study-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    margin-top: 2.5rem;
}

.study-highlight {
    flex: 1 1 260px;
    background: var(--white);
    border-radius: 18px;
    padding: 1.8rem 1.9rem 2rem;
    box-shadow: 0 10px 26px rgba(15,23,42,0.08);
}

    .study-highlight h3 {
        margin-bottom: 0.7rem;
    }

/* TEILNAHMEBEDINGUNGEN */

.study-criteria {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.criteria-group h3 {
    margin-bottom: 0.7rem;
}

.criteria-group ul {
    margin: 0;
    padding-left: 1.2rem;
}

/* STUDIEN-ABLauf nutzt vorhandene .steps / .step */

/* ===== STUDIE – KONTAKT / FORMULAR ===== */

.study-contact {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.study-contact-text p {
    margin-bottom: 0.8rem;
}

.study-form {
    background: var(--white);
    padding: 2rem 2.2rem;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.12);
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.1rem;
}

.form-row-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.study-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.study-form input,
.study-form textarea {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(15,23,42,0.15);
    background: #f9fafb;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .study-form input:focus,
    .study-form textarea:focus {
        border-color: var(--indigo-soft);
        background: #ffffff;
        box-shadow: 0 0 0 1px rgba(40,65,194,0.3);
    }

.study-form textarea {
    resize: vertical;
    min-height: 120px;
}

.study-form-hint {
    font-size: 0.8rem;
    color: rgba(15,23,42,0.7);
    margin-top: 0.3rem;
    margin-bottom: 1.1rem;
}

/* Mobile Layout Anpassung */
@media (max-width: 900px) {
    .study-contact {
        grid-template-columns: 1fr;
    }

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


/* ================== RESPONSIVE STUDIE ================== */

@media (max-width: 900px) {

    .study-hero {
        padding-top: 6rem;
        padding-bottom: 3.5rem;
    }

        .study-hero h1 {
            font-size: 2.4rem;
        }

    .study-hero-sub {
        font-size: 1rem;
    }

    .study-highlights {
        flex-direction: column;
    }

    .study-criteria {
        grid-template-columns: 1fr;
    }

    .study-contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .study-form {
        padding: 1.6rem 1.4rem;
    }
}

/* ====================== SHOP PAGE ====================== */

.shop-main {
    padding-top: 0px; /* Platz unter dem fixed Header */
}

/* Hero-Bereich im Shop */
.shop-hero {
    position: relative;
    padding: 6.5rem 1.5rem 3.5rem;
    background: radial-gradient(circle at top, #263455 0%, #0b0f18 55%, #050608 100%);
    color: var(--white);
    text-align: center;
}

.shop-hero-inner {
    max-width: 820px;
    margin: 0 auto;
}

.shop-label {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.4);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.shop-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.7rem;
    margin-bottom: 1rem;
    text-shadow: 0 12px 30px rgba(0,0,0,0.7);
}

.shop-hero-sub {
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 1.8rem;
    opacity: 0.95;
}

.shop-hero-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Grid mit Produktkarten */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 2.2rem;
}

/* Produktkarte */
.product-card {
    background: var(--white);
    border-radius: 18px;
    padding: 1.8rem 1.8rem 2.1rem;
    box-shadow: 0 12px 30px rgba(15,23,42,0.12);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.product-badge {
    align-self: flex-start;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: rgba(30,58,138,0.08);
    color: var(--indigo-deep);
    margin-bottom: 0.3rem;
}

    .product-badge.badge-accent {
        background: rgba(71,201,255,0.12);
        color: var(--indigo-soft);
    }

    .product-badge.badge-soft {
        background: rgba(231,208,180,0.25);
        color: #7a5530;
    }

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin: 0;
}

.product-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(15,23,42,0.7);
    margin: 0 0 0.3rem;
}

.product-text {
    font-size: 0.95rem;
    color: rgba(15,23,42,0.85);
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0.3rem 0 0.8rem;
    font-size: 0.9rem;
}

    .product-features li {
        position: relative;
        padding-left: 1.2rem;
        margin-bottom: 0.3rem;
    }

        .product-features li::before {
            content: "•";
            position: absolute;
            left: 0;
            color: var(--indigo-soft);
        }

.product-status {
    font-size: 0.85rem;
    color: rgba(15,23,42,0.7);
    margin-top: auto;
}

/* Hinweis-Bereich unten */
.shop-note {
    text-align: left;
}

    .shop-note .btn-primary {
        margin-top: 1.3rem;
    }

/* Aktiver Nav-Link im Shop */
.main-nav .nav-active {
    opacity: 1;
    font-weight: 600;
}

/* Responsive Shop-Layout */
@media (max-width: 1024px) {
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .shop-hero h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 700px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .shop-hero {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

        .shop-hero h1 {
            font-size: 2.1rem;
        }
}


/* =========================================
   Legal Pages (Impressum, Datenschutz)
========================================= */

/* Abstand nach unten, damit der fixe Header nichts überdeckt */
body.legal-page main {
    padding-top: 140px; /* ggf. auf 100/110 anpassen, falls zu viel */
}

/* Breite & Grundtypografie */
body.legal-page .section.section-soft .section-inner {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

    /* Text in dunklem Grau statt tiefem Schwarz */
    body.legal-page .section.section-soft .section-inner,
    body.legal-page .section.section-soft .section-inner p,
    body.legal-page .section.section-soft .section-inner li {
        color: #374151; /* dunkles Grau */
    }

        /* H1: kleiner & sachlicher */
        body.legal-page .section.section-soft .section-inner h1 {
            font-size: 1.8rem;
            margin-bottom: 0.75rem;
        }

        /* H2: Abschnittsüberschriften kompakter */
        body.legal-page .section.section-soft .section-inner h2 {
            font-size: 1.2rem;
            margin-top: 1.8rem;
            margin-bottom: 0.3rem;
        }

        /* H3: noch etwas kleiner */
        body.legal-page .section.section-soft .section-inner h3 {
            font-size: 1rem;
            margin-top: 1.1rem;
            margin-bottom: 0.2rem;
            font-weight: 600;
        }

        /* Fließtext: enger, aber gut lesbar */
        body.legal-page .section.section-soft .section-inner p {
            line-height: 1.55;
            margin-bottom: 0.5rem;
        }

        /* Listen: etwas dichter */
        body.legal-page .section.section-soft .section-inner ul {
            margin: 0.3rem 0 0.8rem 0;
            padding-left: 1.3rem;
        }

            body.legal-page .section.section-soft .section-inner ul li {
                margin-bottom: 0.25rem;
            }

        /* Links im Impressum dezent unterstrichen */
        body.legal-page .section.section-soft .section-inner a {
            text-decoration: underline;
            text-underline-offset: 0.15em;
        }


/* ================= DOKUMENTATION – SLIDER ================= */

.acceptance-slider {
    margin-top: 0.35rem;
}

    .acceptance-slider input[type="range"] {
        width: 100%;
        cursor: pointer;
    }

.slider-scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-top: 0.3rem;
    color: rgba(15,23,42,0.7);
}

.slider-value {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.inline-option {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
}

/*.small-field input {
    width: 80px;
    text-align: center;
}*/
/* ======================================================
   Studie-Interesse: zentriert & breite Desktop-Card
====================================================== */

#study-form .study-contact {
    display: block;
}

#study-form .study-contact-text {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

#study-form .study-form {
    max-width: 800px;
    margin: 0 auto;
}

#study-form .form-row-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
}

    #study-form .form-row-inline .small-field input,
    #study-form .form-row-inline .breed-field input {
        width: 100%;
        box-sizing: border-box;
    }
/* Desktop größer machen */
@media (min-width: 1100px) {
    #study-form .study-form {
        max-width: 900px;
    }
}

/* Buttons & Inputs dürfen Breite nutzen */
#study-form .study-form input,
#study-form .study-form textarea {
    width: 100%;
}

/* ========= ÜBER MICH / ABOUT ========= */

/* Aktiver Navigationslink */
.main-nav a.is-active {
    opacity: 1;
    position: relative;
}

    .main-nav a.is-active::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -0.35rem;
        width: 100%;
        height: 2px;
        border-radius: 999px;
        background: linear-gradient(90deg, var(--indigo-soft), var(--accent-cyan));
    }

/* kleines Label über H1 */
.section-kicker {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    color: #f9fafb;
    margin-bottom: 0.5rem;
}

/* --- HERO-Bereich Über mich --- */
.about-hero {
    padding-top: 7rem; /* wegen fixed Header */
    padding-bottom: 4rem;
    background: radial-gradient(circle at top, #263455 0%, #0b0f18 55%, #050608 100%);
    color: var(--white);
}

/* Container über dem Bild – Referenz für das Overlay */
.about-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative; /* damit .about-hero-text absolut dazu positioniert werden kann */
}

/* Bild zentrieren */
.about-hero-media {
    position: relative;
}

    .about-hero-media img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

/* Textblock auf dem Bild – schmal & weiter rechts */
.about-hero-text {
    position: absolute;
    right: 6%; /* steuert, wie weit nach rechts der Block rückt */
    top: 10%; /* steuert die vertikale Position */
    width: 28%; /* schmaler Textblock */
    max-width: 420px;
    color: var(--white);
}
/* Textblock weiter rechts – About Hero */
.about-hero-text {
    max-width: 420px;
    margin-left: auto;
    padding-right: 1rem;
}

.about-hero-text {
    margin-top: 9rem;
}

    .about-hero-text h1 {
        color: var(--white);
        margin-bottom: 0.8rem;
        font-size: 2.4rem;
    }

    .about-hero-text .section-lead {
        color: rgba(226,232,240,0.98);
        margin-bottom: 1.6rem;
    }

.about-text-intro {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

/* --- Story-Box unter dem Hero --- */
.about-story {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.about-story {
    margin-top: -60px; /* etwas hochziehen */
}

.about-textbox {
    background: var(--white);
    border-radius: 22px;
    padding: 2rem 2.2rem;
    box-shadow: 0 16px 40px rgba(15,23,42,0.12);
    line-height: 1.7;
}

.about-textbox {
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}

/* ===== Responsive Anpassungen Über mich ===== */

@media (max-width: 980px) {
    .about-hero-inner {
        padding: 0 1.5rem;
    }

    /* Auf Tablet/Mobile Text nicht mehr als Overlay,
       sondern unter dem Bild anzeigen */
    .about-hero-text {
        position: static;
        width: 100%;
        max-width: 100%;
        margin-top: 1.8rem;
        text-align: center;
    }

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

@media (max-width: 600px) {
    .about-hero {
        padding-top: 6.5rem;
        padding-bottom: 3rem;
    }

    .about-textbox {
        padding: 1.7rem 1.5rem;
    }
}

/* ==============================
   LOGIN / REGISTRIERUNG
   ============================== */

#auth-box {
    max-width: 480px;
    margin: 0 auto;
}

    /* Buttons nebeneinander sauber ausrichten */
    #auth-box .form-row-inline {
        display: flex;
        gap: 0.75rem;
        align-items: center;
    }

        #auth-box .form-row-inline button {
            flex: 1;
        }

/* Status-Text (Login-Feedback) */
#auth-status {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

    /* Erfolgs- und Fehlermeldungen (optional vorbereitet) */
    #auth-status.success {
        color: #2e7d32; /* ruhiges Grün */
    }

    #auth-status.error {
        color: #c62828; /* dezentes Rot */
    }

/* Logout-Button etwas Abstand geben */
#btn-logout {
    margin-top: 0.75rem;
}
/* Login: btn-secondary auf weißem Card-Hintergrund sichtbar machen */
#auth-box .btn-secondary {
    background: rgba(30,58,138,0.08);
    border: 1px solid rgba(30,58,138,0.35);
    color: var(--indigo-deep);
}

    #auth-box .btn-secondary:hover {
        background: rgba(30,58,138,0.14);
    }

#auth-box .form-row-inline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

/* ==============================
   REGISTRIERUNG INFO MODAL
   ============================== */

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.auth-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
}

.auth-modal-box {
    position: relative;
    max-width: 420px;
    margin: 10vh auto;
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem 1.6rem;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

    .auth-modal-box h3 {
        margin-top: 0;
    }

.auth-modal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
/* ==============================
   FIX: Abstand unter fixem Header
   nur für Auth & Dokumentation
   ============================== */

.page-auth main,
.page-docs main {
    padding-top: 96px; /* ggf. feinjustieren */
}

/* =========================
   Dokumentation – nur diese Seite
   (weil <body class="page-docs">)
========================= */

/* 1) Abstand unter dem fixed/sticky Header, damit nichts abgeschnitten wird */
body.page-docs main {
    padding-top: 110px; /* ggf. 90–140px je nach Header-Höhe */
}

/* Wenn dein Header NICHT fixed ist, kannst du diese Regel wieder löschen.
   Sie schadet aber i.d.R. nicht. */

/* 2) Statusbox optisch konsistent (falls du Inline-Styles reduzieren willst) */
body.page-docs #doc-status-box {
    margin-top: 1rem;
    padding: 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(15, 23, 42, 0.04);
}

body.page-docs #doc-status-text {
    margin-top: 0.35rem;
    line-height: 1.45;
}

/* 3) Select-Feld konsistent (falls Selects bei dir anders gerendert werden) */
body.page-docs select {
    width: 100%;
}


.product-disclaimer{
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(0,0,0,0.12);
  border-left: 4px solid rgba(0,0,0,0.45);
  border-radius: 12px;
  background: rgba(0,0,0,0.03);
}

.product-disclaimer__title{
  margin: 0 0 8px 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.product-disclaimer__text{
  margin: 0 0 10px 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.product-disclaimer__text:last-child{
  margin-bottom: 0;
}
.section-dark .product-disclaimer{
  border-color: rgba(255,255,255,0.18);
  border-left-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
}

.section-dark .product-disclaimer__title,
.section-dark .product-disclaimer__text{
  color: rgba(255,255,255,0.92);
}

/* Disclaimer als "Box" (ähnlich Card-Optik) */
.product-disclaimer{
  padding: 16px 18px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  margin: 0 0 14px 0; /* Abstand zur Aufzählung darunter */
}

.product-disclaimer__title{
  margin: 0 0 8px 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.product-disclaimer__text{
  margin: 0 0 10px 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.product-disclaimer__text:last-child{
  margin-bottom: 0;
}

/* Abstand zwischen B-Heard Textblock und Aufzählung verringern */
.product-meta ul{
  margin-top: 10px;   /* reduziert den "Luft"-Abstand oberhalb der Liste */
  padding-top: 0;
}

/* Optional: falls deine UL standardmäßig sehr viel Abstand hat */
.product-meta ul li{
  margin-bottom: 6px;
}

.product-meta ul li:last-child{
  margin-bottom: 0;
}

/*TRY*/
/* Aufzählung direkt unter B-Heard-Text */
.product-features{
  margin-top: 12px;       /* deutlich enger */
  padding-left: 18px;
}

.product-features li{
  margin-bottom: 6px;
}

.product-features li:last-child{
  margin-bottom: 0;
}

/* Disclaimer als echte Box (Card-Stil wie Hörbarkeit/Sicherheit) */
.disclaimer-card{
  background: #ffffff;
  padding: 20px 22px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.08);
}

.disclaimer-card__title{
  margin: 0 0 10px 0;
  font-size: 1rem;
  font-weight: 700;
}

.disclaimer-card__text{
  margin: 0 0 10px 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.disclaimer-card__text:last-child{
  margin-bottom: 0;
}
/* Disclaimer-Box: greift für beide Varianten (disclaimer-card ODER product-disclaimer) */
#section-products .product-meta .disclaimer-card,
#section-products .product-meta .product-disclaimer{
  display: block !important;
  width: 100%;
  box-sizing: border-box;

  background: #ffffff !important;
  padding: 20px 22px !important;
  border-radius: 18px !important;

  border: 1px solid rgba(0,0,0,0.10) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.10) !important;

  margin: 0 !important;
}

/* Typografie im Disclaimer */
#section-products .product-meta .disclaimer-card__title,
#section-products .product-meta .product-disclaimer__title{
  margin: 0 0 10px 0 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

#section-products .product-meta .disclaimer-card__text,
#section-products .product-meta .product-disclaimer__text{
  margin: 0 0 10px 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.45 !important;
}

#section-products .product-meta .disclaimer-card__text:last-child,
#section-products .product-meta .product-disclaimer__text:last-child{
  margin-bottom: 0 !important;
}
.site-footer{
  padding:2rem;
  border-top:1px solid #eee;
  text-align:center;
}

.site-footer .social{
  margin-top:1rem;
}

.site-footer .social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  text-decoration:none;
}
.acceptance-slider {
    width: 100%;
}

.acceptance-slider input[type="range"] {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Wichtig: Track ohne Innenabstand */
.acceptance-slider input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
}

.acceptance-slider input[type="range"]::-moz-range-track {
    width: 100%;
}

/* Skala exakt unter dem Track ausrichten */
.slider-scale {
    display: flex;
    justify-content: space-between;
    padding: 0 10px; /* halbe Thumb-Breite */
    font-size: 0.85rem;
}

/* ========================= SHOP LAYOUT ========================= */


@supports (not (color: red)) {
/* .shop-header {
  background: rgba(11,19,42,0.95);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.shop-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shop-logo {
  height: 60px;
}

.shop-nav {
  display: flex;
  gap: 1.2rem;
}

.shop-nav a {
  color: #dce3ef;
  font-weight: 500;
}

.shop-nav a.active {
  color: var(--accent-cyan);
}

/* SHOP HERO 
.shop-hero {
  padding: 5.5rem 1.5rem 4rem;
  background: radial-gradient(circle at top, #2c3344 0%, #11141b 65%);
  text-align: center;
  color: var(--white);
}

.shop-hero-inner h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: .7rem;
}

/* GRID 
.shop-grid {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  display: grid;
  gap: 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* PRODUCT CARD 
.product-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 12px 26px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  gap: .8rem;
  text-align: left;
}

.product-img.placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #d7dce6, #bfc7d6);
  border-radius: 12px;
}

.product-desc {
  font-size: .95rem;
  color: #3a3f4b;
}

.product-price {
  font-weight: 600;
}

/* BUTTON 
.btn-product {
  margin-top: auto;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  background: var(--accent-cyan);
  color: #fff;
  text-align: center;
  font-weight: 600;
}

.btn-product.disabled {
  background: rgba(0,0,0,.08);
  color: #666;
  pointer-events: none;
}

/* FOOTER 
.shop-footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: .85rem;
  color: #777;
}
}
 */
