@charset "UTF-8";
/* CSS Document */
/* CSS Reset und Basisstile */
 /* Reset und Grundstile */
         * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
    }

    :root {
        --primary: #fc185b;
        --secondary: #042851;
        --white: #ffffff;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    /* Hauptnavigation */
    .header {
        background: rgba(255, 255, 255, 0.7);
        padding: 1rem 2rem;
        position: fixed;
        width: 90%;
        max-width: 1200px;
        top: 1rem;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 50px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(12px) saturate(180%);
        z-index: 1000;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

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

    .logo {
        font-weight: 700;
        color: var(--secondary);
        font-size: 1.2rem;
    }

    /* Desktop Navigation */
    .nav-menu {
        display: flex;
        align-items: center;
        list-style: none; /* Entfernt Aufzählungszeichen */
    }

    .nav-item {
        margin-left: 2.5rem;
    }

    .nav-link {
        color: var(--secondary);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        padding: 0.5rem 1rem;
        border-radius: 30px;
    }

    .nav-link:hover {
        color: var(--primary);
        background: rgba(252, 24, 91, 0.15);
        box-shadow: 0 2px 8px rgba(252, 24, 91, 0.1);
    }

/* Stil für aktive Menüpunkte */
.nav-link.active {
    color: var(--primary) !important;
    background: rgba(252, 24, 91, 0.15);
    box-shadow: 0 2px 8px rgba(252, 24, 91, 0.1);
}


/* Stil für aktive Menüpunkte - komplett neuer Ansatz */
.nav-link:not(.cta).active {
    color: var(--primary) !important;
    background: rgba(252, 24, 91, 0.15) !important;
    box-shadow: 0 2px 8px rgba(252, 24, 91, 0.1) !important;
}

    .nav-link.cta {
        background: var(--primary);
        color: var(--white) !important;
        padding: 0.75rem 1.5rem;
        border-radius: 30px;
        box-shadow: 0 4px 6px rgba(252, 24, 91, 0.2);
        transition: all 0.3s ease;
        display: inline-block;
    }

    .nav-link.cta:hover {
        background: rgba(252, 24, 91, 0.9);
        transform: scale(1.1);
        box-shadow: 0 6px 12px rgba(252, 24, 91, 0.3);
    }



/* Alternative Stil-Definition für den CTA-Button, wenn er aktiv ist */
.nav-link.cta.active {
    /* Hier nur subtile Änderungen, die zum Button-Stil passen */
    background: rgba(252, 24, 91, 0.9);
        transform: scale(1.1);
        box-shadow: 0 6px 12px rgba(252, 24, 91, 0.3);
}

    /* Burger-Menü Icon */
    .hamburger {
        display: none;
        cursor: pointer;
    }

    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease;
        background-color: var(--secondary);
    }

    /* Mobile Navigation */
    @media only screen and (max-width: 768px) {
        .header {
            width: 95%;
            top: 0.5rem;
            padding: 0.75rem 1.5rem;
        }

        .hamburger {
            display: block;
            z-index: 101;
        }

        .hamburger.active .bar:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active .bar:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
            background-color: var(--primary);
        }

        .hamburger.active .bar:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
            background-color: var(--primary);
        }

        .nav-menu {
            position: fixed;
            left: -105%; /* Wie von dir angepasst */
        	padding-top: 0; /* Entfernt den oberen Abstand */
       	 	margin-top: -40px; /* Verschiebt das Menü nach oben */
            top: 0;
            flex-direction: column;
            background-color: white;
            width: 100%;
            height: 100vh;
            text-align: center;
            transition: 0.3s;
            z-index: 100;
            justify-content: center;
            list-style: none; /* Entfernt Aufzählungszeichen */
        }

        .nav-item {
            margin: 1.5rem 0;
        }

        .nav-link {
            font-size: 1.8rem; /* Größere Schrift für mobile Menüpunkte */
        }

        .nav-menu.active {
            left: 0;
        }
        
        .logo {
            font-size: 1rem;
        }
    }






/* Full Width Container für Abschnitte mit Hintergrundfarbe */
			.full-width {
				width: 100%;
				background: var(--secondary); /* Hintergrundfarbe */
			}

			/* Zentrierter Inhalt innerhalb der Full Width Container */
			.centered-content {
				max-width: 1200px;
				margin: 0 auto;
				padding: 4rem 1rem;
			}



/* Hero-Section mit Verlauf */
.hero {
    min-height: 100vh; /* Nimmt die volle Höhe des Bildschirms ein */
	min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg, /* Diagonaler Verlauf */
        var(--primary) 0%, /* Startfarbe (#fc185b) */
        var(--secondary) 100% /* Endfarbe (#042851) */
    );
    color: var(--white);
    position: relative;
    overflow: hidden; /* Verhindert unerwünschtes Scrollen */
}

