/* Grund-Einstellungen */
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: #ffffff; /* Reinweiß für einen cleanen Look */
    color: #333333; /* Dunkelgraue Schrift wirkt hochwertiger als tiefschwarz */
}

/* Navigation */
header {
    background: rgba(255, 255, 255, 0.95); /* Leicht transparent für den Edel-Look */
    padding: 1rem 0;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    
    /* Diese drei Zeilen machen ihn fest: */
    position: sticky;
    top: 0;
    z-index: 1000; /* Sorgt dafür, dass er über den Bildern bleibt */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 25px;
}

nav ul li a {
    color: #555555;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase; /* Wirkt oft moderner in der Navigation */
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #0a9396; /* Das hellere Türkis beim Drüberfahren */
    transition: 0.3s;
}

/* Hero-Bereich */
#hero {
    height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    /* Wir nutzen NUR EINEN Verlauf, der drei Aufgaben erledigt:
       0% - 30%: Oben leicht dunkel (für die Lesbarkeit der Nav/Überschrift)
       30% - 60%: In der Mitte transparent (voller Blick auf das Sizilien-Bild)
       60% - 100%: Unten weich auslaufend in EXAKT Weiß (#ffffff) */
    background-image: 
        linear-gradient(
            to bottom, 
            rgba(0,0,0,0.3) 0%, 
            rgba(0,0,0,0) 30%, 
            rgba(255,255,255,0) 90%, 
            rgba(255,255,255,1) 100%
        ), 
        url('../img/hero-bg.jpg');
    
    background-size: cover;
    background-position: center;
    color: white;
}
#hero h1 {
    font-size: 3.5rem;
    margin: 0 0 15px 0;
    letter-spacing: 2px;
    /* Kombinierter Schatten: Ein scharfer Kern + eine weiche Wolke */
    text-shadow: 
        0px 2px 4px rgba(0,0,0,0.5), 
        0px 4px 20px rgba(0,0,0,0.4);
}

#hero p {
    font-size: 1.6rem;
    margin: 0;
    font-weight: 450;
    /* Wir intensivieren den Schatten-Radius extrem, um eine dunkle Wolke zu erzeugen */
    text-shadow: 
        1px 1px 2px rgba(0,0,0,0.8),    /* Scharfe Kante rechts unten */
        -1px -1px 2px rgba(0,0,0,0.8),   /* Scharfe Kante links oben */
        0px 0px 15px rgba(0,0,0,0.6);    /* Weiche dunkle Wolke für Tiefe */
}

/* Über Mich Sektion */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 20px; /* Viel Weißraum für hochwertige Optik */
}

#about-me {
    background: linear-gradient(180deg, #ffffff 0%, #f0f7f7 100%);
    border-bottom: 1px solid #e0f2f1;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.about-text {
    flex: 2;
    min-width: 300px;
}

/* 2. Die Überschrift in der Über-Mich Sektion */
.about-text h2 {
    color: #005f73; /* Das tiefe Petrol für die Hauptüberschrift */
    font-size: 2.2rem;
    margin-bottom: 25px;
}

/* Ein kleiner farbiger Strich unter der Überschrift für mehr Look */
.about-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #0a9396; /* Die hellere Komplementärfarbe */
    margin-top: 10px;
    border-radius: 2px;
}
.about-text p {
    margin-bottom: 15px;
    color: #666; /* Etwas weicheres Grau für Fließtext */
}

.about-image {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

/* 4. Die Platzhalter-Box etwas freundlicher */
.placeholder-box {
    width: 250px;
    height: 250px;
    background-color: #ffffff;
    border: 2px solid #e0f2f1;
    color: #0a9396;
    line-height: 250px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(10, 147, 150, 0.1); /* Ein Schatten mit einem Hauch Blau */
}

/* Footer */
footer {
    padding: 40px 0;
    background: #f9f9f9;
    color: #999;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #f0f0f0;
}

footer a {
    color: #00a8cc;
    text-decoration: none;
}

.section-title {
    text-align: center;
    color: #005f73;
    margin-bottom: 40px;
    font-size: 2rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    height: 250px;
    background-color: #eee;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Schneidet das Bild perfekt zu, ohne es zu quetschen */
    transition: transform 0.5s ease;
}

/* Der Zoom-Effekt beim Drüberfahren */
.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Ein schickes Overlay mit Text, das beim Hover erscheint */
.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,95,115,0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .item-overlay {
    transform: translateY(0);
}
/* Kontaktformular Design */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
    background: #fcfcfc;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #005f73;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box; /* Wichtig, damit Padding die Breite nicht sprengt */
}

.btn-submit {
    background-color: #005f73;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.btn-submit:hover {
    background-color: #0a9396;
}
.contact-card {
    max-width: 500px;
    margin: 50px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 95, 115, 0.1);
    text-align: center;
}

.contact-button {
    display: inline-block;
    background-color: #005f73;
    color: white !important; /* Wichtig, falls Links sonst blau sind */
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 25px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 95, 115, 0.3);
}

.contact-button:hover {
    background-color: #0a9396;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 147, 150, 0.4);
}

