/* ============================================================
   MyMobile.Service – Haupt-CSS
   Farben werden dynamisch per Admin-Panel gesetzt.
   CSS-Variablen können in den Site-Einstellungen angepasst werden.
   ============================================================ */

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

:root {
    /* Primärfarben — werden vom Admin überschrieben */
    --color-primary:        #2563EB;
    --color-primary-dark:   #1e40af;
    --color-gradient-from:  #1e3a8a;
    --color-gradient-to:    #3b82f6;
    --color-accent:         #f59e0b;
    --color-text:           #111827;
    --color-bg:             #ffffff;
    --color-bg-alt:         #f8fafc;

    /* Abgeleitete Werte (nicht vom Admin änderbar) */
    --text-muted:           rgba(17,24,39,.5);
    --border:               #e5e7eb;
    --border-light:         rgba(255,255,255,.15);
    --radius:               10px;
    --radius-lg:            18px;
    --radius-xl:            24px;
    --shadow:               0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.05);
    --shadow-md:            0 4px 16px rgba(0,0,0,.1), 0 1px 4px rgba(0,0,0,.06);
    --shadow-lg:            0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
    --transition:           .2s ease;
    --font:                 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width:            1220px;

    /* Gradient-Shortcuts */
    --gradient:             linear-gradient(135deg, var(--color-gradient-from), var(--color-gradient-to));
    --gradient-subtle:      linear-gradient(135deg, var(--color-gradient-from) 0%, var(--color-primary) 100%);

    /* Banner Presets */
    --banner-critical-bg:   #dc2626;
    --banner-warning-bg:    #d97706;
    --banner-info-bg:       var(--color-primary);
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--color-text); background: var(--color-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
address { font-style: normal; }
svg  { fill: currentColor; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ============================================================
   ANNOUNCEMENT BANNER
   ============================================================ */
.site-banner-rotator { position: relative; }
.site-banner {
    width: 100%; padding: .7rem 0; font-size: .9rem;
    font-weight: 600; text-align: center; color: #fff;
    position: relative; overflow: hidden; letter-spacing: .1px;
}
/* Rotation: nur das aktuelle Banner sichtbar, mit sanftem Einblenden */
.site-banner-rotator .site-banner { display: none; }
.site-banner-rotator .site-banner.is-current { display: block; animation: bannerIn .55s cubic-bezier(.2,.8,.2,1); }
@keyframes bannerIn { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }

/* Lebendigere Presets mit Verlauf + dezentem Glanz */
.site-banner--critical { background: linear-gradient(100deg, #b91c1c, #ef4444 55%, #dc2626); }
.site-banner--warning  { background: linear-gradient(100deg, #b45309, #f59e0b 55%, #d97706); }
.site-banner--info     { background: linear-gradient(100deg, #1e3a8a, #3b82f6 55%, #2563eb); }
.site-banner::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.16) 50%, transparent 65%);
    transform: translateX(-120%); animation: bannerShine 7s ease-in-out infinite;
}
.site-banner .container { display: flex; align-items: center; justify-content: center; gap: .6rem; flex-wrap: wrap; position: relative; z-index: 1; }
.banner-icon { display: inline-flex; width: 17px; height: 17px; flex-shrink: 0; opacity: .95; }
.banner-icon svg { width: 100%; height: 100%; fill: currentColor; }
.banner-message { text-shadow: 0 1px 1px rgba(0,0,0,.12); }
.banner-link {
    color: #fff; font-weight: 700; text-decoration: none;
    padding: .15rem .6rem; border-radius: 999px;
    background: rgba(255,255,255,.18); transition: background .15s;
}
.banner-link:hover { background: rgba(255,255,255,.3); text-decoration: none; }
@keyframes bannerShine { 0%, 60%, 100% { transform: translateX(-120%); } 80% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) {
    .site-banner::after { animation: none; display: none; }
    .site-banner-rotator .site-banner.is-current { animation: none; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--gradient);
    border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 2px 12px rgba(30,58,138,.25);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }

.site-logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; }
.site-logo img { height: 50px; width: auto; }
/* Logo enthält den Schriftzug bereits – Text-Span ausblenden (bleibt für Screenreader) */
.logo-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.main-nav { display: flex; gap: .15rem; margin-left: auto; }
.nav-link {
    padding: .45rem .9rem; border-radius: 8px;
    font-size: .9rem; color: rgba(255,255,255,.85); font-weight: 500;
    transition: all var(--transition); white-space: nowrap;
}
.nav-link:hover { background: rgba(255,255,255,.15); color: #fff; text-decoration: none; }
.nav-link.active {
    background: rgba(255,255,255,.22);
    color: #fff; font-weight: 600;
}

.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-phone {
    display: flex; align-items: center; gap: .4rem;
    font-size: .82rem; color: #fff; font-weight: 600; white-space: nowrap;
    padding: .3rem .75rem; border-radius: 6px;
    background: rgba(255,255,255,.15);
    transition: background var(--transition);
}
.header-phone svg { width: 14px; height: 14px; flex-shrink: 0; fill: currentColor; }
.header-phone:hover { background: rgba(255,255,255,.28); text-decoration: none; }

.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: .25rem; flex-direction: column; gap: 5px; }
.mobile-menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .65rem 1.4rem; border-radius: 10px;
    font-size: .9rem; font-weight: 700; cursor: pointer;
    border: 2px solid transparent; transition: all var(--transition);
    text-decoration: none; white-space: nowrap; letter-spacing: .01em;
    position: relative; overflow: hidden;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn-primary {
    background: var(--gradient);
    color: #fff; border-color: transparent;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--color-primary) 40%, transparent);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--color-primary) 50%, transparent);
    color: #fff; text-decoration: none;
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
    background: transparent; color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline:hover {
    background: var(--gradient); color: #fff; border-color: transparent;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--color-primary) 30%, transparent);
    text-decoration: none;
}
.btn-ghost     { background: transparent; color: var(--text-muted); border-color: transparent; }
.btn-ghost:hover { background: var(--color-bg-alt); text-decoration: none; color: var(--color-text); }
.btn-lg  { padding: .85rem 1.85rem; font-size: .975rem; border-radius: 12px; }
.btn-sm  { padding: .35rem .85rem; font-size: .82rem; border-radius: 7px; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative; min-height: 540px; display: flex; align-items: center;
    background: var(--gradient); overflow: hidden;
}
/* Subtiles Muster-Overlay */
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-bg {
    position: absolute; inset: 0;
    background: url('/assets/img/hero-bg.jpg') center/cover no-repeat;
    opacity: .08; mix-blend-mode: overlay;
}
/* Dekoratives Element rechts */
.hero::after {
    content: ''; position: absolute; right: -100px; top: -100px;
    width: 500px; height: 500px; border-radius: 50%;
    background: rgba(255,255,255,.06);
    pointer-events: none;
}
.hero-inner  {
    position: relative; z-index: 1; padding: 5rem 1.5rem;
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
}
.hero-content { max-width: 640px; }

/* Hero-Bild rechts */
.hero-visual { position: relative; }
.hero-img-frame {
    border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.15);
    aspect-ratio: 4/3; background: rgba(255,255,255,.06);
}
.hero-img-frame .slot-img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-badge {
    position: absolute; bottom: -18px; left: -18px;
    background: var(--color-bg); color: var(--color-text);
    border-radius: 14px; padding: .75rem 1.1rem;
    box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
    border: 1px solid var(--border);
}
.hero-img-badge strong { font-size: 1.3rem; font-weight: 900; line-height: 1; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-img-badge span { font-size: .72rem; color: var(--text-muted); font-weight: 600; }

/* Bild-Platzhalter (universell) – verschwindet sobald echtes Bild da ist */
.img-placeholder {
    width: 100%; height: 100%; min-height: 160px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
    background:
        repeating-linear-gradient(45deg, rgba(127,127,127,.06) 0 12px, transparent 12px 24px),
        color-mix(in srgb, var(--color-primary) 6%, transparent);
    color: var(--text-muted); text-align: center; padding: 1.5rem;
}
.img-placeholder svg { width: 42px; height: 42px; opacity: .5; }
.img-placeholder span { font-size: .85rem; font-weight: 600; }
.img-placeholder small { font-size: .68rem; opacity: .6; font-family: monospace; }
/* Im dunklen Hero heller darstellen */
.hero-img-frame .img-placeholder { color: rgba(255,255,255,.6); background: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px), rgba(255,255,255,.04); }
.slot-img { display: block; }

.hero-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(255,255,255,.15); color: #fff;
    border: 1px solid rgba(255,255,255,.25); border-radius: 50px;
    padding: .35rem 1rem; font-size: .78rem; font-weight: 600;
    letter-spacing: .6px; text-transform: uppercase; margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}
.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.75rem); color: #fff;
    line-height: 1.08; font-weight: 900; letter-spacing: -.5px; margin-bottom: 1rem;
}
.hero-accent { opacity: .75; }
.hero-sub { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 2.5rem; line-height: 1.65; }

.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-ctas .btn-primary {
    background: #fff; color: var(--color-primary);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.hero-ctas .btn-primary:hover { background: rgba(255,255,255,.92); box-shadow: 0 6px 24px rgba(0,0,0,.2); }
.hero-ctas .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.1); }
.hero-ctas .btn-outline:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.8); }

