root {

    --primary: #0f172a;

    --accent: #4f46e5;

    --text: #334155;

    --text-light: #64748b;

    --bg-logo: #dbe0e6;

    --white: #ffffff;

    --border: #e2e8f0;

}

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    /* Nutzt dein Logo als Hintergrund, blendet aber den zentralen Text sanft aus */
    background: 
        radial-gradient(circle at center 20%, rgba(219, 224, 230, 0.85) 0%, rgba(219, 224, 230, 0.3) 70%),
        url('Logo_Webseite.png') no-repeat center top / cover fixed;
    line-height: 1.6;
}
/* 1. Hintergründe der Karten und Formulare lesbarer machen */
.card-simple, 
.service-card, 
.contact-form, 
.qual-table,
.about-content {
    background: rgba(255, 255, 255, 0.92) !important; /* Weißer Hintergrund mit 92% Deckkraft */
    backdrop-filter: blur(10px) !important;            /* Verblendet das Muster direkt hinter dem Text */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);        /* Sanfter Schatten für Tiefe */
}

/* 2. Hero-Sektion (Titel & Beschreibung) besser lesbar machen */
.hero h1, 
.hero p {
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 1);
    color: #0f172a; /* Dunkle, gut lesbare Textfarbe */
}

/* 3. Bereichs-Hintergründe leicht aufhellen */
.bg-light {
    background-color: rgba(248, 250, 252, 0.75) !important;
}