.alternative-contact {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    color: #888;
    font-size: 0.9rem;
}
.legal-block {
    margin-bottom: 30px;
    line-height: 1.8;
}

.highlighted-note {
    background-color: #f0f7f7; /* Unser sanftes Türkis */
    padding: 20px;
    border-left: 4px solid #0a9396;
    border-radius: 5px;
}

.legal-content h1 {
    margin-bottom: 50px;
    color: #005f73;
}
.image-frame {
    width: 280px;
    height: 280px;
    margin: 0 auto;
    border-radius: 20px; /* Abgerundete Ecken wirken moderner */
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 95, 115, 0.15); /* Unser blau-türkiser Schatten */
    border: 5px solid #ffffff; /* Weißer Rand wie bei einem echten Foto */
    transition: transform 0.4s ease;
}

.image-frame:hover {
    transform: scale(1.03); /* Kleiner Interaktions-Effekt */
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Sorgt dafür, dass das Bild den Rahmen perfekt ausfüllt */
    display: block;
}
/* Portfolio & Leistungen Spezial-Styles */
.portfolio-hero {
    background-color: #f0f7f7;
    padding: 60px 0;
    text-align: center;
}

.service-section {
    padding: 80px 0;
}

.service-section.alt-bg {
    background-color: #fcfcfc;
}

.service-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.service-grid.reverse {
    flex-direction: row-reverse; /* Bild und Text tauschen Plätze */
}

.service-text {
    flex: 1;
    min-width: 300px;
}

.service-text h2 {
    color: #005f73;
    margin-bottom: 20px;
}

.service-text ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.service-text ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: #666;
}

.service-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0a9396;
    font-weight: bold;
}

.service-image {
    flex: 1;
    min-width: 300px;
}
.portfolio-info-highlights {
    padding: 60px 0;
    background-color: #ffffff;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: #f0f7f7; /* Unser helles Türkis */
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border-bottom: 4px solid #005f73;
}

