/*
Theme Name: Brandguard24
Theme URI: https://brandguard24.de
Author: Brandguard24 / Secure-EX GmbH
Author URI: https://brandguard24.de
Description: Professionelles WordPress Theme fuer Brandguard24.de - Errichterbetrieb fuer Brandmeldeanlagen nach DIN 14675 in der Region Mainz/Frankfurt.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: proprietary
Text Domain: brandguard24
*/

/* ==========================================================================
   FONTS - Self-hosted (GDPR compliant)
   ========================================================================== */
@font-face {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/work-sans-v19-latin-600.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/work-sans-v19-latin-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/montserrat-v26-latin-regular.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/montserrat-v26-latin-600.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/montserrat-v26-latin-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   CSS CUSTOM PROPERTIES
   ========================================================================== */
:root {
    --color-anthracite: #384551;
    --color-red: #C0282D;
    --color-red-hover: #9E2024;
    --color-bg-dark: #2A3039;
    --color-bg-light: #F5F6F7;
    --color-text-muted: #6B7B8D;
    --color-border-light: #E0E4E8;
    --color-white: #ffffff;
    --color-black: #000000;
    --font-heading: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container-max: 1200px;
    --container-narrow: 800px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
    --radius: 6px;
    --radius-lg: 12px;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --transition: 0.3s ease;
    --header-height: 80px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-anthracite);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-red);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover,
a:focus {
    color: var(--color-red-hover);
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-anthracite);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: var(--spacing-sm);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-white {
    color: var(--color-white);
}

.text-center {
    text-align: center;
}

.section-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-red);
    margin-bottom: var(--spacing-xs);
}

.section-title {
    margin-bottom: var(--spacing-md);
}

.lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.container-narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--color-white);
}

.section-light {
    background-color: var(--color-bg-light);
}

.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1025px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   SKIP LINK (ACCESSIBILITY)
   ========================================================================== */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--spacing-sm);
    background: var(--color-red);
    color: var(--color-white);
    padding: var(--spacing-xs) var(--spacing-sm);
    z-index: 10000;
    border-radius: var(--radius);
    font-weight: 600;
}

.skip-link:focus {
    top: var(--spacing-sm);
    color: var(--color-white);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-red-hover);
    border-color: var(--color-red-hover);
    color: var(--color-white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--color-white);
    color: var(--color-anthracite);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-red);
    border-color: var(--color-red);
}

.btn-outline:hover,
.btn-outline:focus {
    background-color: var(--color-red);
    color: var(--color-white);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.0625rem;
}

.btn svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--color-white);
    z-index: 1000;
    transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.primary-nav {
    display: none;
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.primary-nav a {
    color: var(--color-anthracite);
    font-weight: 600;
    font-size: 0.9375rem;
    position: relative;
    padding: 0.25rem 0;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transition: width var(--transition);
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item a::after {
    width: 100%;
}

.primary-nav a:hover {
    color: var(--color-red);
}

.header-cta {
    display: none;
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-anthracite);
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@media (min-width: 1025px) {
    .primary-nav {
        display: block;
    }
    .header-cta {
        display: inline-flex;
    }
    .menu-toggle {
        display: none;
    }
}

/* Mobile Navigation Overlay */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--color-white);
    z-index: 999;
    padding: var(--spacing-lg);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.mobile-nav a {
    display: block;
    padding: var(--spacing-sm) 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-anthracite);
    border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav a:hover {
    color: var(--color-red);
}

.mobile-nav .btn {
    width: 100%;
    justify-content: center;
    margin-top: var(--spacing-md);
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumbs {
    padding: var(--spacing-sm) 0;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    background: var(--color-bg-light);
}

.breadcrumbs a {
    color: var(--color-text-muted);
}

.breadcrumbs a:hover {
    color: var(--color-red);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    background: var(--color-bg-dark);
    color: var(--color-white);
    padding: calc(var(--header-height) + var(--spacing-xxl)) 0 var(--spacing-xxl);
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, rgba(42, 48, 57, 0.85) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--color-white);
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin-bottom: var(--spacing-md);
    max-width: 700px;
}

.hero h1 .highlight {
    color: var(--color-red);
}

.hero .hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-trust svg {
    width: 16px;
    height: 16px;
    fill: var(--color-red);
}

/* ==========================================================================
   USP BAR
   ========================================================================== */
.usp-bar {
    background: var(--color-white);
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--color-border-light);
}

