/* ============================================
   MALER NITSCHKE — Off-White + Signal-Rot
   Handwerk-Klassiker, hell, präzise, persönlich
   ============================================ */

:root {
    --bg:           #FAFAF8;
    --bg-alt:       #FFFFFF;
    --bg-dark:      #1C1C1A;
    --bg-deep:      #131311;
    --surface:      #F1EEE7;
    --ink:          #1C1C1A;
    --ink-soft:     #3B3B37;
    --ink-muted:    #76766F;
    --ink-light:    #ABABA3;
    --line:         #DEDED6;
    --line-soft:    #EAEAE2;
    --accent:       #1F3A93;
    --accent-deep:  #14276B;
    --accent-light: #5B7BD0;

    --font-display: 'Fraunces', serif;
    --font-body:    'Inter', sans-serif;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.05;
}
h1 { font-size: clamp(2.75rem, 7vw, 6rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }

em, .italic { font-style: italic; color: var(--accent); }
h1 em, h2 em, h3 em, h4 em {
    display: inline-block;
    padding-right: 0.08em;
}

body { background: var(--bg); }
section { padding: 7rem 0; }

.label {
    font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 1.25rem; display: block;
}

/* === NAV === */
.nav { background: transparent; padding: 1.6rem 0; }
.nav.scrolled {
    background: rgba(250, 250, 248, 0.95);
    border-bottom-color: var(--line);
}
.nav-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; }
.nav-logo .accent { color: var(--accent); font-style: italic; font-weight: 600; }
.nav-links a { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-cta {
    border-radius: 0 !important;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}
.nav-cta:hover { background: var(--accent) !important; color: #fff !important; }
/* Telefonnummer sichtbar in der Nav */
.nav-phone a {
    font-family: var(--font-body);
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    color: var(--ink) !important;
    white-space: nowrap;
}
.nav-phone a:hover { color: var(--accent) !important; }

/* === HERO — heller Split, gerahmtes Teamfoto rechts === */
.hero {
    background: var(--bg);
    color: var(--ink);
    height: 100vh;
    max-height: 100vh;
    min-height: 0;
    padding-top: 7.5rem;
    padding-bottom: 2.5rem;
    display: flex; align-items: center;
    overflow: hidden;
}
.hero-bg, .hero-bg::after { display: none; }
.hero-inner { padding: 0; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 5rem;
    align-items: center;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.9rem;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--ink-muted);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInLeft 0.9s cubic-bezier(0.22,0.61,0.36,1) 0.2s both;
}
.hero-eyebrow::before {
    content: ''; width: 42px; height: 2px; background: var(--accent);
}
.hero h1 {
    color: var(--ink);
    max-width: 12ch;
    margin-bottom: 1.75rem;
    font-size: clamp(2.75rem, 6vw, 5.2rem);
}
.hero h1 .h1-line {
    display: block;
    font-style: normal; font-weight: inherit; color: inherit;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.22,0.61,0.36,1) both;
}
.hero h1 .h1-line:nth-child(1) { animation-delay: 0.35s; }
.hero h1 .h1-line:nth-child(2) { animation-delay: 0.5s; }
.hero h1 .h1-line:nth-child(3) { animation-delay: 0.65s; }
.hero h1 .h1-line em { color: var(--accent); font-weight: 500; }
.hero .lead {
    color: var(--ink-soft);
    font-size: 1.12rem;
    max-width: 50ch;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.22,0.61,0.36,1) 1s both;
}
.hero-werte {
    display: flex; gap: 1.75rem; flex-wrap: wrap;
    margin-bottom: 2.75rem;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 600;
}
.hero-werte span {
    opacity: 0;
    animation: fadeInUp 0.9s cubic-bezier(0.22,0.61,0.36,1) both;
}
.hero-werte span:nth-child(1) { animation-delay: 1.15s; color: var(--ink); }
.hero-werte span:nth-child(2) { animation-delay: 1.3s; color: var(--accent); }
.hero-werte span:nth-child(3) { animation-delay: 1.45s; color: var(--accent-deep); }
.hero-actions {
    display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.22,0.61,0.36,1) 1.7s both;
}
.hero-actions .btn {
    background: var(--accent); color: #fff;
    border-radius: 0;
    padding: 1.05rem 2.4rem;
    font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero-actions .btn:hover { background: var(--accent-deep); transform: none; }
.hero-actions .secondary {
    font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
    font-weight: 600; color: var(--ink-soft);
    border-bottom: 1px solid var(--ink-soft); padding-bottom: 0.3rem;
}
.hero-actions .secondary:hover { color: var(--accent); border-color: var(--accent); }
.hero-footnote {
    margin-top: 2.25rem; padding-top: 1.4rem;
    border-top: 1px solid var(--line);
    display: flex; align-items: center; gap: 1rem;
    font-size: 0.82rem; color: var(--ink-muted);
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.22,0.61,0.36,1) 1.95s both;
}
.hero-footnote strong {
    font-family: var(--font-display); font-size: 0.95rem;
    color: var(--ink); font-weight: 600;
}
.hero-photo {
    position: relative;
    opacity: 0;
    animation: scaleReveal 1.4s cubic-bezier(0.22,0.61,0.36,1) 0.4s both;
}
.hero-photo .photo-frame {
    position: relative;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    padding: 0.9rem;
    box-shadow: 0 24px 60px rgba(28, 28, 26, 0.12);
}
.hero-photo .photo-frame::before {
    content: '';
    position: absolute;
    top: -14px; left: -14px; right: 38%; height: 14px;
    background: var(--accent);
}
.hero-photo img { width: 100%; display: block; max-height: 52vh; object-fit: cover; }
.hero-photo figcaption {
    margin-top: 1rem;
    font-size: 0.8rem; color: var(--ink-muted);
    display: flex; justify-content: space-between; gap: 1rem;
}
.hero-photo figcaption .num {
    font-family: var(--font-body); font-weight: 700; color: var(--accent);
    letter-spacing: 0.1em;
}

