* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Garamond', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f1e8;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/holz.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Navigation */
header {
    background: transparent;
    padding: 1rem 0;
    z-index: 100;
    box-shadow: none;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #FFD700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Georgia', 'Garamond', serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 0.3rem;
}

.logo::before {
    content: "";
    font-size: 0;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 101;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #f4f1e8;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: #f4f1e8;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

nav a:hover {
    color: #FFD700;
    border-bottom-color: #FFD700;
}

/* Hero Section */
#willkommen {
    background: transparent;
    color: #f4f1e8;
    padding: 6rem 2rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.willkommen-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#willkommen h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#willkommen p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: #FFC700;
    color: #654321;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #FFB700;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    color: #654321;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8B4513, #FFD700, #8B4513);
    border-radius: 2px;
}

/* Wer wir sind */
#wer-wir-sind {
    background: linear-gradient(135deg, rgba(244, 241, 232, 0.9) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(10px);
    position: relative;
}

#wer-wir-sind::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(139, 69, 19, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

#wer-wir-sind > * {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
}

.about-image {
    background: none;
    padding: 0;
    border-radius: 8px;
    text-align: center;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* Unsere Angebote */
#unsere-angebote {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.87) 0%, rgba(250, 245, 235, 0.85) 100%);
    backdrop-filter: blur(10px);
    position: relative;
}

#unsere-angebote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(255, 215, 0, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(139, 69, 19, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

#unsere-angebote > * {
    position: relative;
    z-index: 1;
}

.angebote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.angebot-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #8B4513;
}

.angebot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.angebot-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.angebot-card h3 {
    color: #654321;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.angebot-card p {
    color: #666;
    line-height: 1.7;
}

.preis {
    margin-top: 1rem;
    font-size: 1.3rem;
    font-weight: bold;
    color: #8B4513;
}

/* Kontaktformular */
#kontakt {
    background: linear-gradient(135deg, rgba(244, 241, 232, 0.9) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(10px);
    position: relative;
}

#kontakt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(139, 69, 19, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

#kontakt > * {
    position: relative;
    z-index: 1;
}

.kontakt-container {
    max-width: 550px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #654321;
    font-weight: bold;
    min-height: 2.4rem;
    display: flex;
    align-items: flex-start;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 5px rgba(139, 69, 19, 0.2);
}

select {
    cursor: pointer;
    appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23654321' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

#kontakt h3 {
    color: #654321;
}

#kontakt h4 {
    color: #654321;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
}

.accordion-button {
    background-color: #8B4513;
    color: #f4f1e8;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: inherit;
}

.accordion-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.accordion-button.active .accordion-arrow {
    transform: rotate(90deg);
}

.accordion-content {
    padding-bottom: 1rem;
    animation: slideDown 0.3s ease;
}

/* Holz-Akkordeon Styles */
.wood-accordion-button {
    background-color: #9d6a3e;
    color: #f4f1e8;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: inherit;
}

.wood-accordion-button:hover {
    background-color: #a87446;
}

.wood-accordion-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.wood-accordion-button.active .wood-accordion-arrow {
    transform: rotate(90deg);
}

.wood-accordion-content {
    padding: 0.3rem 0 1rem 0;
    margin-bottom: 2rem;
    animation: slideDown 0.3s ease;
}

/* Trennstrich zwischen Weichholz und Adressfeld */
.address-section {
    border-top: 1px solid #d4a574;
    padding-top: 2rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}


.form-button {
    background-color: #654321;
    color: white;
    padding: 1rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
}

.form-button:hover {
    background-color: #3d2817;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: rgba(61, 40, 23, 0.85);
    color: #f4f1e8;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: linear-gradient(135deg, #8B4513 0%, #654321 100%);
        padding: 1.5rem;
        gap: 1rem;
        overflow: hidden;
        transition: transform 0.3s ease, visibility 0.3s ease;
        border-bottom: 1px solid rgba(255, 215, 0, 0.3);
        z-index: 99;
        transform: translateY(-100%);
        visibility: hidden;
    }

    nav ul.active {
        transform: translateY(0);
        visibility: visible;
    }

    nav a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    nav {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo::before {
        font-size: 1.5rem;
    }

    #willkommen {
        padding: 3rem 1rem;
        min-height: 80vh;
        background-attachment: scroll;
    }

    #willkommen h1 {
        font-size: 2rem;
    }

    #willkommen p {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    section {
        padding: 2.5rem 1rem;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        padding: 1.5rem;
        font-size: 3rem;
    }

    .angebote-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .angebot-card {
        padding: 1.5rem;
    }

    .angebot-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .angebot-card h3 {
        font-size: 1.3rem;
    }

    .form-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .accordion-button {
        padding: 0.8rem 1rem;
        font-size: 1rem;
        margin-top: 1.5rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        padding: 0.7rem;
        font-size: 16px;
    }

    label {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    footer {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }

    footer p {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .logo::before {
        font-size: 1.2rem;
    }

    #willkommen h1 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    #willkommen p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .angebot-card h3 {
        font-size: 1.1rem;
    }

    .preis {
        font-size: 1.1rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    section {
        padding: 1.5rem 1rem;
    }

    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

.form-success {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: none;
    text-align: center;
    border: 1px solid #c3e6cb;
}

.form-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Content Pages (Impressum, Datenschutz) */
.content-section {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-section h1 {
    font-size: 2.5rem;
    color: #654321;
    margin-bottom: 2rem;
    margin-top: 0;
    padding-top: 2rem;
    text-align: center;
}

.content-section h2 {
    font-size: 1.8rem;
    color: #654321;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #FFD700;
    position: relative;
}

.content-section h2::after {
    display: none;
}

.content-section h3 {
    font-size: 1.4rem;
    color: #8B4513;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.content-section p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-section a {
    color: #654321;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.content-section a:hover {
    color: #8B4513;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-section li {
    margin-bottom: 0.8rem;
    color: #555;
    line-height: 1.6;
}

/* Mobile Responsive für Content Pages */
@media (max-width: 768px) {
    .content-section {
        padding: 2rem 0;
    }

    .content-container {
        max-width: 100%;
        padding: 0 1rem;
    }

    .content-section h1 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        padding-top: 1rem;
    }

    .content-section h2 {
        font-size: 1.4rem;
        margin-top: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .content-section h3 {
        font-size: 1.2rem;
        margin-top: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .content-section p {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .content-section ul {
        margin-left: 1.5rem;
        margin-bottom: 1rem;
    }

    .content-section li {
        margin-bottom: 0.6rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .content-container {
        padding: 0 0.8rem;
    }

    .content-section h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .content-section h2 {
        font-size: 1.2rem;
        margin-top: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .content-section h3 {
        font-size: 1.1rem;
    }

    .content-section p {
        font-size: 0.9rem;
    }
}
