/* ============================================
   LAYOUTS - Header, Hero, Sections, Footer
   ============================================ */

/* ==========================================
   HEADER - Simple Version
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    transition: box-shadow var(--duration-base) var(--ease-standard);
}

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

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 var(--sp-6);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--c-dark);
    text-decoration: none;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--c-primary);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--text-sm);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
}

.nav-links {
    display: flex;
    gap: var(--sp-6);
    list-style: none;
}

.nav-link {
    color: var(--c-text);
    font-weight: 500;
    padding: var(--sp-2) 0;
    transition: color var(--duration-fast) var(--ease-standard);
}

.nav-link:hover {
    color: var(--c-primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--c-dark);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}


/* ==========================================
   HERO SECTIONS
   ========================================== */

/* Hero Centered (wie deine Landingpage) */
.hero-centered {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--sp-16) var(--sp-6);
    background: linear-gradient(135deg, var(--c-dark) 0%, #1f2937 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-centered::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(220,38,38,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 700px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: var(--leading-tight);
    margin-bottom: var(--sp-6);
}

.hero-title .highlight {
    color: var(--c-primary);
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--sp-8);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--sp-4);
    justify-content: center;
    flex-wrap: wrap;
}


/* Hero Split (Text links, Bild rechts) */
.hero-split {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--sp-16);
    padding: calc(var(--header-height) + var(--sp-12)) var(--sp-6) var(--sp-12);
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

.hero-split .hero-content {
    max-width: 100%;
}

.hero-split .hero-title {
    color: var(--c-dark);
}

.hero-split .hero-subtitle {
    color: var(--c-text-soft);
    margin-left: 0;
    margin-right: 0;
}

.hero-split .hero-actions {
    justify-content: flex-start;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--c-bg);
}

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

@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding-top: calc(var(--header-height) + var(--sp-16));
    }
    
    .hero-split .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
}


/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--sp-12);
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: var(--sp-3);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--c-text-soft);
    max-width: 600px;
    margin: 0 auto;
}


/* ==========================================
   CONTENT GRIDS
   ========================================== */

/* 2-4 Column Grid */
.grid {
    display: grid;
    gap: var(--grid-gap, var(--sp-6));
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

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


/* ==========================================
   FEATURE/BENEFIT CARDS
   ========================================== */
.feature-card {
    text-align: center;
    padding: var(--sp-8);
}

.feature-card .icon-box {
    margin: 0 auto var(--sp-4);
}

.feature-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--c-dark);
    margin-bottom: var(--sp-2);
}

.feature-text {
    color: var(--c-text-soft);
    font-size: var(--text-base);
}


/* ==========================================
   PRICING / OFFER BOX
   ========================================== */
.offer-box {
    background: linear-gradient(135deg, var(--c-dark) 0%, #1f2937 100%);
    color: white;
    border-radius: var(--radius-2xl);
    padding: var(--sp-12);
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.offer-price {
    font-size: var(--text-5xl);
    font-weight: 800;
    margin-bottom: var(--sp-2);
}

.offer-price small {
    font-size: var(--text-xl);
    font-weight: 400;
    opacity: 0.7;
}

.offer-note {
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--sp-8);
}

.offer-box .check-list {
    text-align: left;
    margin-bottom: var(--sp-6);
}


/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonial-card {
    background: var(--c-surface);
    border-radius: var(--radius-xl);
    padding: var(--sp-8);
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--c-text);
    margin-bottom: var(--sp-6);
    line-height: var(--leading-relaxed);
}

.testimonial-text::before {
    content: '"';
    font-size: var(--text-4xl);
    color: var(--c-primary);
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: var(--sp-1);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--c-primary-soft);
    color: var(--c-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.testimonial-name {
    font-weight: 600;
    color: var(--c-dark);
}

.testimonial-role {
    font-size: var(--text-sm);
    color: var(--c-text-soft);
}


/* ==========================================
   CONTACT BOX
   ========================================== */
.contact-box {
    background: var(--c-surface);
    border-radius: var(--radius-2xl);
    padding: var(--sp-10);
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.contact-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: var(--sp-2);
}

.contact-subtitle {
    color: var(--c-text-soft);
    margin-bottom: var(--sp-8);
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    padding: var(--sp-4);
    background: var(--c-bg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--sp-3);
    font-size: var(--text-lg);
    color: var(--c-dark);
    text-decoration: none;
    transition: background var(--duration-fast) var(--ease-standard);
}

.contact-item:hover {
    background: var(--c-primary-soft);
}

.contact-person {
    margin-top: var(--sp-8);
}

.contact-name {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--c-dark);
}

.contact-location {
    color: var(--c-text-soft);
}


/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--c-dark);
    color: rgba(255,255,255,0.6);
    padding: var(--sp-16) var(--sp-6) var(--sp-8);
}

.footer-inner {
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

/* Footer Simple (1 Zeile) */
.footer-simple {
    text-align: center;
    padding: var(--sp-8) var(--sp-6);
}

/* Footer Grid (Multi-Column) */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-12);
    margin-bottom: var(--sp-12);
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: var(--sp-4);
}

.footer-title {
    font-weight: 600;
    color: white;
    margin-bottom: var(--sp-4);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--sp-2);
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    transition: color var(--duration-fast) var(--ease-standard);
}

.footer-links a:hover {
    color: var(--c-primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--sp-8);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: var(--text-sm);
}

.footer-legal {
    display: flex;
    gap: var(--sp-6);
}

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

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

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

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-8);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--sp-4);
        text-align: center;
    }
}
