/* =========================================
   DENKO BAU GMBH - Website Styles
   Trockenbau und Fassade
   ========================================= */

/* CSS Variables */
:root {
    --primary: #0078D4;
    --primary-dark: #005a9e;
    --primary-light: #4da3ff;
    --secondary: #f59e0b;
    --dark: #1a1a2e;
    --dark-blue: #0f172a;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: clamp(36px, 5vw, 52px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: clamp(20px, 2.5vw, 24px); }
h4 { font-size: 18px; }

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-headline {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-description {
    font-size: 17px;
    color: var(--text-gray);
    max-width: 600px;
    line-height: 1.7;
}

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

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 120, 212, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

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

.btn-white:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

/* =========================================
   HEADER
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

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

.logo img {
    height: 50px;
    width: auto;
    /* Logo blau färben (Primary #0078D4) */
    filter: brightness(0) saturate(100%) invert(32%) sepia(93%) saturate(1700%) hue-rotate(190deg) brightness(96%) contrast(101%);
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-text span {
    color: var(--primary);
}

.logo-tagline {
    font-size: 11px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

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

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

.nav-link:hover::after {
    width: 100%;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link::after {
    display: none;
}

.nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 12px 0;
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

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

.nav-dropdown-content a:hover {
    background: var(--light-bg);
    color: var(--primary);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary);
}

.header-phone svg {
    width: 18px;
    height: 18px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* =========================================
   HERO SECTION (Split-Layout mit Bild rechts)
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.hero-content {
    width: 55%;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px 80px;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: var(--white);
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
}

.hero-headline .highlight {
    color: var(--secondary);
}

.hero-description {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

/* Hero Image - Right Side */
.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

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

.hero-image-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Drittel-Layout: 0-33% solid, 33-66% Verlauf, 66-100% transparent */
    background: linear-gradient(90deg, 
        var(--primary) 0%,
        var(--primary) 33%,
        rgba(0, 120, 212, 0.97) 36%,
        rgba(0, 120, 212, 0.92) 39%,
        rgba(0, 120, 212, 0.85) 42%,
        rgba(0, 120, 212, 0.75) 45%,
        rgba(0, 120, 212, 0.63) 48%,
        rgba(0, 120, 212, 0.50) 50%,
        rgba(0, 120, 212, 0.38) 52%,
        rgba(0, 120, 212, 0.27) 55%,
        rgba(0, 120, 212, 0.18) 58%,
        rgba(0, 120, 212, 0.10) 61%,
        rgba(0, 120, 212, 0.05) 63%,
        rgba(0, 120, 212, 0.02) 65%,
        transparent 66%,
        transparent 100%);
    z-index: 2;
    pointer-events: none;
}

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

.hero-stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
}

.hero-stat-label {
    font-size: 13px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services {
    padding: 100px 0;
    background: var(--light-bg);
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header .section-description {
    margin: 0 auto;
}

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

/* Service Cards with Photos */
.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

.service-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

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

.service-card:hover .service-card-image img {
    transform: scale(1.08);
}

.service-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
}

.service-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.service-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    flex: 1;
}

.service-card .btn {
    margin-top: 16px;
    padding: 10px 20px;
    font-size: 13px;
    align-self: flex-start;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 24px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-image-badge .number {
    font-size: 42px;
    font-weight: 700;
}

.about-image-badge .label {
    font-size: 13px;
    opacity: 0.9;
}

.about-text .section-label {
    margin-bottom: 12px;
}

.about-text .section-headline {
    margin-bottom: 20px;
}

.about-text .section-description {
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
}

.about-feature svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    flex-shrink: 0;
}

/* =========================================
   WHY US SECTION
   ========================================= */
.why-us {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
}

.why-us .section-label {
    color: var(--secondary);
}

.why-us .section-headline {
    color: var(--white);
}

.why-us .section-description {
    color: rgba(255,255,255,0.7);
}

.why-us-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-us-header .section-description {
    margin: 0 auto;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-us-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.why-us-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.why-us-card .icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-us-card .icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.why-us-card h4 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 8px;
}

.why-us-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta h2 {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--white);
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact {
    padding: 100px 0;
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 24px;
}

.contact-info > p {
    color: var(--text-gray);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item .icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item .icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--white);
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 15px;
    color: var(--text-gray);
}

.contact-item a {
    color: var(--primary);
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
}

/* =========================================
   FOOTER - Neues professionelles Layout
   ========================================= */
.footer {
    background: #1a1a2e;
    color: #fff;
    padding: 80px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: #fff;
}

/* Footer Brand */
.footer-brand .footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-brand .footer-logo img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* Footer Links */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-col ul a:hover {
    color: #fff;
}

/* Footer Locations - 3 Gruppen */
.footer-locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.footer-location-group .location-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-location-group ul li {
    margin-bottom: 8px;
}

.footer-location-group ul a {
    font-size: 13px;
}

/* Footer Contact */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-contact-list li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
}

.footer-contact-list li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-list li a:hover {
    color: #fff;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

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

.footer-legal a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #fff;
}

/* Legacy Footer Support */
.footer-content,
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-top: 16px;
    max-width: 300px;
}

