/*
Theme Name: SchnellSauber Premium
Theme URI: https://schnellsauber.de
Description: Ultra-Premium child theme for SchnellSauber
Author: SchnellSauber
Version: 2.0.0
*/

/* ==========================================================================
   1. Ultra-Premium Variables
   ========================================================================== */
:root {
    /* Palette: Deep Navy & Electric Gold */
    --c-bg-body: #0F172A;
    /* Slate 900 */
    --c-bg-surface: #1E293B;
    /* Slate 800 */
    --c-primary: #3B82F6;
    /* Electric Blue */
    --c-primary-glow: rgba(59, 130, 246, 0.5);
    --c-accent: #F59E0B;
    /* Gold */
    --c-text-main: #F8FAFC;
    /* Slate 50 */
    --c-text-muted: #94A3B8;
    /* Slate 400 */

    /* Glassmorphism */
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --blur-val: 12px;

    /* Typography */
    --font-display: 'Manrope', sans-serif;
    /* Modern, geometric */
    --font-body: 'Inter', sans-serif;
    /* Clean, readable */

    /* Spacing & Radius */
    --radius-xl: 24px;
    --radius-lg: 16px;
    --container-width: 1200px;
}

/* ==========================================================================
   2. Global Reset & Base
   ========================================================================== */
body {
    background-color: var(--c-bg-body);
    color: var(--c-text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--c-text-main);
    letter-spacing: -0.02em;
    font-weight: 700;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, #94A3B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--c-text-muted);
    font-size: 1.125rem;
}

a {
    color: var(--c-primary);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: var(--c-accent);
    text-shadow: 0 0 8px var(--c-primary-glow);
}

/* ==========================================================================
   3. Components
   ========================================================================== */

/* Glass Cards */
.card-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-val));
    -webkit-backdrop-filter: blur(var(--blur-val));
    border: var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-glass:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Premium Buttons */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--c-primary) 0%, #2563EB 100%);
    color: white !important;
    border-radius: 99px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px -10px var(--c-primary-glow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 30px -10px var(--c-primary-glow);
}

.btn-premium:hover::after {
    transform: translateX(100%);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white !important;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* ==========================================================================
   4. Hero Section (Cinematic)
   ========================================================================== */
.hero-wrapper {
    position: relative;
    min-height: 85vh;
    /* Almost full screen */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.1);
    /* Zoom effect prepared */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.4));
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    max-width: 650px;
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--c-primary);
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ==========================================================================
   5. Sections & Grid
   ========================================================================== */
.section-premium {
    padding: 8rem 0;
    position: relative;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-icon-wrap {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--c-primary);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   6. Location Search Widget (Premium)
   ========================================================================== */
.plz-search-premium {
    background: rgba(255, 255, 255, 0.05);
    /* Very subtle light */
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.plz-input-group {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.plz-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    transition: 0.3s;
}

.plz-input:focus {
    outline: none;
    border-color: var(--c-primary);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* ==========================================================================
   7. Form Wizard (Typeform style)
   ========================================================================== */
.wizard-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   8. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-wrapper {
        min-height: auto;
        padding: 6rem 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    .plz-input-group {
        flex-direction: column;
    }
}