:root {
    --navy: #14245c;
    --navy-deep: #0d183f;
    --red: #d1251f;
    --red-dark: #a81c18;
    --ink: #1c1a17;
    --muted: #5e584f;
    --paper: #f4f0e8;
    --white: #fff;
    --line: #ddd4c6;
    --mark: #fff1c2;
    --mark-ink: #5a4300;
    --max: 72rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding-top: var(--header-offset, 7.5rem);
    color: var(--ink);
    background: var(--paper);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.55;
}

img { max-width: 100%; height: auto; }

a { color: var(--navy); }

a:hover { color: var(--red-dark); }

.skip {
    position: absolute;
    left: 0.75rem;
    top: -4rem;
    background: var(--white);
    color: var(--navy);
    padding: 0.5rem 0.8rem;
    z-index: 20;
}

.skip:focus { top: 0.75rem; z-index: 210; }

.wrap {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--navy);
    color: var(--white);
    border-bottom: 4px solid var(--red);
    transition: transform 0.4s ease;
}

.site-header.nav-up {
    transform: translateY(-100%);
}

@media (prefers-reduced-motion: reduce) {
    .site-header,
    .nav-toggle-icon::before,
    .nav-toggle-icon::after { transition: none; }
}

.header-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem 1.5rem;
    padding: 0.85rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: inherit;
    text-decoration: none;
    margin-right: auto;
}

.brand img {
    width: 7.5rem;
    background: var(--white);
    border-radius: 0.45rem;
}

.brand-text {
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.1rem;
}

.site-nav a {
    color: var(--white);
    text-decoration: none;
    padding: 0.35rem 0;
    font-weight: 600;
}

.site-nav a[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--red);
}

.site-nav a:hover { color: #f3d2d0; }

.call {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    min-height: 2.75rem;
}

.call:hover { background: var(--red-dark); color: var(--white); }

.call span { font-weight: 700; }

.nav-toggle {
    display: none;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0.45rem;
    background: transparent;
    color: var(--white);
    cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
    display: block;
    width: 1.35rem;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}

.nav-toggle-icon { position: relative; }

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
    transition: transform 0.2s ease;
}

.nav-toggle-icon::before { transform: translateY(-7px); }

.nav-toggle-icon::after { transform: translateY(7px); }

.site-header.nav-open .nav-toggle-icon { background: transparent; }

.site-header.nav-open .nav-toggle-icon::before { transform: rotate(45deg); }

.site-header.nav-open .nav-toggle-icon::after { transform: rotate(-45deg); }

.site-header.is-compact .nav-toggle { display: inline-flex; }

.site-header.is-compact .header-bar {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
}

.site-header.is-compact .brand,
.site-header.is-compact .call,
.site-header.is-compact .nav-toggle { flex-shrink: 0; }

.site-header.is-compact .call { position: relative; }

.site-header.is-compact.is-tight .call span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header.is-compact .site-nav { display: none; }

.site-header.is-compact.nav-open .site-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    gap: 0;
    padding: 0.25rem max(1rem, calc((100% - var(--max)) / 2)) 0.75rem;
    background: var(--navy-deep);
    border-bottom: 4px solid var(--red);
}

.site-header.is-compact.nav-open .site-nav a {
    padding: 0.85rem 0.2rem;
    font-size: 1.125rem;
}

.site-header.is-compact.nav-open .site-nav a[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--red);
}

.hero, .page-head, .band, .panel {
    padding: 2.5rem 0;
}

.hero-grid, .split {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.8fr);
    gap: 2rem;
    align-items: center;
}

