/* CSS Variables */
:root {
    --primary-yellow: #f7d303;
    --primary-blue: #004aad;
    --light-blue: #88c9f9;
    --white: #ffffff;
    --dark: #1a1a1a;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(25px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 74, 173, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 74, 173, 0.1);
}

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

.logo img {
    height: 120px;
    width: auto;
}

.logo a {
    display: block;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.nav {
    display: flex;
    gap: 0;
    align-items: center;
    height: 120px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 400;
    padding: 16px 32px;
    border-radius: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    position: relative;
    margin: 0 4px;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, 
        #4A90E2 0%, 
        #5BA3F5 50%, 
        #6BB6FF 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px 2px 0 0;
}

.nav-link.active {
    background: linear-gradient(135deg, 
        #4A90E2 0%, 
        #5BA3F5 50%, 
        #6BB6FF 100%);
    color: var(--white);
    border-radius: 12px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

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

.nav-link:not(.active):hover::after {
    width: 80%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    background-image: url('/public/header_hintergrund.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 100px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  background: linear-gradient(135deg, 
    rgba(0, 74, 173, 0.88) 0%, 
    rgba(0, 74, 173, 0.82) 40%, 
    rgba(136, 201, 249, 0.75) 80%, 
    rgba(136, 201, 249, 0.65) 100%);
  backdrop-filter: blur(4px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    white-space: nowrap;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.9;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 15px 30px;
  border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background: #20b358;
}

/* Services Section */
.services {
    padding: 60px 0 40px 0;
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e8e8e8;
    animation: fadeInUp 0.6s ease forwards;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Animierter Balken am linken Rand */
.service-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 2px 2px 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(136, 201, 249, 0.25);
    border: 1px solid var(--light-blue);
    background: linear-gradient(135deg, rgba(136, 201, 249, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

/* Animierter Balken wird sichtbar */
.service-card:hover::before {
    height: 100%;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, 
        #4A90E2 0%, 
        #5BA3F5 50%, 
        #6BB6FF 100%);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.service-card:hover .service-icon i {
    color: var(--primary-yellow);
    transform: rotate(-5deg) scale(1.1);
}

.service-card:hover h3 {
    color: var(--primary-blue);
    transform: translateX(8px);
}

.service-card:hover .service-link {
    color: var(--primary-blue);
    font-weight: 600;
    transform: translateX(8px);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, 
        #4A90E2 0%, 
        #5BA3F5 50%, 
        #6BB6FF 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.service-icon i {
    font-size: 26px;
    color: var(--primary-yellow);
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1rem;
}

.service-link {
    color: #999;
    text-decoration: none;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-yellow);
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, 
        #4A90E2 0%, 
        #5BA3F5 50%, 
        #6BB6FF 100%);
    color: var(--white);
    padding: 15px 30px;
  border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    gap: 15px;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 40px 0 100px 0;
    background: var(--white);
}

.why-choose-us .section-title {
    margin-bottom: 40px;
}

.why-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, 
        #4A90E2 0%, 
        #5BA3F5 50%, 
        #6BB6FF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.why-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.why-icon i {
    font-size: 32px;
    color: var(--primary-yellow);
}

.why-content h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark);
    font-weight: 600;
}

.why-content p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 50px;
}

.credentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.credential {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.credential:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 74, 173, 0.15);
}

.credential-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, 
        #4A90E2 0%, 
        #5BA3F5 50%, 
        #6BB6FF 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.credential:hover .credential-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.credential-icon i {
    font-size: 24px;
    color: var(--primary-yellow);
    font-weight: 600;
}

.credential h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.credential p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.cta-icon i {
    font-size: 32px;
    color: var(--white);
}

.cta-slogan {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-yellow);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    position: relative;
}

.cta-slogan::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-yellow);
    border-radius: 2px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.9;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary-blue);
    padding: 15px 30px;
  border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-contact:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* Footer */
.footer {
    background: #151b26;
    color: var(--white);
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-section h3 .highlight {
    color: var(--primary-yellow);
}

.footer-section h4 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 500;
}

.footer-section p {
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.6;
    font-size: 1rem;
}

/* Legal pages specific styles */
.contact-info-card h2 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-info-card h2:first-child {
    margin-top: 0;
}

.contact-info-card ul {
    margin: 15px 0;
    padding-left: 25px;
}

.contact-info-card li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-info-card a {
    color: var(--primary-blue);
    text-decoration: none;
}

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

