/* ==========================================================================
   NEU: Schriftart-Definitionen
   ========================================================================== */
@font-face {
    font-family: 'ThisManThisMonster';
    src: url('fonts/ThisManThisMonster.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DIN 1451';
    src: url('fonts/din1451.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* ==========================================================================
   1. Allgemeine Stile (Variablen, Reset, Body, Container)
   ========================================================================== */

/* CSS Variablen für einfache Farbanpassungen */
:root {
    --primary-color: #215400; /* Dunkles Grün */
    --secondary-color: #3b8c06; /* Helles Grün */
    --background-color: #3b592d; /* Mittelgrün für Hintergründe */
    --text-color: #ffffff;
    /* Die Standardschriftart wurde auf DIN 1451 geändert */
    --font-family: 'DIN 1451', sans-serif;
}

/* Basis-Styling & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: #fff; /* Standard-Hintergrund */
}

h1, h2, h3 {
    font-weight: 700;
    text-transform: uppercase;
}

/* NEU: Eigene Schriftart für die Haupt-Überschriften */
h1, h2 {
    font-family: 'ThisManThisMonster', serif; /* Fallback auf eine generische Serif-Schrift */
}

a {
    text-decoration: none;
    color: var(--text-color);
}

ul {
    list-style: none;
}

/* Container für zentrierten Inhalt */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. Header & Navigation
   ========================================================================== */
header {
    background-color: var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav ul li a {
    font-family: 'DIN 1451', sans-serif; /* Hinzugefügt */
    font-weight: 700;
	font-size: 20px;
    
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--secondary-color);
}

.main-nav ul li a.nav-contact-button {
    background-color: #8ba00b;
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.main-nav ul li a.nav-contact-button:hover {
    background-color: #3b8c06;
    color: var(--text-color);
}

.hamburger-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive Anpassungen für Header & Navigation */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 110px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        text-align: center;
    }
    .main-nav.show {
        display: flex;
    }
    .main-nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    .main-nav ul li {
        padding: 15px 0;
    }
    .hamburger-menu {
        display: block;
    }
}


/* ==========================================================================
   3. Seiten-Sektionen (Hero, Über Mich, etc.)
   ========================================================================== */

/* Hero Section */
#hero {
    height: 90vh;
    background-image: url('images/hero.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 80px;
    margin-bottom: 20px;
    text-shadow: 4px 4px 0px #000;
}

.cta-button {
    background-color: #8ba00b;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #3b8c06;
}

/* Responsive Anpassungen für Hero Section */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Über Mich Section */
#ueber-mich {
    background-color: var(--primary-color);
    padding: 80px 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    max-width: 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.about-text {
    flex: 2;
	font-size: 17px;
}

/* Neue Regel für den zentrierten Sektionstitel */
#ueber-mich h2 {
    text-align: center;
    margin-bottom: 40px; /* Abstand zum Inhalt darunter */
    font-size: 3rem;
}

.about-text p {
    line-height: 1.6;
	margin-bottom: 10px;
}

/* Responsive Anpassungen für Über Mich Section */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: left;
    }
}

/* Leistungen Section */
#leistungen {
    background-color: var(--secondary-color);
    padding: 80px 0;
}

#leistungen h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 3rem;
}

.accordion-item {
    border-bottom: 1px solid var(--text-color);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
}

.accordion-header h3 {
    font-size: 1.5rem;
}

.accordion-header i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.accordion-content p {
    padding: 0 0 20px 0;
    line-height: 1.6;
	font-size: 20px;
}

.accordion-item.active .accordion-content {
    max-height: 500px; /* HIER WURDE DER WERT ERHÖHT */
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
}

/* Kontakt Section */
#kontakt {
    background-color: var(--primary-color);
    padding: 80px 0;
}

/* Neue Regel für den zentrierten Sektionstitel */
#kontakt h2 {
    text-align: center;
    margin-bottom: 40px; /* Abstand zum Inhalt darunter */
    font-size: 3rem;
}

.contact-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.contact-form {
    flex: 2;
}


.form-group {
    margin-bottom: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    border: none;
    font-family: var(--font-family);
    color: #333;
}

.submit-button {
    background-color: #8ba00b;
    color: var(--text-color);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #3b8c06;
}

.contact-info {
    flex: 1;
    text-align: center;
    font-size: 35px;
}

.contact-info a {
    color: inherit;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info .info-line {
    margin-top: 15px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group.half-width {
    width: 50%;
    margin-bottom: 0;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.captcha-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-group input {
    width: 120px;
}

#captcha-question {
    font-weight: bold;
    white-space: nowrap;
}

#form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    display: none;
}

#form-status.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

#form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

/* Responsive Anpassungen für Kontakt Section */
@media (max-width: 768px) {
    #kontakt {
        padding: 80px 20px;
    }
    .contact-container {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form, .contact-info {
        width: 100%;
    }

    .contact-info {
        margin-top: 40px;
		font-size: 25px;
    }
}

@media (max-width: 500px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .form-group.half-width {
        width: 100%;
        margin-bottom: 20px;
    }
    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .captcha-group {
        margin-bottom: 20px;
    }
    .submit-button {
        width: 100%;
    }
}


/* ==========================================================================
   4. Footer
   ========================================================================== */
footer {
    background-color: var(--secondary-color);
    padding: 60px 0 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-logo img {
    height: 80px;
}

.footer-nav-wrapper {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
	font-size: 1.2rem;
}

.footer-nav-main ul,
.footer-nav-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-nav-main ul li,
.footer-nav-legal ul li {
    margin-bottom: 10px;
}

.footer-nav-main ul li a,
.footer-nav-legal ul li a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.footer-nav-main ul li a:hover,
.footer-nav-legal ul li a:hover {
    color: var(--primary-color);
}

/* Responsive Anpassungen für den Footer */
@media (max-width: 480px) {
    .footer-nav-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .footer-nav-main ul,
    .footer-nav-legal ul {
        text-align: center;
    }
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 25px;
    z-index: 2000;
    font-family: var(--font-family);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease-in-out;
    transform: translateY(100%);
}

#cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-hidden {
    display: none !important;
}

#cookie-banner p {
    margin: 0;
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 16px;
}

#cookie-banner a {
    color: var(--text-color);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid var(--text-color);
    background-color: transparent;
    color: var(--text-color);
    font-family: var(--font-family);
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cookie-btn:hover {
    background-color: var(--text-color);
    color: var(--primary-color);
}

.cookie-btn-accept {
    background-color: #8ba00b;
    border-color: #8ba00b;
}

.cookie-btn-accept:hover {
    background-color: #a1b81d;
    color: var(--text-color);
}

#cookie-banner-settings h3 {
    font-family: 'ThisManThisMonster', serif;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.cookie-category {
    margin-bottom: 20px;
}

.cookie-category label {
    display: block;
    cursor: pointer;
}

.cookie-category input {
    margin-right: 10px;
}

.cookie-category-desc {
    font-size: 0.9em;
    opacity: 0.8;
    margin-top: 5px;
    margin-left: 25px;
}

@media (max-width: 600px) {
    .cookie-banner-buttons {
        flex-direction: column;
    }
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}


































/* ==========================================================================
   4. Impressum & Datenschutz (Legal Content)
   ========================================================================== */
#legal-content {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 80px 0;
    min-height: 60vh; /* Sorgt dafür, dass die Seite nicht zu leer aussieht */
}

#legal-content h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 40px;
}

#legal-content h2 {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

#legal-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

#legal-content a {
    color: var(--text-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

#legal-content a:hover {
    color: var(--secondary-color);
}
