/* Das LayerVerk – Farben und Schrift aus dem Logo */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --gips: #f3f4f2;      /* Seitenhintergrund */
  --grau: #9ea2a6;      /* Logo-Grau */
  --grau-hell: #e3e5e4; /* Flächen */
  --tinte: #1d1d1b;     /* Logo-Schwarz */
  --cyan: #00a3df;
  --magenta: #e4007d;
  --gelb: #ffd400;
  --text-2: #45484a;
  --wrap: 1120px;
  --skew: -18deg;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tinte);
  background: var(--gips);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; font-weight: 750; font-stretch: 105%; }
p { margin: 0 0 1em; max-width: 62ch; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--gelb); padding: .6rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--tinte); color: #fff; }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 800; font-stretch: 115%; font-size: 1.1rem; }
.brand img { background: var(--grau); border-radius: 50%; padding: 3px; }
.header-row nav { margin-left: auto; }
.nav { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: .98rem; opacity: .85; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.header-phone { font-weight: 750; text-decoration: none; background: var(--gelb); color: var(--tinte); padding: .45rem .9rem; }

/* Start */
.hero { background: var(--grau); padding-block: clamp(3rem, 7vw, 5.5rem); border-bottom: 10px solid var(--tinte); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 380px); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-title { font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 900; font-stretch: 118%; letter-spacing: -0.02em; line-height: .98; margin-bottom: 1.4rem; }
.hero-title .line { display: block; }
.hero-bars { display: flex; gap: .6rem; margin-bottom: 1.4rem; font-size: 2.6rem; }
.hero-bars .bar { height: .3em; }
.bar { display: inline-block; height: .22em; flex: 0 1 auto; min-width: .5em; transform: skewX(var(--skew)); }
.bar-c { width: 1.6em; background: var(--cyan); }
.bar-m { width: 2.7em; background: var(--magenta); }
.bar-y { width: 1.9em; background: var(--gelb); }
.hero-place { font-size: clamp(1.05rem, 1.7vw, 1.3rem); font-weight: 700; font-stretch: 110%; margin-bottom: .8rem; }
.hero-lead { font-size: 1.1rem; color: #26282a; }
.hero-brand { font-weight: 800; font-stretch: 115%; letter-spacing: .04em; margin-bottom: 1rem; }
.hero-owner { font-weight: 650; margin-bottom: 1.2rem; }
.hero-logo img { width: 100%; margin-left: auto; }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }

/* Buttons im Stil der Logo-Balken */
.btn { display: inline-block; position: relative; padding: .85rem 1.5rem; font: inherit; font-weight: 800; font-stretch: 108%; text-decoration: none; border: 0; cursor: pointer; isolation: isolate; color: var(--tinte); }
.btn::before { content: ""; position: absolute; inset: 0; transform: skewX(var(--skew)); z-index: -1; }
.btn-primary::before { background: var(--gelb); }
.btn-secondary::before { background: transparent; box-shadow: inset 0 0 0 3px var(--tinte); }
.btn:hover::before { filter: brightness(.95); }
.btn-secondary:hover::before { background: rgba(255,255,255,.35); }

/* Abschnitte */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-grey { background: var(--grau-hell); }
.section h2 { margin-bottom: .6rem; }
.intro { font-size: 1.15rem; color: var(--text-2); margin-bottom: 2.4rem; }

/* Leistungen */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: 1.8rem; border-top: 2px solid var(--tinte); }
.service:nth-of-type(even) img { order: 2; }
.service img { aspect-ratio: 4 / 3; object-fit: cover; }
.service h3 { font-size: clamp(1.5rem, 3vw, 2rem); display: flex; align-items: center; gap: .55em; margin-bottom: .5rem; }
.service ul { margin: 0; padding-left: 1.1rem; }
.service li { margin-bottom: .25rem; }
.tick { display: inline-block; width: 1.1em; height: .3em; transform: skewX(var(--skew)); }
.tick-c { background: var(--cyan); } .tick-m { background: var(--magenta); } .tick-y { background: var(--gelb); } .tick-k { background: var(--tinte); }
.claim { font-weight: 750; font-size: 1.12rem; margin-bottom: .5rem; }
.service-text ul { margin-top: .4rem; }

