/* Deutscher Brandschutzpartner Ã¢ÂÂ Editorial Industrial v5 */

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }

/* === TOKENS === */
:root {
    --ink:        #0e1117;
    --ink-mid:    #2c3142;
    --ink-soft:   #5a6075;
    --ink-faint:  #9299ad;
    --warm-white: #f5f3ef;
    --off-white:  #ede9e3;
    --tint:       #f0ede8;
    --red:        #b83232;
    --red-hover:  #9e2a2a;
    --border:     #e2ddd7;
    --border-ink: rgba(255,255,255,0.1);

    --serif:  'DM Serif Display', Georgia, serif;
    --sans:   'DM Sans', system-ui, sans-serif;

    --max:    1280px;
    --gutter: 64px;
}

body {
    font-family: var(--sans);
    background: var(--warm-white);
    color: var(--ink);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
    border-bottom: 1px solid transparent;
    background: transparent;
}

.nav.scrolled {
    background: var(--warm-white);
    border-color: var(--border);
    box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 32px; width: auto; }

.logo-white { display: block; }
.logo-dark  { display: none; }
.nav.scrolled .logo-white { display: none; }
.nav.scrolled .logo-dark  { display: block; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: rgba(255,255,255,0.75);
    transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav.scrolled .nav-links a:hover { color: var(--ink); }

.nav-cta {
    padding: 9px 20px;
    background: var(--red);
    color: #fff !important;
    border-radius: 3px;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red-hover) !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: #fff;
    transition: background 0.3s;
}
.nav.scrolled .nav-toggle span { background: var(--ink); }

/* === HERO Ã¢ÂÂ SPLIT === */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.hero-left {
    background: var(--ink);
    display: flex;
    align-items: center;
    padding: 140px var(--gutter) 80px;
    position: relative;
}

.hero-left::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 4px;
    background: var(--red);
}

.hero-left-inner { max-width: 520px; }

.kicker {
    display: block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 28px;
    animation: fadeUp 0.7s ease-out both;
}

.hero-left h1 {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 4vw, 4.4rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.5px;
    color: var(--warm-white);
    margin-bottom: 28px;
    animation: fadeUp 0.7s 0.1s ease-out both;
}

.hero-left h1 em {
    font-style: italic;
    color: rgba(245,243,239,0.7);
}

.hero-body {
    font-size: 1.05rem;
    color: rgba(245,243,239,0.55);
    line-height: 1.75;
    margin-bottom: 48px;
    animation: fadeUp 0.7s 0.2s ease-out both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeUp 0.7s 0.3s ease-out both;
}

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

.btn-solid {
    display: inline-flex;
    align-items: center;
    padding: 13px 28px;
    background: var(--red);
    color: #fff;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    border-radius: 3px;
    transition: background 0.2s, transform 0.15s;
}
.btn-solid:hover { background: var(--red-hover); transform: translateY(-1px); }

.btn-line {
    display: inline-flex;
    align-items: center;
    padding: 13px 28px;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    border-radius: 3px;
    transition: border-color 0.2s, color 0.2s;
}
.btn-line:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

.hero-right {
    position: relative;
    overflow: hidden;
}
.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.80) saturate(0.75);
    transition: transform 8s ease;
}
.hero-right:hover img { transform: scale(1.03); }

.hero-right-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(14,17,23,0.3) 0%, transparent 45%);
}

/* === LAYOUT === */
.section { padding: 108px 0; }
.section-ink  { background: var(--ink); color: var(--warm-white); }
.section-tint { background: var(--tint); }

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.wrap-sm {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* === SECTION LABELS === */
.section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.section-label-light { border-bottom-color: var(--border-ink); }

.section-num {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--red);
}
.section-name {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-faint);
}
.section-ink .section-name { color: rgba(255,255,255,0.35); }

/* === HEADINGS === */
h2 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 3.5vw, 3.4rem);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.4px;
    margin-bottom: 56px;
    color: var(--ink);
}
h2 em { font-style: italic; color: var(--ink-soft); }
.section-ink h2 { color: var(--warm-white); }
.section-ink h2 em { color: rgba(245,243,239,0.5); }

/* === ANSATZ === */
.ansatz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.ansatz-right p {
    font-size: 1.05rem;
    color: rgba(245,243,239,0.65);
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 480px;
}

/* === FOKUS Ã¢ÂÂ 4 COLUMNS SIDE BY SIDE === */
.fokus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.fokus-card {
    background: var(--warm-white);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}

.fokus-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.09);
    transform: translateY(-3px);
}

.fokus-img-wrap {
    height: 180px;
    overflow: hidden;
}

.fokus-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) saturate(0.75);
    transition: transform 0.5s, filter 0.4s;
}

.fokus-card:hover .fokus-img-wrap img {
    transform: scale(1.06);
    filter: brightness(1) saturate(1);
}

.fokus-body {
    padding: 22px 22px 26px;
}