.usp-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    text-align: left;
}

.usp-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(192, 40, 45, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.usp-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--color-red);
}

.usp-content h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.usp-content p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */
.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    color: inherit;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--color-red);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(192, 40, 45, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.service-card-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--color-red);
}

.service-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
}

.service-card .card-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-red);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.service-card .card-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform var(--transition);
}

.service-card:hover .card-link svg {
    transform: translateX(4px);
}

/* ==========================================================================
   WHY SECTION (2-column)
   ========================================================================== */
.why-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

@media (min-width: 768px) {
    .why-section {
        grid-template-columns: 1fr 1fr;
    }
}

.why-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--color-bg-light);
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-list {
    margin-top: var(--spacing-md);
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9375rem;
}

.why-list li svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    fill: var(--color-red);
    margin-top: 2px;
}

/* ==========================================================================
   CITY GRID
   ========================================================================== */
.city-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

@media (min-width: 768px) {
    .city-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1025px) {
    .city-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.city-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: var(--spacing-sm);
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition);
    color: var(--color-anthracite);
}

.city-item:hover {
    border-color: var(--color-red);
    color: var(--color-red);
}

.city-item svg {
    width: 16px;
    height: 16px;
    fill: var(--color-red);
    flex-shrink: 0;
}

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */
.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    counter-reset: step;
}

@media (min-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-step {
    text-align: center;
    position: relative;
    counter-increment: step;
}

.process-step-number {
    width: 56px;
    height: 56px;
    background: var(--color-red);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto var(--spacing-sm);
}

.process-step h3 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.process-step p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-item {
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    background: var(--color-white);
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-anthracite);
    text-align: left;
    gap: var(--spacing-sm);
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--color-bg-light);
}

.faq-question[aria-expanded="true"] {
    background: var(--color-bg-light);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 var(--spacing-md) var(--spacing-md);
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.faq-item.is-open .faq-answer {
    max-height: 500px;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
    background: var(--color-red);
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    font-size: 1.125rem;
}

.cta-banner .btn-secondary {
    border-color: var(--color-white);
    color: var(--color-white);
}

.cta-banner .btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-red);
}

.cta-banner-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--spacing-xxl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-heading);
}

.footer-col p {
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    display: block;
    padding: 0.25rem 0;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--color-white);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: var(--spacing-sm);
}

.footer-company {
    font-size: 0.8125rem;
    font-style: italic;
    margin-top: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    fill: var(--color-red);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md) 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.8125rem;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-md);
}

.footer-legal a {
    display: inline;
    padding: 0;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
    color: var(--color-white);
}

/* ==========================================================================
   MOBILE STICKY CTA
   ========================================================================== */
.mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-white);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
    z-index: 998;
    padding: var(--spacing-xs) var(--spacing-sm);
    gap: var(--spacing-xs);
}

.mobile-cta-bar a {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
}

.mobile-cta-bar .cta-call {
    background: var(--color-red);
    color: var(--color-white);
}

.mobile-cta-bar .cta-contact {
    background: var(--color-bg-light);
    color: var(--color-anthracite);
}

@media (min-width: 1025px) {
    .mobile-cta-bar {
        display: none;
    }
}

body {
    padding-bottom: 60px;
}

@media (min-width: 1025px) {
    body {
        padding-bottom: 0;
    }
}

/* ==========================================================================
   PAGE CONTENT
   ========================================================================== */
.page-content {
    padding-top: var(--header-height);
}

.content-area {
    padding: var(--spacing-xxl) 0;
}

.content-area h2 {
    margin-top: var(--spacing-lg);
}

.content-area ul,
.content-area ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.content-area ul {
    list-style: disc;
}

.content-area ol {
    list-style: decimal;
}

.content-area li {
    margin-bottom: var(--spacing-xs);
}

.content-area blockquote {
    border-left: 4px solid var(--color-red);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-bg-light);
    margin: var(--spacing-md) 0;
    font-style: italic;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* ==========================================================================
   BLOG / ARCHIVE
   ========================================================================== */
.post-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.post-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.post-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--color-bg-light);
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-body {
    padding: var(--spacing-md);
}

.post-card-meta {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xs);
}

.post-card-body h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

.post-card-body h3 a {
    color: var(--color-anthracite);
}