/* Vorher/Nachher */
.compare { margin: 0 0 2.5rem; }
.compare-stage { position: relative; aspect-ratio: 4 / 3; max-height: 640px; overflow: hidden; background: #ccc; }
.compare-stage img { width: 100%; height: 100%; object-fit: cover; }
.compare-after { position: absolute; inset: 0; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--gelb); pointer-events: none; }
.compare-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; background: var(--gelb); border: 3px solid var(--tinte); border-radius: 50%; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-range:focus-visible + * , .compare-stage:focus-within { outline: 3px solid var(--cyan); outline-offset: 3px; }
figcaption { display: flex; flex-direction: column; gap: .15rem; padding-top: .8rem; }
figcaption strong { font-size: 1.15rem; }
figcaption span { color: var(--text-2); }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.projects figure { margin: 0; }
.projects img { aspect-ratio: 4 / 3; object-fit: cover; }

/* Ablauf */
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { counter-increment: s; border-top: 6px solid var(--tinte); padding-top: 1rem; }
.steps li::before { content: counter(s); display: block; font-size: 3rem; font-weight: 900; font-stretch: 120%; line-height: 1; margin-bottom: .6rem; color: var(--grau); }
.steps h3 { margin-bottom: .4rem; }
.steps p { color: var(--text-2); }

/* Anspruch */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
.values h3 { display: flex; align-items: center; gap: .55em; margin-bottom: .5rem; }
.values p { color: var(--text-2); }
/* Referenzen ohne Fotos */
.claim-big { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 850; font-stretch: 112%; margin: 1.6rem 0 .4rem; }
.soon { color: var(--text-2); }
/* Außerdem */
.extra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3.5rem; margin-top: 1.4rem; }
.extra-grid h3 { margin-bottom: .5rem; }
/* Über mich */
.about { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.about h2 { margin-bottom: 1.2rem; }
.area { border-top: 6px solid var(--tinte); padding-top: 1.2rem; }
.area h3 { margin-bottom: .8rem; }
.places { font-weight: 650; }
.signature { margin-top: 1.4rem; }
.placeholder { background: var(--gelb); padding: 0 .25em; }

/* 3D-Druck */
.print { background: var(--tinte); color: #fff; }
.print-row { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
.print h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .8rem; }
.print p { color: #d8dadb; }
.text-link { font-weight: 750; color: var(--gelb); text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; font-size: 1.15rem; }
.contact-list a { font-weight: 650; text-underline-offset: 5px; }
.contact-big { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900 !important; font-stretch: 112%; text-decoration: none; display: inline-block; border-bottom: 6px solid var(--gelb); line-height: 1.1; }
.form { background: #fff; padding: clamp(1.3rem, 3vw, 2rem); border-top: 6px solid var(--tinte); }
.field { display: grid; gap: .35rem; margin-bottom: 1.1rem; }
.field label { font-weight: 650; }
.field input[type=text], .field input[type=tel], .field input[type=email], .field select, .field textarea { font: inherit; padding: .7rem .8rem; border: 2px solid #8d9195; background: var(--gips); border-radius: 0; }
.field input:focus, .field textarea:focus { border-color: var(--tinte); }
.field input[type=file] { font: inherit; font-size: .95rem; }
.hint { font-size: .9rem; color: var(--text-2); margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-title { margin-bottom: 1.2rem; }
.hint-big { color: var(--text-2); margin-top: 1.4rem; }
.check { grid-template-columns: auto 1fr; align-items: start; gap: .7rem; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; accent-color: var(--tinte); }
.check label { font-weight: 400; font-size: .95rem; }

/* Fußzeile */
.site-footer { background: var(--tinte); color: #d8dadb; padding-block: 1.6rem; }
.footer-grid { display: grid; gap: 1rem; }
.footer-grid p { margin: 0; }
.footer-brand { font-weight: 800; font-stretch: 115%; color: #fff; margin-bottom: .4rem !important; }
.footer-row { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-row a { color: #fff; }

/* Schnellkontakt auf dem Handy */
.quickbar { display: none; }

@media (max-width: 1100px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .nav, .header-phone { display: none; }
  .hero-grid, .service, .about, .print-row, .contact-grid, .values, .extra-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 230px; margin: 0; }
  .service:nth-of-type(even) img { order: 0; }
  .projects { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .quickbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--tinte); border-top: 4px solid var(--gelb); }
  .quickbar a { color: #fff; text-align: center; padding: .9rem .3rem; font-weight: 750; text-decoration: none; }
  .site-footer { padding-bottom: 5.5rem; }
  .quickbar a:first-child { background: var(--gelb); color: var(--tinte); }
}
@media (max-width: 520px) {
  .hero-title { font-size: clamp(1.6rem, 7.6vw, 2.4rem); }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-bars { font-size: 1.8rem; }
}

/* Rechtstexte */
.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; font-stretch: 115%; margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; font-stretch: 105%; }
.legal .note { background: var(--gelb); padding: .8rem 1rem; max-width: 62ch; }
