
/* =========================================
   GLOBAL STYLES
========================================= */
body {
    margin: 0;
    margin-top: 80px; /* Platz für die fixe Navbar */
    font-family: 'Arial', sans-serif;
    background: #ffffff;
    color: #333;
}

/* =========================================
   NAVIGATION
========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    box-sizing: border-box;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo {
    font-weight: bold;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    align-items: center;
}

.navbar ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar ul li a:hover {
    color: #666;
}

.navbar ul li a.active {
    text-decoration: underline;
    color: #b8860b;
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    text-align: center;
    padding: 120px 20px;
    background: url('home.png') center/cover no-repeat;
    position: relative;
    color: white;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.hero h1,
.hero p {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
}

.btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 24px;
    background: #b8860b;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
    position: relative;
    z-index: 1;
}

.btn:hover {
    background: #9c7409;
}

/* =========================================
   SECTIONS
========================================= */
.section {
    padding: 80px 20px;
    max-width: 900px;
    margin: auto;
}

.section h1, .section h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* =========================================
   INTRO-BEREICH (Meine Leistungen)
========================================= */
.intro {
    text-align: center;
    max-width: 700px;
    margin: 60px auto; /* Mehr Abstand oben und unten */
}

.intro h2 {
    margin-bottom: 20px;
}

.intro p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* =========================================
   ÜBER MICH
========================================= */
.about-section {
    background-color: #cfbda9;
    padding: 40px 20px 60px;
    margin-top: 100px;
    border-radius: 12px;
    overflow: hidden;
}

.about-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    max-width: 650px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-image {
    width: 250px;
    border-radius: 12px;
}

/* =========================================
   LEISTUNGEN + ACCORDION
========================================= */
.leistungen-intro {
    text-align: center;
    max-width: 700px;
    margin: 30px auto; /* Abstand oben und unten */
    font-size: 1.1rem;
    color: #555;
}

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.leistung {
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #cfbda9;
    transition: box-shadow 0.3s;
}

.leistung:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* Accordion Styles */
.accordion {
    max-width: 900px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accordion-item {
    background: #faf7f0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 25px; /* Mehr vertikaler Platz */
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    background: #cfbda9;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #f4f1e8;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding: 15px 25px 25px;
}


.paket-section {
    margin-top: -40px; /* reduziert den Abstand */
    padding-top: 40px; /* sorgt für harmonischen oberen Abstand */
}


/* =========================================
   TEXT + IMAGE SECTION (Lerne meine Arbeit kennen)
========================================= */
.text-image-section {
    background-color: #cfbda9;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto 60px;
    border-radius: 12px;
    overflow: hidden;
}

.text-image-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.text-column {
    flex: 1 1 400px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.text-column h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: left; /* Überschrift linksbündig */
}

.image-column {
    flex: 1 1 300px;
}

.clickable-image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clickable-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* =========================================
   KONTAKTFORMULAR
========================================= */
.contact-section {
    padding: 80px 20px;
    background-color: #cfbda9;
    max-width: 1200px;
    margin: 0 auto 60px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-section h2 {
    margin-bottom: 40px;
    font-size: 2rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-form .form-row input {
    flex: 1 1 200px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 16px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #b8860b;
    outline: none;
    box-shadow: 0 0 8px rgba(184, 134, 11, 0.3);
}

.contact-form button {
    padding: 12px 24px;
    font-size: 1rem;
    background-color: #b8860b;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    align-self: flex-end;
}

.contact-form button:hover {
    background-color: #9c7409;
    transform: scale(1.03);
}

/* =========================================
    LEGAL PAGES
========================================= */
.section.legal-page h1,
.section.legal-page h2,
.section.legal-page h3 {
    text-align: left;
    margin-bottom: 15px; /* Abstand unter Überschrift reduzieren */
}

.section.legal-page p,
.section.legal-page ul {
    margin-bottom: 15px; /* Abstand unter Text/Listen */
}

.styled-link {
    color: #b8860b;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #b8860b;
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.styled-link:hover {
    color: #9c7409;
    border-color: #9c7409;
}

/* =========================================
   FOOTER
========================================= */
.footer-nav {
    padding: 30px 20px;
    background-color: #cfbda9;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.footer-nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-nav ul li a:hover {
    color: #b8860b;
    text-decoration: underline;
}

.footer-nav a.active {
    text-decoration: underline;
    color: #b8860b;
}

/* =========================================
   MEDIA QUERIES (768px)
========================================= */
@media screen and (max-width: 768px) {
    /* Navigation */
    .hamburger {
        display: flex;
    }
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
		justify-content: center; /* zentriert vertikal im Container */
		 align-items: center;
		 text-align: center;
        background-color: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 20;
       
        
    }

    .nav-links li {
		width: 100%;
        text-align: center; /* zentriert die Links wirklich */
        padding: 20px 0; /* Mehr Platz für Menüeinträge */
    }
	

    .nav-links.active {
        max-height: 600px; /* Mehr Platz für alle Links */
    }

    /* Über mich */
      .about-section {
        max-width: 90%; 
        margin: 0 auto;
    }
	
	.about-wrapper {
        flex-direction: column;
        gap: 20px;
        text-align: center;
		max-width: 90%;
    }

    .about-image {
        width: 200px;
        margin: 0 auto;
    }

    .about-text {
        max-width: 90%;
    }
	
	.intro {
    text-align: center;
    max-width: 90%; /* NEU */
    margin: 60px auto; 
}


    /* Text + Bild */
    .text-image-wrapper {
        flex-direction: column;
        gap: 0; /* Weniger Abstand zwischen Text und Bild */
    }

    .text-image-section {
        padding: 20px 20px;
        max-width: 90%;
    }
    
    .image-column img {
        margin-top: -90px; /* Minimaler Abstand zum Text */
    }

    
    /* Kontaktformular */
    .contact-section {
        padding: 60px 20px;
        max-width: 90%;
    }

    .contact-form button {
        align-self: stretch;
    }

    /* Footer */
    .footer-nav ul {
        flex-direction: column;
        gap: 15px;
    }
}
