/*
Theme Name: Logo Digitalisierung Custom
Theme URI: https://logo-digitalisierung.de
Author: Das-Layout
Description: Ein extrem schlankes, maßgeschneidertes Theme für maximale Performance und schnelle Ladezeiten.
Version: 1.0
Text Domain: logotheme
*/

/* ==========================================================================
   1. SCHRIFTEN LOKAL EINBINDEN
   ========================================================================== */
@font-face { font-family: 'Sofia Sans'; src: url('fonts/SofiaSans-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Sofia Sans'; src: url('fonts/SofiaSans-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Sofia Sans'; src: url('fonts/SofiaSans-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Sofia Sans'; src: url('fonts/SofiaSans-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

/* ==========================================================================
   2. BASIS-STYLING & TYPOGRAFIE
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box; 
}

html, body {
    max-width: 100%;
    overflow-x: clip; 
}
body { font-family: 'Sofia Sans', Arial, sans-serif; font-weight: 300; font-size: 18px; line-height: 1.6; margin: 0; padding: 0; background-color: #F4F4F0; color: #333333; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; }
h1 { font-weight: 700; font-size: 54px; line-height: 1.1em; text-transform: uppercase; margin-bottom: 20px; color: #FFFFFF; }
h2 { font-weight: 400; font-size: 32px; line-height: 1.2em; margin-bottom: 30px; }
h3 { font-weight: 600; font-size: 26px; line-height: 1.3em; }
p { margin-bottom: 20px; }
.highlight-text { color: #C5BF8F; }
.container-1200 { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-1400 { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.section-title { text-align: center; font-weight: 700; font-size: 42px; text-transform: uppercase; margin-bottom: 60px; }
.dark-text { color: #213B5A; }

/* Utilities */
.bg-blue { background-color: #213B5A; color: #FFFFFF; }
.bg-white { background-color: #FFFFFF; }
.split-section { padding: 100px 0; }
.split-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 60px; }
.split-text { flex: 1; }
.split-image { flex: 1; text-align: center; }
.split-image img { max-width: 100%; height: auto; border-radius: 4px; }

/* Rote CTA Box */
.cta-red { background-color: #FF4343; color: #FFFFFF; text-align: center; padding: 100px 20px; }
.cta-red h2 { color: #FFFFFF; font-size: 42px; font-weight: 700; text-transform: uppercase; margin-bottom: 30px; }

/* Buttons */
.btn-primary { display: inline-block; background-color: #C5BF8F; color: #FFFFFF; text-decoration: none; padding: 16px 45px; font-weight: 600; font-size: 16px; text-transform: uppercase; border-radius: 50px; border: none; cursor: pointer; transition: background-color 0.3s ease; }
.btn-primary:hover { background-color: #9F966A; }
.btn-gray { display: inline-block; background-color: #E0E0E0; color: #333; text-decoration: none; padding: 16px 45px; font-weight: 600; font-size: 16px; text-transform: uppercase; border-radius: 50px; border: none; cursor: pointer; transition: background-color 0.3s ease; }
.btn-gray:hover { background-color: #CCCCCC; }
.btn-red { display: inline-block; background-color: #FF4343; color: #FFFFFF; text-decoration: none; padding: 16px 45px; font-weight: 600; font-size: 16px; text-transform: uppercase; border-radius: 50px; border: none; cursor: pointer; transition: background-color 0.3s ease; text-align: center; }
.btn-red:hover { background-color: #e03b3b; }
.btn-white { display: inline-block; background-color: #FFFFFF; color: #FF4343; text-decoration: none; padding: 16px 45px; font-weight: 700; font-size: 16px; text-transform: uppercase; border-radius: 50px; transition: all 0.3s ease; }
.btn-white:hover { background-color: #F4F4F0; }
.btn-gold-outline { display: block; width: max-content; background-color: #9F966A; color: #FFFFFF; text-decoration: none; padding: 12px 30px; font-weight: 600; font-size: 14px; border-radius: 50px; transition: all 0.3s ease; white-space: nowrap; margin: auto auto 30px auto; }
.btn-gold-outline:hover { background-color: #C5BF8F; }

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */
.top-bar { background-color: #213B5A; color: #F6F6F6; padding: 10px 0; font-size: 14px; letter-spacing: 1px; }
.top-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.top-bar-email { color: #F6F6F6; text-decoration: none; display: flex; align-items: center; gap: 8px; transition: color 0.3s ease; margin-left: 20px; }
.top-bar-email:hover { color: #C5BF8F; }
.top-bar-right { display: flex; align-items: center; gap: 30px; }
.top-bar-socials { display: flex; gap: 10px; }
.top-bar-socials a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background-color: #172a42; border-radius: 50%; color: #FFFFFF; transition: all 0.3s; }
.top-bar-socials a:hover { background-color: #C5BF8F; color: #213B5A; }

/* Sticky Setup für die Haupt-Navigation */
.main-nav-bar { background-color: #F9F9F9; transition: all 0.3s ease; border: none; position: sticky; top: 0; z-index: 1000; width: 100%; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.main-nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; display: flex; justify-content: space-between; align-items: stretch; height: 90px; transition: height 0.3s ease; }

/* Menü Toggle Button */
.menu-toggle { display: none !important; }
.hamburger-icon { fill: #213B5A; }

.main-navigation { display: flex; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 15px; align-items: center; }
.nav-menu li a { display: block; padding: 15px 20px; color: #213B5A; text-decoration: none; font-weight: 600; font-size: 16px; text-transform: uppercase; transition: all 0.3s ease; border-radius: 0; }
.nav-menu li a:hover { color: #C5BF8F; }
.nav-menu li.current-menu-item a, .nav-menu li.current_page_item a { background-color: #EDEDED; color: #213B5A; }

/* LOGO: Desktop (Exakt Bündig - kein Herausragen mehr!) */
.header-overlap-logo { background-color: #213B5A; padding: 0 35px; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; }
.header-overlap-logo img { height: 60px; width: auto; display: block; transition: height 0.3s ease; }

/* STICKY ZUSTAND beim Scrollen (Leiste & Logo schrumpft) */
.main-nav-bar.scrolled { box-shadow: 0 5px 15px rgba(0,0,0,0.15); }
.main-nav-bar.scrolled .main-nav-inner { height: 65px; }
.main-nav-bar.scrolled .header-overlap-logo img { height: 40px; }

/* ==========================================================================
   4. HERO BEREICH
   ========================================================================== */
.hero-section { background-color: #213B5A; color: #FFFFFF; padding: 80px 0; }
.hero-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: flex-start; text-align: left; }
.hero-content { flex: 1; }
.hero-image { flex-basis: 40%; text-align: center; }
.hero-image img { max-width: 100%; height: auto; }
.hero-btn { margin-bottom: 80px; }
.hero-video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border: 5px solid #FFFFFF; border-radius: 4px; }
.hero-video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ==========================================================================
   5. MULTI-STEP FORMULAR & BERATER BOX
   ========================================================================== */
.form-section { background-color: #F4F4F0; padding: 80px 0; }
.form-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: flex-start; gap: 60px; }
.form-area { flex: 1; }
.form-headline { color: #213B5A; font-weight: 700; font-size: 42px; line-height: 1.1em; margin-bottom: 40px; text-transform: uppercase; }
.step-indicator { display: flex; align-items: center; margin-bottom: 30px; max-width: 400px; }
.step { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #213B5A; display: flex; justify-content: center; align-items: center; font-size: 14px; font-weight: 600; color: #213B5A; background: #F4F4F0; transition: all 0.3s ease; }
.step.active { background: #213B5A; color: #FFFFFF; }
.step-line { flex: 1; height: 1px; background-color: #213B5A; margin: 0 10px; }
.form-step { display: none; animation: fadeIn 0.4s ease-in-out; }
.form-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.step-buttons { display: flex; gap: 15px; margin-top: 25px; }
.smart-form-group { margin-bottom: 25px; background: #FFFFFF; padding: 20px; border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.smart-form-group label { display: block; font-weight: 600; color: #213B5A; margin-bottom: 10px; font-size: 18px; }
.smart-input { width: 100%; padding: 12px; border: 1px solid #cccccc; border-radius: 4px; font-family: inherit; font-size: 16px; background: #fdfdfd; }
.smart-slider { width: 100%; margin-bottom: 5px; }
.slider-info { font-size: 14px; color: #888; }
.radio-group label { display: block; font-weight: 400; font-size: 16px; margin-bottom: 10px; cursor: pointer; }
.file-upload-wrapper { background: #FFFFFF; padding: 20px; border: 2px dashed #213B5A; border-radius: 4px; margin-bottom: 20px; text-align: center; }

/* Berater Box */
.advisor-box { flex-basis: 400px; background-color: #213B5A; padding: 50px 40px; border-radius: 4px; color: #FFFFFF; position: sticky; top: 120px; }
.advisor-box h3 { font-weight: 400; font-size: 24px; line-height: 1.4em; margin-bottom: 30px; color: #FFF; }
.advisor-phone { font-weight: 700; font-size: 32px; color: #C5BF8F; display: flex; align-items: center; gap: 15px; margin-bottom: 40px; }
.phone-icon { width: 38px; height: 38px; flex-shrink: 0; }
.advisor-profile { display: flex; align-items: center; gap: 20px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; }
.advisor-avatar img { border-radius: 50%; width: 80px; height: 80px; object-fit: cover; border: none; }
.advisor-text { font-size: 16px; line-height: 1.4em; font-weight: 300; }

/* ==========================================================================
   6. PREISTABELLEN 
   ========================================================================== */
.pricing-section { background-color: #FFFFFF; padding: 80px 0; }
.pricing-grid { display: flex; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.price-card { flex: 1 1 280px; background: #F8F8F8; border-radius: 4px; overflow: hidden; position: relative; text-align: center; display: flex; flex-direction: column; padding-bottom: 0px; }
.price-header { background-color: #213B5A; color: #FFFFFF; padding: 30px 15px; position: relative; overflow: hidden; }
.price-header h3 { margin: 0 0 5px 0; font-size: 24px; color: #FFF; }
.price-header p { margin: 0; font-size: 14px; font-weight: 300; color: #A0B2C6; }
.ribbon { position: absolute; top: 15px; right: -35px; background: #FF4343; color: #FFF; padding: 5px 40px; font-size: 14px; font-weight: 700; transform: rotate(45deg); }
.price-amount { padding: 30px 0; color: #213B5A; font-size: 50px; font-weight: 700; line-height: 1; }
.price-amount .currency { font-size: 20px; vertical-align: super; margin-right: 5px; }
.price-amount .tax { display: block; font-size: 12px; font-weight: 300; color: #888888; margin-top: 10px; }
.price-features { list-style: none; padding: 0; margin: 0 0 30px 0; flex-grow: 1; }
.price-features li { padding: 15px 10px; border-bottom: 1px solid #EAEAEA; color: #555555; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; }
.price-features li::before { content: ''; display: inline-block; width: 18px; height: 18px; flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23213B5A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; }

/* ==========================================================================
   7. WIE ERHALTEN SIE IHR LOGO & VEKTOR INFO
   ========================================================================== */
.process-section { background-color: #F4F4F0; padding: 120px 0; }
.process-grid { display: flex; gap: 40px; }
.process-step { flex: 1; }
.process-step h3 { color: #C5BF8F; font-size: 24px; font-weight: 400; margin-bottom: 15px; }
.vector-info-section { background-color: #FFFFFF; padding: 80px 0; }
.vector-text { max-width: 900px; margin: 0 auto 50px auto; text-align: center; }
.vector-images { display: flex; justify-content: center; gap: 0; border: 1px solid #E0E0E0; border-radius: 4px; overflow: hidden; }
.vector-image-box { flex: 1; text-align: center; padding: 40px; }
.vector-image-box:first-child { border-right: 1px solid #E0E0E0; }
.vector-image-box img { height: 260px; width: auto; object-fit: contain; display: block; margin: 0 auto 20px auto; }
.vector-image-box p { color: #213B5A; font-weight: 400; margin: 0; }

/* ==========================================================================
   8. FAQ BEREICH
   ========================================================================== */
.faq-section { background-color: #213B5A; padding: 100px 0; color: #FFFFFF; position: relative; overflow: hidden; }
.faq-container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: flex-start; }
.faq-accordion { width: 60%; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.2); }
.faq-header { padding: 20px 0; font-size: 20px; font-weight: 600; cursor: pointer; position: relative; transition: color 0.3s; }
.faq-header:hover { color: #C5BF8F; }
.faq-header::before { content: '▶'; font-size: 12px; margin-right: 15px; color: #C5BF8F; display: inline-block; transition: transform 0.3s; }
.faq-header.active::before { transform: rotate(90deg); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.faq-content p { padding-bottom: 20px; padding-left: 25px; color: #A0B2C6; margin: 0; }
.faq-watermark { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 250px; font-weight: 700; color: rgba(197, 191, 143, 0.15); line-height: 1; z-index: -1; user-select: none; }

/* ==========================================================================
   9. BLOG BEREICH
   ========================================================================== */
.blog-section { background-color: #FFFFFF; padding: 80px 0; }
.blog-grid { display: flex; gap: 30px; flex-wrap: wrap; }
.blog-card { flex: 1 1 300px; border: 1px solid #E0E0E0; border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.blog-content { padding: 30px; background: #FFF; flex: 1; display: flex; flex-direction: column; }
.blog-content h3 { color: #213B5A; font-size: 22px; margin-bottom: 15px; }
.blog-content p { color: #555; flex: 1; }
.read-more { color: #C5BF8F; font-weight: 600; text-decoration: none; text-transform: uppercase; font-size: 14px; margin-top: 20px; }
.read-more:hover { color: #9F966A; }

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.site-footer { background-color: #213B5A; color: #FFFFFF; padding: 80px 0 40px 0; border-top: none; }
.footer-grid { display: flex; justify-content: flex-start; gap: 80px; flex-wrap: wrap; }
.footer-col { flex: 1; min-width: 200px; }
.footer-col h4 { color: #C5BF8F; font-size: 18px; font-weight: 700; margin-bottom: 25px; text-transform: uppercase; }
.footer-col p { color: #A0B2C6; font-size: 16px; line-height: 1.8; }
.footer-col a { color: #A0B2C6; text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: #FFFFFF; }
.footer-socials { display: flex; gap: 15px; margin-top: 20px; }
.footer-socials a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background-color: #172a42; border-radius: 50%; color: #FFFFFF; transition: all 0.3s; }
.footer-socials a:hover { background-color: #C5BF8F; color: #213B5A; }


/* ==========================================================================
   11. MOBILE OPTIMIERUNG (Smartphones & Tablets bis 991px)
   ========================================================================== */
@media (max-width: 991px) {
    
    /* Top Bar Mobile - Angepasster Kontrast für E-Mail */
    .top-bar { background-color: #F4F4F0; color: #9F966A; }
    .top-bar-inner { flex-direction: row; justify-content: space-between; align-items: center; padding: 10px 20px; }
    /* Font-weight zurück auf 600 gesetzt */
    .top-bar-email { color: #9F966A; margin-left: 0; font-size: 13px; font-weight: 600; }
    .top-bar-email:hover { color: #213B5A; }
    .top-bar-socials a { background-color: #213B5A; color: #FFFFFF; }
    .top-bar-socials a:hover { background-color: #C5BF8F; }
    
    /* Navbar Mobile */
    .main-nav-bar { background-color: #213B5A; border-bottom: none; }
    .main-nav-inner { padding: 0 20px; height: 75px; align-items: stretch; justify-content: space-between; }
    
    /* Hamburger Menü Icon (Zentriert) */
    .menu-toggle { display: flex !important; align-items: center; justify-content: center; margin: 0; background: transparent; border: none; padding: 0; cursor: pointer; }
    .hamburger-icon { fill: #FFFFFF; }
    
    /* Das Logo auf Mobile */
    .header-overlap-logo { position: static; order: -1; padding: 0; background-color: transparent; display: flex; align-items: center; justify-content: center; }
    .header-overlap-logo img { height: 40px; margin: 0; }
    
    /* Shrink-Effekt Mobile */
    .main-nav-bar.scrolled .main-nav-inner { height: 60px; }
    .main-nav-bar.scrolled .header-overlap-logo img { height: 35px; }

    /* Burgermenü aufklappbar */
    .main-navigation { display: none; width: 100%; padding-right: 0; background: #213B5A; border-top: 1px solid #172a42; position: absolute; top: 100%; left: 0; z-index: 999; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .main-navigation.toggled { display: block; }
    .nav-menu { flex-direction: column; gap: 0; align-items: flex-start; }
    .nav-menu li { width: 100%; }
    .nav-menu li a { padding: 15px 20px; border-bottom: 1px solid #172a42; color: #FFFFFF; background-color: transparent !important; }
    .nav-menu li.current-menu-item a { background-color: #172a42 !important; color: #C5BF8F; }

    /* Layout-Umbruch Container */
    .split-container, .form-container, .hero-container, .process-grid, .vector-images { flex-direction: column; }
    
    /* Mobile Anpassungen */
    h1 { font-size: 38px; }
    h2 { font-size: 26px; }
    
    /* Hero-Bereich Mobile Abstände nach oben VERGRÖSSERT, damit nichts abgeschnitten wird */
    .hero-section { padding-top: 60px !important; }
    
    /* Über uns: Mann zentrieren und Abstand zum Button verringern */
    .hero-image { margin-top: 10px; width: 100%; text-align: center; }
    .hero-image img { margin: 0 auto !important; max-height: 50vh !important; }
    
    /* Berater Box */
    .advisor-box { flex-basis: auto; width: 100%; position: static; margin-top: 40px; box-sizing: border-box; }
    .advisor-box h3 { font-size: 20px; line-height: 1.4em; }
    
    .faq-accordion { width: 100%; }
    .vector-image-box:first-child { border-right: none; border-bottom: 1px solid #E0E0E0; }
    .vector-images img { height: auto; max-width: 100%; }
    
    /* Footer Abstände Mobile */
    .site-footer { padding: 60px 20px 40px 20px; }
    .footer-grid { gap: 10px; flex-direction: column; }
    .footer-col { margin-bottom: 0; width: 100%; flex: none; }
    
    /* Philosophie Über uns Seite anpassen */
    .bg-white > div[style*="display: flex"] { flex-direction: column !important; }
    .bg-white > div > div[style*="width: 50%"] { width: 100% !important; min-height: 300px !important; padding: 40px 20px !important; }
}