/* ============================================
   ALBIS METALLBAU — Stahl-Editorial
   Charcoal + Steel Grey + Stahlblau, Bild-Hero
   ============================================ */

:root {
    --bg:           #F4F4F1;
    --bg-alt:       #FFFFFF;
    --bg-dark:      #202428;
    --bg-deep:      #16191C;
    --surface:      #E7E8E3;
    --ink:          #202428;
    --ink-soft:     #3C4248;
    --ink-muted:    #70777E;
    --ink-light:    #A8AEB5;
    --line:         #D2D4CE;
    --line-soft:    #E0E1DC;
    --accent:       #16A085;
    --accent-deep:  #0E7C66;
    --accent-light: #4FC9B0;

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

h1, h2, h3, h4 {
    letter-spacing: -0.03em;
    line-height: 1.05;
}
h2 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); }

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

.label-eyebrow {
    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;
}

/* === NAV === */
.nav { background: transparent; }
.nav.scrolled {
    background: rgba(244, 244, 241, 0.95);
    border-bottom-color: var(--line);
}
.nav-logo { font-weight: 800; }
.nav-logo .accent { color: var(--accent); font-weight: 400; }
.nav-links a {
    font-size: 0.78rem; text-transform: uppercase;
    letter-spacing: 0.16em; font-weight: 600;
}
.nav-cta { border-radius: 0; }

/* === HERO — Vollbild Werkstattfoto, EXAKT fit-to-screen === */
.hero {
    height: 100vh; max-height: 100vh; min-height: 0;
    background: var(--bg-deep);
    display: flex; align-items: flex-end;
    padding-top: 7rem;
    overflow: hidden;
}
.hero-bg {
    filter: brightness(0.42) saturate(0.85) contrast(1.05);
}
.hero-bg::after {
    background: linear-gradient(180deg, rgba(22, 25, 28, 0.25) 0%, rgba(22, 25, 28, 0.45) 55%, rgba(22, 25, 28, 0.92) 100%);
}
.hero-inner {
    display: flex; flex-direction: column;
    justify-content: flex-end;
    padding: 4rem 2.5rem 0;
    width: 100%;
}
.hero-content { max-width: 760px; overflow: visible; }
.hero-eyebrow {
    display: flex; align-items: center; gap: 1rem;
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.9rem;
}
.hero-eyebrow .num {
    color: var(--accent-light); font-weight: 700;
    padding-right: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
}
.hero h1 {
    color: #FFFFFF;
    font-size: clamp(2.7rem, 6.5vw, 5.6rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 0.97;
    margin-bottom: 1.6rem;
    max-width: 15ch;
}
.hero h1 .brand-line {
    display: block; font-style: normal;
    color: #FFFFFF; font-weight: 800;
}
.hero h1 .brand-line.steel { color: var(--ink-light); }
.hero h1 .brand-underline {
    display: block; width: 64px; height: 3px;
    background: var(--accent);
    margin-top: 1.3rem;
}
.hero .lead {
    color: rgba(255, 255, 255, 0.82);
    max-width: 54ch;
    font-size: 1.08rem;
    margin-bottom: 2.25rem;
}
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-bottom: 3.5rem; }
.hero-actions .btn {
    background: var(--accent); color: #FFFFFF;
    border-radius: 0;
    padding: 1rem 2.25rem;
    font-size: 0.76rem; letter-spacing: 0.22em;
    text-transform: uppercase; font-weight: 700;
    border: none;
    transition: background 250ms;
    display: inline-flex;
}
.hero-actions .btn:hover { background: var(--accent-deep); transform: none; }
.hero-actions .secondary {
    font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85); font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    padding-bottom: 0.3rem;
}
.hero-actions .secondary:hover { color: #FFFFFF; border-color: #FFFFFF; }

.hero-strip {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding: 1.6rem 0 2.2rem;
    position: relative; z-index: 2;
}
.hs-cell .k {
    font-size: 0.66rem; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.5rem;
}
.hs-cell .v {
    font-family: var(--font-display);
    font-size: 1.02rem; font-weight: 700;
    color: #FFFFFF; letter-spacing: -0.015em;
}

/* === MARQUEE (stahlblau) === */
.marquee-strip {
    background: var(--accent-deep);
    color: #FFFFFF;
    padding: 1.9rem 0;
    overflow: hidden;
}
.marquee-track {
    display: flex; gap: 4rem; align-items: center;
    white-space: nowrap;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    animation: marquee 32s linear infinite;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 4rem; }
.marquee-track .dot {
    color: var(--accent-light);
    font-weight: 800;
    flex-shrink: 0;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* kurze Notebooks (1280×800): Hero kompakter, bleibt exakt in 100vh */
@media (min-width: 981px) and (max-height: 840px) {
    .hero { padding-top: 6rem; }
    .hero-inner { padding-top: 2rem; }
    .hero-eyebrow { margin-bottom: 1.25rem; }
    .hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.6rem); margin-bottom: 1.2rem; }
    .hero h1 .brand-underline { margin-top: 1rem; }
    .hero .lead { font-size: 0.98rem; margin-bottom: 1.6rem; }
    .hero-actions { margin-bottom: 2.25rem; }
    .hero-strip { padding: 1.25rem 0 1.6rem; gap: 2rem; }
}

