 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body {
    font-family: sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

a {
    text-decoration: none;
}


/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

header.scrolled {
    background: #2563eb;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 24px;
    font-weight: bold;
    color: #707def;
		
    transition: color 0.3s;

}

header.scrolled .logo {
    color: #fff;

}

.logo {
    display: flex;
    align-items: center;
    gap: 10px; /* Abstand zwischen Bild und Text */
}

.logo-img {
    width: 25px; /* Passe die Größe nach Bedarf an */
    height: 25px;
    border-radius: 50%; /* Macht das Bild rund */
    object-fit: cover; /* Stellt sicher, dass das Bild richtig skaliert wird */
		opacity:0.8;
}

header.scrolled .phone a {
    color: #fff;

}
.phone {
	padding-left:50px;
}


nav .nav-links {
    display: flex;
    gap: 32px;
}

nav .nav-links .phone a {
    color: #426afe;
    font-size: 16px;
    transition: color 0.3s;
}

nav .nav-links a:hover {
    color: #2563eb;
}

header.scrolled .nav-links a {
    color: #fff;
}

header.scrolled .nav-links a:hover {
    color: #dbeafe;
}

/* Sections */
section {
    padding: 80px 20px;
    background: #f9fafb;
    position: relative;
    z-index: 1;
}

section .container {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 40px;
    background: #fff;
}

section:nth-child(even) .container {
    background: #f0f7ff;
}

/* Section - Home/Hero */
#home {
    padding-top: 96px;
    background: linear-gradient(to right, #3b82f6, #1d4ed8);
    color: #fff;
    position: relative;
    overflow: hidden;
}

#home .bg-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

#home .content {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
}

#home h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 0px;
    animation: fadeIn 1.5s ease-in-out;
}

#home h2 {
    margin-top: -8px;
    animation: fadeIn 1.5s ease-in-out;
    animation-delay: 0.5s;
    animation-fill-mode: backwards;
}

#home p {
    font-size: 20px;
    margin-bottom: 40px;
}

#home .cta {
    background: #fff;
    color: #2563eb;
    padding: 12px 32px;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s;
}

#home .cta:hover {
    background: #f3f4f6;
    transform: scale(1.05);
}

#home .cta.animate-pulse {
    animation: pulse 2s infinite;
}

/* Section - Services */
#services .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

#services .card {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

#services .card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

#services .card i {
    font-size: 40px;
    color: #2563eb;
    margin-bottom: 16px;
}

#services .card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

#services .card p {
    color: #4b5563;
}

/* Section - About */
#about .container {
    text-align: center;
}

#about p {
    color: #4b5563;
    max-width: 640px;
    margin: 0 auto 32px;
}

/* Section - Features */
.features .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.features .feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.features i {
    font-size: 24px;
    color: #22c55e;
}

.features h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.features p {
    color: #4b5563;
}

/* Section - Testimonials */
.testimonials {
    background: #f3f4f6;
}

.testimonials .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.testimonials .card {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonials .card p {
    color: #4b5563;
    font-style: italic;
}

.testimonials .card .author {
    margin-top: 16px;
    font-weight: 600;
    color: #2563eb;
}

/* Section - Contact */
#contact form {
    max-width: 512px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#contact label {
    color: #374151;
    margin-bottom: 8px;
    display: block;
}

#contact input, 
#contact textarea {
    width: 100%;
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    outline: none;
}

#contact input:focus, 
#contact textarea:focus {
    border-color: #2563eb;
}

#contact textarea {
    resize: vertical;
    min-height: 100px;
}

#contact button {
    background: #2563eb;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

#contact button:hover {
    background: #1d4ed8;
}

#contact button .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1e40af;
    opacity: 0;
    border-radius: 8px;
    transition: opacity 0.3s;
}

#contact button:hover .overlay {
    opacity: 0.2;
}

/* Footer */
footer {
    background: #1f2937;
    color: #fff;
    padding: 32px 20px;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

footer .bold {
    font-weight: bold;
}

footer i {
    margin-right: 8px;
}

footer p {
	margin:0;
	padding:0px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 2000;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #1f2937;
    margin: 5px 0;
    transition: all 0.3s;
}

header.scrolled .hamburger span {
    background: #fff;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Headings */
h2 {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 48px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Media Queries */
@media (max-width: 768px) {
    /* Navigation */
    nav .nav-links {
        display: none;
    }
    
		#phone {
			display:none;
		}
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #2563eb;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        transition: all 0.3s;
        font-size: 24px;
        margin: 10px 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        color: #fff;
        font-size: 24px;
        margin: 0px 0;
    }
    
    .nav-links a:hover {
        color: #dbeafe;
    }
    
    /* Grid Layouts */
    #services .grid,
    .features .container,
    .testimonials .grid,
    footer .container {
        grid-template-columns: 1fr;
    }
}




      /* Modal-Stil */
.modal {
    display: none;
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -10%);
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    max-width: 95%;
    min-width: 280px;
    
    overflow-y: auto; /* Scrollen für das gesamte Modal, wenn nötig */
    box-sizing: border-box;
		margin-bottom: 15px;
   
    max-height: calc(100vh - 200px); /* Dynamische Höhe, anpassbar */
}
.modal h1 {font-size:2.3rem;}
.modal h2 {font-size:2.0rem;}
.modal h3 {font-size:1.75rem;}
.modal h4 {font-size:1.5rem;}
.modal h5 {font-size:1.25rem;}



.modal-content {
    margin-bottom: 15px;
    overflow-y: auto; /* Scrollen nur für den Inhalt */
    max-height: calc(100vh - 200px); /* Dynamische Höhe, anpassbar */
}