/* ==========================================================================
   MAE ELEKTROTECHNIK - PREMIUM STYLING SYSTEM
   Design: German Meisterbetrieb Style (Charcoal, Gold/Mustard, Clean Grays)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & RESET
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette — warm ink + signal gold, tuned to the MAE logo */
    --color-charcoal-pure: #14110d;   /* warm near-black */
    --color-charcoal-dark: #1c1812;
    --color-charcoal-light: #2a251d;
    --color-gold-mustard: #e0a92e;    /* "live current" signal gold */
    --color-gold-hover: #c4901c;
    --color-gold-light: rgba(224, 169, 46, 0.14);
    --color-white: #ffffff;
    --color-bg-gray: #f7f4ed;         /* warm paper, echoes logo field */
    --color-border-gray: #e8e1d3;     /* warm hairline */
    --color-text-primary: #1a1712;
    --color-text-secondary: #5a544a;  /* warm secondary text */
    --color-text-muted: #8c857a;
    --color-success: #2faa55;
    --color-error: #d23b2e;

    /* Fonts — engineered grotesk + plex body + mono datasheet accent */
    --font-primary: 'IBM Plex Sans', system-ui, sans-serif;
    --font-accent: 'Archivo', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

    /* Shadows & Transitions */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Layout */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-sm: 6px;
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-white);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   2. TYPOGRAPHY & LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-accent);
    color: var(--color-charcoal-pure);
    font-weight: 700;
    line-height: 1.25;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

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

.bg-charcoal {
    background-color: var(--color-charcoal-pure);
    color: var(--color-white);
}

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

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

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.grid-2-valign {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: start;
}

.card-hover {
    transition: var(--transition-smooth);
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   3. HEADERS & FOOTERS
   -------------------------------------------------------------------------- */
.main-header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border-gray);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 52px;
    width: 52px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-accent);
    font-size: 20px;
    font-weight: 800;
    color: var(--color-charcoal-pure);
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.brand-sub {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-text-secondary);
}

/* Desktop Nav */
.nav-desktop .nav-links {
    display: flex;
    gap: 28px;
}

.nav-item {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--color-charcoal-pure);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold-mustard);
    transition: var(--transition-fast);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown .arrow {
    font-size: 8px;
    margin-left: 2px;
    vertical-align: middle;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border-gray);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    padding: 12px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-fast);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.dropdown-menu a:hover {
    background-color: var(--color-bg-gray);
    color: var(--color-charcoal-pure);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cta {
    padding: 10px 20px;
    font-size: 14px;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
}

.mobile-nav-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--color-charcoal-pure);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 200;
    box-shadow: var(--shadow-lg);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: var(--transition-smooth);
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-close {
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-secondary);
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-item {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-secondary);
    display: block;
}

.drawer-item:hover {
    color: var(--color-charcoal-pure);
    padding-left: 8px;
}

.drawer-btn {
    margin-top: 20px;
    text-align: center;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --------------------------------------------------------------------------
   4. BUTTONS & UI COMPONENTS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

.btn-primary {
    background-color: var(--color-gold-mustard);
    color: var(--color-charcoal-pure);
}
.btn-primary:hover {
    background-color: var(--color-gold-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}
.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-charcoal-pure);
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    background-color: var(--color-charcoal-pure);
    color: var(--color-white);
}
.btn-small:hover {
    background-color: var(--color-gold-mustard);
    color: var(--color-charcoal-pure);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-charcoal-pure);
    display: inline-flex;
    align-items: center;
}
.btn-text:hover {
    color: var(--color-gold-mustard);
}

/* Section Header styling */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tagline {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold-mustard);
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 17px;
    color: var(--color-text-secondary);
}

.section-paragraph {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   5. VIEW ROUTER SETUP
   -------------------------------------------------------------------------- */
#main-content {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height) - 400px);
}

.page-wrapper {
    display: none;
    animation: fadeInPage 0.5s ease forwards;
}