.post-card-body h3 a:hover {
    color: var(--color-red);
}

.post-card-excerpt {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
}

/* Single Post */
.single-post-header {
    padding: calc(var(--header-height) + var(--spacing-xl)) 0 var(--spacing-xl);
    background: var(--color-bg-light);
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-top: var(--spacing-sm);
}

.article-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

/* ==========================================================================
   KONTAKT PAGE
   ========================================================================== */
.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

@media (min-width: 768px) {
    .kontakt-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.contact-info-item svg {
    width: 20px;
    height: 20px;
    fill: var(--color-red);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.opening-hours {
    background: var(--color-bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius);
    margin-top: var(--spacing-md);
}

.opening-hours dt {
    font-weight: 600;
}

.opening-hours dd {
    margin-bottom: var(--spacing-xs);
}

/* ==========================================================================
   LEAFLET MAP
   ========================================================================== */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    margin: var(--spacing-lg) 0;
}

/* ==========================================================================
   TEAM GRID
   ========================================================================== */
.team-card {
    text-align: center;
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition);
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--color-bg-light);
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-avatar svg {
    width: 48px;
    height: 48px;
    fill: var(--color-text-muted);
}

.team-avatar img,
.team-avatar img.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.team-card .team-role {
    color: var(--color-red);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
}

.team-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   SERVICE SIDEBAR
   ========================================================================== */
.service-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

@media (min-width: 768px) {
    .service-layout {
        grid-template-columns: 2fr 1fr;
    }
}

.service-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--spacing-md));
}

.sidebar-card {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.sidebar-card h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--color-red);
}

.sidebar-card a {
    display: block;
    padding: var(--spacing-xs) 0;
    font-size: 0.9375rem;
    color: var(--color-anthracite);
}

.sidebar-card a:hover {
    color: var(--color-red);
}

/* ==========================================================================
   VALUES SECTION
   ========================================================================== */
.value-card {
    text-align: center;
    padding: var(--spacing-lg);
}

.value-card svg {
    width: 48px;
    height: 48px;
    fill: var(--color-red);
    margin-bottom: var(--spacing-md);
}

.value-card h3 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.value-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   CERTIFICATION SECTION
   ========================================================================== */
.cert-section {
    background: var(--color-bg-light);
    border-left: 4px solid var(--color-red);
    padding: var(--spacing-lg);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    margin: var(--spacing-lg) 0;
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */
.error-404 {
    text-align: center;
    padding: calc(var(--header-height) + var(--spacing-xxl)) 0 var(--spacing-xxl);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-404 h1 {
    font-size: clamp(4rem, 10vw, 8rem);
    color: var(--color-red);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.error-404 .links-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

/* ==========================================================================
   SEARCH FORM
   ========================================================================== */
.search-form {
    display: flex;
    max-width: 500px;
    margin: var(--spacing-md) auto;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-border-light);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-anthracite);
    outline: none;
    transition: border-color var(--transition);
}

.search-form input[type="search"]:focus {
    border-color: var(--color-red);
}

.search-form button {
    padding: 0.75rem 1.25rem;
    background: var(--color-red);
    color: var(--color-white);
    border: 2px solid var(--color-red);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background var(--transition);
}

.search-form button:hover {
    background: var(--color-red-hover);
    border-color: var(--color-red-hover);
}

/* ==========================================================================
   CONTACT FORM 7 OVERRIDES
   ========================================================================== */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-border-light);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-anthracite);
    transition: border-color var(--transition);
    margin-bottom: var(--spacing-sm);
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    outline: none;
    border-color: var(--color-red);
}

.wpcf7 input[type="submit"] {
    background: var(--color-red);
    color: var(--color-white);
    border: none;
    padding: 0.85rem 1.75rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: background var(--transition);
}

.wpcf7 input[type="submit"]:hover {
    background: var(--color-red-hover);
}

.wpcf7 label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: var(--spacing-lg) 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0.5rem;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-anthracite);
    transition: all var(--transition);
}

.pagination a:hover {
    border-color: var(--color-red);
    color: var(--color-red);
}

.pagination .current {
    background: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
    .site-header,
    .site-footer,
    .mobile-cta-bar,
    .cta-banner,
    .breadcrumbs {
        display: none;
    }
    body {
        padding: 0;
        font-size: 12pt;
    }
}
