/* ═══════════════════════════════════════════════════════════
   Schlüsseldienst Hannover Bothfeld – Design Master v2
   ═══════════════════════════════════════════════════════════ */

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

:root {
    --navy:       #0c1f3d;
    --navy-mid:   #152d52;
    --navy-light: #1e4070;
    --gold:       #e8a317;
    --gold-dark:  #c98b0e;
    --green:      #16a34a;
    --green-dark: #15803d;
    --red:        #dc2626;
    --white:      #ffffff;
    --gray-50:    #f8fafc;
    --gray-100:   #f1f5f9;
    --gray-200:   #e2e8f0;
    --gray-400:   #94a3b8;
    --gray-600:   #475569;
    --gray-800:   #1e293b;
    --text:       #334155;
    --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
    --shadow-md:  0 4px 20px rgba(12,31,61,.10);
    --shadow-lg:  0 12px 40px rgba(12,31,61,.15);
    --radius:     12px;
    --radius-lg:  20px;
    --max:        1200px;
    --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: .25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--gray-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

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

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--gold); color: var(--navy);
    padding: .5rem 1rem; z-index: 9999; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ─── TOP BAR ─── */
.top-bar {
    background: var(--navy);
    color: var(--gray-400);
    font-size: .8rem;
    padding: .4rem 0;
    text-align: center;
}
.top-bar strong { color: var(--gold); }

/* ─── HEADER ─── */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky; top: 0; z-index: 200;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: .75rem 0;
}

.site-logo img { height: 56px; width: auto; }

.site-branding { flex-shrink: 0; }

.main-nav { flex: 1; }
.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1.5rem;
    justify-content: center;
}
.main-nav a {
    font-weight: 600;
    font-size: .875rem;
    color: var(--gray-800);
    padding: .35rem 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
    color: var(--navy-light);
    border-bottom-color: var(--gold);
}

.btn-call {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--green);
    color: var(--white) !important;
    font-weight: 700;
    font-size: 1rem;
    padding: .65rem 1.25rem;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(22,163,74,.35);
    transition: all var(--transition);
    text-decoration: none !important;
}
.btn-call:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(22,163,74,.45);
    color: var(--white) !important;
}
.btn-call svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ─── HERO ─── */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
    color: var(--white);
    padding: 4rem 0;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url('images/Schluesseldienst-L-Hannover.jpg') right center / cover no-repeat;
    opacity: .15;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero-content h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero-content h1 span { color: var(--gold); }
.hero-sub {
    font-size: 1.125rem;
    opacity: .9;
    margin-bottom: 1.5rem;
    max-width: 520px;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 2rem;
}
.badge {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50px;
    padding: .35rem .9rem;
    font-size: .8rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}
.hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-image img { width: 100%; object-fit: cover; }

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--gold);
    color: var(--navy) !important;
    font-weight: 800;
    font-size: 1.15rem;
    padding: .9rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(232,163,23,.4);
    transition: all var(--transition);
    text-decoration: none !important;
}
.btn-hero:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    color: var(--navy) !important;
}

/* ─── TRUST BAR ─── */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 1.25rem 0;
}
.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}
.trust-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--navy);
    font-weight: 800;
}
.trust-item span { font-size: .8rem; color: var(--gray-600); }

/* ─── LAYOUT ─── */
.page-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    padding: 3rem 0;
    align-items: start;
}
.page-main { min-width: 0; }

/* Breadcrumbs */
.breadcrumbs { margin-bottom: 1.25rem; font-size: .875rem; color: var(--gray-600); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: .35rem; color: var(--gray-400); }
.breadcrumbs a { color: var(--navy-light); }
.breadcrumbs [aria-current="page"] { color: var(--gray-800); font-weight: 500; }

/* FAQ (Rich Snippets) */
.faq-section { margin-top: 2.5rem; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: .75rem; overflow: hidden; }
.faq-item summary { padding: 1rem 1.25rem; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--gold); font-size: 1.25rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 1.25rem 1rem; margin: 0; color: var(--text); }

/* ─── SECTIONS ─── */
.section { margin-bottom: 3.5rem; }
.section h2,
.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: .5rem;
}
.section-subtitle {
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* Split image + text */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3rem;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}
.split-image img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    display: block;
}
.split-image.split-image--contain img {
    object-fit: contain;
    padding: .5rem;
}
.split-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}
.split-content p { margin-bottom: 1rem; }
.split-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.split-content li { margin-bottom: .4rem; }