/* Optional: Animation für den Verlauf */
@keyframes gradientAnimation {
    0% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.hero {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--secondary) 100%
    );
    background-size: 200% 200%; /* Größer als der Container für die Animation */
    animation: gradientAnimation 10s ease infinite; /* Sanfte Animation */
}

/* Container für Text und Bild */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Textbereich */
.hero-text {
    max-width: 50%; /* Breite des Textbereichs */
    text-align: left; /* Text linksbündig */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Textschatten für bessere Lesbarkeit */
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Textschatten für bessere Lesbarkeit */
}

.cta-button-hero {
	background: var(--white);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* Abstand zwischen Text und Pfeil */
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
}

.cta-button-hero:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Pfeil als Pseudoelement */
.cta-button-hero::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 8px; /* Dreieckform */
    border-color: transparent transparent transparent var(--primary); /* Farbe des Pfeils */
    transition: all 0.3s ease;
}

/* Hover-Effekt für den Pfeil */
.cta-button-hero:hover::after {
    transform: translateX(5px); /* Pfeil bewegt sich nach rechts */
}

/* Bildbereich */
.hero-image {
    max-width: 50%; /* Breite des Bildbereichs */
    margin-left: 2rem; /* Abstand zwischen Text und Bild */
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        text-align: center;
        margin-bottom: 2rem;
    }

    .hero-image {
        margin-left: 0;
    }
}


/* Zusätzliches CSS für den verbesserten Hero-Bereich */
.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.hero-description {
    margin-bottom: 2rem;
}

.hero-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Animation für die Rakete */
.rocket-wrapper {
    position: relative;
    animation: fadeIn 1.5s ease-out;
}

.rocket {
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll-Indikator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    animation: fadeIn 2s ease-out;
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: 8px;
    opacity: 0.8;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    animation: scrollDown 2s infinite;
    opacity: 0.8;
}

@keyframes scrollDown {
    0% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: rotate(45deg) translate(8px, 8px);
        opacity: 0.8;
    }
}

/* Anpassungen für Tablets und Mobilgeräte */
@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .hero-description p {
        text-align: center;
    }
	
	.hero h1 {
		margin-top: 2rem;
    font-size: 2rem;
    }
	
    .rocket {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .hero-text {
        max-width: 100%;
    }
}
		.cta-button {
		background: var(--primary);
		color: var(--white);
		padding: 1rem 2rem;
		border-radius: 30px;
		text-decoration: none;
		display: inline-flex;
		align-items: center;
		gap: 0.5rem; /* Abstand zwischen Text und Pfeil */
		transition: all 0.3s ease;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
		position: relative;
	}

		.cta-button:hover {
		background: rgba(252, 24, 91, 0.9);
		transform: translateY(-3px);
		box-shadow: 0 6px 12px rgba(252, 24, 91, 0.3);
	}

/* Pfeil als Pseudoelement */
.cta-button::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 8px; /* Dreieckform */
    border-color: transparent transparent transparent var(--white); /* Farbe des Pfeils */
    transition: all 0.3s ease;
}

/* Hover-Effekt für den Pfeil */
.cta-button:hover::after {
    transform: translateX(5px); /* Pfeil bewegt sich nach rechts */
}

       /* Abschnitte Full Width mit zentriertem Inhalt */
    section {
        padding: 4rem 1rem;
        max-width: 1200px;
        margin: 0 auto;
        width: 100%; /* Full Width */
    }


        .section-title {
            color: var(--secondary);
            text-align: center;
            margin-bottom: 3rem;
            font-size: 2rem;
        }

 .section-title-alt {
            color: var(--white);
            text-align: center;
            margin-bottom: 3rem;
            font-size: 2rem;
        }

/* Neues CSS für das Portrait im Hero-Bereich */
.portrait-container {
    position: absolute;
    right: 5%; /* Abstand vom rechten Rand hinzugefügt */
    bottom: 0;
    z-index: 1;
    height: 90%;
    display: flex;
    align-items: flex-end;
}

.portrait-image {
    height: 100%;
    width: auto;
    max-height: 90vh;
    object-fit: contain;
    object-position: bottom right;
    max-width: 90%; /* Begrenzt die maximale Breite */
}

/* Spezifischer Media Query für Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .portrait-container {
        right: 0; /* Kein Abstand vom rechten Rand auf Tablets */
    }
    
    .portrait-image {
        max-width: 100%; /* Keine Breitenbegrenzung auf Tablets */
        height: 85%; /* Etwas kleiner, damit es nicht zu dominant wirkt */
    }
}


/* Überarbeitung des vorhandenen Hero-Layouts für das neue Bild */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 50%;
    position: relative;
    z-index: 2;
}