.info-card:hover {
    transform: translateY(-5px);
    background: #e0f2f1;
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.info-card h3 {
    color: #005f73;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.info-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

.agb-hint {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    color: #888;
}

.agb-hint a {
    color: #0a9396;
    text-decoration: none;
    font-weight: bold;
}

/* Spezieller Effekt für das FPV-Bild */
.service-image img.fpv-effect:hover {
    transform: rotate(-3deg) scale(1.05);
    transition: 0.4s ease-in-out;
}

.ust-hint {
    text-align: center;
    margin-top: 30px;
    font-size: 0.8rem;
    color: #888;
}

/* Responsive Fix für Mobile */
@media (max-width: 768px) {
    .pricing-card.featured {
        transform: scale(1);
        margin-top: 20px;
    }
}
.pricing-grid {
    display: flex; /* Wechsel von Grid zu Flex für bessere Kontrolle der gleichen Höhe */
    justify-content: center;
    align-items: stretch; /* Das ist der Zaubertrick: Alle Boxen werden gleich hoch */
    gap: 25px;
    max-width: 950px;
    margin: 40px auto;
    flex-wrap: wrap; /* Wichtig für die mobile Ansicht */
}

/* Einheitliche Karten-Basis */
.pricing-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 95, 115, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* BEIDE Boxen bekommen einen 2px Rand, damit die Maße identisch sind */
    border: 2px solid transparent; 
    transition: all 0.3s ease;
}


.pricing-header {
    padding: 40px 20px;
    text-align: center;
    color: white;
    /* Hier nehmen wir eine feste Mindesthöhe für den Header, falls die Titel unterschiedlich lang sind */
    min-height: 120px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price {
    font-size: 2rem; /* Richtig schön präsent (ca. 48px) */
    font-weight: 800;
    margin-bottom: 5px;
    display: block;
}

.pricing-header h3 {
    margin: 0 0 10px 0;
    font-size: 1.8rem; /* Größer als vorher (ca. 29px) */
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase; /* Wirkt bei Titeln oft wertiger */
}

.pricing-body {
    padding: 30px;
    flex-grow: 1; /* Sorgt dafür, dass der Body den Rest der Karte ausfüllt */
    display: flex;
    flex-direction: column;
}

.pricing-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: auto; /* Schiebt alles nachfolgende (Button) nach ganz unten */
}

.pricing-body li {
    padding: 10px 0;
    border-bottom: 1px solid #f4f4f4;
    font-size: 0.95rem;
}

/* Button innerhalb der Box anpassen */
.pricing-body .contact-button {
    margin-top: auto; /* Schiebt den Button nach unten */
    align-self: center;
    width: 100%; /* Füllt die Breite der Body-Box aus */
    box-sizing: border-box; /* Wichtig: Padding wird in die Breite eingerechnet */
    text-align: center;
    padding: 15px 10px; /* Etwas flacher, damit er kompakter wirkt */
    font-size: 1rem;
}

.pricing-header {
    background-color: #005f73; /* Dein dunkles Petrol als Standard */
    /* ... restliche Regeln ... */
}
.info-card.loyalty {
    background: #fffdf0; /* Ganz leichtes Gold/Gelb */
    border-bottom: 4px solid #d4af37; /* Goldener Rand */
}
.contact-methods {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.contact-method-item {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-method-item a {
    color: #005f73;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-method-item a:hover {
    color: #0a9396;
}

.contact-method-item .icon {
    font-size: 1.4rem;
}

nav ul li.client-login a {
    background-color: #0a9396;
    color: white !important;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

nav ul li.client-login a:hover {
    background-color: #005f73;
}
.service-image img {
    width: 100%;       /* Bild nutzt die volle Breite der Box */
    height: auto;      /* Proportional korrekt */
    border-radius: 8px; /* Schicke abgerundete Ecken */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* Etwas Tiefenwirkung */
}
/* Responsive Design für Smartphones & Tablets */
@media (max-width: 768px) {
    #hero {
        height: 60vh; /* Etwas niedriger auf dem Handy, damit man schneller zum Content scrollt */
        padding: 0 20px; /* Sicherheitsabstand zum Rand */
    }

    #hero h1 {
        font-size: 2.2rem; /* Deutlich kleiner, damit es meist in zwei Zeilen passt */
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    #hero p {
        font-size: 1.1rem; /* Angenehm lesbar auf kleinen Screens */
        line-height: 1.4;
        max-width: 90%; /* Verhindert, dass der Text am Displayrand klebt */
    }
}

@media (max-width: 768px) {
	/* Der Header-Container auf dem Handy */
    header {
        display: flex;
        justify-content: flex-end; /* Schiebt alles (das Icon) nach rechts */
        align-items: center;      /* Vertikal mittig */
        padding: 15px 20px;       /* 20px Sicherheitsabstand nach rechts */
        width: 100%;              /* Volle Breite */
        box-sizing: border-box;   /* Wichtig: Padding wird NICHT zur Breite addiert */
        position: relative;       /* Bezugspunkt für das aufklappende Menü */
    }

    /* Das Icon selbst */
    .menu-toggle {
        display: block;           /* Sichtbar machen auf Mobile */
        cursor: pointer;
        z-index: 1001;            /* Liegt über dem Menü */
    }

    /* Die drei Striche */
    .menu-toggle .bar {
        width: 25px;
        height: 3px;
        background-color: #005f73; /* Dein Petrol - oder 'white', falls es auf dem Bild ist */
        margin: 5px 0;
        transition: all 0.3s ease-in-out;
        display: block;
    }
    /* Das Menü vorbereiten für die Animation */
    #nav-menu {
        position: absolute;
        top: 100%; /* Direkt unter dem Header */
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        overflow: hidden; /* Wichtig für den Slide-Effekt */
        max-height: 0;    /* Startet bei Höhe 0 */
        opacity: 0;       /* Startet unsichtbar */
        transition: all 0.4s ease-in-out; /* Die Geschwindigkeit der Animation */
        z-index: 1000;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    /* Wenn die Klasse 'active' durch JS hinzugefügt wird */
    #nav-menu.active {
        max-height: 500px; /* Groß genug für alle deine Links */
        opacity: 1;        /* Wird sichtbar */
        padding: 20px 0;   /* Gibt dem Inhalt Platz */
    }

    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    nav ul li {
        margin: 15px 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease 0.2s; /* Verzögerung, damit Text nach dem Menü erscheint */
    }

    /* Die Links im Menü erscheinen lassen, wenn aktiv */
    #nav-menu.active ul li {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Workflow Sektion */
#workflow {
    padding: 80px 20px;
    background-color: #f0f7f7; /* Dein helles Blau/Türkis */
    text-align: center;
}

.workflow-container {
    display: flex;
    justify-content: space-around;
    max-width: 1100px;
    margin: 40px auto 0;
    gap: 30px;
}

.step {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-10px); /* Kleiner Interaktions-Effekt */
}

.step-number {
    font-size: 2rem;
    font-weight: bold;
    color: #005f73; /* Dein Petrol */
    margin-bottom: 15px;
}

/* Call to Action Sektion */
#cta {
    padding: 100px 20px;
    background: linear-gradient(rgba(0,95,115,0.9), rgba(0,95,115,0.9)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background-color: #ffffff;
    color: #005f73;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 25px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #f0f7f7;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .workflow-container {
        flex-direction: column; /* Stapelt die Schritte auf dem Handy */
    }
}
/* Der neue Glas-Container für dein Logo */
.glass-box {
    background: rgba(255, 255, 255, 0.3); /* Milchglas-Effekt */
    backdrop-filter: blur(12px);          /* Der Weichzeichner für den Hintergrund */
    -webkit-backdrop-filter: blur(12px);  /* Safari Support */
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 40px;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.glass-box:hover {
    transform: scale(1.02); /* Minimaler Zoom beim Drüberfahren */
}

.about-logo {
    max-width: 220px; /* Hier kannst du die Größe deines Logos anpassen */
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.08));
}

/* Mobile Anpassung: Falls das Glas auf dem Handy zu groß ist */
@media (max-width: 768px) {
    .glass-box {
        padding: 30px;
        margin-top: 20px;
    }
    
    .about-logo {
        max-width: 180px;
    }
}