/* Feature cards */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}
.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.feature-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--navy-light), var(--navy));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .5rem;
}
.feature-card p { font-size: .9rem; color: var(--gray-600); }

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.price-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-200);
    position: relative;
    transition: all var(--transition);
}
.price-card.featured {
    border-color: var(--gold);
    transform: scale(1.03);
}
.price-card.featured::before {
    content: 'BELIEBT';
    position: absolute; top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy);
    font-size: .7rem;
    font-weight: 800;
    padding: .2rem .8rem;
    border-radius: 50px;
    letter-spacing: .05em;
}
.price-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .5rem;
}
.price-label {
    font-size: .8rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .75rem;
}
.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy-light);
    line-height: 1;
    margin-bottom: .25rem;
}
.price-amount small { font-size: 1.2rem; }
.price-note { font-size: .85rem; color: var(--gray-600); margin-bottom: 1.25rem; }
.price-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}
.price-card li {
    padding: .45rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.price-card li::before { content: '✓'; color: var(--green); font-weight: 700; }
.price-card a[href^="tel"] {
    display: block;
    background: var(--green);
    color: var(--white) !important;
    font-weight: 700;
    font-size: 1.1rem;
    padding: .75rem;
    border-radius: 50px;
    text-decoration: none !important;
    transition: background var(--transition);
}
.price-card a[href^="tel"]:hover { background: var(--green-dark); }

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}
.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--gold);
}
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}
.stat-label { font-size: .8rem; color: var(--gray-600); margin-top: .4rem; }

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    color: var(--white);
    margin: 3rem 0;
}
.cta-banner h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: .5rem; }
.cta-banner p { opacity: .85; margin-bottom: 1.5rem; }

/* Content prose */
.prose h1 { font-size: 2rem; font-weight: 800; color: var(--navy); margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.4rem; font-weight: 700; color: var(--navy); margin: 2rem 0 1rem; }
.prose h3 { font-size: 1.15rem; font-weight: 600; color: var(--navy-mid); margin: 1.5rem 0 .75rem; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.5rem; }
.prose li { margin-bottom: .35rem; }
.prose a[href^="tel"] { color: var(--red); font-weight: 700; font-size: 1.1rem; }
.prose img { border-radius: var(--radius); margin: 1rem 0; box-shadow: var(--shadow-sm); }

/* Service list compact */
.service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem 1.5rem;
    list-style: none;
    margin: 1rem 0;
}
.service-list li {
    font-size: .9rem;
    padding: .4rem 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex; align-items: center; gap: .4rem;
}
.service-list li::before { content: '🔑'; font-size: .8rem; }

/* ─── SIDEBAR ─── */
.sidebar { position: sticky; top: 90px; }
.sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.25rem;
    border: 1px solid var(--gray-200);
}
.sidebar-card h3 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--gold);
}
.sidebar-card img { border-radius: var(--radius); margin-bottom: .75rem; }
.sidebar-card ul { list-style: none; }
.sidebar-card li {
    font-size: .85rem;
    padding: .35rem 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-600);
}
.sidebar-card li::before { content: '✓ '; color: var(--green); font-weight: 700; }
.sidebar-call {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    color: var(--white);
    margin-bottom: 1.25rem;
}
.sidebar-call p { font-size: .85rem; opacity: .9; margin-bottom: .5rem; }
.sidebar-call a {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white) !important;
    text-decoration: none !important;
}
.sidebar-call span { font-size: .75rem; opacity: .8; display: block; margin-top: .25rem; }

/* ─── FOOTER ─── */
.site-footer {
    background: var(--navy);
    color: var(--gray-400);
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-brand img { height: 48px; margin-bottom: 1rem; opacity: .9; }
.footer-brand p { font-size: .875rem; line-height: 1.6; }
.footer-col h4 {
    color: var(--white);
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { color: var(--gray-400); font-size: .875rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .8rem;
}

/* Mobile call bar */
.mobile-call {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--green);
    color: var(--white) !important;
    text-align: center;
    padding: 1rem;
    font-weight: 800;
    font-size: 1.1rem;
    z-index: 300;
    text-decoration: none !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .hero-grid, .split { grid-template-columns: 1fr; }
    .split.reverse { direction: ltr; }
    .features { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .trust-items { grid-template-columns: 1fr 1fr; }
    .page-wrap { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .header-inner { flex-wrap: wrap; }
    .main-nav ul { justify-content: flex-start; gap: .5rem 1rem; }
    .btn-call.header-phone { display: none; }
    .mobile-call { display: block; }
    body { padding-bottom: 60px; }
    .features, .stats-grid, .trust-items, .service-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 2.5rem 0; }
    .price-card.featured { transform: none; }
}