.footer h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--white);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

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

/* =========================================
   KONTAKT-SEKTION (vor Footer auf Unterseiten)
   ========================================= */
.page-contact {
    background: linear-gradient(135deg, var(--primary) 0%, #005bb5 100%);
    padding: 60px 0;
    color: #fff;
}

.page-contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.page-contact-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}

.page-contact-text p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.page-contact-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.page-contact .btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-contact .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.page-contact .btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.5);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-contact .btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.page-contact-info {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.page-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.page-contact-item a {
    color: #fff;
    text-decoration: none;
}

.page-contact-item a:hover {
    text-decoration: underline;
}

/* =========================================
   SERVICE DETAIL PAGES
   ========================================= */

/* Service Page Hero - 2-Spalten Layout mit Bild */
.service-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 0 60px;
}

.service-hero .container {
    width: 100%;
    max-width: 1200px;
}

.service-hero .hero-content {
    width: 100%;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.service-hero .hero-text {
    max-width: 100%;
    text-align: left;
}

.service-hero .hero-description {
    margin-bottom: 32px;
}

.service-hero .hero-buttons {
    justify-content: flex-start;
}

.service-hero .hero-image {
    position: relative;
    width: 100%;
    height: auto;
}

.service-hero .hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
    .service-hero .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-hero .hero-text {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .service-hero .hero-buttons {
        justify-content: center;
    }
    
    .service-hero .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .service-hero .hero-image img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .service-hero {
        min-height: auto;
        padding: 100px 16px 40px;
    }
    
    .service-hero .hero-content {
        gap: 30px;
    }
    
    .service-hero .hero-image img {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .service-hero .hero-image img {
        height: 180px;
    }
}

.services-detail {
    padding: 100px 0;
    background: var(--light-bg);
}

.section-header.centered {
    text-align: center;
    margin-bottom: 60px;
}

.section-subheadline {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card-detailed {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-card-detailed .service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-card-detailed .service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.service-card-detailed h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card-detailed p {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-card-detailed ul {
    list-style: none;
}

.service-card-detailed ul li {
    font-size: 14px;
    color: var(--text-gray);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.service-card-detailed ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 28px;
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: 12px;
}

.benefit-item h4 {
    font-size: 17px;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.benefit-item p {
    font-size: 14px;
    color: var(--text-gray);
}

.benefits-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.benefits-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Regional Links */
.regional-links {
    padding: 80px 0;
    background: var(--light-bg);
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.region-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.region-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: var(--primary);
}

.region-card:hover .region-name,
.region-card:hover .region-arrow {
    color: var(--white);
}

.region-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.region-arrow {
    font-size: 20px;
    color: var(--primary);
    transition: var(--transition);
}

/* Process Steps */
.process {
    padding: 100px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 35px;
    right: -10px;
    width: 20px;
    height: 2px;
    background: var(--primary);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: var(--text-gray);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    /* Hero auf Tablet/Mobile: Vollbild mit Overlay */
    .hero {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    }
    
    .hero-content {
        width: 100%;
        padding: 120px 24px 60px;
        text-align: center;
    }
    
    .hero-text {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-description {
        margin: 0 auto 32px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-image-gradient {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid-detailed {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
    }
    
    .benefits-image {
        order: -1;
    }
    
    .region-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-step::after {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        display: none;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .nav-dropdown .nav-link {
        padding: 12px 0;
        display: block;
        border-bottom: 1px solid var(--light-bg);
    }
    
    .nav-dropdown-content {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 0;
        padding-left: 16px;
        background: var(--light-bg);
        margin-top: 8px;
        border-radius: 8px;
    }
    
    .nav-link {
        padding: 12px 0;
        display: block;
        border-bottom: 1px solid var(--light-bg);
    }
    
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    }
    
    .mobile-menu-btn span {
        width: 24px;
        height: 2px;
        background: var(--text-dark);
        transition: var(--transition);
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .header-phone {
        display: none;
    }
    
    /* Header CTA auf Mobile komplett verstecken */
    .header-cta {
        display: none;
    }
    
    /* Hero auf Mobile */
    .hero-content {
        padding: 100px 16px 40px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid-detailed {
        grid-template-columns: 1fr;
    }
    
    .region-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    /* Kompaktere Process-Steps auf Mobile */
    .process-step {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
        text-align: left;
        background: var(--light-bg);
        border-radius: var(--border-radius);
        margin-bottom: 12px;
    }
    
    .process-step .step-number {
        margin: 0;
        flex-shrink: 0;
    }
    
    /* Benefits Bild nicht zu groß */
    .benefits-image img {
        height: auto;
        max-height: 300px;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer Grid Fix */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-legal a {
        margin: 0 12px;
    }
    
    /* About Badge auf Mobile */
    .about-image-badge {
        right: 0;
        bottom: 0;
    }
}

/* Extra kleine Screens (< 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-stat {
        text-align: center;
    }
    
    .hero-headline {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .contact-form {
        padding: 24px 16px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Verhindert iOS-Zoom */
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .service-hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    /* Service Cards kompakter */
    .service-card-image {
        height: 150px;
    }
    
    .service-card-content {
        padding: 20px;
    }
    
    /* Section Padding reduzieren */
    .services,
    .about,
    .cta,
    .contact,
    .services-detail,
    .benefits,
    .process {
        padding: 60px 0;
    }
    
    .section-headline {
        font-size: 24px;
    }
    
    /* CTA kompakter */
    .cta h2 {
        font-size: 22px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* Benefits kompakter */
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin: 0 auto;
    }
}

/* =========================================
   RELATED SERVICES (Querverlinkung)
   ========================================= */
.related-services {
    padding: 60px 0;
    background: var(--light-bg);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.related-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.related-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.related-card p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.related-card .btn {
    padding: 8px 16px;
    font-size: 12px;
}

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

@media (max-width: 480px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MOBILE FAB (Floating Action Button)
   ========================================= */
.mobile-fab {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.fab-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 120, 212, 0.4);
    transition: var(--transition);
}

.fab-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 120, 212, 0.5);
}

.fab-toggle svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    transition: var(--transition);
}

.fab-icon-close {
    display: none;
}

.mobile-fab.active .fab-icon-open {
    display: none;
}

.mobile-fab.active .fab-icon-close {
    display: block;
}

.mobile-fab.active .fab-toggle {
    background: var(--text-dark);
}

.fab-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.mobile-fab.active .fab-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--white);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    transition: var(--transition);
}

.fab-option:hover {
    transform: translateX(-5px);
}

.fab-option svg {
    width: 20px;
    height: 20px;
}

.fab-whatsapp {
    background: #25D366;
    color: var(--white);
}

.fab-whatsapp svg {
    fill: var(--white);
}

.fab-contact svg {
    stroke: var(--primary);
}

/* Show FAB only on mobile */
@media (max-width: 768px) {
    .mobile-fab {
        display: block;
    }
}

/* =========================================
   FOOTER WHITE LOGO
   ========================================= */
.footer .logo-white .logo-text {
    color: var(--white);
}

.footer .logo-white .logo-text span {
    color: var(--primary-light);
}

.footer .logo-white .logo-tagline {
    color: rgba(255, 255, 255, 0.6);
}

/* =========================================
   HERO SMALL (for Legal/Info Pages)
   ========================================= */
.hero.hero-small {
    min-height: 45vh;
}

.hero.hero-small .hero-content {
    padding: 140px 40px 60px 80px;
}

.hero.hero-small .hero-headline {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
}

.hero.hero-small .hero-description {
    font-size: 17px;
    margin-bottom: 0;
    max-width: 450px;
}

@media (max-width: 1024px) {
    .hero.hero-small .hero-content {
        padding: 140px 24px 60px;
    }
}

@media (max-width: 768px) {
    .hero.hero-small {
        min-height: 35vh;
    }
    
    .hero.hero-small .hero-content {
        padding: 120px 16px 40px;
    }
}

/* =========================================
   LEGAL CONTENT (Impressum, Datenschutz)
   ========================================= */
.legal-content {
    padding: 80px 0 100px;
    background: var(--white);
}

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

.legal-container h2 {
    font-size: 22px;
    margin: 40px 0 16px;
    color: var(--text-dark);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--light-bg);
}

.legal-container h2:first-child {
    margin-top: 0;
}

.legal-container h3 {
    font-size: 18px;
    margin: 28px 0 12px;
    color: var(--text-dark);
}

.legal-container p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.legal-container p strong {
    color: var(--text-dark);
}

.legal-container a {
    color: var(--primary);
}

.legal-container a:hover {
    text-decoration: underline;
}

.legal-container ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-container ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 60px 0 80px;
    }
    
    .legal-container h2 {
        font-size: 20px;
    }
    
    .legal-container h3 {
        font-size: 17px;
    }
}

/* =========================================
   NEUER FOOTER & KONTAKTSEKTION - RESPONSIVE
   ========================================= */

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

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-locations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .page-contact-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .page-contact-actions {
        justify-content: center;
    }
    
    .page-contact-info {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-locations-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 12px;
    }
    
    .footer-location-group .location-label {
        font-size: 11px;
    }
    
    .footer-location-group ul a {
        font-size: 12px;
    }
}
