/* Lackiermeisterbetrieb Eschert – Design 2026: dunkel, ruhig, sparsamer Orange-Akzent */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --orange: #E8650A; --orange-light: #FF8C2A; --orange-dark: #C04F00;
  --bg: #0b0b0c; --bg2: #111113;
  --line: rgba(255,255,255,.09); --line-strong: rgba(255,255,255,.18);
  --text: #ecebe8; --text-muted: #9b9a96; --white: #fff;
  --serif: "Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;
  --sans: "Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  --nav-h: 76px; --maxw: 1200px;
}
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange-light); }
::selection { background: var(--orange); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
:focus-visible { outline: 2px solid var(--orange-light); outline-offset: 3px; border-radius: 4px; }
section[id], #main { scroll-margin-top: var(--nav-h); }
body.menu-open { overflow: hidden; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 2000; background: var(--orange); color: #fff; padding: .7rem 1.2rem; border-radius: 6px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: .8rem; color: #fff; }

/* NAV */
nav { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(1.2rem, 5vw, 4rem); background: rgba(11,11,12,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: background .35s, border-color .35s; }
body.home nav:not(.scrolled) { background: linear-gradient(to bottom, rgba(11,11,12,.7), transparent); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
.nav-logo { display: flex; align-items: center; gap: .9rem; color: var(--white); }
.nav-logo:hover { color: var(--white); }
.nav-logo-img { height: 46px; width: auto; background: #fff; border-radius: 6px; padding: 3px 8px; }
.nav-logo-text { display: none; font-family: var(--serif); font-size: 1.2rem; letter-spacing: .02em; }
.nav-logo-text span { color: var(--orange); }
.nav-links { display: flex; gap: 2.4rem; list-style: none; }
.nav-links a { position: relative; color: var(--text); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; padding: .4rem 0; opacity: .78; transition: opacity .25s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--orange); transition: width .3s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--white); opacity: 1; }
.nav-links a:hover::after, .nav-links a[aria-current]::after { width: 100%; }
.burger { display: none; flex-direction: column; gap: 6px; background: none; border: 0; padding: .6rem; margin-right: -.6rem; cursor: pointer; }
.burger span { display: block; width: 26px; height: 1.5px; background: var(--white); transition: .3s; }
.burger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (min-width: 1100px) { .nav-logo-text { display: inline; } }

/* BUTTONS */
.btn-primary, .btn-outline { display: inline-flex; align-items: center; gap: .6rem; padding: 1rem 2.2rem; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; border-radius: 2px; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.btn-primary { background: var(--orange); color: #fff; border: 1px solid var(--orange); }
.btn-primary:hover { background: var(--orange-light); border-color: var(--orange-light); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid var(--line-strong); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange-light); transform: translateY(-2px); }

/* HERO */
#hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: calc(var(--nav-h) + 3rem) clamp(1.2rem, 5vw, 4rem) 0; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 2%, rgba(11,11,12,.55) 45%, rgba(11,11,12,.72) 100%), linear-gradient(90deg, rgba(11,11,12,.75) 0%, transparent 70%); }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding-bottom: 5rem; animation: fadeUp 1s ease both; }
.hero-badge { display: inline-flex; align-items: center; gap: .9rem; margin-bottom: 1.6rem; font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--orange-light); }
.hero-badge::before { content: ''; width: 44px; height: 1px; background: var(--orange); }
.hero-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 7vw, 6rem); line-height: 1.04; letter-spacing: -.015em; color: var(--white); max-width: 14ch; }
.hero-title span { font-style: italic; color: var(--orange); }
.hero-sub { margin-top: 1.6rem; max-width: 520px; font-size: clamp(1rem, 1.6vw, 1.15rem); color: #c9c8c4; line-height: 1.75; }
.hero-cta-group { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-facts { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.hero-fact { padding: 1.4rem 1.2rem 1.6rem 0; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.hero-fact strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; letter-spacing: 0; text-transform: none; color: var(--white); margin-bottom: .2rem; }

/* SECTIONS */
section { padding: clamp(5rem, 10vw, 8.5rem) clamp(1.2rem, 5vw, 4rem); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.section-label { display: inline-flex; align-items: center; gap: .9rem; margin-bottom: 1.2rem; font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--orange); }
.section-label::before { content: ''; width: 32px; height: 1px; background: var(--orange); }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.12; letter-spacing: -.01em; color: var(--white); margin-bottom: 1.4rem; }
.section-title span { font-style: italic; color: var(--orange); }
.section-text { color: var(--text-muted); line-height: 1.85; max-width: 640px; font-size: 1.02rem; }
.center { text-align: center; }
.center .section-label::before { display: none; }
.center .section-text { margin-inline: auto; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-copy .section-text + .section-text { margin-top: 1.2rem; }
.about-copy strong { color: var(--white); font-weight: 600; }
.about-copy em { color: var(--text); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; border-top: 1px solid var(--line); }
.stat-card { padding: 1.6rem 1rem 0 0; }
.stat-number { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--orange); line-height: 1; }
.stat-label { margin-top: .5rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.about-visual { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; }
.about-visual::before { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.28); z-index: 2; pointer-events: none; }
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 40%); pointer-events: none; }
.spies-badge { position: absolute; z-index: 3; left: 2rem; bottom: 1.8rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #ddd; }
.spies-badge strong { color: var(--orange-light); font-weight: 600; }

/* SERVICES */
#services { background: var(--bg2); }
.services-list { margin-top: 3.5rem; border-top: 1px solid var(--line-strong); }
.service-row { display: grid; grid-template-columns: 90px 1fr 1.5fr; gap: 2rem; align-items: baseline; padding: 2.2rem 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .4s; }
.service-row::before { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--orange); transition: width .5s; }
.service-row:hover::before { width: 100%; }
.service-row:hover { padding-left: 1rem; }
.service-num { font-family: var(--serif); font-size: 1.1rem; color: var(--orange); letter-spacing: .1em; }
.service-title { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--white); line-height: 1.2; }
.service-text { color: var(--text-muted); line-height: 1.8; font-size: .98rem; }

