/* --- Font Imports (Beibehalten wie im Original) --- */
@font-face {
    font-family: "geologica";
    src: url(/fonts/Geologica-Regular.ttf); format:("truetype");
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "geologica";
    src: url(/fonts/Geologica-Regular.ttf); format:("truetype");
    font-weight: 800; font-style: extrabold; font-display: swap;
}
@font-face {
    font-family: "geologica";
    src: url(/fonts/Geologica-Regular.ttf); format:("truetype");
    font-weight: 900; font-style: extrablack; font-display: swap;
}
@font-face {
    font-family: "geologica";
    src: url(/fonts/Geologica-Regular.ttf); format:("truetype");
    font-weight: 100; font-style: thin; font-display: swap;
}
/* Hinweis: Der Import für font-weight 200 schien im Original fehlerhaft (/fonts1/).
   Ich habe ihn hier erstmal weggelassen, prüfen Sie den Pfad. */


/* --- CSS Variablen & Modernes Setup --- */
:root {
    /* Farbpalette: Zurückhaltend & Professionell */
    --bg-body: #f8f9fa;       /* Sehr helles Grau/Off-White */
    --bg-white: #ffffff;      /* Reines Weiß für Karten/Sektionen */
    --text-dark: #2d3436;     /* Dunkles Grau statt hartem Schwarz */
    --text-medium: #636e72;   /* Mittleres Grau für Sekundärtext */
    --primary-color: #2c3e50; /* Ein seriöses Dunkelblau/Grau */
    --accent-color: #e17055;  /* Ein gedeckter, warmer Akzent (statt knallrot) */

    --section-spacing: 80px;  /* Viel Platz zwischen den Bereichen */
}

/* Moderner Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-dark);
    font-family: "geologica", sans-serif;
    line-height: 1.6; /* Bessere Lesbarkeit */
    font-weight: 400;
}

/* --- Typografie Basics --- */
h1, h2, h3, h4, h5 {
    font-family: "geologica";
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.5rem; font-weight: 800; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* --- Layout Hilfsklassen --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin-inline: auto;
}

.container-narrow {
    max-width: 800px; /* Für Textbereiche, die nicht zu breit sein sollen */
}

section {
    padding: var(--section-spacing) 0;
}

/* --- Header (Minimalistisch) --- */
.main-header {
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-white);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* --- Logo & Header Styling --- */
.header-content {
    display: flex;
    align-items: center;
    gap: 15px; /* Abstand zwischen Icon und Text */
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    ;
}

/* Das SVG Icon */
.BM_logo {
    height: 50px; /* Größe des Logos */
    width: auto;
    transition: transform 0.3s ease;
    background-color: #e17055;
}

.logo-link:hover .bm-logo {
    transform: scale(1.05); /* Leichter Zoom beim Drüberfahren */
}

/* Der Text daneben */
.brand-text {
    font-family: "geologica", sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--primary-color);
    line-height: 1;
    display: flex;
    flex-direction: column; /* Stapelt Benne und Mueller auf kleinen Screens, oder nebeneinander: row */
}

.brand-text .light {
    font-weight: 300;
    color: var(--text-medium);
}

/* Auf größeren Bildschirmen Text nebeneinander */
@media (min-width: 600px) {
    .brand-text {
        flex-direction: row;
        gap: 5px;
    }
}

.brand-name {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--primary-color);
    text-transform: uppercase;
}

/* --- Hero Section (Das Motto) --- */
.hero-section {
    background-color: var(--bg-white);
    padding: 120px 0; /* Viel Whitespace oben/unten */
    display: flex;
    align-items: center;
    min-height: 60vh; /* Mindestens 60% der Bildschirmhöhe */
    transition: opacity 400ms ease, transform 450ms ease;
    will-change: opacity, transform;
}

.hero-title {
    color: var(--primary-color);
    /* Falls Sie das Bild als subtilen Hintergrund wollen, entfernen Sie das Kommentarzeichen unten: */
    background-image: url('/img/image_0.png'); 
    background-size: cover; 
    background-position: center; 
    opacity: 0.8; /* Das Bild sehr blass machen */
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title {
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

.hero-title span {
    display: block; /* Jedes Span in eine neue Zeile */
}

/* --- Hide rest of page until hero fully faded --- */
/* All direct children of main except the hero are initially hidden */
main > :not(.hero-section) {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 500ms ease, transform 500ms ease;
    will-change: opacity, transform;
    pointer-events: none;
    visibility: hidden;
}

/* When `main` has the helper class, reveal the rest */
main.content-visible > :not(.hero-section) {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
    main > :not(.hero-section),
    main.content-visible > :not(.hero-section) {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

.light-text { font-weight: 100; color: var(--text-medium); }
.medium-text { font-weight: 400; }
.bold-highlight {
    font-weight: 900;
    color: var(--accent-color); /* Der "Perfect"-Teil bekommt die Akzentfarbe */
    font-size: 1.1em;
}

/* --- Services Section --- */
.services-section h2 {
    text-align: center;
    color: var(--primary-color);
    text-transform: none; /* Nicht mehr alles uppercase */
}

/* --- Qualities Section (Die Fragen) --- */
.qualities-section {
    background-color: var(--bg-white);
    text-align: center;
}

.quality-item {
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.qualities-list {
    list-style: none;
    margin-top: 30px;
    padding: 0;
}

.qualities-list li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-medium);
    font-weight: 400;
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--primary-color);
    color: var(--bg-white);
    text-align: center;
}

.contact-section h2 {
    color: var(--bg-white);
    margin-bottom: 50px;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.contact-item {
    background: rgba(255,255,255,0.05); /* Sehr subtiler Hintergrund */
    padding: 30px;
    border-radius: 8px;
    min-width: 250px;
}

.contact-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    opacity: 0.7;
}

.contact-link {
    color: var(--bg-white);
    font-weight: 800;
    font-size: 1.1rem;
}

.contact-link:hover {
    color: var(--accent-color);
}

/* --- Footer --- */
footer {
    background-color: var(--text-dark);
    color: var(--text-medium);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* --- Profilbild Styling --- */
.profile-section {
    text-align: center;
    padding-bottom: 40px; /* Etwas weniger Abstand nach unten */
}

.profile-wrapper {
    margin: 0;
    display: inline-block;
    position: relative;
}

.profile-img {
    max-width: 300px; /* Optimale Größe: nicht zu riesig, aber präsent */
    width: 100%;
    height: auto;
    border-radius: 12px; /* Moderne, leicht abgerundete Ecken */
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* Hochwertiger, weicher Schatten */
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: translateY(-5px); /* Leichter Schwebe-Effekt beim Drüberfahren */
}

.profile-caption {
    margin-top: 15px;
    font-family: "geologica", sans-serif;
    color: var(--text-medium);
    font-size: 0.95rem;
    font-style: italic;
}

/* Kleine SVG-Icons in Listen: kompakter darstellen */
.qualities-list svg.size-5,
.qualities-list svg {
    width: 60px; /* verkleinerte Ausgabe */
    height: 60px;
    vertical-align: middle; /* Text und Icon ausrichten */
}
/* --- SEO Text & Keywords Styling --- */
.services-detail-section {
    background-color: var(--bg-body); /* Leichter Kontrast zum weißen Bereich davor */
    text-align: center;
}

.seo-content h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.seo-content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Die Schlagworte als moderne Kacheln */
.keywords-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.keyword-tag {
    background-color: var(--bg-white);
    border: 1px solid #e0e0e0; /* Zarte Umrandung */
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px; /* Pillen-Form */
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.keyword-tag:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}