.hero-phones { display: flex; flex-direction: column; gap: .5rem; }
.hero-phone-link {
    display: inline-flex; align-items: center; gap: .5rem;
    color: rgba(255,255,255,.75); font-size: .875rem;
    transition: color var(--transition);
}
.hero-phone-link svg { width: 14px; height: 14px; }
.hero-phone-link:hover { color: #fff; text-decoration: none; }

/* Hero wave */
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 60px; }

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-section { padding: 1.5rem 0; background: var(--color-bg); border-bottom: 1px solid var(--border); }
.trust-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem; }
.trust-item { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--text-muted); }
.trust-item svg { width: 16px; height: 16px; color: var(--color-primary); flex-shrink: 0; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-section { padding: 5.5rem 0; background: var(--color-bg); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.service-card {
    padding: 2rem; border-radius: var(--radius-lg); background: var(--color-bg-alt);
    border: 1.5px solid var(--border); transition: all .25s ease;
    display: flex; flex-direction: column; gap: .6rem;
}
.service-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-icon {
    width: 50px; height: 50px; background: var(--gradient);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    color: #fff; flex-shrink: 0;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--color-primary) 35%, transparent);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--color-text); letter-spacing: -.2px; }
.service-card p  { font-size: .875rem; color: var(--text-muted); line-height: 1.7; flex: 1; }
.service-link { font-size: .875rem; font-weight: 700; color: var(--color-primary); margin-top: .25rem; }
.service-link:hover { text-decoration: underline; }

/* Prozess Note */
.process-note {
    display: flex; align-items: flex-start; gap: .75rem;
    margin-top: 3rem; padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,.1); border-radius: var(--radius-lg);
    font-size: .875rem; color: rgba(255,255,255,.8);
    border: 1px solid rgba(255,255,255,.15);
    position: relative;
}
.process-note + .process-note { margin-top: .75rem; }
.process-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .1rem; color: rgba(255,255,255,.7); }
.process-note span { min-width: 0; }
.process-note strong { color: #fff; white-space: nowrap; }

/* ============================================================
   MAIL-IN (erweitert)
   ============================================================ */
.mailin-layout { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 3rem; flex-wrap: wrap; }
.mailin-icon-col { display: flex; align-items: center; justify-content: center; }
.mailin-icon {
    width: 80px; height: 80px; background: rgba(255,255,255,.15);
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    color: #fff; border: 1px solid rgba(255,255,255,.2);
}
.mailin-icon svg { width: 40px; height: 40px; }
.mailin-badge { display: inline-block; background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.25); border-radius: 50px; padding: .25rem .85rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; margin-bottom: .6rem; }
.mailin-text h2 { font-size: 1.7rem; font-weight: 900; margin-bottom: .5rem; letter-spacing: -.3px; color: #fff; }
.mailin-text h2 span { opacity: .75; }
.mailin-text p  { color: rgba(255,255,255,.75); margin-bottom: 1.25rem; }
.mailin-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.mailin-stat { display: flex; flex-direction: column; }
.mailin-stat strong { font-size: 1.4rem; font-weight: 900; color: #fff; line-height: 1.1; }
.mailin-stat span   { font-size: .75rem; color: rgba(255,255,255,.6); }
.mailin-cta-col { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.mailin-cta-col .btn-primary { background: #fff; color: var(--color-primary); border-color: transparent; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.mailin-cta-col .btn-primary:hover { background: rgba(255,255,255,.92); }
.mailin-cta-col small { font-size: .75rem; color: rgba(255,255,255,.55); }

/* ============================================================
   WERTGARANTIE
   ============================================================ */
.wertgarantie-section { padding: 5.5rem 0; background: var(--color-bg-alt); }
.wertgarantie-layout { display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center; }
.wg-badge { display: inline-block; background: color-mix(in srgb, var(--color-primary) 12%, transparent); color: var(--color-primary); border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); border-radius: 50px; padding: .25rem .85rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; margin-bottom: .75rem; }
.wertgarantie-text h2 { font-size: 1.9rem; font-weight: 900; margin-bottom: .75rem; letter-spacing: -.3px; color: var(--color-text); }
.wertgarantie-text h2 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.wertgarantie-text p  { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.7; max-width: 500px; }
/* 3 für 2 Aktions-Box */
.wg-action {
    display: flex; align-items: center; gap: 1rem;
    background: linear-gradient(135deg, var(--color-accent), color-mix(in srgb, var(--color-accent) 70%, #000));
    border-radius: var(--radius-lg); padding: 1rem 1.25rem; margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px color-mix(in srgb, var(--color-accent) 35%, transparent);
}
.wg-action-tag {
    flex-shrink: 0; background: #fff; color: #c2410c;
    font-weight: 900; font-size: 1.05rem; line-height: 1;
    padding: .55rem .7rem; border-radius: 10px; text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.wg-action-text { color: #fff; font-size: .875rem; line-height: 1.5; }
.wg-action-text strong { display: block; font-size: .975rem; font-weight: 800; margin-bottom: .1rem; }
.wg-features { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.75rem; }
.wg-features li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--color-text); }
.wg-features svg { width: 16px; height: 16px; color: var(--color-primary); flex-shrink: 0; }
.wertgarantie-visual { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.wg-shield {
    width: 140px; height: 140px; background: var(--gradient);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; box-shadow: 0 8px 32px color-mix(in srgb, var(--color-primary) 40%, transparent);
}
.wg-shield svg { width: 70px; height: 70px; }
.wg-info-cards { display: flex; flex-direction: column; gap: .6rem; width: 100%; }
.wg-info-card { background: var(--color-bg); border: 1.5px solid var(--border); border-radius: var(--radius); padding: .6rem 1rem; text-align: center; }
.wg-info-card strong { display: block; font-size: .875rem; font-weight: 800; color: var(--color-text); }
.wg-info-card span   { font-size: .78rem; color: var(--text-muted); }

/* ============================================================
   BRAND BUTTONS (GIF)
   ============================================================ */
.brand-buttons-section { padding: 5.5rem 0; background: var(--color-bg-alt); }
.section-title {
    font-size: 1.9rem; font-weight: 900; text-align: center; margin-bottom: .6rem;
    letter-spacing: -.4px; color: var(--color-text);
}
.section-title-gradient {
    background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-sub { text-align: center; color: var(--text-muted); margin-bottom: 3rem; font-size: .975rem; }

.brand-buttons-grid {
    display: grid; gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
}
.brand-button {
    display: flex; flex-direction: column; align-items: center;
    background: var(--color-bg); border: 1.5px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem; text-decoration: none; color: var(--color-text);
    transition: all .25s cubic-bezier(.4,0,.2,1); box-shadow: var(--shadow);
    cursor: pointer; position: relative; overflow: hidden;
}
.brand-button::before {
    content: ''; position: absolute; inset: 0;
    background: var(--gradient); opacity: 0;
    transition: opacity .25s ease;
}
.brand-button:hover {
    border-color: var(--color-primary); box-shadow: var(--shadow-lg);
    transform: translateY(-4px); text-decoration: none;
}
.brand-button:hover::before { opacity: .04; }
.brand-button-gif { width: 100%; max-height: 140px; overflow: hidden; border-radius: 10px; margin-bottom: 1.1rem; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.brand-button-gif img { width: 100%; height: 140px; object-fit: contain; }
.brand-button-placeholder { width: 100%; height: 100px; display: flex; align-items: center; justify-content: center; background: var(--color-bg-alt); border-radius: 10px; color: var(--border); }
.brand-button-placeholder svg { width: 48px; height: 48px; }
.brand-button-label { font-weight: 800; font-size: 1rem; text-align: center; color: var(--color-text); position: relative; z-index: 1; letter-spacing: -.2px; }

/* ============================================================
   FEATURES
   ============================================================ */
.features-section { padding: 5.5rem 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.feature-card {
    padding: 2rem; border-radius: var(--radius-lg);
    background: var(--color-bg); border: 1.5px solid var(--border);
    transition: all .25s ease; box-shadow: var(--shadow);
    position: relative; overflow: hidden;
}
.feature-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient); opacity: 0; transition: opacity .25s ease;
}
.feature-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-2px); }
.feature-card:hover::after { opacity: 1; }
.feature-icon {
    width: 48px; height: 48px;
    background: var(--gradient); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.1rem; color: #fff;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--color-primary) 30%, transparent);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: .45rem; color: var(--color-text); letter-spacing: -.2px; }
.feature-card p  { color: var(--text-muted); font-size: .875rem; line-height: 1.7; }

/* ============================================================
   PROZESS
   ============================================================ */
.process-section { padding: 5.5rem 0; background: var(--gradient); position: relative; overflow: hidden; }
.process-section::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.process-section .section-title { color: #fff; position: relative; }
.process-section .section-sub   { color: rgba(255,255,255,.65); position: relative; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.5rem; margin-top: 3rem; position: relative; }
.process-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-number {
    width: 44px; height: 44px; min-width: 44px; border-radius: 50%;
    background: rgba(255,255,255,.15); color: #fff;
    border: 2px solid rgba(255,255,255,.3);
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.step-content h3 { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: .4rem; letter-spacing: -.2px; }
.step-content p  { color: rgba(255,255,255,.7); font-size: .875rem; line-height: 1.7; }

/* ============================================================
   MAIL-IN BANNER
   ============================================================ */
.mailin-banner {
    padding: 4.5rem 0;
    background: var(--gradient);
    position: relative; overflow: hidden;
}
/* dezentes Muster-Overlay wie Hero/Prozess */
.mailin-banner::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.mailin-banner .container { position: relative; }

/* ============================================================
   STANDORTE (HOMEPAGE)
   ============================================================ */
.locations-section { padding: 5.5rem 0; }
.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.location-card {
    padding: 2rem; border-radius: var(--radius-lg); border: 1.5px solid var(--border);
    background: var(--color-bg); box-shadow: var(--shadow);
    transition: all .25s ease; position: relative; overflow: hidden;
}
.location-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--gradient);
}
.location-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.location-card-img { position: relative; margin: -2rem -2rem 1.25rem; aspect-ratio: 16/9; overflow: hidden; background: var(--color-bg-alt); }
/* Partner-Badge (Franchise) */
.partner-badge {
    position: absolute; top: .75rem; right: .75rem; z-index: 2;
    background: var(--gradient); color: #fff;
    padding: .25rem .7rem; border-radius: 50px;
    font-size: .72rem; font-weight: 800; letter-spacing: .3px;
    text-transform: uppercase; box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.partner-badge--inline {
    position: static; display: inline-block; vertical-align: middle;
    margin-left: .4rem; box-shadow: none; font-size: .65rem; padding: .15rem .55rem;
}
.location-card-img .slot-img { width: 100%; height: 100%; object-fit: cover; }
.location-card-img .img-placeholder { min-height: 0; height: 100%; }
.location-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--color-text); margin-bottom: .5rem; }
.location-card address { color: var(--text-muted); font-size: .875rem; margin-bottom: 1rem; line-height: 1.65; }
.location-contacts { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; }
.contact-link { display: flex; align-items: center; gap: .45rem; font-size: .875rem; color: var(--color-text); }
.contact-link svg { width: 15px; height: 15px; color: var(--color-primary); flex-shrink: 0; }
.contact-link:hover { color: var(--color-primary); text-decoration: none; }

/* ============================================================
   PAGE HERO (klein)
   ============================================================ */
.page-hero { background: var(--gradient); color: #fff; padding: 3.75rem 0; position: relative; overflow: hidden; }
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: .5rem; letter-spacing: -.3px; }
.page-hero p  { color: rgba(255,255,255,.7); }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: .85rem; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.breadcrumb a:hover { color: #fff; text-decoration: none; }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* ============================================================
   REPARATUREN-ÜBERSICHT
   ============================================================ */
.repair-overview { padding: 4rem 0; }
.manufacturer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.25rem; }
.manufacturer-card {
    display: flex; flex-direction: column;
    border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem;
    text-decoration: none; color: var(--color-text); background: var(--color-bg);
    box-shadow: var(--shadow); transition: all .25s ease; position: relative; overflow: hidden;
}
.manufacturer-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient); transform: scaleX(0); transform-origin: left;
    transition: transform .3s ease;
}
.manufacturer-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); text-decoration: none; }
.manufacturer-card:hover::after { transform: scaleX(1); }
.mfr-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.mfr-card-header h2 { font-size: 1.2rem; font-weight: 800; color: var(--color-text); letter-spacing: -.2px; }
.device-count {
    font-size: .75rem; color: var(--color-primary); background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    padding: .2rem .55rem; border-radius: 50px; font-weight: 700;
}
.device-preview-list { list-style: none; margin-bottom: 1rem; flex: 1; }
.device-preview-list li { padding: .28rem 0; font-size: .875rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.device-preview-list li:last-child { border-bottom: none; }
.device-preview-list .more-items { color: var(--color-primary); font-weight: 700; }
.mfr-card-footer { color: var(--color-primary); font-weight: 700; font-size: .875rem; }
.not-found-hint { margin-top: 3.5rem; padding: 3rem 2rem; background: var(--color-bg-alt); border-radius: var(--radius-xl); text-align: center; border: 2px dashed var(--border); }
.not-found-hint h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: .5rem; }
.not-found-hint p  { color: var(--text-muted); margin-bottom: 1.25rem; }
.hint-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   GERÄTELISTE
   ============================================================ */
.device-list-section { padding: 4rem 0; }
.device-group { margin-bottom: 3.5rem; }
.group-title {
    font-size: 1.2rem; font-weight: 800; color: var(--color-text);
    margin-bottom: 1.5rem; display: flex; align-items: center; gap: .75rem;
    letter-spacing: -.2px;
}
.group-title::before {
    content: ''; width: 4px; height: 1.2em; border-radius: 2px;
    background: var(--gradient); flex-shrink: 0;
}
.device-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.device-card {
    display: flex; flex-direction: column;
    border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1rem;
    text-decoration: none; color: var(--color-text); background: var(--color-bg);
    transition: all .25s ease; box-shadow: var(--shadow);
}
.device-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.device-card-img { aspect-ratio: 1; border-radius: 8px; overflow: hidden; margin-bottom: .75rem; background: var(--color-bg-alt); display: flex; align-items: center; justify-content: center; }
.device-card-img img { width: 100%; height: 100%; object-fit: contain; }
/* Echte (nicht-transparente) Produktbilder auf Weiß statt grauer Platzhalter-Fläche */
.device-card-img.has-image { background: #fff; }
.device-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--border); }
.device-img-placeholder svg { width: 40px; height: 40px; }
.device-card-info { flex: 1; }
.device-card-info h3 { font-size: .875rem; font-weight: 700; margin-bottom: .25rem; letter-spacing: -.1px; }
.price-from  { font-size: .82rem; color: var(--color-primary); font-weight: 700; }
.price-on-request { font-size: .78rem; color: var(--text-muted); }
.device-card-arrow { margin-top: .5rem; color: var(--color-primary); font-size: 1rem; }

/* ============================================================
   GERÄT DETAIL
   ============================================================ */
.device-detail-section { padding: 4rem 0; }
.device-detail-layout { display: grid; grid-template-columns: 300px 1fr; gap: 3.5rem; }
.device-detail-img {
    border-radius: var(--radius-lg); border: 1.5px solid var(--border);
    padding: 1.75rem; background: var(--color-bg-alt);
    margin-bottom: 1.5rem; display: flex; align-items: center;
    justify-content: center; min-height: 260px;
}
.device-detail-img img { max-height: 280px; object-fit: contain; }
.device-detail-img.has-image { background: #fff; }
.device-detail-img--placeholder { flex-direction: column; gap: .5rem; text-align: center; }
.device-detail-img--placeholder svg { width: 80px; height: 80px; color: var(--border); }
.device-detail-img--placeholder span { font-size: .85rem; color: var(--text-muted); }
.device-cta-box {
    background: var(--color-bg-alt); border-radius: var(--radius-lg);
    padding: 1.5rem; border: 1.5px solid var(--border);
}
.device-cta-box h3 { font-size: 1rem; font-weight: 800; margin-bottom: .35rem; }
.device-cta-box p  { font-size: .85rem; color: var(--text-muted); margin-bottom: 1rem; }
.device-cta-box .btn { margin-bottom: .5rem; }
.device-detail-prices-col h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: 1.5rem; letter-spacing: -.3px; }
.repair-price-list { border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--border); }
.repair-price-row { display: flex; justify-content: space-between; align-items: center; padding: .9rem 1.35rem; border-bottom: 1px solid var(--border); }
.repair-price-row:last-child { border-bottom: none; }
.repair-price-row:nth-child(even) { background: var(--color-bg-alt); }
.repair-price-name { font-weight: 500; font-size: .9rem; }
.price-tag { font-weight: 800; font-size: 1rem; color: var(--color-primary); }
.price-note { font-size: .78rem; color: var(--text-muted); font-weight: 400; margin-right: .25rem; }
.price-info-box {
    display: flex; gap: .75rem; padding: 1rem 1.35rem;
    background: color-mix(in srgb, var(--color-primary) 6%, var(--color-bg));
    border-radius: var(--radius); margin-top: 1rem;
    font-size: .85rem; color: var(--color-primary);
    border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
}
.price-info-box svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: .1rem; }