/* === FARBSTREIFEN-BAND — Maler-Palette, statisch (ersetzt Marquee) === */
.farb-band {
    display: flex;
    height: clamp(48px, 7vh, 68px);
}
.farb-band span { flex: 1; }
.farb-band .fb-1 { background: #D6E0F4; }
.farb-band .fb-2 { background: #5B7BD0; }
.farb-band .fb-3 { background: #3658B5; }
.farb-band .fb-4 { background: #1F3A93; }
.farb-band .fb-5 { background: #14276B; }
.farb-band .fb-6 { background: #0C1845; }

/* === UNSER ANSTRICH — Signature: 3 grosse Schritte, Streich-Unterstreichung === */
.anstrich-section { background: var(--bg-alt); padding: 7rem 0 6rem; }
.anstrich-head {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: end;
    margin-bottom: 4.5rem;
}
.anstrich-head p { font-size: 1.05rem; color: var(--ink-soft); max-width: 46ch; }
.anstrich-steps { display: grid; gap: 3.5rem; }
.anstrich-step {
    display: grid; grid-template-columns: 110px 1fr;
    gap: 2.5rem; align-items: start;
}
.anstrich-step .num {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 300; font-style: italic;
    color: var(--ink-light);
    line-height: 0.9;
    padding-top: 0.4rem;
}
.anstrich-step h3 {
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    margin-bottom: 1.1rem;
    color: var(--ink);
    line-height: 1.15;
}
.anstrich-step .stroke {
    display: inline;
    padding-bottom: 0.08em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
.anstrich-step .s-fair       { border-bottom: 0.22em solid var(--accent-light); }
.anstrich-step .s-puenktlich { border-bottom: 0.22em solid var(--accent); }
.anstrich-step .s-sauber     { border-bottom: 0.22em solid var(--accent-deep); }
.anstrich-step p { font-size: 0.98rem; color: var(--ink-muted); line-height: 1.65; max-width: 62ch; }

/* === LEISTUNGEN — nummerierte Liste === */
.leistungen-section { background: var(--bg); }
.leistungen-head {
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 4rem; align-items: end; margin-bottom: 3.5rem;
}
.leistungen-head p { color: var(--ink-soft); font-size: 1.05rem; }
.leistung-row {
    display: grid;
    grid-template-columns: 110px 1.1fr 1.6fr auto;
    gap: 2.5rem; align-items: center;
    padding: 2.4rem 1rem;
    border-bottom: 1px solid var(--line);
    transition: padding 400ms cubic-bezier(0.22,0.61,0.36,1), background 400ms ease;
    position: relative;
}
.leistungen-list { border-top: 1px solid var(--ink); }
.leistung-row::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 0; background: var(--accent);
    transition: width 400ms cubic-bezier(0.22,0.61,0.36,1);
}
.leistung-row:hover { background: var(--bg-alt); padding-left: 2.25rem; }
.leistung-row:hover::before { width: 4px; }
.leistung-row .num {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 300; font-style: italic;
    color: var(--accent);
    line-height: 0.9;
}
.leistung-row h3 { color: var(--ink); font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.leistung-row p { font-size: 0.95rem; color: var(--ink-muted); margin: 0; max-width: 56ch; }
.leistung-row .arrow {
    font-size: 1.3rem; color: var(--accent);
    transition: transform 350ms ease;
}
.leistung-row:hover .arrow { transform: translateX(8px); }

/* === GESCHICHTE — Archiv-Sektion mit s/w-Fotos === */
.geschichte-section { background: var(--surface); }
.geschichte-intro {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; margin-bottom: 4.5rem;
}
.geschichte-intro p { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.7; }
.geschichte-intro p + p { margin-top: 1.25rem; }
.archiv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}
.archiv-card { background: var(--bg-alt); border: 1px solid var(--line); padding: 0.85rem; }
.archiv-card .img-wrap {
    overflow: hidden; background: var(--line-soft);
    aspect-ratio: 4/3;
}
.archiv-card .img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(1) contrast(1.02);
}
.archiv-card.tall .img-wrap { aspect-ratio: 3/4; }
.archiv-card .img-wrap.contain { background: #FFFFFF; }
.archiv-card .img-wrap.contain img { object-fit: contain; background: #FFFFFF; }
.archiv-card .meta { padding: 1.2rem 0.5rem 0.6rem; }
.archiv-card .jahr {
    font-family: var(--font-display); font-style: italic;
    font-size: 1.5rem; color: var(--accent); display: block;
    margin-bottom: 0.3rem;
}
.archiv-card .meta p { font-size: 0.85rem; color: var(--ink-muted); line-height: 1.5; }

/* === MANIFESTO === */
.manifesto {
    background: var(--bg-dark); color: var(--bg);
    padding: 9rem 0; text-align: center;
}
.manifesto blockquote {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    font-weight: 500; line-height: 1.2;
    max-width: 26ch; margin: 0 auto 2.5rem;
    color: var(--bg);
}
.manifesto blockquote em { color: var(--accent-light); font-weight: 500; }
.manifesto cite {
    font-family: var(--font-body); font-style: normal;
    font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--ink-light); font-weight: 600;
}

/* === TEAM / ÜBER UNS === */
.ueber-section { background: var(--bg); }
.ueber-grid {
    display: grid; grid-template-columns: 1fr 1.1fr;
    gap: 5rem; align-items: center;
}
.ueber-img { position: relative; }
.ueber-img img {
    width: 100%; border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(28,28,26,0.1);
}
.ueber-img .img-tag {
    position: absolute; bottom: -1.1rem; left: 2rem;
    background: var(--accent); color: #fff;
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.24em; text-transform: uppercase;
    padding: 0.6rem 1.3rem;
}
.ueber-content h2 { margin-bottom: 1.75rem; color: var(--ink); }
.ueber-content p { font-size: 1.02rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 1.25rem; }
.ueber-facts {
    margin-top: 2.25rem;
    border-top: 1px solid var(--line);
}
.ueber-facts li {
    display: grid; grid-template-columns: 38px 1fr;
    gap: 1rem; align-items: baseline;
    padding: 0.95rem 0; border-bottom: 1px solid var(--line);
    font-size: 0.95rem; color: var(--ink-soft);
}
.ueber-facts li .tick {
    font-family: var(--font-display); font-style: italic;
    color: var(--accent); font-weight: 600;
}

/* === KONTAKT === */
.contact-section { background: var(--bg-alt); }
.contact-grid { grid-template-columns: 1fr 1.15fr; align-items: stretch; }
.contact-info-block h2 { margin-bottom: 1.5rem; }
.contact-lead { font-size: 1.02rem; color: var(--ink-soft); max-width: 42ch; margin-bottom: 2rem; }
.contact-rows { border-top: 1px solid var(--line); }
.contact-row {
    display: grid; grid-template-columns: 130px 1fr;
    gap: 2rem; padding: 1.4rem 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
}
.contact-row .label-sm {
    font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase;
    color: var(--ink-muted); font-weight: 600;
}
.contact-row .value {
    font-family: var(--font-display);
    font-size: 1.3rem; color: var(--ink); font-weight: 600;
    line-height: 1.4;
}
.contact-row .value a:hover { color: var(--accent); }
.contact-map {
    aspect-ratio: auto; min-height: 460px;
    border-radius: 0; background: var(--surface);
}
.contact-map iframe { filter: grayscale(0.85) contrast(1.08); }

/* === FINAL CTA === */
.final-cta {
    background: var(--accent); color: #fff;
    padding: 7rem 0; text-align: center;
}
.final-cta .label { color: rgba(255,255,255,0.75); }
.final-cta h2 {
    color: #fff; max-width: 18ch;
    margin: 0 auto 1.5rem;
    padding-right: 0.3em;
}
.final-cta h2 em {
    color: #fff; opacity: 0.92;
    display: inline-block; padding-right: 0.2em;
}
.final-cta .lead {
    color: rgba(255,255,255,0.85);
    max-width: 46ch; margin: 0 auto 2.75rem;
}
.final-cta .btn-row { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }
.final-cta .btn-call {
    background: #fff; color: var(--accent);
    padding: 1.1rem 2.6rem;
    font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700;
    transition: background 250ms, color 250ms;
}
.final-cta .btn-call:hover { background: var(--ink); color: #fff; }
.final-cta .btn-mail {
    border: 1px solid rgba(255,255,255,0.6); color: #fff;
    padding: 1.1rem 2.6rem;
    font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
    transition: all 250ms;
}
.final-cta .btn-mail:hover { background: #fff; color: var(--accent); border-color: #fff; }

/* === FOOTER === */
.footer { background: var(--bg); color: var(--ink-soft); border-top: 1px solid var(--line); padding: 4.5rem 0 2rem; }
.footer-grid { grid-template-columns: 2fr 1fr 1fr; padding-bottom: 2.5rem; }
.footer h4 { color: var(--ink); font-size: 1.6rem; }
.footer h4 .accent { color: var(--accent); font-style: italic; }
.footer h5 { color: var(--ink-muted); letter-spacing: 0.26em; }
.footer p { color: var(--ink-muted); }
.footer ul li { color: var(--ink-soft); font-size: 0.92rem; padding: 0.35rem 0; }
.footer ul a { color: var(--ink-soft); }
.footer ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); color: var(--ink-muted); }
.footer-bottom a { color: var(--ink-muted); }
.footer-bottom a:hover { color: var(--accent); }

/* === PLACEHOLDER === */
.placeholder-banner {
    background: var(--surface);
    border-left: 3px solid var(--accent);
    border-radius: 0;
}
.placeholder-banner strong { color: var(--accent-deep); }
.geschichte-section .placeholder-banner,
.manifesto .placeholder-banner { background: var(--bg-alt); }

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleReveal {
    from { opacity: 0; transform: scale(1.05); }
    to { opacity: 1; transform: scale(1); }
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms cubic-bezier(0.22,0.61,0.36,1), transform 900ms cubic-bezier(0.22,0.61,0.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* === RESPONSIVE === */
/* Kleine Notebooks (1280×800): Hero kompakter, bleibt exakt 100vh */
@media (min-width: 981px) and (max-height: 840px) {
    .hero { padding-top: 6.5rem; padding-bottom: 2rem; }
    .hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); margin-bottom: 1.4rem; }
    .hero-eyebrow { margin-bottom: 1.4rem; }
    .hero .lead { margin-bottom: 1.75rem; font-size: 1.05rem; }
    .hero-werte { margin-bottom: 2rem; }
    .hero-footnote { margin-top: 1.75rem; padding-top: 1.1rem; }
    .hero-photo img { max-height: 44vh; }
}
@media (max-width: 1180px) {
    .hero-grid { gap: 3rem; }
    .archiv-grid { gap: 1.25rem; }
}
@media (max-width: 980px) {
    section { padding: 5rem 0; }
    .hero { height: auto; max-height: none; min-height: 0; padding-top: 6.5rem; padding-bottom: 3rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero-photo { max-width: 480px; }
    .hero-photo img { max-height: 320px; }
    .nav-phone a { color: var(--accent) !important; }
    .anstrich-head, .leistungen-head, .geschichte-intro { grid-template-columns: 1fr; gap: 1.5rem; }
    .anstrich-step { grid-template-columns: 70px 1fr; gap: 1.5rem; }
    .anstrich-step .num { font-size: 2.2rem; }
    .leistung-row { grid-template-columns: 70px 1fr; gap: 1.25rem; row-gap: 0.6rem; padding: 1.9rem 0.5rem; }
    .leistung-row .num { grid-row: span 2; font-size: 2.2rem; }
    .leistung-row .arrow { display: none; }
    .archiv-grid { grid-template-columns: 1fr 1fr; }
    .ueber-grid { grid-template-columns: 1fr; gap: 3.5rem; }
    .contact-map { min-height: 360px; }
    .farb-band { height: 44px; }
}
@media (max-width: 560px) {
    section { padding: 4.5rem 0; }
    .hero { padding-top: 5.5rem; }
    .hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
    .hero-photo .photo-frame { padding: 0.6rem; }
    .hero-photo img { max-height: 240px; }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-footnote { flex-wrap: wrap; gap: 0.6rem; }
    .anstrich-step { grid-template-columns: 1fr; gap: 0.75rem; }
    .anstrich-step .num { padding-top: 0; }
    .anstrich-step h3 { font-size: clamp(1.6rem, 7.5vw, 2rem); }
    .farb-band { height: 36px; }
    .archiv-grid { grid-template-columns: 1fr; }
    .contact-row { grid-template-columns: 105px 1fr; gap: 1rem; }
    .final-cta .btn-row { flex-direction: column; align-items: center; }
    .final-cta .btn-call, .final-cta .btn-mail { display: block; width: 100%; text-align: center; }
}
