:root {
  --kabine: #1C1D1E;
  --weiss: #ECEDEA;
  --weiss-2: #E1E2DE;
  --text: #191B1D;
  --t2: rgba(25, 27, 29, .7);
  --t3: rgba(25, 27, 29, .5);
  --hell: #F1F1EE;
  --h2: rgba(241, 241, 238, .72);
  --h3: rgba(241, 241, 238, .5);
  --band: #E5C135;
  --band-d: #D4AF22;
  --linie: rgba(25, 27, 29, .14);
  --r: 6px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --wide: "Anybody", "Albert Sans", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--weiss);
  color: var(--text);
  font-family: "Albert Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--band); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Kopf */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; color: var(--hell); }
.top-in { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.mark { font-family: var(--wide); font-variation-settings: "wdth" 125; font-weight: 500; font-size: 15px; text-decoration: none; padding: 8px 0; }
.top nav { display: flex; gap: 24px; }
.top nav a { text-decoration: none; color: var(--h2); padding: 8px 0; transition: color 150ms ease-out; }
.top nav a:hover { color: var(--hell); }
.hide-s { display: none; }

/* Start: Lackierkabine */
.hero { background: var(--kabine); color: var(--hell); padding-top: 80px; overflow: hidden; position: relative; }
.hero-name {
  font-family: var(--wide);
  font-variation-settings: "wdth" 125;
  font-weight: 500;
  font-size: clamp(44px, 12.6vw, 168px);
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.line > span { display: block; transform: translateY(110%); transition: transform 1000ms var(--ease) 100ms; }
.is-loaded .line > span { transform: none; }

.hero-img { position: relative; margin: 24px 0 0; aspect-ratio: 4 / 4.2; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.08); will-change: transform; }
.hero-img figcaption { position: absolute; right: 20px; bottom: 8px; font-size: 12px; color: var(--h3); }

/* Handy: Titel über dem Bild, Text darunter */
.hero { display: flex; flex-direction: column; }
.hero-in { display: contents; }
.hero-name { order: 1; padding: 0 20px; }
.hero-img { order: 2; }
.hero-foot { order: 3; padding: 24px 20px 40px; }

.hero-lead { font-size: 19px; line-height: 1.4; color: var(--h2); max-width: 34ch; }
.hero-act { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 24px; }
.since { font-size: 15px; color: var(--h3); }

.btn {
  display: inline-block;
  background: var(--band);
  color: var(--text);
  text-decoration: none;
  font: inherit;
  font-weight: 500;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--r);
  cursor: pointer;
  transition: background-color 150ms ease-out;
}
.btn:hover { background: var(--band-d); }
.btn-dark { background: var(--text); color: var(--hell); }
.btn-dark:hover { background: #2E3134; }

/* Abschnitte */
.sec { padding-top: 72px; padding-bottom: 8px; position: relative; }
h2 {
  font-family: var(--wide);
  font-variation-settings: "wdth" 118;
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 24px;
}
.body { max-width: 56ch; color: var(--t2); }
.note { margin-top: 16px; font-size: 14px; color: var(--t3); }

/* Leistungen: ruhige Liste */
.svc { list-style: none; border-top: 1px solid var(--linie); }
.svc li { padding: 16px 0 24px; border-bottom: 1px solid var(--linie); }
.svc h3 {
  font-family: var(--wide);
  font-variation-settings: "wdth" 112;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.svc p { color: var(--t2); }
.svc-float { display: none; }

.split { display: grid; gap: 24px; }

/* Formular */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 8px; }
.form label > span { font-size: 15px; color: var(--t2); }
.row { display: grid; gap: 16px; }
.form input[type=text], .form textarea {
  font: inherit;
  color: var(--text);
  background: var(--hell);
  border: 1px solid var(--linie);
  border-radius: var(--r);
  padding: 12px 16px;
  transition: border-color 150ms ease-out;
}
.form input::placeholder { color: var(--t3); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--text); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop-in {
  display: grid; gap: 8px;
  padding: 40px 24px;
  background: var(--kabine);
  color: var(--hell);
  border-radius: var(--r);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
/* ein Stück Abdeckband über der Ecke */
.drop-in::before {
  content: ""; position: absolute; top: 16px; right: -24px;
  width: 120px; height: 24px; background: var(--band);
  transform: rotate(32deg); opacity: .95;
}
.form .drop-in > span { color: var(--hell); }
.form .drop-in > .drop-s { color: var(--h2); }
.drop-t { font-family: var(--wide); font-variation-settings: "wdth" 118; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.drop-s { color: var(--h2); font-size: 15px; max-width: 30ch; }
.drop:hover .drop-in, .drop input:focus-visible + .drop-in { box-shadow: inset 0 0 0 2px var(--band); }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-end .note { margin: 0; }

/* Vorher/Nachher */
.cmp { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); margin-top: 24px; user-select: none; clip-path: inset(100% 0 0 0); transition: clip-path 1000ms var(--ease); }
.cmp.is-in { clip-path: inset(0 0 0 0); }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-a { filter: grayscale(1) contrast(.55) brightness(1.25) blur(1.2px); }
.cmp-b { clip-path: inset(0 0 0 50%); }
.cmp-l, .cmp-r { position: absolute; bottom: 16px; font-size: 14px; font-weight: 500; padding: 4px 8px; border-radius: 4px; background: rgba(28,29,30,.7); color: var(--hell); }
.cmp-l { left: 16px; } .cmp-r { right: 16px; }
.tape {
  position: absolute; top: -8px; bottom: -8px; left: 50%;
  width: 28px; transform: translateX(-50%) rotate(1.2deg);
  background: var(--band);
  opacity: .92;
  box-shadow: 0 1px 6px rgba(0,0,0,.25);
}
.cmp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }

/* Kontakt */
.facts { display: grid; gap: 24px; }
.facts dt { font-size: 14px; color: var(--t3); margin-bottom: 8px; }
.facts dd { font-size: 19px; line-height: 1.4; }
.facts .ph { color: var(--t3); }

.foot { background: var(--kabine); color: var(--h3); margin-top: 104px; padding: 64px 0 40px; font-size: 14px; }
.foot-in { display: grid; gap: 8px; }
.foot-name { font-family: var(--wide); font-variation-settings: "wdth" 125; font-weight: 500; font-size: 40px; letter-spacing: -0.03em; color: var(--hell); margin-bottom: 16px; }

/* Computer */
@media (min-width: 860px) {
  .wrap { padding: 0 40px; }
  .top-in { height: 80px; }
  .hide-s { display: inline; }

  .hero { display: block; padding-top: 0; height: 100vh; min-height: 640px; max-height: 1000px; }
  .hero-in { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; position: relative; z-index: 2; padding-bottom: 40px; }
  .hero-img { position: absolute; inset: 0; margin: 0; aspect-ratio: auto; }
  .hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,21,22,.94) 0%, rgba(20,21,22,.6) 34%, rgba(20,21,22,0) 60%); }
  .hero-img img { object-position: 50% 50%; }
  .hero-img figcaption { z-index: 3; right: 40px; top: 96px; bottom: auto; }
  .hero-name { padding: 0; font-size: clamp(96px, 11.6vw, 168px); }
  .hero-foot { padding: 40px 0 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
  .hero-act { margin-top: 0; flex-direction: row-reverse; }

  .sec { padding-top: 120px; }
  h2 { font-size: 56px; margin-bottom: 40px; }
  .split { grid-template-columns: 5fr 7fr; gap: 64px; }
  .split-top { align-items: end; }
  .split-top h2 { margin-bottom: 0; }

  .svc li { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: baseline; padding: 24px 0; transition: color 150ms ease-out; }
  .svc h3 { font-size: 32px; margin: 0; }
  .svc:hover li { color: var(--t3); }
  .svc:hover li p { color: var(--t3); }
  .svc li:hover, .svc li:hover p { color: var(--text); }
  .svc-float {
    display: block; position: absolute; top: 0; left: 0; width: 280px; aspect-ratio: 4 / 5;
    pointer-events: none; z-index: 3; opacity: 0; overflow: hidden; border-radius: var(--r);
    transition: opacity 150ms ease-out;
  }
  .svc-float.on { opacity: 1; }
  .svc-float img { width: 100%; height: 100%; object-fit: cover; }
  .svc-float figcaption { position: absolute; left: 8px; bottom: 8px; font-size: 12px; color: var(--hell); background: rgba(28,29,30,.6); padding: 2px 6px; border-radius: 4px; }

  .row { grid-template-columns: 1fr 1fr; }
  .cmp { aspect-ratio: 16 / 8; margin-top: 40px; }
  .foot-in { grid-template-columns: 1fr auto; align-items: end; }
  .foot-name { font-size: 72px; grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .line > span { transform: none !important; transition: none !important; }
  .cmp { clip-path: none !important; transition: none !important; }
  .hero-img img { transform: none !important; }
}