.page-wrapper.active {
    display: block;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    padding: 140px 0 160px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
    position: relative;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 850px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -1px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--color-border-gray);
    line-height: 1.5;
    max-width: 720px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.trust-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 40px;
    width: 100%;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-white);
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--color-gold-mustard);
    color: var(--color-charcoal-pure);
    font-size: 11px;
    font-weight: 700;
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}
.animate-slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeIn {
    to { opacity: 1; }
}
@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   7. SERVICES GRID
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border-gray);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card-img {
    height: 240px;
    background-size: cover;
    background-position: center;
}

.service-card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: var(--color-gold-mustard);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -30px;
    left: 30px;
    box-shadow: 0 8px 20px rgba(207, 159, 29, 0.3);
}

.service-svg-icon {
    width: 30px;
    height: 30px;
    fill: var(--color-charcoal-pure);
}

.service-card-title {
    font-size: 22px;
    margin: 10px 0 15px;
}

.service-card-text {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    border-top: 1px solid var(--color-border-gray);
    padding-top: 16px;
}

.service-card-list li {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-card-list li span {
    color: var(--color-gold-mustard);
    font-size: 10px;
}

.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border-gray);
    padding-top: 20px;
}

/* --------------------------------------------------------------------------
   8. WARUM MAE & STEPS TIMELINE
   -------------------------------------------------------------------------- */
.warum-visual-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-stack {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.visual-main {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    height: 480px;
}

.visual-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--color-charcoal-pure);
    color: var(--color-white);
    padding: 24px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 240px;
    border-left: 5px solid var(--color-gold-mustard);
}

.visual-badge .number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    font-family: var(--font-accent);
    color: var(--color-gold-mustard);
    line-height: 1;
    margin-bottom: 4px;
}

.visual-badge .text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    min-width: 48px;
    background-color: var(--color-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.feature-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-info p {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* Steps grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.step-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border-gray);
    padding: 32px 24px;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 2;
}

.step-num {
    font-size: 48px;
    font-weight: 800;
    font-family: var(--font-accent);
    color: var(--color-gold-mustard);
    opacity: 0.8;
    line-height: 1;
    margin-bottom: 16px;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   9. REFERENZEN & KUNDENBEWERTUNGEN
   -------------------------------------------------------------------------- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-border-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.portfolio-img {
    height: 240px;
    background-size: cover;
    background-position: center;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-gold-mustard);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-title {
    font-size: 17px;
    font-weight: 700;
    margin: 8px 0;
}

.portfolio-meta {
    font-size: 13px;
    color: var(--color-text-secondary);
}

/* Reviews grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background-color: var(--color-bg-gray);
    padding: 32px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-stars {
    color: var(--color-gold-mustard);
    font-size: 18px;
}

.review-text {
    font-size: 15px;
    font-style: italic;
    color: var(--color-text-primary);
    flex-grow: 1;
}

.review-author {
    border-top: 1px solid var(--color-border-gray);
    padding-top: 16px;
    display: flex;
    align-items: center;
}

.author-name {
    display: block;
    font-weight: 700;
    font-size: 14px;
}

.author-location {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   10. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-accordion-wrap {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-border-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-trigger {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-accent);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-charcoal-pure);
    text-align: left;
}

.faq-icon {
    font-size: 20px;
    color: var(--color-gold-mustard);
    transition: var(--transition-fast);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 24px;
}

.faq-content p {
    padding-bottom: 24px;
    font-size: 15px;
    color: var(--color-text-secondary);
}

/* Active FAQ state */
.faq-item.active {
    border-color: var(--color-gold-mustard);
    box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   11. CONTACT & FORMS
   -------------------------------------------------------------------------- */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.contact-card-item {
    background-color: var(--color-bg-gray);
    padding: 24px;
    border-radius: var(--border-radius);
    display: flex;
    gap: 16px;
}

.card-icon {
    font-size: 20px;
    width: 44px;
    height: 44px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-info span {
    font-size: 12px;
    color: var(--color-text-muted);
}

.card-link {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-charcoal-pure);
    margin-top: 4px;
}

/* Forms general styling */
.contact-form-wrap {
    background-color: var(--color-white);
    border: 1px solid var(--color-border-gray);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--color-border-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 15px;
    background-color: var(--color-bg-gray);
    color: var(--color-text-primary);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold-mustard);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(207, 159, 29, 0.1);
}

.form-row {
    display: flex;
    gap: 16px;
}

.grid-2-small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-checkbox {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    align-items: start;
}

.form-checkbox input {
    margin-top: 4px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 12px;
    color: var(--color-text-secondary);
}

.form-checkbox a {
    color: var(--color-gold-mustard);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   12. DETAILED SERVICE PAGE MODULES
   -------------------------------------------------------------------------- */
.service-hero {
    padding: 120px 0 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
}

.service-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--color-gold-mustard);
    color: var(--color-charcoal-pure);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 16px;
}