/* === LEISTUNGEN === */
.services-section-a { background: var(--bg); padding: 8rem 0; }
.services-head {
    display: grid; grid-template-columns: 1.3fr 1fr;
    gap: 4rem; align-items: end;
    margin-bottom: 4rem;
}
.services-head p {
    font-size: 1.02rem; line-height: 1.65;
    color: var(--ink-soft);
}
.svc-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.svc {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    padding: 2.5rem 2.25rem 2.75rem;
    transition: border-color 300ms ease, transform 300ms ease, box-shadow 300ms ease;
}
.svc:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(32, 36, 40, 0.07);
}
.svc-num {
    font-family: var(--font-display);
    font-size: 0.85rem; font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 1.3rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
}
.svc h3 {
    font-size: 1.25rem; font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}
.svc p { font-size: 0.92rem; line-height: 1.6; color: var(--ink-muted); }

/* === ARBEITEN (dark) === */
.works-section {
    background: var(--bg-dark);
    color: var(--bg);
    padding: 8rem 0;
}
.works-section .label-eyebrow { color: var(--accent-light); }
.works-section h2 { color: #FFFFFF; }
.works-section h2 em { color: var(--accent-light); }
.works-head { max-width: 720px; margin-bottom: 3.5rem; }
.works-head p {
    font-size: 1.02rem; line-height: 1.65;
    color: rgba(244, 244, 241, 0.68);
    margin-top: 1rem;
}
/* Masonry: 2 versetzte Spalten mit wechselnden Formaten */
.works-grid {
    columns: 2;
    column-gap: 1.75rem;
    max-width: 1020px;
    margin: 0 auto;
}
.work {
    margin: 0 0 1.75rem;
    break-inside: avoid;
    display: block;
}
.work img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    background: var(--bg-deep);
}
.work.w-tall img { aspect-ratio: 3/4; }
.work figcaption {
    font-size: 0.88rem;
    color: rgba(244, 244, 241, 0.7);
    margin-top: 0.9rem;
    display: flex; align-items: baseline; gap: 0.75rem;
}
.work figcaption .wn {
    font-family: var(--font-display);
    font-size: 0.78rem; font-weight: 800;
    color: var(--accent-light);
    letter-spacing: 0.06em;
}
.placeholder-banner.dark {
    background: rgba(244, 244, 241, 0.06);
    border-left-color: var(--accent-light);
    color: rgba(244, 244, 241, 0.75);
    margin-top: 2.5rem;
}
.placeholder-banner.dark strong { color: var(--accent-light); }

/* === WERKSTATT — "Material & Präzision"-Split mit Stahl-Gradient-Fläche === */
.workshop-section { background: var(--surface); padding: 7.5rem 0; }
.ws-grid {
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 5rem; align-items: start;
}
.ws-steel {
    margin-top: 2.75rem;
    min-height: 300px;
    background:
        repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.025) 0px, rgba(255, 255, 255, 0.025) 1px,
            transparent 1px, transparent 4px),
        linear-gradient(118deg,
            #2B3138 0%, #4A525B 16%, #353C43 32%,
            #5A636D 50%, #2E343B 68%, #474F58 84%, #30363D 100%);
    display: flex; align-items: flex-end;
    padding: 1.75rem 2rem;
    position: relative;
}
.ws-steel::before {
    content: '';
    position: absolute; top: 1.25rem; left: 1.25rem; right: 1.25rem; bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    pointer-events: none;
}
.ws-steel-label {
    font-family: var(--font-display);
    font-size: 0.78rem; font-weight: 800;
    letter-spacing: 0.34em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}
