/* ============================================================
   Design-Variante "Modern" (motion)
   Petrol/Amber, weiße Fläche, lebendige aber dezente Bewegung:
   Karten heben sich, Logos färben und wachsen, Links animieren.
   Wird NACH style.css geladen und überschreibt gezielt.
   ============================================================ */

:root[data-theme="motion"] {
    --grey: #0d3b43;
    --grey-dark: #092b31;
    --grey-border: #9db4b9;
    --grey-line: #dbe4e6;
    --grey-soft: #eef4f4;
    --purple: #0f5561;
    --purple-dark: #0a3d46;
    --magenta: #b45309;
    --radius: 14px;
    --shadow-soft:
        0 1px 2px rgba(10, 61, 70, .06),
        0 10px 24px -8px rgba(10, 61, 70, .18);
    --shadow-lift:
        0 4px 8px rgba(10, 61, 70, .08),
        0 18px 38px -10px rgba(10, 61, 70, .28);
}

[data-theme="motion"] body { background: var(--white); }

/* Sanfte Grundbewegung überall dort, wo interagiert wird */
/* Timing-Kurve nach Brille-54-Vorbild: schneller Start, weiches Ausrollen */
[data-theme="motion"] .card,
[data-theme="motion"] .review-card,
[data-theme="motion"] .btn,
[data-theme="motion"] .rating-badge,
[data-theme="motion"] .brand-grid img,
[data-theme="motion"] .link-cta,
[data-theme="motion"] .header-phone {
    transition: transform .25s cubic-bezier(.02, .01, .47, 1), box-shadow .25s cubic-bezier(.02, .01, .47, 1), background-color .2s ease, color .2s ease, filter .3s ease;
}

/* Karten heben sich beim Überfahren */
[data-theme="motion"] .card:hover,
[data-theme="motion"] .review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

/* Buttons: Anheben + tieferer Schatten */
[data-theme="motion"] .btn-primary { box-shadow: 0 6px 16px -6px rgba(15, 85, 97, .5); }
[data-theme="motion"] .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(15, 85, 97, .55);
}
[data-theme="motion"] .header-phone:hover { transform: translateY(-1px); }

/* Navigation: Linie wächst von links (Technik wie bei ic! berlin) */
[data-theme="motion"] .main-nav a {
    border-bottom: none;
    background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0 2px;
    transition: background-size .3s ease;
    padding-bottom: .35rem;
}
[data-theme="motion"] .main-nav a:hover { background-size: 100% 2px; }

/* Textlinks: gleicher Effekt in Petrol */
[data-theme="motion"] .link-cta {
    background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0 2px;
    transition: background-size .3s ease;
}
[data-theme="motion"] .link-cta:hover { text-decoration: none; background-size: 100% 2px; }

/* Marken-Logos: farbig + leicht vergrößert beim Überfahren */
[data-theme="motion"] .brand-grid li:hover img { transform: scale(1.1); }

/* Hero-Bild: dezenter Zoom im Rahmen */
[data-theme="motion"] .hero-media { overflow: hidden; }
[data-theme="motion"] .hero-media img { transition: transform 6s ease; }
[data-theme="motion"] .hero:hover .hero-media img { transform: scale(1.05); }

/* Eyebrow mit Punkt-Akzent */
[data-theme="motion"] .eyebrow::before { content: "● "; font-size: .7em; vertical-align: .15em; }

/* FAQ-Balken in Amber als zweiter Akzent */
[data-theme="motion"] .faq-item h3 { border-left-color: var(--magenta); }

/* ---------- Scroll-Reveal: sachliches Einfaden von unten ---------- */
.anim[data-theme="motion"] .card,
.anim[data-theme="motion"] .usp,
.anim[data-theme="motion"] .review-card,
.anim[data-theme="motion"] .faq-item,
.anim[data-theme="motion"] .about-img,
.anim[data-theme="motion"] .about-text {
    opacity: 0; transform: translateY(30px);
}
.anim[data-theme="motion"] .in-view {
    opacity: 1; transform: none;
    transition: opacity .5s ease-out, transform .55s cubic-bezier(.02, .01, .47, 1);
}
.anim[data-theme="motion"] .card-grid > .in-view:nth-child(2),
.anim[data-theme="motion"] .usp-grid > .in-view:nth-child(2) { transition-delay: .07s; }
.anim[data-theme="motion"] .card-grid > .in-view:nth-child(3),
.anim[data-theme="motion"] .usp-grid > .in-view:nth-child(3) { transition-delay: .14s; }
.anim[data-theme="motion"] .card-grid > .in-view:nth-child(4) { transition-delay: .21s; }
.anim[data-theme="motion"] .card-grid > .in-view:nth-child(5) { transition-delay: .28s; }
.anim[data-theme="motion"] .card-grid > .in-view:nth-child(6) { transition-delay: .35s; }

/* Marken-Laufleiste kommt aus der Basis (style.css) */

/* Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
    [data-theme="motion"] * { transition: none !important; animation: none !important; }
    [data-theme="motion"] .card:hover,
    [data-theme="motion"] .review-card:hover,
    [data-theme="motion"] .btn-primary:hover { transform: none; }
    [data-theme="motion"] .hero:hover .hero-media img { transform: none; }
}
