:root {
  --blue: #0757a7;
  --blue-dark: #043f7a;
  --ink: #111212;
  --muted: #6e7173;
  --paper: #f6f6f4;
  --line: rgba(17,18,18,.12);
  --radius-lg: 30px;
  --radius-md: 22px;
  --shadow: 0 18px 60px rgba(0,0,0,.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color:var(--ink); background:#fff; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
img { display:block; max-width:100%; }
button, input, textarea, select { font:inherit; }
.container { width:min(1180px, calc(100% - 40px)); margin-inline:auto; }
.narrow { width:min(850px, 100%); }
.section-pad { padding:120px 0; }
.eyebrow { margin:0 0 18px; font-size:.78rem; letter-spacing:.13em; text-transform:uppercase; font-weight:700; }
.eyebrow.blue { color:var(--blue); }
h1,h2 { margin:0; letter-spacing:-.045em; line-height:.96; }
h1 { font-size:clamp(3.7rem, 8vw, 7.7rem); font-weight:650; }
h2 { font-size:clamp(2.5rem, 5vw, 5.2rem); font-weight:620; }
h3 { margin:0; font-size:clamp(1.65rem, 2.5vw, 2.45rem); letter-spacing:-.035em; line-height:1.05; font-weight:650; }
p { line-height:1.6; }

.site-header { position:fixed; top:0; z-index:20; width:100%; padding:14px 0; transition:.3s ease; }
.site-header.scrolled, .subpage .site-header { background:rgba(255,255,255,.9); backdrop-filter:blur(20px) saturate(150%); box-shadow:0 1px 0 var(--line); }
.nav-wrap { width:min(1240px, calc(100% - 28px)); margin:auto; min-height:58px; display:flex; align-items:center; gap:28px; padding:8px 12px; border-radius:18px; }
.brand { width:240px; flex:none; }
.brand img { width:100%; height:42px; object-fit:contain; object-position:left center; transform:scale(1.0); transform-origin:left center; }
.main-nav { display:flex; gap:30px; margin-left:auto; font-size:.92rem; font-weight:550; }
.main-nav a { opacity:.78; }
.main-nav a:hover { opacity:1; }
.nav-cta { padding:12px 18px; background:var(--ink); color:#fff; border-radius:999px; font-size:.88rem; font-weight:650; }
.menu-toggle { display:none; background:none; border:0; padding:10px; color:#fff; }
.site-header.scrolled .menu-toggle, .subpage .menu-toggle { color:var(--ink); }
.menu-toggle span { display:block; width:24px; height:2px; background:currentColor; margin:5px 0; }

.hero { min-height:100svh; position:relative; display:flex; align-items:flex-end; overflow:hidden; background:#222; }
.hero-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.hero-overlay { position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.16) 42%, rgba(0,0,0,.65) 100%); }
.hero-content { position:relative; z-index:2; color:white; width:min(1180px, calc(100% - 40px)); margin:0 auto; padding:0 0 72px; }
.hero-copy { max-width:650px; font-size:clamp(1.05rem, 2vw, 1.35rem); margin:24px 0 34px; color:rgba(255,255,255,.9); }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; }
.button { display:inline-flex; justify-content:center; align-items:center; min-height:50px; padding:0 22px; border-radius:999px; border:1px solid transparent; font-weight:650; cursor:pointer; transition:.25s ease; }
.button-primary { color:#fff; background:var(--blue); }
.button-primary:hover { background:var(--blue-dark); transform:translateY(-1px); }
.button-ghost { color:#fff; border-color:rgba(255,255,255,.45); background:rgba(255,255,255,.08); backdrop-filter:blur(8px); }
.button-ghost:hover { background:rgba(255,255,255,.15); }

.intro { background:#fff; }
.intro h2 { max-width:1000px; }
.intro p:not(.eyebrow) { max-width:720px; margin:34px 0 0; color:var(--muted); font-size:1.14rem; }

.services { background:var(--paper); }
.section-head { display:flex; justify-content:space-between; align-items:end; gap:40px; margin-bottom:48px; }
.section-head > p { max-width:380px; margin:0; color:var(--muted); }
.service-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.service-card { background:#fff; border-radius:var(--radius-md); overflow:hidden; border:1px solid rgba(17,18,18,.07); box-shadow:0 8px 30px rgba(0,0,0,.035); }
.service-image { width:100%; aspect-ratio:16/9; object-fit:cover; }
.service-image-maler { object-position:center 48%; }
.service-image-lack { object-position:center 48%; }
.service-body { padding:28px 30px 30px; }
.service-body > p { color:var(--muted); margin:15px 0 20px; min-height:52px; }
.service-trigger { display:flex; align-items:center; justify-content:space-between; gap:20px; width:100%; padding:15px 0 0; border:0; border-top:1px solid var(--line); background:transparent; text-align:left; color:var(--ink); font-weight:700; cursor:pointer; }
.service-trigger span { color:var(--blue); font-size:1.45rem; line-height:1; transition:transform .25s ease; }
.service-card.open .service-trigger span { transform:rotate(45deg); }
.service-detail { display:grid; grid-template-rows:0fr; transition:grid-template-rows .35s ease; }
.service-detail > p { overflow:hidden; width:100%; max-width:none; margin:0; color:var(--muted); text-align:left; line-height:1.68; hyphens:auto; overflow-wrap:break-word; }
.service-card.open .service-detail { grid-template-rows:1fr; }
.service-card.open .service-detail > p { padding-top:17px; padding-right:2px; }

.company { background:#0f1011; color:#fff; }
.company-grid { display:grid; grid-template-columns:.8fr 1.4fr; gap:90px; align-items:start; }
.company-stat { display:flex; flex-direction:column; position:sticky; top:120px; }
.big-number { font-size:clamp(6rem, 15vw, 11rem); line-height:.82; letter-spacing:-.08em; font-weight:650; color:var(--blue); }
.company-stat span:last-child { margin-top:20px; color:rgba(255,255,255,.65); }
.company-copy h2 { max-width:800px; }
.company-copy > p:not(.eyebrow) { max-width:760px; margin:34px 0; font-size:1.12rem; color:rgba(255,255,255,.74); }
.text-link { display:inline-flex; gap:10px; align-items:center; padding-bottom:5px; border-bottom:1px solid rgba(255,255,255,.35); }

.request { background:var(--blue); color:#fff; }
.request-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:80px; align-items:start; }
.request-copy { position:sticky; top:120px; }
.request-copy h2 { max-width:600px; }
.request-copy > p:not(.eyebrow) { max-width:540px; color:rgba(255,255,255,.78); font-size:1.08rem; }
.direct-contact { display:flex; flex-direction:column; gap:8px; margin-top:34px; font-weight:650; }
.request-form { background:#fff; color:var(--ink); padding:34px; border-radius:var(--radius-lg); box-shadow:var(--shadow); }
.request-form label { display:block; margin-bottom:20px; }
.request-form label span { display:block; font-size:.82rem; font-weight:700; margin-bottom:8px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
input, textarea, select { width:100%; border:1px solid #dedede; background:#fafafa; border-radius:13px; padding:15px 14px; outline:none; transition:.2s; }
input:focus, textarea:focus, select:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(7,87,167,.10); background:#fff; }
textarea { resize:vertical; }
.form-bottom { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-top:6px; }
.form-bottom p { max-width:420px; color:var(--muted); font-size:.76rem; margin:0; }
.form-bottom p a { text-decoration:underline; text-underline-offset:2px; }
.contact-hint { color:var(--muted); font-size:.78rem; margin:-7px 0 20px; }
.contact-hint.error { color:#a31f1f; font-weight:650; }
.form-note { background:#eef5fb; color:#24577e; padding:12px 14px; border-radius:10px; font-size:.82rem; }
.honeypot { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }

.contact-strip { padding:100px 0; }
.contact-inner { display:flex; justify-content:space-between; align-items:end; gap:50px; }
.contact-actions { display:flex; flex-direction:column; gap:14px; min-width:300px; }
.contact-actions a { display:flex; justify-content:space-between; padding:16px 0; border-bottom:1px solid var(--line); font-weight:650; }
.site-footer { background:#f1f1ef; padding:70px 0 28px; }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:50px; }
.footer-brand img { width:280px; height:54px; object-fit:contain; object-position:left center; margin-bottom:20px; }
.footer-grid p, .footer-grid a { color:#5d6062; font-size:.92rem; }
.footer-grid > div:not(.footer-brand) { display:flex; flex-direction:column; gap:8px; }
.footer-label { color:var(--ink)!important; font-weight:750; margin-top:0; }
.footer-bottom { display:flex; justify-content:space-between; gap:30px; border-top:1px solid var(--line); margin-top:60px; padding-top:22px; color:#818385; font-size:.78rem; }

.reveal { opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:none; }

/* Rechtliche Unterseiten */
.subpage { background:var(--paper); }
.subpage-main { padding:150px 0 100px; }
.legal-shell { display:grid; grid-template-columns:minmax(0, 760px) minmax(220px, 1fr); gap:90px; align-items:start; }
.legal-title { margin-bottom:44px; }
.legal-title h1 { font-size:clamp(3rem, 7vw, 5.8rem); }
.legal-content { background:#fff; border:1px solid rgba(17,18,18,.07); border-radius:var(--radius-lg); padding:42px; }
.legal-content h2 { font-size:1.65rem; line-height:1.15; letter-spacing:-.025em; margin:34px 0 12px; }
.legal-content h2:first-child { margin-top:0; }
.legal-content h3 { font-size:1.1rem; margin:24px 0 7px; letter-spacing:-.015em; }
.legal-content p, .legal-content li { color:#4f5254; line-height:1.7; }
.legal-content ul { padding-left:20px; }
.legal-content a { color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
.legal-aside { position:sticky; top:120px; }
.legal-aside p { color:var(--muted); }
.legal-aside a { display:inline-flex; margin-top:12px; font-weight:700; color:var(--blue); }
.legal-note { border-left:3px solid var(--blue); background:#eef5fb; padding:16px 18px; border-radius:0 12px 12px 0; color:#31536d!important; }

.thanks { min-height:100svh; display:grid; place-items:center; background:var(--paper); padding:30px; }
.thanks-card { max-width:720px; background:#fff; border-radius:30px; padding:48px; box-shadow:var(--shadow); text-align:center; }
.thanks-card img { width:min(360px, 85%); margin:0 auto 36px; }
.thanks-card h1 { font-size:clamp(2.8rem, 8vw, 5rem); }
.thanks-card p { color:var(--muted); font-size:1.08rem; }
.thanks-card .button { margin-top:14px; }

.prototype-badge { position:fixed; z-index:50; bottom:14px; right:14px; padding:8px 11px; border-radius:999px; background:rgba(17,18,18,.88); color:#fff; font-size:.72rem; box-shadow:0 5px 20px rgba(0,0,0,.15); }

@media (max-width: 900px) {
  .section-pad { padding:86px 0; }
  .main-nav, .nav-cta { display:none; }
  .menu-toggle { display:block; margin-left:auto; }
  .main-nav.open { position:absolute; top:76px; left:14px; right:14px; display:flex; flex-direction:column; gap:4px; padding:16px; background:rgba(255,255,255,.97); border-radius:18px; box-shadow:var(--shadow); color:var(--ink); }
  .main-nav.open a { padding:14px; }
  .brand { width:208px; }
  .hero-content { padding-bottom:48px; }
  .section-head { align-items:start; flex-direction:column; }
  .service-grid, .company-grid, .request-grid, .legal-shell { grid-template-columns:1fr; }
  .company-grid, .request-grid, .legal-shell { gap:50px; }
  .company-stat, .request-copy, .legal-aside { position:static; }
  .contact-inner { align-items:start; flex-direction:column; }
  .contact-actions { width:100%; }
  .legal-content { padding:32px; }
}
@media (max-width: 620px) {
  .container { width:min(100% - 28px, 1180px); }
  .hero-content { width:calc(100% - 28px); }
  h1 { font-size:clamp(3.3rem, 16vw, 5.2rem); }
  h2 { font-size:clamp(2.4rem, 12vw, 3.8rem); }
  .hero-image { object-position:46% center; }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .service-grid { grid-template-columns:1fr; }
  .service-body { padding:24px 22px 25px; }
  .service-body > p { min-height:0; }
  .request-form { padding:24px 18px; border-radius:22px; }
  .form-row { grid-template-columns:1fr; gap:0; }
  .form-bottom { flex-direction:column; align-items:stretch; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .footer-bottom { flex-direction:column; }
  .legal-content { padding:25px 20px; border-radius:20px; }
  .subpage-main { padding-top:125px; }
  .thanks-card { padding:36px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms!important; transition-duration:.01ms!important; }
  .reveal { opacity:1; transform:none; }
}

/* V15: Das Logo bleibt im Hero zunächst zurückhaltend und erscheint erst mit dem weißen Scroll-Header. */
body:not(.subpage) .site-header .brand {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-3px);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
}
body:not(.subpage) .site-header.scrolled .brand {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity .28s ease, transform .28s ease, visibility 0s;
}
@media (prefers-reduced-motion: reduce) {
  body:not(.subpage) .site-header .brand,
  body:not(.subpage) .site-header.scrolled .brand {
    transition: none;
    transform: none;
  }
}

/* V18: sehr dezenter Transparenzhinweis für KI-generierte Bildmotive */
.hero-ai-note {
  position:absolute;
  right:14px;
  bottom:12px;
  z-index:3;
  margin:0;
  padding:3px 6px;
  border-radius:999px;
  background:rgba(17,18,18,.20);
  color:rgba(255,255,255,.68);
  font-size:.56rem;
  font-weight:500;
  line-height:1.15;
  letter-spacing:.01em;
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  pointer-events:none;
}
@media (max-width: 720px) {
  .hero-ai-note {
    right:8px;
    bottom:8px;
    padding:3px 5px;
    font-size:.52rem;
    background:rgba(17,18,18,.18);
  }
}