.card-num {
    display: block;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--red);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.fokus-card h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.25;
}

/* === WEN WIR SUCHEN Ã¢ÂÂ always 3 columns === */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    max-width: 960px;
}

.criterion {
    padding: 36px 40px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background 0.2s;
}

.criterion:last-child { border-right: none; }
.criterion:hover { background: var(--off-white); }

.crit-label {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
}

.crit-val {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.35;
}

/* === PARTNER LIST === */
.partner-list {
    display: flex;
    flex-direction: column;
}

.partner-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: baseline;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}
.partner-row:first-child { border-top: 1px solid var(--border); }
.partner-row:hover { background: rgba(0,0,0,0.015); }

.partner-title {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--ink);
}

.partner-body {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

/* === KONTAKT === */
.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 80px;
    align-items: start;
}

.kontakt-left p {
    font-size: 1.05rem;
    color: rgba(245,243,239,0.6);
    line-height: 1.8;
    max-width: 480px;
}

.kontakt-trust {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 28px !important;
    opacity: 0.85;
}

.kontakt-portrait {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(15%) brightness(0.82);
    border-radius: 3px;
    margin-bottom: 20px;
}

.kontakt-name {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--warm-white);
    font-weight: 400;
    margin-bottom: 4px;
}

.kontakt-role {
    font-size: 0.82rem;
    color: rgba(245,243,239,0.35);
    margin-bottom: 18px;
}

.kontakt-link {
    display: block;
    font-size: 0.85rem;
    color: rgba(245,243,239,0.55);
    line-height: 1.9;
    transition: color 0.2s;
    word-break: break-word;
}
.kontakt-link:hover { color: var(--warm-white); }

/* === FOOTER === */
.footer {
    background: #080a0f;
    padding: 48px 0 32px;
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 28px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo { height: 28px; width: auto; opacity: 0.85; }

.footer-tagline {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.3px;
    font-style: italic;
}

.footer-nav { display: flex; gap: 28px; }
.footer-nav a {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.3);
    transition: color 0.2s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.7); }

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.2);
}

/* === IMPRESSUM === */
.impressum {
    background: var(--tint);
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.impressum-title {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 44px;
}

.impressum-body h3 {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-top: 28px;
    margin-bottom: 10px;
}

.impressum-body p {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.8;
}

/* === PROZESS === */
.prozess-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 820px;
}

.prozess-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 32px;
    align-items: start;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

.prozess-step:first-child {
    border-top: 1px solid var(--border);
}

.prozess-num {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--red);
    line-height: 1;
    padding-top: 4px;
    opacity: 0.5;
}

.prozess-content h3 {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
    line-height: 1.35;
}

.prozess-content p {
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

.fn-mark {
    color: var(--red);
    font-size: 0.8em;
    vertical-align: super;
    margin-left: 1px;
}

.prozess-footnote {
    margin-top: 28px;
    font-size: 0.82rem;
    color: var(--ink-faint);
    line-height: 1.65;
    max-width: 680px;
    padding-left: 0;
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
    :root { --gutter: 40px; }
    .ansatz-grid { grid-template-columns: 1fr; gap: 48px; }
    .fokus-grid  { grid-template-columns: repeat(2, 1fr); }
    .kontakt-grid { grid-template-columns: 1fr 220px; gap: 56px; }
}

@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-left { padding: 120px 40px 72px; }
    .hero-right { height: 55vw; min-height: 280px; }
    .partner-row { grid-template-columns: 1fr; gap: 8px; }
    .kontakt-grid { grid-template-columns: 1fr; gap: 48px; }
    .kontakt-right { max-width: 240px; }
}

@media (max-width: 768px) {
    :root { --gutter: 24px; }

    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 68px; right: 0; left: 0; bottom: 0;
        background: var(--warm-white);
        padding: 40px var(--gutter);
        gap: 0;
        overflow-y: auto;
        border-top: 1px solid var(--border);
    }
    .nav-links.open a {
        display: block;
        padding: 18px 0;
        border-bottom: 1px solid var(--border);
        font-size: 16px !important;
        color: var(--ink) !important;
    }
    .nav-links.open .nav-cta { margin-top: 24px; text-align: center; }
    .nav-toggle { display: flex; }

    .hero-left { padding: 100px 24px 60px; }
    .hero-left h1 { font-size: 2.4rem; }
    .hero-ctas { flex-direction: column; align-items: flex-start; }

    .fokus-grid { grid-template-columns: 1fr; gap: 16px; }

    /* criteria: stack only on mobile */
    .criteria-grid { grid-template-columns: 1fr; }
    .criterion { border-right: none; border-bottom: 1px solid var(--border); }
    .criterion:last-child { border-bottom: none; }

    .section { padding: 72px 0; }
    .footer-row { flex-direction: column; align-items: flex-start; gap: 24px; }
    .footer-nav { flex-wrap: wrap; gap: 16px 24px; }
}
