/* ────────────────────────────────────────
   BUTTONS (shared)
   ──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    line-height: 1.2;
    min-height: 44px;
    transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.btn--primary {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}
.btn--primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn--outline:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ────────────────────────────────────────
   SITE HEADER
   ──────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg);
    border-bottom: 1px solid rgba(23, 64, 118, 0.1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.site-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.site-logo__text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Navigation */
.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.site-nav__link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 200ms ease;
    white-space: nowrap;
}

.site-nav__link:hover {
    color: var(--color-primary);
}

.site-nav__cta {
    margin-left: var(--space-sm);
    white-space: nowrap;
}

/* Desktop nav layout */
.site-nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Burger toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    z-index: 210;
}

.nav-toggle__bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform 200ms ease, opacity 200ms ease;
}

/* Burger animation when open */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ────────────────────────────────────────
   MOBILE NAV (< 768px)
   ──────────────────────────────────────── */
@media (max-width: 767px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        inset: 0;
        z-index: 200;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-lg);
        transform: translateX(100%);
        transition: transform 300ms ease;
    }

    .site-nav.is-open {
        transform: translateX(0);
    }

    .site-nav__list {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }

    .site-nav__link {
        font-size: 1.25rem;
    }

    .site-nav__cta {
        margin-left: 0;
        font-size: 1.125rem;
    }
}

/* ────────────────────────────────────────
   SITE FOOTER
   ──────────────────────────────────────── */
.site-footer {
    background: var(--color-primary);
    color: #fff;
    margin-top: var(--space-xl);
}

.site-footer__accent {
    height: 1px;
    background: var(--color-accent);
}

.site-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-lg);
}

.site-footer__logo {
    max-width: 180px;
    height: auto;
    display: block;
    margin-bottom: var(--space-sm);
    filter: brightness(0) invert(1);
}

.site-footer__tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    margin: 0;
}

.site-footer__heading {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 var(--space-sm);
    letter-spacing: 0;
}

.site-footer__address {
    font-style: normal;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-xs);
}

.site-footer__link {
    color: #fff;
    text-decoration: none;
    transition: color 200ms ease;
}

.site-footer__link:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.site-footer p {
    margin: 0.25rem 0;
    font-size: 0.9375rem;
}

/* Oeffnungszeiten */
.site-footer__hours {
    margin: 0;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
}

.site-footer__hours-row {
    display: flex;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: 0.25rem 0;
}

.site-footer__hours-row dt {
    font-weight: 500;
}

.site-footer__hours-row dd {
    margin: 0;
    text-align: right;
}

/* Footer-Bar */
.site-footer__bar {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer__bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-sm) var(--space-md);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

.site-footer__bar-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.875rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0;
    transition: color 200ms ease;
}

.site-footer__bar-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* ────────────────────────────────────────
   FOOTER MOBILE (< 768px)
   ──────────────────────────────────────── */
@media (max-width: 767px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        padding: var(--space-lg) var(--space-md);
    }
}

/* ────────────────────────────────────────
   MAIN CONTENT
   ──────────────────────────────────────── */
main {
    min-height: 50vh;
}

/* ────────────────────────────────────────
   PAGE CONTENT (Impressum, Datenschutz etc.)
   ──────────────────────────────────────── */
.page-content__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
}

.page-content__text h2 {
    margin-top: var(--space-lg);
}

.page-content__text p {
    margin-bottom: var(--space-sm);
}

/* ────────────────────────────────────────
   SECTIONS (shared pattern)
   ──────────────────────────────────────── */
[id] {
    scroll-margin-top: 72px;
}

.section {
    padding: var(--space-xl) var(--space-md);
}

.section--surface {
    background: var(--color-surface);
}

.section--bg {
    background: var(--color-bg);
}

.section__inner {
    max-width: 1280px;
    margin: 0 auto;
}

.section__title {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.section__intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
    color: var(--color-text-muted);
    font-size: 1.0625rem;
    line-height: 1.6;
}

/* ────────────────────────────────────────
   HERO
   ──────────────────────────────────────── */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-primary);
    min-height: 500px;
    display: flex;
}

.hero__overlay {
    flex: 1;
    background: rgba(23, 64, 118, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl) var(--space-md);
}

.hero__inner {
    max-width: 800px;
    text-align: center;
}

.hero__headline {
    color: #fff;
    font-size: clamp(1.75rem, 5vw, 3rem);
    line-height: 1.15;
    margin: 0 0 var(--space-md);
}

.hero__subline {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    margin: 0 0 var(--space-lg);
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.hero__cta--phone {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
    font-weight: 600;
}

.hero__cta--phone:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 767px) {
    .hero {
        min-height: 380px;
    }
}

/* ────────────────────────────────────────
   SERVICES GRID (Drei Saeulen)
   ──────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.services-card {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    border: 1px solid transparent;
    transition: border-color 200ms ease;
}

.services-card:hover {
    border-color: rgba(185, 118, 75, 0.5);
}

.services-card__icon {
    font-size: 2rem;
    color: var(--color-accent);
    display: block;
    margin-bottom: var(--space-sm);
}

.services-card__title {
    margin: 0 0 var(--space-xs);
}

.services-card__text {
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ────────────────────────────────────────
   TARGET GROUPS (Zielgruppen)
   ──────────────────────────────────────── */
.target-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.target-card {
    border-radius: var(--radius-lg);
    background: var(--color-primary);
    padding: 2rem;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.target-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 64, 118, 0.3);
}

.target-card__icon {
    font-size: 2rem;
    color: var(--color-bg);
    display: block;
    margin-bottom: var(--space-sm);
}

.target-card__title {
    color: #fff;
    font-weight: 600;
    margin: 0 0 var(--space-xs);
}

.target-card__intro {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    margin: 0 0 var(--space-sm);
}

.target-card__bullets {
    margin: 0;
    padding-left: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    list-style: none;
}

.target-card__bullets li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.target-card__bullets li::before {
    content: "•";
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.target-card__bullets strong {
    color: #fff;
}

@media (max-width: 767px) {
    .target-grid {
        grid-template-columns: 1fr;
    }
}

/* ────────────────────────────────────────
   LOGO WALL (Marken + Referenzen)
   ──────────────────────────────────────── */
.logo-wall {
    display: grid;
    gap: var(--space-lg);
    align-items: center;
    justify-items: center;
}

.logo-wall--5 {
    grid-template-columns: repeat(5, 1fr);
}

.logo-wall__item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
    min-height: 44px;
}

.logo-wall__item img {
    max-height: 60px;
    width: auto;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 200ms ease, opacity 200ms ease;
}

.logo-wall__item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 767px) {
    .logo-wall--5 {
        grid-template-columns: repeat(3, 1fr);
    }
}