.service-title-large {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 16px;
}

.service-subtitle-large {
    font-size: 18px;
    color: var(--color-border-gray);
    max-width: 700px;
    margin: 0 auto;
}

.benefit-box {
    padding: 32px;
    border-radius: var(--border-radius);
    margin-top: 30px;
}

.benefit-box h3 {
    margin-bottom: 16px;
    font-size: 18px;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-list li {
    font-size: 14px;
    color: var(--color-text-secondary);
    display: flex;
    align-items: start;
    gap: 10px;
}

.benefit-list li span {
    color: var(--color-success);
    font-weight: 700;
}

.detail-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border-gray);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.detail-card h3 {
    font-size: 22px;
    margin-bottom: 24px;
}

.why-mae-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.why-mae-list li strong {
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
    color: var(--color-charcoal-pure);
}

.why-mae-list li p {
    font-size: 13px;
    color: var(--color-text-secondary);
}

.pricing-guide {
    padding: 24px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.price-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold-mustard);
    display: block;
    margin-bottom: 12px;
}

.price-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.price-row span {
    color: var(--color-border-gray);
}

.price-note {
    font-size: 11px;
    color: var(--color-text-muted);
    display: block;
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 8px;
}

.action-buttons-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* --------------------------------------------------------------------------
   13. ONLINE KOSTENRECHNER (TABBED & INTERACTIVE)
   -------------------------------------------------------------------------- */
.calculator-hero {
    padding: 80px 0 60px;
    color: var(--color-white);
}

.calculator-main-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 12px;
}

.calculator-main-subtitle {
    font-size: 16px;
    color: var(--color-border-gray);
}

.calc-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.calc-tab-btn {
    padding: 14px 24px;
    border-radius: var(--border-radius);
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 14px;
    border: 1px solid var(--color-border-gray);
    background-color: var(--color-white);
    color: var(--color-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.calc-tab-btn:hover {
    border-color: var(--color-gold-mustard);
    color: var(--color-charcoal-pure);
}

.calc-tab-btn.active {
    background-color: var(--color-gold-mustard);
    border-color: var(--color-gold-mustard);
    color: var(--color-charcoal-pure);
}

.calc-tab-btn .btn-icon {
    font-size: 16px;
}

.calc-container {
    max-width: 800px;
    margin: 0 auto;
}

.calculator-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border-gray);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: none;
}

.calculator-card.active {
    display: block;
}

.calc-progress-bar {
    height: 6px;
    background-color: var(--color-border-gray);
    width: 100%;
}

.calc-progress-bar .progress {
    height: 100%;
    background-color: var(--color-gold-mustard);
    width: 0;
    transition: width 0.3s ease;
}

.calc-form {
    padding: 40px;
}

.calc-step {
    display: none;
}

.calc-step.active {
    display: flex;
    flex-direction: column;
    animation: slideStepIn 0.4s ease forwards;
}