/* Anpassungen für Tablets und Mobilgeräte */
@media (max-width: 768px) {
    /* Bild komplett ausblenden auf mobilen Geräten */
    .portrait-container {
        display: none;
    }
    
    .hero-text {
        max-width: 100%;
        text-align: center;
        margin-top: 2rem;
    }
}


/* CSS für Karten und Modal */
.cards-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
    width: 100%;
}

.skill-card {
    width: 18rem;
    height: 12rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}

.view-certificate {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary);
    color: white;
    border-radius: 1rem;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.view-certificate:hover {
    background-color: rgba(252, 24, 91, 0.9);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 5% auto;
    padding: 1rem;
    width: 80%;
    max-width: 800px;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary);
    cursor: pointer;
    z-index: 101;
}

#certificate-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

/* Anpassungen speziell für mobile Ansicht */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }
    
    .skill-card {
        width: 80%;
        max-width: 18rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 20% auto; /* Von 10% auf 20% erhöht für bessere Positionierung */
        padding: 0.5rem; /* Weniger Padding auf kleineren Bildschirmen */
    }
    
    .close-modal {
        top: 5px;
        right: 10px;
    }
    
    #certificate-image {
        max-height: 70vh; /* Etwas niedriger für mobile Ansicht */
    }
}

/* Spezifische Anpassungen für sehr kleine Bildschirme */
@media (max-width: 480px) {
    .modal-content {
        margin: 25% auto; /* Noch mehr nach unten für sehr kleine Bildschirme */
    }
}




/* CSS mit eindeutigen Klassennamen zum Vermeiden von Konflikten */

.gf_about_text {
    margin-bottom: 40px;
	text-align: center;
}

.gf_about_text p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.gf_about_text p:first-child {
    font-weight: bold;
    color: #042851;
    font-size: 18px;
}



/* CSS mit eindeutigen Klassennamen für den Portfolio-Bereich */
.gf_portfolio_section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.gf_portfolio_container {
    max-width: 1200px;
    margin: 0 auto;
}

.gf_portfolio_title {
    color: #042851;
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.gf_portfolio_intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.gf_portfolio_intro p {
    color: #555;
    font-size: 18px;
    line-height: 1.6;
}

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

.gf_portfolio_item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.gf_portfolio_item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gf_portfolio_image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Platzhalter-Bilder (ersetze diese URLs durch echte Screenshots) */
.gf_image_sbr {
    background-image: url('images/sbr.png');
}

.gf_image_drachencup {
    background-image: url('images/drachencup.png');
}

.gf_image_culture {
    background-image: url('images/cic.png');
}

.gf_portfolio_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gf_portfolio_item:hover .gf_portfolio_overlay {
    opacity: 1;
}

.gf_project_link {
    background-color: #fc185b;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.gf_project_link:hover {
    background-color: #e2004d;
    transform: scale(1.05);
}

.gf_portfolio_content {
    padding: 25px;
}

.gf_project_title {
    color: #042851;
    margin-bottom: 15px;
    font-size: 22px;
}

.gf_project_desc {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.gf_project_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gf_tag {
    background-color: #f0f0f0;
    color: #555;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.gf_portfolio_cta {
    text-align: center;
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    margin-top: 30px;
}

.gf_portfolio_cta p {
    color: #042851;
    font-size: 18px;
    margin-bottom: 20px;
}

.gf_portfolio_button {
    background-color: #fc185b;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.gf_portfolio_button:hover {
    background-color: #e2004d;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .gf_portfolio_grid {
        grid-template-columns: 1fr;
    }
    
    .gf_portfolio_item {
        max-width: 450px;
        margin: 0 auto;
    }
}




/* CSS für den Dienstleistungsbereich */ 
.services-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-bottom: 4rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: rgba(252, 24, 91, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    color: #555;
    line-height: 1.6;
}

/* Komplett neues Design für den CTA-Bereich mit expliziter Zentrierung */
.services-cta-box {
    background: var(--white);
    border-radius: 15px;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.services-cta-inner {
    padding: 2.5rem;
}

.services-cta-inner h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
}

.services-cta-inner p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
}

.cta-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.cta-button {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.cta-button:hover {
    background: rgba(252, 24, 91, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(252, 24, 91, 0.3);
}

/* Für Desktop-Ansicht */
@media (min-width: 769px) {
    .services-cta-inner {
        padding: 3rem;
    }
    
    .services-cta-inner h3 {
        text-align: left;
    }
    
    .services-cta-inner p {
        text-align: left;
        max-width: 70%;
        margin-bottom: 0;
    }
    
    .cta-button-wrapper {
        position: absolute;
        top: 50%;
        right: 3rem;
        transform: translateY(-50%);
        margin-top: 0;
    }
    
    .services-cta-box {
        position: relative;
    }
}







/* Kontaktbereich */
.contact {
    color: var(--white);
    padding: 4rem 1rem;
}

.contact-info {
    display: flex;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative; /* Für absolute Positionierung des Buttons */
}

.contact-photo {
    flex: 0 0 auto;
}

.profile-image {
    width: 150px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-details {
    color: var(--secondary);
    min-width: 250px;
}

.contact-details h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--secondary);
}

.contact-details p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--secondary);
}