.ws-copy p {
    font-size: 1.05rem; line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 1.75rem;
}
.ws-points {
    list-style: none; padding: 0; margin: 0 0 1.5rem;
    border-top: 1px solid var(--ink);
}
.ws-points li {
    padding: 0.75rem 0 0.75rem 1.6rem;
    position: relative;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem; color: var(--ink-soft);
}
.ws-points li::before {
    content: ''; position: absolute; left: 0; top: 1.2rem;
    width: 8px; height: 8px;
    background: var(--accent);
}

/* === MANIFESTO (deep) === */
.manifesto {
    background: var(--bg-deep);
    color: var(--bg);
    padding: 9rem 0;
    text-align: center;
    position: relative;
}
.manifesto::before {
    content: '';
    position: absolute; top: 0; left: 50%;
    transform: translateX(-50%);
    width: 1px; height: 4.5rem;
    background: var(--accent);
}
.manifesto blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.22;
    max-width: 26ch;
    margin: 0 auto;
    color: #FFFFFF;
    letter-spacing: -0.03em;
}
.manifesto blockquote em {
    font-family: var(--font-body);
    font-style: italic; font-weight: 500;
    color: var(--accent-light);
}
.manifesto cite {
    display: block; margin-top: 2.5rem;
    font-style: normal;
    font-size: 0.72rem; letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(244, 244, 241, 0.5); font-weight: 600;
}

/* === KONTAKT === */
.contact-section { background: var(--bg-alt); padding: 8rem 0; }
.contact-grid-editorial {
    display: grid; grid-template-columns: 1.05fr 1fr;
    gap: 5rem; align-items: stretch;
}
.contact-info-block h2 { margin-bottom: 2rem; max-width: 18ch; }
.contact-rows { border-top: 1px solid var(--ink); }
.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 {
    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; font-weight: 700;
    color: var(--ink); line-height: 1.4;
    letter-spacing: -0.02em;
}
.contact-row a:hover { color: var(--accent); }
.contact-person {
    display: flex; align-items: center; gap: 1.5rem;
    margin-top: 2.25rem;
    padding: 1.5rem;
    background: var(--bg);
    border: 1px solid var(--line);
}
.contact-person img {
    width: 84px; height: 84px;
    object-fit: cover;
    object-position: center 20%;
    flex-shrink: 0;
}
.contact-person .cp-name {
    font-family: var(--font-display);
    font-size: 1.15rem; font-weight: 800;
    color: var(--ink); letter-spacing: -0.02em;
}
.contact-person .cp-role {
    font-size: 0.84rem; color: var(--ink-muted);
    margin-top: 0.2rem;
}
.contact-map-editorial {
    min-height: 460px;
    background: var(--surface);
    overflow: hidden;
}
.contact-map-editorial iframe {
    width: 100%; height: 100%; border: 0;
    filter: grayscale(0.85) contrast(1.1) brightness(1.03);
}

/* === FINAL CTA === */
.final-cta {
    background: var(--accent);
    color: #FFFFFF;
    padding: 7.5rem 0;
    position: relative;
    overflow: hidden;
}
.final-cta::after {
    content: '';
    position: absolute;
    right: -120px; top: -120px;
    width: 420px; height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transform: rotate(45deg);
    pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 2; max-width: 700px; }
.final-cta .label-eyebrow { color: rgba(255, 255, 255, 0.65); }
.final-cta h2 {
    color: #FFFFFF;
    max-width: 17ch;
    padding-right: 0.3em;
    margin-bottom: 1.5rem;
}
.final-cta h2 em {
    color: #FFFFFF;
    display: inline-block;
    padding-right: 0.2em;
}
.final-cta .lead {
    color: rgba(255, 255, 255, 0.82);
    max-width: 48ch;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}
