.site {
    max-width: 950px;
    padding: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
    body {
        padding: 32px 0;
    }

    .site {
        border-radius: 10px;
        overflow: hidden;
    }
}

/* Kopfbereich mit Logo und Menü-Knopf (Handy) */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #343a40, #495057);
    padding: 14px 16px 14px 20px;
}

.site-header .logo {
    display: block;
    height: 44px;
    width: auto;
}

@media (max-width: 575.98px) {
    .site-header {
        padding: 10px 12px 10px 14px;
    }

    .site-header .logo {
        height: 36px;
    }
}

.site-header .navbar-toggler {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    padding: 6px 12px;
    color: white;
    background: none;
    font-size: 15px;
}

.burger,
.burger::before,
.burger::after {
    display: block;
    width: 18px;
    height: 2px;
    background: white;
    position: relative;
}

.burger::before,
.burger::after {
    content: "";
    position: absolute;
}

.burger::before {
    top: -6px;
}

.burger::after {
    top: 6px;
}

.header-image img {
    display: block;
    object-fit: cover;
    min-height: 80px;
}

.main-content {
    padding: 30px;
}

@media (max-width: 575.98px) {
    .main-content {
        padding: 20px 16px;
    }
}

/* Kacheln mit Links (Startseite, Dienstleistungen, Projekte) */
.tile {
    display: block;
    height: 100%;
    padding: 14px 16px;
    background: #f6f7f8;
    border-left: 4px solid var(--q-red);
    border-radius: 6px;
    color: var(--q-text);
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tile:hover,
.tile:focus {
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    text-decoration: none;
}

.tile h3 {
    margin-bottom: 4px;
}

.tile span {
    color: var(--q-red);
    font-size: 0.9rem;
}

/* Fotogalerie */
.gallery a {
    display: block;
    border-radius: 6px;
    overflow: hidden;
}

.gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .3s ease;
}

.gallery a:hover img {
    transform: scale(1.03);
}

/* Fusszeile */
.footer {
    font-size: 13px;
    background: #343a40;
    color: white;
    padding: 16px 20px;
    text-align: center;
}

.footer a {
    color: #ffc107;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-legal {
    margin-top: 8px;
    opacity: .85;
}
