/*
Theme Name: EDO Pannenhilfe
Author: HAITCON
Description: Custom Landing Page Theme für EDO Pannenhilfe & Abschleppdienst Offenbach
Version: 1.0
*/

:root {
    --brand-primary: #FFE500;
    --brand-hover: #E6CE00;
    --brand-light: #FFFDE6;
    --dark: #1C232B;
    --dark-surface: #26303B;
    --gray-bg: #F4F6F8;
    --gray-card: #FFFFFF;
    --border: #E2E8F0;
    --text-main: #1C232B;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --radius-lg: 12px;
    --radius-md: 8px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.12);
    --max-w: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background: var(--white);
    line-height: 1.5;
    padding-bottom: 70px;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max-w), calc(100% - 40px)); margin: 0 auto; }

/* TOPBAR */
.topbar { background: var(--dark); color: #94A3B8; font-size: 13px; font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.topbar-inner { height: 40px; display: flex; align-items: center; justify-content: space-between; }
.topbar-status { display: flex; align-items: center; gap: 8px; color: var(--white); }
.pulse-dot { width: 9px; height: 9px; background: #22C55E; border-radius: 50%; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25); }

/* HEADER & LOGO */
header { position: sticky; top: 0; z-index: 1000; background: #FFFFFF; border-bottom: 3px solid var(--brand-primary); box-shadow: var(--shadow-sm); }
.header-inner { height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.brand-logo-link { display: flex; align-items: center; height: 100%; padding: 8px 0; }
.main-logo-img { height: 68px; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.2s ease; }
.brand-logo-link:hover .main-logo-img { transform: scale(1.02); }

nav { display: flex; align-items: center; gap: 32px; }
nav a { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: var(--dark); transition: color 0.2s; }
nav a:hover { color: #D4CD00; }

.btn-call-header { background: var(--dark); color: var(--brand-primary); padding: 12px 22px; border-radius: var(--radius-md); font-weight: 900; font-size: 15px; display: flex; align-items: center; gap: 10px; transform: skewX(-8deg); transition: all 0.2s; box-shadow: 0 4px 12px rgba(28, 35, 43, 0.2); white-space: nowrap; }
.btn-call-header span { transform: skewX(8deg); display: inline-block; }
.btn-call-header:hover { background: #28313D; transform: skewX(-8deg) translateY(-2px); }

/* HERO */
.hero { position: relative; padding: 80px 0 100px; background: var(--dark); color: var(--white); overflow: hidden; border-bottom: 5px solid var(--brand-primary); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-badge-rect { display: inline-flex; align-items: center; gap: 10px; background: var(--brand-primary); color: var(--dark); padding: 8px 16px; border-radius: 4px; font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 24px; transform: skewX(-8deg); }
.hero-badge-rect span { transform: skewX(8deg); }
.hero h1 { font-size: clamp(36px, 4.8vw, 56px); font-weight: 900; line-height: 1.08; letter-spacing: -1px; margin-bottom: 20px; text-transform: uppercase; font-style: italic; }
.hero h1 span { color: var(--brand-primary); font-style: italic; }
.hero-desc { font-size: 18px; color: #94A3B8; margin-bottom: 36px; max-width: 520px; font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 32px; border-radius: var(--radius-md); font-weight: 900; font-size: 16px; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.2s ease; cursor: pointer; transform: skewX(-8deg); }
.btn span { transform: skewX(8deg); display: inline-block; }
.btn-primary { background: var(--brand-primary); color: var(--dark); box-shadow: 0 6px 20px rgba(255, 229, 0, 0.3); }
.btn-primary:hover { background: var(--brand-hover); transform: skewX(-8deg) translateY(-2px); }
.btn-secondary { background: rgba(255, 255, 255, 0.08); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.18); transform: skewX(-8deg) translateY(-2px); }

.hero-image-wrapper { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); border: 2px solid rgba(255, 229, 0, 0.3); }
.hero-image-wrapper img { width: 100%; height: 420px; object-fit: cover; }

/* STATS */
.features-bar { background: var(--white); margin-top: -35px; position: relative; z-index: 10; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border); padding: 24px 32px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-item { display: flex; align-items: center; gap: 16px; }
.feature-icon { width: 48px; height: 48px; background: var(--brand-primary); color: var(--dark); border-radius: var(--radius-md); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; transform: skewX(-6deg); }
.feature-title { font-weight: 900; font-size: 16px; color: var(--dark); text-transform: uppercase; }
.feature-sub { font-size: 13px; color: var(--text-muted); font-weight: 600; }

/* SECTIONS */
.section { padding: 90px 0; }
.section-header { text-align: center; max-width: 650px; margin: 0 auto 52px; }
.section-subtitle { font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; color: var(--dark); background: var(--brand-primary); display: inline-block; padding: 4px 12px; transform: skewX(-8deg); margin-bottom: 12px; }
.section-subtitle span { transform: skewX(8deg); display: inline-block; }
.section-title { font-size: 36px; font-weight: 900; letter-spacing: -0.5px; color: var(--dark); text-transform: uppercase; font-style: italic; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: var(--gray-card); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: all 0.3s ease; box-shadow: var(--shadow-sm); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-primary); }
.service-img { height: 220px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .service-img img { transform: scale(1.06); }
.service-body { padding: 26px; }
.service-body h3 { font-size: 20px; font-weight: 900; color: var(--dark); margin-bottom: 10px; text-transform: uppercase; }
.service-body p { color: var(--text-muted); font-size: 14px; line-height: 1.6; font-weight: 500; }

/* GALLERY */
.bg-gray { background: var(--gray-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; height: 260px; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-badge { position: absolute; bottom: 12px; left: 12px; background: var(--dark); color: var(--brand-primary); padding: 6px 12px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; transform: skewX(-8deg); }

/* CONTACT */
.contact-card-box { background: var(--dark); color: var(--white); border-radius: var(--radius-lg); padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; border-left: 6px solid var(--brand-primary); }
.contact-info h3 { font-size: 30px; font-weight: 900; margin-bottom: 12px; text-transform: uppercase; font-style: italic; }
.contact-info p { color: #94A3B8; margin-bottom: 32px; font-size: 15px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail-item { display: flex; align-items: center; gap: 16px; }
.contact-detail-icon { width: 44px; height: 44px; background: var(--brand-primary); color: var(--dark); border-radius: var(--radius-md); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; transform: skewX(-6deg); }
.contact-detail-text label { display: block; font-size: 11px; color: #94A3B8; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-detail-text span { font-size: 18px; font-weight: 900; color: var(--white); }
.map-wrapper { border-radius: var(--radius-md); background: var(--dark-surface); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 30px; text-align: center; border: 1px solid rgba(255, 255, 255, 0.1); }

/* FOOTER */
footer { background: #141A20; color: #64748B; padding: 40px 0 24px; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-logo { height: 45px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-copy { text-align: center; padding-top: 20px; font-size: 13px; font-weight: 600; }
.footer-links { text-align: center; margin-top: 10px; }
.footer-links a { color: #94A3B8; margin: 0 10px; font-weight: 700; }
.footer-links a:hover { color: var(--brand-primary); }

/* MOBILE FLOATING BAR */
.mobile-floating-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 2000; background: var(--dark); padding: 12px 16px; border-top: 2px solid var(--brand-primary); display: none; }
.mobile-floating-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--brand-primary); color: var(--dark); padding: 14px; border-radius: var(--radius-md); font-weight: 900; font-size: 16px; text-transform: uppercase; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-image-wrapper img { height: 320px; }
    .services-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
    .contact-card-box { grid-template-columns: 1fr; }
    nav { display: none; }
}

@media (max-width: 640px) {
    .topbar { display: none; }
    .header-inner { height: 90px; }
    .main-logo-img { height: 68px; }
    .btn-call-header { padding: 8px 12px; font-size: 12px; }
    .hero { padding: 40px 0 60px; }
    .hero-badge-rect { font-size: 12px; }
    .hero h1 { font-size: 32px; }
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .services-grid, .gallery-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .section-title { font-size: 28px; }
    .mobile-floating-bar { display: block; }
    .contact-card-box { padding: 28px 20px; }
}