.final-cta .btn-row { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.final-cta .btn-primary {
    background: #FFFFFF; color: var(--accent-deep);
    padding: 1.15rem 2.5rem;
    font-size: 0.8rem; letter-spacing: 0.2em;
    text-transform: uppercase; font-weight: 700;
    transition: background 250ms, color 250ms;
    display: inline-flex;
}
.final-cta .btn-primary:hover { background: var(--ink); color: #FFFFFF; }
.final-cta .btn-secondary {
    color: #FFFFFF;
    font-size: 0.78rem; letter-spacing: 0.16em;
    text-transform: uppercase; font-weight: 600;
    border-bottom: 1px solid #FFFFFF;
    padding-bottom: 0.4rem;
}
.final-cta .btn-secondary:hover { opacity: 0.75; }

/* === FOOTER === */
.footer {
    background: var(--bg);
    color: var(--ink-soft);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--line);
}
.footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    padding-bottom: 2rem;
}
.footer h4 {
    color: var(--ink);
    font-size: 1.6rem; font-weight: 800;
    letter-spacing: -0.02em;
}
.footer h4 .accent { color: var(--accent); font-weight: 400; }
.footer h5 { color: var(--ink-muted); letter-spacing: 0.26em; }
.footer p { color: var(--ink-muted); margin-top: 0.75rem; max-width: 36ch; }
.footer ul li { color: var(--ink-soft); font-size: 0.92rem; }
.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); }

/* === HERO ANIMATIONEN === */
@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); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.hero-bg { animation: scaleReveal 1.6s cubic-bezier(0.22,0.61,0.36,1) 0s both; }
.hero-eyebrow { opacity: 0; animation: fadeInLeft 0.9s cubic-bezier(0.22,0.61,0.36,1) 0.3s both; }
.hero h1 .brand-line { opacity: 0; animation: fadeInUp 1s cubic-bezier(0.22,0.61,0.36,1) both; }
.hero h1 .brand-line:nth-child(1) { animation-delay: 0.4s; }
.hero h1 .brand-line:nth-child(2) { animation-delay: 0.55s; }
.hero h1 .brand-underline { opacity: 0; animation: fadeInLeft 0.8s cubic-bezier(0.22,0.61,0.36,1) 0.9s both; }
.hero .lead { opacity: 0; animation: fadeInUp 1s cubic-bezier(0.22,0.61,0.36,1) 1.2s both; }
.hero-actions { opacity: 0; animation: fadeInUp 1s cubic-bezier(0.22,0.61,0.36,1) 1.45s both; }
.hero-strip { opacity: 0; animation: fadeIn 1.1s ease 1.8s both; }

/* === RESPONSIVE === */
@media (max-width: 1180px) {
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
    section { padding: 5rem 0; }
    .hero { height: auto; max-height: none; min-height: 0; padding-top: 6rem; }
    .ws-steel { min-height: 220px; margin-top: 2rem; }
    .hero-inner { padding: 3rem 1.5rem 0; }
    .hero-strip { grid-template-columns: 1fr; gap: 1.25rem; padding-bottom: 1.75rem; }
    .hero-actions { margin-bottom: 2.5rem; }
    .services-head, .ws-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-grid-editorial { grid-template-columns: 1fr; gap: 3rem; }
    .contact-map-editorial { min-height: 340px; }
    .marquee-track { font-size: 1.4rem; gap: 2rem; animation-duration: 4s; }
    .marquee-track span { gap: 2rem; }
    .services-section-a, .works-section, .contact-section { padding: 5.5rem 0; }
    .workshop-section { padding: 5rem 0; }
    .manifesto { padding: 6.5rem 0; }
}
@media (max-width: 560px) {
    .marquee-track { animation-duration: 3s; }
    .hero { padding-top: 5.5rem; }
    .hero-inner { padding: 2.5rem 1.25rem 0; }
    .hero h1 { font-size: clamp(2.2rem, 10.5vw, 3rem); }
    .hero .lead { font-size: 0.98rem; }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
    .svc-grid { grid-template-columns: 1fr; }
    .works-grid { columns: 1; }
    .work.w-tall img { aspect-ratio: 4/3; }
    .contact-row { grid-template-columns: 100px 1fr; gap: 1rem; }
    .contact-row .value { font-size: 1.1rem; }
    .contact-person { flex-direction: row; gap: 1rem; padding: 1.25rem; }
    .final-cta .btn-row { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}