.footer-section .contact-item {
    color: var(--white);
    display: block;
    margin-bottom: 15px;
    opacity: 0.9;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.footer-section .contact-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 12px;
    background: #4A90E2;
    border-radius: 2px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    opacity: 0.9;
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--light-blue);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
    text-align: center;
    opacity: 0.8;
}

.footer-bottom p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

/* SIE7EN Link Styling */
.sie7en-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1em;
    letter-spacing: 0.1em;
}


.sie7en-golden {
    color: #ebc6b5;
    font-weight: 700;
}

/* Legal Pages Styling */
.legal-content {
    padding: 40px 0 80px 0;
    background: var(--white);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.legal-content .container {
    max-width: 900px;
}

.legal-content h2 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

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

.legal-content p {
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.legal-content ul {
    margin: 20px 0;
    padding-left: 30px;
    color: var(--dark);
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 1rem;
}

.legal-content a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.legal-content a:hover {
    text-decoration: underline;
    color: var(--light-blue);
}

.legal-content strong {
    color: var(--dark);
    font-weight: 600;
}

/* Services Page Styles */
.services-hero {
    background: var(--white);
    padding: 240px 0 40px 0;
    text-align: center;
}

.services-hero-title {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 30px;
    font-weight: 700;
}

.services-hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.detailed-services {
    padding: 40px 0;
    background: var(--white);
}

.detailed-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.detailed-service-card {
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.detailed-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 2px 2px 0;
}

.detailed-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(136, 201, 249, 0.25);
    border-color: var(--light-blue);
}

.detailed-service-header {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.detailed-service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, 
        #4A90E2 0%, 
        #5BA3F5 50%, 
        #6BB6FF 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.detailed-service-card:hover .detailed-service-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.detailed-service-icon i {
    font-size: 32px;
    color: var(--primary-yellow);
    font-weight: 600;
}

.detailed-service-title h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.detailed-service-title p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 1rem;
}

.detailed-service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.service-feature i {
    color: var(--primary-blue);
    font-size: 16px;
    flex-shrink: 0;
}

.service-feature span {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.services-cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    padding: 80px 0;
    margin: 40px auto;
    max-width: 1200px;
    border-radius: 30px;
    text-align: center;
    color: var(--white);
}

.services-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.services-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-contact-services {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary-blue);
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-contact-services:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* Contact Page Styles */
.contact-hero {
    background: var(--white);
    padding: 240px 0 40px 0;
    text-align: center;
}