.contact-phone, .contact-email {
    display: flex;
    align-items: center;
    margin-top: 1.2rem;
}

.contact-icon {
    margin-right: 10px;
    color: var(--primary);
}

.contact-details a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.contact-cta2 {
    position: absolute; /* Absolute Positionierung */
    right: 2rem; /* Abstand vom rechten Rand */
    top: 50%; /* Mittig vertikal */
    transform: translateY(-50%); /* Perfekt mittig ausrichten */
}

.contact-cta {
   display: flex;
    justify-content: center; /* Horizontale Zentrierung */
    align-items: center; /* Vertikale Zentrierung */
    min-width: 200px;
    margin: 1rem auto; /* Automatische Ränder links und rechts für Zentrierung im Container */
}

.mail-icon {
    margin-left: 8px;
}

/* Für mobile Ansicht */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        padding: 1.5rem;
        align-items: center;
        text-align: center;
    }
    
    
    .contact-photo {
        margin-bottom: 1.5rem;
    }
    
    .contact-content {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    
    .contact-details {
        text-align: center;
        margin-bottom: 1.5rem;
        width: 100%;
    }
    
    .contact-phone, .contact-email {
        justify-content: center;
    }
    
   .contact-cta2 {
        position: static; /* Zurück zu normalem Flow auf mobilen Geräten */
        transform: none;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 1.5rem;
    }
}

/* Extra für sehr kleine Geräte */
@media (max-width: 320px) {
    .contact-info {
        padding: 1rem;
    }
    
    .contact-details h3 {
        font-size: 1.5rem;
    }
    
    .contact-details p {
        font-size: 1rem;
    }
    
    .profile-image {
        width: 120px;
    }
}

/* Zusätzliche Stile für das Impressum */
        .legal-content {
            padding: 8rem 1rem 4rem 1rem;
            max-width: 900px;
            margin: 0 auto;
            color: var(--secondary);
        }
        
        .legal-content h1 {
            color: var(--secondary);
            margin-bottom: 2rem;
            font-size: 2rem;
        }
        
        .legal-content h2 {
            color: var(--secondary);
            margin: 2rem 0 1rem 0;
            font-size: 1.5rem;
        }
        
        .legal-content p, .legal-content address {
            margin-bottom: 1rem;
            line-height: 1.6;
        }
        
        .legal-content a {
            color: var(--primary);
            text-decoration: none;
        }
        
        .legal-content a:hover {
            text-decoration: underline;
        }
        
        .legal-content .back-btn {
   background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* Abstand zwischen Text und Pfeil */
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
        }
        
        .legal-content .back-btn:hover {
            background: rgba(252, 24, 91, 0.9);
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(252, 24, 91, 0.3);
            text-decoration: none;
        }



/* Pfeil als Pseudoelement */
.legal-content .back-btn::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 8px; /* Dreieckform */
    border-color: transparent transparent transparent var(--white); /* Farbe des Pfeils */
    transition: all 0.3s ease;
}

/* Hover-Effekt für den Pfeil */
.legal-content .back-btn:hover::after {
    transform: translateX(5px); /* Pfeil bewegt sich nach rechts */
}
	/* Footer */
    footer {
        background: var(--secondary);
        color: var(--white);
        text-align: center;
    }

        input, textarea {
            width: 100%;
            padding: 1rem;
            margin-bottom: 1rem;
            border: none;
            border-radius: 5px;
        }

        /* Footer */
        footer {
        background: var(--secondary);
        color: var(--white);
        padding: 2rem 1rem;
    }
    
    .footer-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
    
    .copyright {
        margin: 0;
    }
    
    .legal-links {
        margin: 1rem 0;
    }
    
    .legal-links a {
        color: var(--white);
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .legal-links a:hover {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .divider {
        margin: 0 0.5rem;
        opacity: 0.5;
    }
    
    .social-links {
        display: flex;
        gap: 1rem;
    }
    
    .social-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: white;
        transition: all 0.3s ease;
    }
    
    .social-icon:hover {
        background: var(--primary);
        transform: translateY(-3px);
    }
    
    @media (max-width: 768px) {
        .footer-content {
            flex-direction: column;
            text-align: center;
        }
        
        .copyright, .legal-links, .social-links {
            margin: 0.5rem 0;
        }
    }