@keyframes slideStepIn {
    from {
        opacity: 0;
        transform: translateX(15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-question {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 24px;
    text-align: center;
}

.step-subtext {
    font-size: 14px;
    color: var(--color-text-secondary);
    text-align: center;
    margin-top: -16px;
    margin-bottom: 24px;
}

/* Card options */
.card-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.option-card {
    border: 2px solid var(--color-border-gray);
    border-radius: var(--border-radius);
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    transition: var(--transition-fast);
}

.option-card input[type="radio"] {
    position: absolute;
    top: 12px;
    right: 12px;
    accent-color: var(--color-gold-mustard);
}

.option-card:hover {
    border-color: var(--color-gold-mustard);
    background-color: rgba(207, 159, 29, 0.02);
}

.option-card:has(input[type="radio"]:checked) {
    border-color: var(--color-gold-mustard);
    background-color: var(--color-gold-light);
}

.card-icon-big {
    font-size: 32px;
}

.card-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.card-desc {
    font-size: 11px;
    color: var(--color-text-muted);
}

/* Card Options 2 (2 columns) */
.card-options-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.card-options-2 .option-card {
    padding: 30px 20px;
}

/* Compact options */
.card-options-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.option-card-compact {
    border: 2px solid var(--color-border-gray);
    border-radius: var(--border-radius);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-fast);
    position: relative;
}

.option-card-compact input[type="radio"] {
    display: none;
}

.option-card-compact:hover {
    border-color: var(--color-gold-mustard);
}

.option-card-compact:has(input[type="radio"]:checked) {
    border-color: var(--color-gold-mustard);
    background-color: var(--color-gold-light);
}

/* Checkbox options card styling */
.checkbox-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.checkbox-card-item {
    border: 1px solid var(--color-border-gray);
    border-radius: var(--border-radius);
    padding: 16px 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.checkbox-card-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-gold-mustard);
}

.checkbox-card-item:hover {
    border-color: var(--color-gold-mustard);
}

.checkbox-card-item:has(input[type="checkbox"]:checked) {
    border-color: var(--color-gold-mustard);
    background-color: var(--color-gold-light);
}

.item-text {
    font-size: 14px;
}

/* Sliders */
.form-group-range {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
}

.range-value {
    color: var(--color-gold-mustard);
    font-weight: 700;
    font-size: 16px;
}

.input-range {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--color-border-gray);
    outline: none;
    transition: opacity 0.2s;
}

.input-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-gold-mustard);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.input-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-gold-mustard);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.radio-group-inline {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

.radio-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.radio-inline input {
    accent-color: var(--color-gold-mustard);
}

.calc-footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--color-border-gray);
    padding-top: 30px;
    margin-top: 10px;
}

/* Result Screen */
.step-results {
    align-items: center;
}

.result-header {
    text-align: center;
    margin-bottom: 24px;
}

.result-badge {
    background-color: rgba(52, 199, 89, 0.15);
    color: var(--color-success);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
}

.result-headline {
    font-size: 24px;
}

.result-price-box {
    background-color: var(--color-bg-gray);
    border: 2px solid var(--color-gold-mustard);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    width: 100%;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-range-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.price-range-amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-charcoal-pure);
}

.price-tax-note {
    font-size: 11px;
    color: var(--color-text-muted);
}

.result-details {
    width: 100%;
    padding: 24px;
    border-radius: var(--border-radius);
    margin-bottom: 24px;
}

.result-details h4 {
    font-size: 15px;
    margin-bottom: 12px;
}

.spec-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    border-bottom: 1px solid var(--color-border-gray);
    padding-bottom: 8px;
}
.spec-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-row span {
    color: var(--color-text-secondary);
}

.price-disclaimer {
    font-size: 12px;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 30px;
}

.result-lead-form {
    width: 100%;
    border-radius: var(--border-radius);
    padding: 32px;
}

.result-lead-form h4 {
    color: var(--color-gold-mustard);
    margin-bottom: 8px;
}

.result-lead-form p {
    font-size: 13px;
    color: var(--color-border-gray);
    margin-bottom: 24px;
}

.lead-form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lead-form-fields label {
    color: var(--color-white);
}

.lead-form-fields input {
    background-color: var(--color-charcoal-light);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}
.lead-form-fields input:focus {
    background-color: var(--color-charcoal-pure);
}

/* --------------------------------------------------------------------------
   14. LEGAL & UTILITY VIEWS
   -------------------------------------------------------------------------- */
