html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background:
        linear-gradient(rgba(255, 255, 255, 0.50), rgba(255, 255, 255, 0.50)),
        url("bilder/holz.png") center center / cover no-repeat fixed;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(#d6d6d6, #bfbfbf);
    border-bottom: 1px solid #8f8f8f;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand a {
    text-decoration: none;
    color: #1f1f1f;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.2px;
    transition: color 0.25s ease;
}

.brand a:hover {
    color: #000;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav a {
    text-decoration: none;
    color: #2d2d2d;
    font-weight: bold;
    padding: 10px 14px;
    border-radius: 10px;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.nav a:hover {
    background: #4a4a4a;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Inhalt */
.content {
    max-width: 1200px;
    margin: 35px auto;
    padding: 0 20px;
}

section {
    scroll-margin-top: 90px;
}

/* Karten */
.card {
    background: #ffffff;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    border-radius: 18px;
}

.card h2 {
    margin-top: 0;
    color: #1f1f1f;
}

/* Listen */
.liste {
    padding-left: 20px;
}

.liste li {
    margin-bottom: 10px;
}

/* Projektgalerie */
.projektgalerie {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.projekt-item {
    background: #f8f8f8;
    border: 1px solid #d3d3d3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0,0,0,0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.projekt-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.14);
}

.projekt-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.projekt-text {
    padding: 18px;
}

.projekt-text h3 {
    margin: 0 0 10px 0;
    color: #222;
    font-size: 1.1rem;
}

.projekt-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Kontakt */
.kontakt-card a {
    color: #222;
    font-weight: bold;
}

form {
    max-width: 600px;
    margin-top: 20px;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #b8b8b8;
    border-radius: 10px;
    font-size: 1rem;
    box-sizing: border-box;
    background: #fff;
}

textarea {
    resize: vertical;
}

button {
    background: #3b3b3b;
    color: #fff;
    border: none;
    padding: 14px 30px;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

button:hover {
    background: #111;
    transform: translateY(-1px);
}

.checkbox {
    display: block;
    margin-bottom: 15px;
}

.checkbox input {
    width: auto;
    margin-right: 8px;
}

.hp {
    display: none;
}

/* Footer */
.footer {
    background: #111;
    color: #fff;
    padding: 28px 20px;
}

.footer-inner {
    max-width: 1200px;
    margin: auto;
}

.footer p {
    margin: 0;
}

.footer a {
    color: #fff;
    text-decoration: underline;
}

.impressum-box {
    margin-top: 18px;
    background: #1d1d1d;
    border: 1px solid #3a3a3a;
    border-radius: 14px;
    padding: 14px 16px;
}

.impressum-box summary {
    cursor: pointer;
    font-weight: bold;
    color: #fff;
}

.impressum-box summary:hover {
    color: #d0d0d0;
}

.impressum-content {
    margin-top: 14px;
    color: #e7e7e7;
    line-height: 1.6;
}

.impressum-content a {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 16px;
    }

    .nav {
        flex-wrap: wrap;
        gap: 8px;
    }

    .content {
        margin-top: 130px;
    }

    .card {
        padding: 28px 22px;
    }

    section {
        scroll-margin-top: 140px;
    }
}