.contact-hero-title {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.contact-content {
    padding: 40px 0 80px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-card {
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.contact-info-card h2 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, 
        #4A90E2 0%, 
        #5BA3F5 50%, 
        #6BB6FF 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.contact-icon i {
    font-size: 20px;
    color: var(--white);
}

.contact-details h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-value {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 1rem;
}

.contact-note {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

.map-card {
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.map-header {
    background: linear-gradient(135deg, 
        #4A90E2 0%, 
        #5BA3F5 50%, 
        #6BB6FF 100%);
    color: var(--white);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.1rem;
}

.map-header i {
    font-size: 18px;
}

.map-container {
    height: 400px;
    width: 100%;
    position: relative;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

/* Map Placeholder Styles */
.map-placeholder {
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-placeholder-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 300px;
}

.map-placeholder-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, 
        #4A90E2 0%, 
        #5BA3F5 50%, 
        #6BB6FF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.map-placeholder-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.4);
}

.map-placeholder-icon i {
    font-size: 32px;
    color: var(--white);
}

.map-placeholder h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.map-address {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

.map-load-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, 
        #4A90E2 0%, 
        #5BA3F5 50%, 
        #6BB6FF 100%);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    margin-bottom: 20px;
}

.map-load-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.map-note {
    margin: 0;
    font-size: 0.9rem;
}

.map-note a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.map-note a:hover {
    text-decoration: underline;
    color: var(--light-blue);
}

/* Interactive Map Styles */
.interactive-map {
    height: 100%;
    width: 100%;
    z-index: 1;
}

.interactive-map .leaflet-control-container {
    z-index: 1 !important;
}

.interactive-map .leaflet-control-attribution {
    z-index: 1 !important;
}

/* WhatsApp CTA Section */
.whatsapp-cta-section {
    background: #25D366;
    padding: 30px 0;
    margin: 5px auto 60px auto;
    max-width: 1200px;
    border-radius: 30px;
    text-align: center;
    color: var(--white);
}

.whatsapp-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: var(--white);
    padding: 15px 30px;
    border: 2px solid var(--white);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: var(--white);
    color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-whatsapp i {
    font-size: 20px;
}

/* WhatsApp DSGVO Pop-up Styles */
.whatsapp-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

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

.whatsapp-popup {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(30px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-align: center;
}

.whatsapp-popup-overlay.active .whatsapp-popup {
    transform: scale(1) translateY(0);
}

.whatsapp-popup-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #25D366 0%, #20b358 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-popup-icon i {
    font-size: 32px;
    color: var(--white);
}

.whatsapp-popup h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.whatsapp-popup p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1rem;
}

.whatsapp-popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.whatsapp-popup-btn {
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    justify-content: center;
}

.whatsapp-popup-btn.primary {
    background: #25D366;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-popup-btn.primary:hover {
    background: #20b358;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-popup-btn.secondary {
    background: var(--light-gray);
    color: var(--dark);
    border: 1px solid #ddd;
}

.whatsapp-popup-btn.secondary:hover {
    background: #e8e8e8;
    transform: translateY(-1px);
}

.whatsapp-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.whatsapp-popup-close:hover {
    color: var(--dark);
    background: var(--light-gray);
}

/* Mobile Responsive für WhatsApp Pop-up */
@media (max-width: 768px) {
    .whatsapp-popup {
        padding: 30px 25px;
        margin: 20px;
    }
    
    .whatsapp-popup h3 {
        font-size: 1.3rem;
    }
    
    .whatsapp-popup-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .whatsapp-popup-btn {
        width: 100%;
        min-width: auto;
    }
}

/* Branding on the banner */
a#CybotCookiebotDialogPoweredbyCybot,
div#CybotCookiebotDialogPoweredByText {
  display: none;
}

/* Branding on the Privacy trigger */
#CookiebotWidget .CookiebotWidget-body .CookiebotWidget-main-logo {
    display: none;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Remove complex hover animations on mobile */
    .service-card::before {
        display: none;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        border: 1px solid #e8e8e8;
        background: var(--white);
    }
    
    .service-card:hover .service-icon {
        background: linear-gradient(135deg, 
            #4A90E2 0%, 
            #5BA3F5 50%, 
            #6BB6FF 100%);
        transform: none;
        box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    }
    
    .service-card:hover .service-icon i {
        color: var(--primary-yellow);
        transform: none;
    }
    
    .service-card:hover h3 {
        color: var(--dark);
        transform: none;
    }
    
    .service-card:hover .service-link {
        color: #999;
        font-weight: 400;
        transform: none;
    }

    /* Hide desktop header on mobile */
    .header {
        display: none;
    }

    /* Mobile Header */
    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        height: 120px;
    }

    .mobile-logo img {
        height: 90px;
        width: auto;
    }

    .mobile-logo a {
        display: block;
        transition: opacity 0.3s ease;
    }

    .mobile-logo a:hover {
        opacity: 0.8;
    }

    .mobile-menu-toggle {
        background: none;
        border: none;
        font-size: 24px;
        color: var(--dark);
        cursor: pointer;
        padding: 5px;
    }

    /* Mobile Navigation Menu */
    .mobile-nav {
        position: fixed;
        top: 120px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        padding: 20px 0;
        border-top: 1px solid rgba(0, 74, 173, 0.1);
        border-bottom: 1px solid rgba(0, 74, 173, 0.1);
    }

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

    .mobile-nav-link {
        display: flex;
        align-items: center;
        padding: 16px 32px;
        text-decoration: none;
        color: var(--dark);
        font-weight: 400;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        font-size: 1.1rem;
        margin: 0 20px;
        border-radius: 12px;
        position: relative;
        overflow: hidden;
    }

    .mobile-nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 0;
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
        transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0 2px 2px 0;
    }

    .mobile-nav-link.active {
        background: linear-gradient(135deg, 
            #4A90E2 0%, 
            #5BA3F5 50%, 
            #6BB6FF 100%);
        color: var(--white);
        font-weight: 500;
        box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    }

    .mobile-nav-link:not(.active):hover {
        /* Hover-Effekte auf Mobile entfernt */
    }

    /* Mobile Hero Section */
    .hero {
        background: var(--white);
        min-height: auto;
        padding: 200px 20px 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero::before {
        display: none;
    }

    .hero-content {
        background-image: url('/public/header_hintergrund.jpg');
        background-size: cover;
        background-position: center;
        background-blend-mode: multiply;
        border-radius: 25px;
        padding: 40px 30px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        position: relative;
        overflow: hidden;
        max-width: 100%;
        width: 100%;
    }

    .hero-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, 
            rgba(0, 74, 173, 0.88) 0%, 
            rgba(0, 74, 173, 0.82) 40%, 
            rgba(136, 201, 249, 0.75) 80%, 
            rgba(136, 201, 249, 0.65) 100%);
        backdrop-filter: blur(1px);
        z-index: 1;
        border-radius: 25px;
    }

    .hero-content > * {
        position: relative;
        z-index: 2;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 15px;
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .hero-description {
        display: none;
    }

    .whatsapp-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    /* Mobile Services Section */
    .services {
        padding: 20px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .service-card {
        padding: 30px 25px;
        border-radius: 15px;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    /* Mobile Why Choose Us */
    .why-choose-us {
        padding: 40px 20px;
    }

    .why-content {
        padding: 40px 25px;
        border-radius: 15px;
    }

    .why-content h3 {
        font-size: 1.6rem;
    }

    .credentials {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .credential {
        padding: 25px 20px;
        border-radius: 15px;
    }

    /* Mobile CTA Section */
    .cta-section {
        padding: 60px 20px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    .cta-slogan {
        font-size: 1.6rem;
        white-space: nowrap;
    }

    /* Mobile Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.2rem;
    }

    /* Show mobile header only on mobile */
    .mobile-header {
        display: flex;
    }

    /* Mobile Services Page */
    .services-hero {
        padding: 200px 20px 30px 20px;
    }

    .services-hero-title {
        font-size: 2.2rem;
        white-space: nowrap;
    }

    .services-hero-subtitle {
        font-size: 1.1rem;
    }

    .detailed-services {
        padding: 20px 20px;
    }

    .detailed-services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .detailed-service-card {
        padding: 30px 25px;
        border-radius: 15px;
    }

    .detailed-service-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .detailed-service-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto;
        border-radius: 15px;
    }

    .detailed-service-icon i {
        font-size: 28px;
    }

    .detailed-service-title h3 {
        font-size: 1.3rem;
    }

    .detailed-service-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .services-cta-section {
        margin: 40px 20px;
        padding: 60px 30px;
        border-radius: 20px;
    }

    .services-cta-content h2 {
        font-size: 2rem;
    }

    .services-cta-content p {
        font-size: 1.1rem;
    }

    /* Mobile Responsive for Contact Page */
    .contact-hero {
        padding: 200px 20px 40px 20px;
    }

    .contact-hero-title {
        font-size: 2.2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.1;
        margin-bottom: 15px;
    }

    .contact-hero-subtitle {
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .contact-content {
        padding: 40px 20px 60px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info-card {
        padding: 30px 25px;
        border-radius: 15px;
    }

    .contact-info-card h2 {
        font-size: 1.3rem;
    }

    .contact-item {
        gap: 15px;
        margin-bottom: 25px;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .contact-icon i {
        font-size: 18px;
    }

    .contact-details h3 {
        font-size: 1rem;
    }

    .contact-value {
        font-size: 0.95rem;
    }

    .map-card {
        border-radius: 15px;
    }

    .map-header {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .map-container {
        height: 300px;
    }

    .whatsapp-cta-section {
        margin: 5px 20px;
        padding: 60px 30px;
        border-radius: 20px;
        margin-bottom: 60px;
    }

    .whatsapp-cta-content h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .btn-whatsapp {
        padding: 12px 25px;
        font-size: 1rem;
    }

    /* Mobile Legal Content Fixes */
    .legal-content {
        padding: 40px 20px 60px 20px;
    }
    
    .legal-content .container {
        max-width: 100%;
        padding: 0;
    }
    
    .legal-content h2 {
        font-size: 1.3rem;
        margin-top: 30px;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .legal-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .legal-content ul {
        padding-left: 20px;
        margin: 15px 0;
    }
    
    .legal-content li {
        font-size: 0.95rem;
        margin-bottom: 8px;
        line-height: 1.5;
    }
}

/* Desktop - hide mobile elements */
@media (min-width: 769px) {
    .mobile-header,
    .mobile-nav {
        display: none;
    }
}