/* WHY */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; margin-top: 3.5rem; }
.why-item { padding-top: 1.6rem; border-top: 1px solid var(--line-strong); transition: border-color .3s; }
.why-item:hover { border-color: var(--orange); }
.why-index { font-family: var(--serif); font-style: italic; color: var(--orange); font-size: 1rem; margin-bottom: 1rem; }
.why-title { font-family: var(--serif); font-size: 1.4rem; color: var(--white); margin-bottom: .7rem; }
.why-text { color: var(--text-muted); font-size: .95rem; line-height: 1.8; }

/* AWARDS */
.awards { margin-top: clamp(4rem, 8vw, 6.5rem); padding: 3rem clamp(1.2rem, 4vw, 3.5rem); background: #f4f2ee; border-radius: 2px; color: #1a1a1a; display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: center; }
.awards-title { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; color: #111; }
.awards-title small { display: block; margin-bottom: .8rem; font-family: var(--sans); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--orange-dark); }
.awards-grid { display: flex; gap: 2.5rem; justify-content: space-around; align-items: center; flex-wrap: wrap; }
.award { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem; width: 210px; color: #222; transition: transform .3s; }
a.award:hover { transform: translateY(-5px); color: #222; }
.award img { width: 100%; max-width: 170px; height: 150px; object-fit: contain; }
.award-caption { font-size: .78rem; line-height: 1.5; color: #555; }
.award-caption strong { display: block; color: #111; font-size: .88rem; }

/* CONTACT */
#contact { background: var(--bg2); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3.5rem; border: 1px solid var(--line); }
.contact-card { padding: 2.2rem 1.8rem; border-right: 1px solid var(--line); transition: background .3s; }
.contact-card:last-child { border-right: 0; }
.contact-card:hover { background: rgba(232,101,10,.06); }
.contact-label { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); margin-bottom: 1rem; }
.contact-value { font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; color: var(--white); }
.contact-value a { color: var(--white); border-bottom: 1px solid var(--line-strong); word-break: break-word; transition: border-color .25s, color .25s; }
.contact-value a:hover { color: var(--orange-light); border-color: var(--orange); }
.contact-sub { margin-top: .6rem; font-family: var(--sans); font-size: .85rem; color: var(--text-muted); }
.contact-cta { margin-top: 3rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* LEGAL */
.legal-wrap { max-width: 860px; margin: 0 auto; padding: calc(var(--nav-h) + 4rem) clamp(1.2rem, 5vw, 2rem) 5rem; }
.legal-wrap h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 2rem; }
.legal-wrap h2 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--orange); margin: 2.2rem 0 .6rem; }
.legal-wrap h3 { font-size: 1rem; color: var(--white); margin: 1.4rem 0 .4rem; }
.legal-wrap p, .legal-wrap li { font-size: .92rem; color: var(--text-muted); line-height: 1.85; margin-bottom: .6rem; }
.legal-wrap ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.back-btn { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 2rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-light); }
.back-btn:hover { color: var(--white); }

/* FOOTER */
footer { background: #070708; border-top: 1px solid var(--line); padding: 4rem clamp(1.2rem, 5vw, 4rem) 2rem; }
.footer-top { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.footer-logo { font-family: var(--serif); font-size: 1.5rem; color: var(--white); margin-bottom: 1rem; }
.footer-logo span { color: var(--orange); }
.footer-address { font-size: .9rem; color: var(--text-muted); line-height: 1.8; }
.footer-address a { color: var(--text); }
.footer-head { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); margin-bottom: 1.1rem; }
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { font-size: .9rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding-top: 1.6rem; font-size: .78rem; color: #77766f; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }

/* ANIMATION */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { to { transform: scale(1); } }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 1000px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card:nth-child(2) { border-right: 0; }
  .contact-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .awards { grid-template-columns: 1fr; text-align: center; }
  .service-row { grid-template-columns: 60px 1fr; }
  .service-text { grid-column: 2; }
}
@media (max-width: 860px) {
  .burger { display: flex; }
  .nav-links { position: fixed; top: var(--nav-h); left: 0; width: 100%; height: calc(100dvh - var(--nav-h)); flex-direction: column; justify-content: center; align-items: center; gap: 2rem; background: rgba(11,11,12,.97); transform: translateX(100%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .4s ease, opacity .3s, visibility 0s .4s; }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .nav-links a { font-family: var(--serif); font-size: 1.8rem; letter-spacing: .02em; text-transform: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { aspect-ratio: 4 / 3; order: -1; }
  .footer-top { grid-template-columns: 1fr; gap: 2.2rem; }
}
@media (max-width: 600px) {
  .nav-logo-img { height: 40px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-fact { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .hero-content { padding-bottom: 3rem; }
  .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-card:last-child { border-bottom: 0; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .service-row:hover { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