.legal-container {
    max-width: 800px;
    padding-top: 60px;
    padding-bottom: 80px;
}

.legal-container h2 {
    font-size: 32px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--color-border-gray);
    padding-bottom: 16px;
}

.legal-container h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-container p {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.legal-container ul {
    list-style-type: disc;
    padding-left: 24px;
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--color-text-secondary);
}

.legal-container li {
    margin-bottom: 8px;
}

/* Success Modal styling */
.modal-success-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.modal-success-wrap.active {
    opacity: 1;
    visibility: visible;
}

.modal-success-card {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.modal-success-wrap.active .modal-success-card {
    transform: scale(1);
}

.modal-check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(52, 199, 89, 0.15);
    color: var(--color-success);
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.modal-success-card h3 {
    font-size: 22px;
}

.modal-success-card p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.btn-close-modal {
    margin-top: 10px;
    padding: 10px 24px;
}

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.main-footer {
    padding: 80px 0 0;
    background-color: var(--color-charcoal-pure);
    border-top: 1px solid var(--color-charcoal-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.footer-badges {
    display: flex;
    gap: 12px;
}

.footer-badge {
    background-color: var(--color-charcoal-light);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
}

.footer-title {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-gold-mustard);
    padding-left: 4px;
}

.footer-contact-info {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer-contact-info a:hover {
    color: var(--color-gold-mustard);
}

.footer-bottom {
    border-top: 1px solid var(--color-charcoal-light);
    padding: 30px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copy-text {
    font-size: 13px;
    color: var(--color-text-muted);
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    font-size: 13px;
    color: var(--color-text-muted);
}

.legal-links a:hover {
    color: var(--color-gold-mustard);
}


/* --------------------------------------------------------------------------
   16. RESPONSIVE MEDIA QUERIES (ADAPTIVITY)
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .grid-2, .grid-2-valign {
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 900px) {
    /* Header toggle visibility */
    .nav-desktop {
        display: none;
    }
    .mobile-nav-toggle {
        display: flex;
    }
    .nav-cta {
        display: none;
    }
    
    .grid-2, .grid-2-valign {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .warum-mae .grid-2 {
        display: flex;
        flex-direction: column-reverse;
    }
    .visual-stack {
        max-width: 100%;
    }
    .visual-main {
        height: 380px;
    }
    .visual-badge {
        bottom: -20px;
        left: 20px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    .hero-section {
        padding: 100px 0 120px;
    }
    .hero-title {
        font-size: 34px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    
    .option-card {
        padding: 16px 10px;
    }
    .card-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calc-tabs {
        gap: 8px;
    }
    .calc-tab-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .calc-form {
        padding: 24px;
    }
    
    .price-range-amount {
        font-size: 26px;
    }
}

@media (max-width: 580px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .contact-cards {
        grid-template-columns: 1fr;
    }
    .grid-2-small {
        grid-template-columns: 1fr;
    }
    .card-options-2 {
        grid-template-columns: 1fr;
    }
    .card-options-compact {
        grid-template-columns: 1fr;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .hero-ctas .btn {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .visual-badge {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 20px;
        max-width: 100%;
    }
}

/* ==========================================================================
   MAE — DESIGN REFRESH LAYER  (appended; overrides by source order)
   Direction: engineered craftsmanship. Heavy grotesk display (Archivo),
   Plex body, and a IBM Plex Mono "datasheet" voice for every number, price
   and spec — the way an electrical data sheet reads. Gold = live current.
   Signature: the lightning-bolt eyebrow + dotted-leader price rows.
   ========================================================================== */

:root {
    --border-radius: 10px;
    --border-radius-lg: 16px;
    --border-radius-sm: 5px;
    --shadow-sm: 0 1px 2px rgba(20, 17, 13, 0.05), 0 2px 8px rgba(20, 17, 13, 0.04);
    --shadow-md: 0 10px 30px rgba(20, 17, 13, 0.09);
    --shadow-lg: 0 18px 50px rgba(20, 17, 13, 0.14);
    --bolt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e0a92e' d='M13 2 L4 14 L11 14 L9 22 L20 9 L13 9 Z'/%3E%3C/svg%3E");
}

/* ---- Typography refinements ------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-accent);
    letter-spacing: -0.02em;
}
.section-title {
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.12;
}
.section-desc { color: var(--color-text-secondary); }

/* ---- Signature eyebrow: mono + leading bolt --------------------------- */
.section-tagline,
.service-tag {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 12.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold-hover);
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.section-tagline::before,
.service-tag::before {
    content: "";
    width: 14px;
    height: 14px;
    background: var(--bolt) center / contain no-repeat;
    flex: 0 0 auto;
    transform: translateY(-0.5px);
}
/* center-aligned headers shouldn't push the bolt off-axis */
.section-header .section-tagline,
.text-center .service-tag { justify-content: center; }

/* ---- Buttons: crisper, more deliberate -------------------------------- */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: 0.005em;
    border-radius: var(--border-radius-sm);
    padding: 14px 26px;
    transition: transform 0.18s cubic-bezier(.2,.7,.3,1), background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
    will-change: transform;
}
.btn-primary {
    background-color: var(--color-gold-mustard);
    color: var(--color-charcoal-pure);
    box-shadow: 0 6px 18px rgba(224, 169, 46, 0.28);
}
.btn-primary:hover {
    background-color: var(--color-gold-mustard);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(224, 169, 46, 0.38);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary { border-width: 1.5px; }
.btn-secondary:hover { transform: translateY(-2px); }
.btn-small {
    border-radius: var(--border-radius-sm);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
}
.btn-text { font-family: var(--font-primary); }

/* Accessible focus ring (quality floor) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
    outline: 2.5px solid var(--color-gold-mustard);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

/* ---- Header: thin warm hairline + tighter brand ----------------------- */
.main-header {
    border-bottom: 1px solid var(--color-border-gray);
    background-color: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(140%) blur(14px);
}
.brand-name { font-family: var(--font-accent); font-weight: 900; letter-spacing: -0.03em; }
.brand-sub {
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: 0.22em;
    font-size: 0.62em;
}

/* ---- Hero: ink wash + ambient gold current ---------------------------- */
.hero-section { padding: 150px 0 150px; }
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 55% at 50% 0%, rgba(224, 169, 46, 0.16), transparent 70%),
        linear-gradient(to top, rgba(20, 17, 13, 0.55), transparent 45%);
    pointer-events: none;
}
.hero-container { position: relative; z-index: 1; }
.hero-badge {
    background-color: rgba(224, 169, 46, 0.12);
    border: 1px solid rgba(224, 169, 46, 0.35);
    color: #f3e6c6;
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
}
.hero-title {
    font-family: var(--font-accent);
    font-weight: 900;
    font-size: clamp(34px, 5.4vw, 58px);
    letter-spacing: -0.035em;
    line-height: 1.05;
}
.hero-title .hl {
    color: var(--color-gold-mustard);
    white-space: nowrap;
}
.hero-subtitle {
    font-size: clamp(16px, 1.6vw, 19px);
    color: #d9d2c4;
    max-width: 660px;
}
.trust-item { color: #ece7dc; }
.trust-icon {
    border-radius: 4px;
    background-color: var(--color-gold-mustard);
}

/* ---- Service cards ---------------------------------------------------- */
.service-card {
    border: 1px solid var(--color-border-gray);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--color-white);
}
.service-card-title { font-family: var(--font-accent); font-weight: 800; letter-spacing: -0.02em; }
.service-card-list li span { color: var(--color-gold-mustard); }
.service-icon-wrap {
    background: var(--color-gold-light);
    border-radius: var(--border-radius);
}
.service-svg-icon { fill: var(--color-gold-hover); }

/* ---- Numbers speak in mono (the datasheet voice) ---------------------- */
.visual-badge .number,
.step-num,
.range-value,
.price-range-amount,
.portfolio-meta,
.review-stars {
    font-family: var(--font-mono);
    font-feature-settings: "tnum" 1;
}
.step-num {
    color: var(--color-gold-mustard);
    font-weight: 600;
    letter-spacing: -0.02em;
    opacity: 0.9;
}
.visual-badge .number { font-weight: 600; letter-spacing: -0.03em; }
.portfolio-meta { color: var(--color-text-muted); letter-spacing: 0.01em; font-size: 13px; }
.portfolio-category {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11.5px;
    color: var(--color-gold-hover);
}

/* ---- Pricing as a spec sheet: mono + dotted leaders ------------------- */
.pricing-guide {
    border: 1px solid rgba(224, 169, 46, 0.22);
    border-radius: var(--border-radius);
}
.price-title {
    font-family: var(--font-mono);
    letter-spacing: 0.12em;
}
.price-row {
    align-items: baseline;
    gap: 10px;
}
.price-row span {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    flex: 1 1 auto;
}
.price-row span::after {
    content: "";
    position: absolute;
    bottom: 0.28em;
    margin-left: 8px;
    width: 100%;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
}
.price-row strong {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--color-gold-mustard);
    font-feature-settings: "tnum" 1;
    white-space: nowrap;
    flex: 0 0 auto;
}
.price-note { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.02em; }

/* ---- Reviews + steps: a touch more structure -------------------------- */
.review-card,
.step-card {
    border: 1px solid var(--color-border-gray);
    border-radius: var(--border-radius-lg);
}
.review-stars { color: var(--color-gold-mustard); letter-spacing: 2px; }
.author-name { font-family: var(--font-accent); font-weight: 700; }
.author-location { font-family: var(--font-mono); font-size: 12px; color: var(--color-text-muted); }

/* ---- Footer ----------------------------------------------------------- */
.footer-title {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
    color: var(--color-gold-mustard);
}
.footer-badge {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.04em;
}

/* ---- Calculator tabs: active = live ----------------------------------- */
.calc-tab-btn.active {
    border-color: var(--color-gold-mustard);
    box-shadow: inset 0 -2px 0 var(--color-gold-mustard);
}

/* ---- Section rhythm: hairline current line between bands -------------- */
.leistungen-overview,
.workflow-section,
.reviews-section,
.kontakt-section {
    position: relative;
}

/* ---- Motion: respect reduced-motion ----------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .btn:hover, .card-hover:hover { transform: none; }
}

/* ==========================================================================
   WHATSAPP DIREKT-BUTTON (schwebend, unten rechts)
   ========================================================================== */
.whatsapp-float{
    position:fixed; right:22px; bottom:22px; z-index:1000;
    display:inline-flex; align-items:center; gap:10px;
    background:#25D366; color:#fff; text-decoration:none;
    padding:14px 22px 14px 16px; border-radius:50px;
    box-shadow:0 8px 24px rgba(0,0,0,.22);
    font-family:var(--font-accent, sans-serif); font-weight:700; font-size:1rem;
    transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.whatsapp-float:hover{ background:#1ebe5a; transform:translateY(-2px); box-shadow:0 12px 30px rgba(0,0,0,.28); color:#fff; }
.whatsapp-float .wa-icon{ width:28px; height:28px; fill:#fff; flex-shrink:0; }
.whatsapp-float .wa-label{ white-space:nowrap; }
/* dezent pulsierender Ring fuer Aufmerksamkeit */
.whatsapp-float::before{
    content:""; position:absolute; inset:0; border-radius:50px; pointer-events:none;
    box-shadow:0 0 0 0 rgba(37,211,102,.45); animation:waPulse 2.6s infinite;
}
@keyframes waPulse{
    0%{ box-shadow:0 0 0 0 rgba(37,211,102,.45); }
    70%{ box-shadow:0 0 0 16px rgba(37,211,102,0); }
    100%{ box-shadow:0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width:600px){
    .whatsapp-float{ right:16px; bottom:16px; padding:14px; }
    .whatsapp-float .wa-label{ display:none; }   /* nur Icon auf kleinen Bildschirmen */
}
@media (prefers-reduced-motion:reduce){
    .whatsapp-float::before{ animation:none; }
}