.eyebrow {
    margin: 0 0 0.4rem;
    color: var(--red-dark);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

h1 {
    margin: 0 0 0.6rem;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.lead {
    font-size: 1.25rem;
    margin: 0 0 0.8rem;
}

.hero figure {
    margin: 0;
}

.hero figure { justify-self: end; }

.hero img {
    display: block;
    width: min(100%, 225px);
    border: 1px solid var(--line);
    background: var(--white);
}

.process-lead {
    margin: 0;
    max-width: 40rem;
    font-size: clamp(1.35rem, 2.2vw, 1.6rem);
    line-height: 1.4;
}

.process {
    display: flex;
    align-items: flex-start;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.process li {
    display: flex;
    align-items: flex-start;
    flex: 1 1 0;
    min-width: 0;
}

.process-step {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    text-align: center;
    font-weight: 700;
}

.process-icon {
    width: 3.25rem;
    height: 3.25rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--paper);
    color: var(--navy);
}

.process-icon svg {
    width: 1.55rem;
    height: 1.55rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.process-arrow {
    width: 0.7rem;
    height: 0.7rem;
    flex: 0 0 auto;
    margin: 1.25rem 0.15rem 0;
    border-top: 2px solid var(--red);
    border-right: 2px solid var(--red);
    transform: rotate(45deg);
}

.band { background: var(--white); }

h2 {
    margin: 0 0 0.8rem;
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.areas {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.areas li {
    width: max-content;
    max-width: 100%;
    padding: 0 0 0.45rem;
    border-bottom: 2px solid var(--navy);
    font-weight: 700;
}

.page-head .areas li {
    font-size: 1.35rem;
    padding-bottom: 0.55rem;
}

.next { margin: 1.4rem 0 0; }

.next a {
    font-weight: 700;
    text-underline-offset: 0.18em;
}

.next a::after { content: " →"; }

.people {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.split .people { grid-template-columns: 1fr; }

.people li, .brand-group {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 1rem;
}

.band .people li { background: var(--paper); }

.person {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.person img {
    width: 65px;
    height: auto;
    flex: 0 0 auto;
    background: var(--white);
}

.person h3, .brand-group h2 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
}

.person p, .brand-group p { margin: 0.2rem 0; }

.muted { color: var(--muted); }

.brands {
    display: grid;
    gap: 0.75rem;
}

.brand-group ul {
    list-style: none;
    margin: 0.6rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.page-head { padding-bottom: 0.5rem; }

.panel { padding-top: 1rem; }

.prose { max-width: 42rem; }

.prose h2 { margin-top: 2rem; font-size: 1.35rem; }

.prose h3 { margin: 1.3rem 0 0.4rem; font-size: 1.05rem; }

.prose ul { padding-left: 1.2rem; }

.platzhalter {
    background: var(--mark);
    color: var(--mark-ink);
    font-weight: 700;
    padding: 0.05em 0.3em;
}

.site-footer {
    background: var(--navy-deep);
    color: #efeae2;
    padding: 2rem 0;
    margin-top: 1rem;
}

.email-show::before { content: "info@"; }
.email-show::after { content: "kab-siegsdorf.de"; }
.email-hide { display: none; }

.site-footer a { color: #fff; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr auto;
    gap: 1.5rem;
}

.footer-name { font-weight: 700; margin-top: 0; }

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.site-footer p { margin: 0.3rem 0; }

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 2px;
}

@media (max-width: 860px) {
    .hero-grid, .split, .footer-grid, .people, .areas {
        grid-template-columns: 1fr;
    }

    .hero figure { justify-self: start; }

    .areas { grid-template-columns: 1fr 1fr; }

    .brand-text { display: none; }

    .footer-legal { flex-direction: row; gap: 1rem; }
}

@media (max-width: 720px) {
    .home-areas { text-align: center; }

    .home-areas .areas { justify-items: center; }

    .process { flex-direction: column; align-items: center; gap: 0.35rem; }

    .process li { flex-direction: column; align-items: center; width: min(100%, 16rem); }

    .process-arrow {
        margin: 0.75rem 0 0.15rem;
        transform: rotate(135deg);
    }
}

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

    .header-bar { align-items: stretch; }

    .call { justify-content: center; }
}