h1, h2, h3 {

    font-family: 'Sora', sans-serif;

    color: var(--primary);

}
/* Container für Abschnitts-Header (z.B. "EXPERTISE / Dienstleistungen") */
.section-header {
    background: rgba(255, 255, 255, 0.90) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px);
    padding: 20px 30px;
    border-radius: 12px;
    display: inline-block; /* Passt die Breite an den Inhalt an */
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Zentrierte Header ebenfalls korrekt ausrichten */
.section-header.center {
    display: block;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.container {

    max-width: 1100px;

    margin: 0 auto;

    padding: 0 20px;

}

.container.narrow {

    max-width: 600px;

}

/* Navigation */

.navbar {

    background: rgba(219, 224, 230, 0.9); /* Gleiche Farbe mit leichter Transparenz */
    backdrop-filter: blur(8px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);

}

.navbar .container {

    display: flex;
    justify-content: center; /* Zentriert die Menüpunkte */

}

.hero-logo {
    max-width: 800px; /* Gleiche maximale Breite wie die h1-Überschrift */
    margin: 0 auto 30px; /* Zentriert den Behälter und gibt Abstand nach unten */
	border-radius: 16px; /* Stärke der Eckenrundung (z.B. 12px, 16px oder 20px) */
    overflow: hidden;    /* Schneidet das Bild an den abgerundeten Ecken sauber ab */
}

/* Logo auf volle Breite des Behälters skaliere */
.hero-logo-img {
    width: 100%;
    height: auto;
    display: block;
	border-radius: 16px;
}	


.nav-links {

    list-style: none;

    display: flex;

    align-items: center;

    gap: 30px;

}

.nav-links a {

    text-decoration: none;

    color: var(--text);

    font-weight: 500;

    transition: color 0.3s;

}

.nav-links a:hover {

    color: var(--accent);

}

/* Hero Section */

.hero {

    padding: 60px 0 80px;
    background: linear-gradient(180deg, #dbe0e6 0%, #d0d5dd 100%);
    text-align: center;

}

.hero h1 {

    font-size: 3rem;

    max-width: 800px;

    margin: 0 auto 20px;

}

.hero p {

    font-size: 1.25rem;

    color: var(--text-light);

    max-width: 600px;

    margin: 0 auto 40px;

}

/* Buttons */

.btn-primary, .btn-secondary, .btn-small {

    display: inline-block;

    padding: 14px 28px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: 600;

    transition: all 0.3s;

    cursor: pointer;

    border: none;

}

.btn-primary {

    background: var(--accent);

    color: var(--white);

}

.btn-primary:hover {

    background: #4338ca;

    transform: translateY(-2px);

}

.btn-secondary {

    background: transparent;

    color: var(--primary);

    border: 2px solid var(--primary);

    margin-left: 15px;

}

.btn-secondary:hover {

    background: var(--primary);

    color: var(--white);

}
.btn-secondary:hover {

    background: #4338ca;

    transform: translateY(-2px);

}
.btn-small {

    padding: 8px 18px;

    background: var(--primary);

    color: var(--white);

    font-size: 0.9rem;

}
.btn-small:hover {

    background: var(--primary);

    color: var(--white);

}
.btn-small:hover {

    background: #4338ca;

    transform: translateY(-2px);

}


/* Sections */

.section {

    padding: 100px 0;

}

.bg-light {

    background-color: var(--bg);

}

.section-header {

    margin-bottom: 50px;

}

.section-header.center {

    text-align: center;

}

.subtitle {

    display: block;

    color: var(--accent);

    text-transform: uppercase;

    letter-spacing: 2px;

    font-weight: 700;

    font-size: 0.8rem;

    margin-bottom: 10px;

}

/* Grids */

.grid-2 {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;

}

.grid-3 {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}

/* About Section */

/* Feste Höhe und identische Breite für beide Bild-Container */
.about-image {
    width: 100%;
    height: 420px; /* Einheitliche Höhe für beide Fotos */
    border-radius: 20px;
    overflow: hidden;
}

/* Erzwingt, dass beide Bilder den Container komplett ausfüllen */
.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 20px;
}

/* Cards */

.card-simple {

    background: var(--white);

    padding: 40px;

    border-radius: 12px;

    border: 1px solid var(--border);

    transition: box-shadow 0.3s;

}

.card-simple:hover {

    box-shadow: 0 10px 30px rgba(0,0,0,0.05);

}

.service-card {

    padding: 40px;

    border-bottom: 2px solid var(--border);

    transition: border-color 0.3s;

}

.service-card:hover {

    border-color: var(--accent);

}

.service-icon {

    font-size: 2.5rem;

    font-family: 'Sora', sans-serif;

    font-weight: 700;

    color: rgba(79, 70, 229, 0.2);

    margin-bottom: 20px;

}

/* Table */

.qual-table {

    width: 100%;

    border-collapse: collapse;

    margin-top: 20px;

}

.qual-table th, .qual-table td {

    padding: 20px;

    text-align: left;

    border-bottom: 1px solid var(--border);

}

.qual-table th {

    background: #f1f5f9;

}

/* Form */

.contact-form {

    background: var(--bg);

    padding: 40px;

    border-radius: 15px;

}

.form-group {

    margin-bottom: 20px;

}

.form-group label {

    display: block;

    margin-bottom: 8px;

    font-weight: 600;

}

.form-group input, .form-group textarea {

    width: 100%;

    padding: 12px;

    border: 1px solid var(--border);

    border-radius: 6px;

    font-family: inherit;

}

.full-width {

    width: 100%;

}

/* Footer */

/* Footer anpassen für bessere Lesbarkeit auf hellem Hintergrund */
footer {
    padding: 40px 0;
    background: rgba(15, 23, 42, 0.85); /* Dunkler, eleganter Hintergrund */
    backdrop-filter: blur(8px);
    color: #ffffff;                      /* Weiße, klare Schrift */
    text-align: center;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: #cbd5e1;                      /* Hellgraue Links */
    margin: 0 15px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Responsive */

@media (max-width: 768px) {

    .grid-2, .grid-3 {

        grid-template-columns: 1fr;

    }

    

    .hero h1 {

        font-size: 2.2rem;

    }

    

    .nav-links {

        display: none; /* Mobile Menu Logic could be added here */

    }

    

    .hero-btns .btn-secondary {

        margin-left: 0;

        margin-top: 15px;

        width: 100%;

    }

    

    .hero-btns .btn-primary {

        width: 100%;

    }

}
/* 3-Spalten-Grid für den About-Bereich */
.grid-about {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr; /* Links & rechts Bild, Mitte etwas breitere Textbox */
    gap: 30px;
    align-items: center;
}

/* Responsive Anpassung für Mobilgeräte */
@media (max-width: 992px) {
    .grid-about {
        grid-template-columns: 1fr; /* Auf Smartphones/Tablets untereinander anzeigen */
    }
}