/* ============================================================
   ÖFFNUNGSZEITEN
   ============================================================ */
.hours-section { padding: 4rem 0; }
.locations-hours-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.location-hours-card { border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.location-hours-header { background: var(--gradient); color: #fff; padding: 1.4rem 1.5rem; }
.location-hours-header h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: .25rem; }
.location-hours-header address { font-size: .82rem; color: rgba(255,255,255,.7); }
.hours-display-table { width: 100%; border-collapse: collapse; }
.hours-display-table th, .hours-display-table td { padding: .75rem 1.35rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .875rem; }
.hours-display-table th { font-weight: 700; width: 130px; color: var(--color-text); }
.today-row { background: color-mix(in srgb, var(--color-primary) 5%, var(--color-bg)); }
.today-badge {
    display: inline-block; background: var(--gradient); color: #fff;
    font-size: .68rem; padding: .1rem .45rem; border-radius: 4px;
    margin-left: .4rem; font-weight: 700; vertical-align: middle;
}
.time-range { display: inline-block; font-weight: 500; }
.time-sep   { margin: 0 .35rem; color: var(--text-muted); }
.closed     { color: var(--text-muted); font-style: italic; }
.special-hours-notice { padding: 1rem 1.35rem; background: #fffbeb; border-top: 1px solid var(--border); }
.special-hours-notice h4 { font-size: .82rem; font-weight: 800; margin-bottom: .5rem; color: var(--color-text); text-transform: uppercase; letter-spacing: .4px; }
.special-hour-item { display: flex; gap: .75rem; align-items: center; font-size: .82rem; padding: .3rem 0; }
.special-date { font-weight: 700; }
.special-label { color: var(--text-muted); }
.location-contacts-footer { padding: 1rem 1.35rem; display: flex; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--border); }

/* Google-Maps-Einbettung in der Öffnungszeiten-Karte */
.location-map { border-top: 1px solid var(--border); line-height: 0; }
.location-map iframe { width: 100%; height: 220px; border: 0; display: block; filter: grayscale(.15); }

/* Feiertags-Banner (heute geschlossen) */
.holiday-banner {
    display: flex; align-items: flex-start; gap: .9rem;
    background: #fef2f2; border: 1.5px solid #fecaca; border-left: 4px solid #dc2626;
    border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.5rem 0 -.5rem;
}
.holiday-banner svg { width: 24px; height: 24px; fill: #dc2626; flex-shrink: 0; margin-top: .1rem; }
.holiday-banner strong { display: block; color: #991b1b; font-size: .98rem; margin-bottom: .15rem; }
.holiday-banner span { font-size: .85rem; color: #7f1d1d; line-height: 1.55; }

/* Heutige Zeile, wenn Feiertag */
.holiday-row { background: #fef2f2; }
.holiday-tag {
    display: inline-block; background: #fee2e2; color: #b91c1c;
    font-size: .7rem; font-weight: 700; padding: .1rem .5rem; border-radius: 4px;
    margin-left: .35rem; vertical-align: middle;
}

/* Kommende Feiertage – Hinweisbox unter den Karten */
.holiday-upcoming {
    margin-top: 2rem; background: var(--color-bg-alt);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
}
.holiday-upcoming h3 {
    display: flex; align-items: center; gap: .5rem;
    font-size: .95rem; font-weight: 800; color: var(--color-text); margin-bottom: .75rem;
}
.holiday-upcoming h3 svg { width: 18px; height: 18px; fill: var(--color-primary); }
.holiday-upcoming ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem .75rem; }
.holiday-upcoming li {
    display: flex; align-items: baseline; gap: .5rem;
    background: var(--color-bg); border: 1px solid var(--border);
    border-radius: 8px; padding: .45rem .8rem; font-size: .85rem;
}
.holiday-upcoming .hu-date { font-weight: 700; color: var(--color-text); }
.holiday-upcoming .hu-name { color: var(--text-muted); }

/* Allgemeiner Hinweis unter den Öffnungszeiten */
.hours-footnote {
    display: flex; align-items: center; gap: .5rem; justify-content: center;
    margin-top: 1.75rem; font-size: .85rem; color: var(--text-muted); text-align: center;
}
.hours-footnote svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* ============================================================
   CONSENT-CHIP (klein, unten links – bewusst kein Vollbreit-Banner)
   ============================================================ */
.consent-chip {
    position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 1000;
    width: min(340px, calc(100vw - 2.5rem));
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(30,58,138,.18), 0 2px 8px rgba(0,0,0,.06);
    padding: 1rem 1.1rem;
    opacity: 0; transform: translateY(14px) scale(.98);
    transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.consent-chip--in   { opacity: 1; transform: translateY(0) scale(1); }
.consent-chip--hide { opacity: 0; transform: translateY(14px) scale(.98); }
.consent-chip-body { display: flex; gap: .6rem; align-items: flex-start; }
.consent-dot {
    width: 10px; height: 10px; border-radius: 50%; margin-top: .35rem; flex-shrink: 0;
    background: var(--gradient);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 18%, transparent);
}
.consent-chip p { font-size: .82rem; line-height: 1.55; color: var(--color-text); margin: 0; }
.consent-chip a { color: var(--color-primary); font-weight: 600; }
.consent-chip-actions { display: flex; gap: .5rem; margin-top: .85rem; }
.consent-btn {
    flex: 1; cursor: pointer; border-radius: 10px; padding: .5rem .6rem;
    font-size: .82rem; font-weight: 700; font-family: inherit; transition: all var(--transition);
}
.consent-btn--ghost { background: transparent; border: 1px solid var(--border); color: var(--text-muted); }
.consent-btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.consent-btn--solid { background: var(--gradient); border: 1px solid transparent; color: #fff; box-shadow: 0 4px 12px rgba(30,58,138,.25); }
.consent-btn--solid:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(30,58,138,.32); }
@media (max-width: 520px) {
    .consent-chip { left: .75rem; right: .75rem; bottom: .75rem; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .consent-chip { transition: opacity .2s; transform: none; }
    .consent-chip--in, .consent-chip--hide { transform: none; }
}

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt-section { padding: 4rem 0; }
.kontakt-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2.5rem; }
.kontakt-location-card { background: var(--color-bg-alt); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.25rem; border: 1.5px solid var(--border); }
.kontakt-location-card h2 { font-size: 1.1rem; font-weight: 800; color: var(--color-text); margin-bottom: .4rem; }
.kontakt-location-card address { color: var(--text-muted); font-size: .875rem; margin-bottom: .75rem; }
.kontakt-channels { display: flex; flex-direction: column; gap: .45rem; }
.channel-link { display: flex; align-items: center; gap: .45rem; color: var(--color-text); font-size: .875rem; transition: color var(--transition); }
.channel-link svg { width: 15px; height: 15px; color: var(--color-primary); flex-shrink: 0; }
.channel-link:hover { color: var(--color-primary); text-decoration: none; }
.form-card { background: var(--color-bg); border-radius: var(--radius-lg); padding: 2rem; border: 1.5px solid var(--border); box-shadow: var(--shadow-md); }
.form-card h2 { font-size: 1.25rem; font-weight: 900; margin-bottom: 1.35rem; letter-spacing: -.3px; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .78rem; font-weight: 700; margin-bottom: .35rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.form-control {
    width: 100%; padding: .7rem 1rem; border: 1.5px solid var(--border);
    border-radius: 9px; font-size: .925rem; background: var(--color-bg);
    transition: all var(--transition); font-family: var(--font); color: var(--color-text);
}
.form-control:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 15%, transparent); }
textarea.form-control { resize: vertical; min-height: 120px; }
.contact-form .btn { margin-top: .5rem; }
.recaptcha-notice { font-size: .72rem; color: var(--text-muted); margin-top: .5rem; text-align: center; }
.recaptcha-notice a { color: var(--text-muted); text-decoration: underline; }

/* ============================================================
   ALERTS
   ============================================================ */
.alert { padding: .9rem 1.25rem; border-radius: 9px; margin-bottom: 1rem; font-size: .875rem; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ============================================================
   RECHTLICHE SEITEN
   ============================================================ */
.legal-section  { padding: 4rem 0; }
.legal-content  { max-width: 780px; line-height: 1.85; }
.legal-content h1, .legal-content h2, .legal-content h3 { margin: 1.5em 0 .5em; color: var(--color-text); font-weight: 800; }
.legal-content h1 { font-size: 1.75rem; }
.legal-content h2 { font-size: 1.2rem; }
.legal-content p  { margin-bottom: 1em; color: var(--color-text); }
.legal-content a  { color: var(--color-primary); text-decoration: underline; }
.legal-updated { font-size: .78rem; color: var(--text-muted); margin-top: 2rem; }

/* ============================================================
   ERROR PAGE
   ============================================================ */
.error-section  { padding: 6rem 0; text-align: center; }
.error-content h1 { font-size: 6rem; font-weight: 900; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.error-content p  { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--color-text); color: rgba(255,255,255,.6); padding: 2rem 0 1.75rem; margin-top: 4rem; position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 2.5rem; margin-bottom: 3rem; }
.footer-logo { display: flex; align-items: center; gap: .5rem; color: #fff; text-decoration: none; margin-bottom: 1rem; font-weight: 800; font-size: 1rem; }
.footer-logo img { width: 100%; }
.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.4); margin-bottom: 1.1rem; line-height: 1.7; }
.social-links { display: flex; gap: .5rem; }
.social-links a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); border-radius: 50%; color: rgba(255,255,255,.65); transition: var(--transition); }
.social-links a:hover { background: var(--color-primary); color: #fff; }
.social-links svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.footer-col h4 { color: rgba(255,255,255,.85); font-size: .75rem; font-weight: 800; margin-bottom: .9rem; text-transform: uppercase; letter-spacing: .8px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.footer-links a { color: rgba(255,255,255,.45); font-size: .875rem; transition: color var(--transition); }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-location { font-size: .82rem; color: rgba(255,255,255,.45); margin-bottom: .9rem; line-height: 1.6; }
.footer-location strong { color: rgba(255,255,255,.8); display: block; margin-bottom: .15rem; }
.footer-location a { color: rgba(255,255,255,.45); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; font-size: .78rem; color: rgba(255,255,255,.25); text-align: center; }
.footer-credit { margin-top: .35rem; font-size: .72rem; color: rgba(255,255,255,.18); }
.footer-credit a { color: rgba(255,255,255,.4); font-weight: 600; }
.footer-credit a:hover { color: rgba(255,255,255,.7); text-decoration: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .device-detail-layout { grid-template-columns: 1fr; }
    .kontakt-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-visual { max-width: 480px; }
    .hero-img-badge { left: auto; right: -10px; }
}

@media (max-width: 768px) {
    .mailin-layout { grid-template-columns: 1fr; text-align: center; }
    .mailin-icon-col { display: none; }
    .mailin-cta-col { align-items: center; }
    .mailin-stats { justify-content: center; }
    .wertgarantie-layout { grid-template-columns: 1fr; }
    .wertgarantie-visual { flex-direction: row; justify-content: center; }
    .wg-shield { width: 100px; height: 100px; }
    .wg-shield svg { width: 50px; height: 50px; }
    .trust-grid { gap: 1rem 1.5rem; }
}

@media (max-width: 560px) {
    /* Einsende-Stats umbrechen statt quetschen */
    .mailin-stats { flex-wrap: wrap; gap: 1rem 1.5rem; }
    /* WERTGARANTIE Info-Cards volle Breite */
    .wertgarantie-visual { flex-direction: column; }
    .wg-info-cards { flex-direction: row; }
    /* Hero-Bild-Badge nicht überlappen lassen */
    .hero-img-badge { position: static; margin-top: 1rem; align-self: flex-start; display: inline-flex; }
    .hero-visual { display: flex; flex-direction: column; }
    /* Section-Titel etwas kleiner */
    .section-title { font-size: 1.55rem; }
    /* Brand-Buttons mind. 2 pro Reihe vermeiden zu schmal */
    .brand-buttons-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}

@media (max-width: 640px) {
    .main-nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--color-bg); padding: 1rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
    .main-nav.open { display: flex; }
    /* Dropdown hat weißen Hintergrund → Links wieder dunkel */
    .main-nav .nav-link { color: var(--color-text); }
    .main-nav .nav-link:hover { background: var(--color-bg-alt); color: var(--color-primary); }
    .main-nav .nav-link.active { background: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); }
    .mobile-menu-toggle { display: flex; }
    .header-actions { margin-left: auto; }
    .header-phone { display: none; }
    .header-inner { position: relative; }
    .footer-grid { grid-template-columns: 1fr; }
    /* Footer-Logo auf Mobile nicht über die volle Bildschirmbreite ziehen */
    .footer-logo img { max-width: 240px; }
    .hero { min-height: 420px; }
    .hero-ctas { flex-direction: column; }
    .mailin-content { flex-direction: column; text-align: center; }
    .device-cards-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .process-steps { grid-template-columns: 1fr; }
}
