/* Imran Reinigungsbetrieb – Entwurf 2 („Staub zu Glanz“)
   Eine Akzentfarbe (Logo-Gold #FCC239), ein Radius-System (Buttons rund, Bilder/Karten 22px, Felder 10px),
   eine Schrift (Archivo variabel, lokal). Hell bleibt hell; Gold ist die einzige Fläche mit Farbe. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-standard-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }

:root {
  --gold: #fcc239; --gold-deep: #e9a90f;
  --ink: #14171c; --ink-2: #3a4049; --ink-3: #6b7380;
  --line: #e3e7ec; --bg: #ffffff; --bg-2: #f3f5f7; --dust: #dde1e6;
  --r-card: 22px; --r-field: 10px;
  --wrap: 1280px; --pad: clamp(16px, 4vw, 48px);
  --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.i { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.025em; line-height: 1; }
h2 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); font-stretch: 112%; }
h3 { font-size: 1.4rem; font-stretch: 110%; letter-spacing: -.01em; line-height: 1.1; }
p { margin: 0; }

/* Wort-/Zeichen-Spaltung für Text-Reveals */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }
.c { display: inline-block; will-change: transform; transform-origin: 50% 100%; }

/* ---------- Buttons ---------- */
.btn {
  --h: 58px; position: relative; display: inline-flex; align-items: center; gap: .6em;
  height: var(--h); padding: 0 1.7em; border-radius: 999px; border: 0; overflow: hidden;
  font: inherit; font-weight: 700; font-size: 1rem; font-stretch: 106%;
  text-decoration: none; white-space: nowrap; cursor: pointer; isolation: isolate;
  transition: box-shadow .4s var(--ease-out), color .3s;
}
.btn::before { /* Wischfläche beim Hover */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateX(-102%); transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: none; }
.btn .i { transition: transform .45s var(--ease-out); }
.btn:hover .i { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 12px 28px -14px rgba(233, 169, 15, .95); }
.btn-gold::before { background: #ffd469; }
.btn-line { background: rgba(255, 255, 255, .55); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); backdrop-filter: blur(6px); }
.btn-line::before { background: var(--ink); }
.btn-line:hover { color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink::before { background: #2b313a; }
.mag { will-change: transform; }

/* ---------- Kopfzeile ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .35s, box-shadow .35s, transform .5s var(--ease-out); }
.top.is-scrolled { background: rgba(255, 255, 255, .86); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgba(20, 23, 28, .07); }
.top.is-hidden { transform: translateY(-100%); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 36px; width: auto; }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand b { font-size: 1.25rem; font-weight: 800; font-stretch: 118%; letter-spacing: .02em; }
.brand small { font-size: .62rem; font-weight: 600; letter-spacing: .22em; color: var(--ink-3); text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.top-cta { display: flex; gap: 12px; align-items: center; }
.top-cta .btn { --h: 46px; padding: 0 1.3em; font-size: .95rem; }
.tel-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; font-stretch: 104%; padding: 0 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100dvh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(120% 90% at 80% 10%, #ffffff 0%, #fbfbfc 45%, #eef1f4 100%);
}
#gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; display: block; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 0; }
.no-gl .hero-photo { opacity: 1; }
.no-gl .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .78) 45%, rgba(255, 255, 255, 0) 80%); }
.no-gl #gl { display: none; }
.hero-in { position: relative; z-index: 2; padding-top: 120px; padding-bottom: clamp(56px, 9vh, 110px); pointer-events: none; }
.hero-in a, .hero-in button { pointer-events: auto; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; color: var(--ink-2); margin-bottom: 22px; }
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--gold); }
.hero h1 { font-size: clamp(3rem, 8.2vw, 8.4rem); font-stretch: 116%; letter-spacing: -.035em; line-height: .92; max-width: 11ch; perspective: 900px; }
.hero h1 em { font-style: normal; position: relative; white-space: nowrap; display: inline-block; }
.hero h1 em::after {
  content: ""; position: absolute; left: -.03em; right: -.03em; bottom: .02em; height: .2em; z-index: -1;
  background: var(--gold); border-radius: 4px; transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease-io);
}
.hero.go h1 em::after { transform: scaleX(1); transition-delay: 1.9s; }
.hero .lead { margin-top: 28px; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 31em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.cue { position: absolute; z-index: 2; right: var(--pad); bottom: clamp(56px, 9vh, 110px); width: 26px; height: 44px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(20, 23, 28, .5); }
.cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Leistungen: horizontale Bühne ---------- */
.svc { position: relative; background: var(--bg); }
.svc-pin { height: 100dvh; display: flex; align-items: center; overflow: hidden; }
.svc-track { display: flex; gap: clamp(20px, 2.4vw, 36px); padding: 0 var(--pad); align-items: stretch; will-change: transform; }
.svc-intro { flex: 0 0 min(440px, 84vw); display: flex; flex-direction: column; justify-content: center; padding-right: 2vw; }
.svc-intro h2 { max-width: 8.5ch; }
.svc-intro p { margin-top: 24px; color: var(--ink-2); font-size: 1.1rem; max-width: 24em; }
.svc-progress { margin-top: 40px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; max-width: 260px; }
.svc-progress i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.card {
  flex: 0 0 min(540px, 82vw); height: min(74dvh, 680px); position: relative;
  border-radius: var(--r-card); background: var(--bg-2); overflow: hidden;
  display: flex; flex-direction: column; transform-style: preserve-3d;
  box-shadow: 0 30px 60px -36px rgba(20, 23, 28, .35);
}
.card-img { position: relative; flex: 1 1 auto; overflow: hidden; }
.card-img img { position: absolute; inset: -6% -12%; width: 124%; height: 112%; max-width: none; object-fit: cover; will-change: transform; }
.card-tx { position: relative; padding: 26px 28px 28px; background: #fff; }
.card .no { position: absolute; right: 26px; top: -34px; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); font-weight: 800; font-stretch: 112%; font-size: 1.05rem; box-shadow: 0 10px 24px -10px rgba(233, 169, 15, .9); }
.card h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-stretch: 114%; letter-spacing: -.02em; }
.card p { margin-top: 10px; color: var(--ink-2); max-width: 34em; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.more .i { transition: transform .4s var(--ease-out); }
.more:hover .i { transform: translateX(4px); }
.card-glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .28), transparent 45%); opacity: 0; transition: opacity .4s; z-index: 3; }
.card:hover .card-glare { opacity: 1; }

/* ---------- Ablauf ---------- */
.flow { background: var(--bg-2); padding: clamp(90px, 12vw, 170px) 0; overflow: hidden; }
.flow h2 { max-width: 13ch; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin-top: clamp(56px, 7vw, 96px); padding-top: 40px; perspective: 1200px; }
.steps .rail { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.steps .rail i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.step { position: relative; transform-style: preserve-3d; }
.big-no { display: block; font-size: clamp(4.5rem, 9vw, 8.5rem); font-weight: 800; font-stretch: 120%; line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--ink); margin-bottom: 18px; transition: color .4s, -webkit-text-stroke-color .4s; }
.step:hover .big-no { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-2); max-width: 26em; }

/* ---------- Versprechen ---------- */
.promise { padding: clamp(90px, 12vw, 160px) 0; }
.promise-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); }
.promise-pin { position: sticky; top: 100px; height: calc(100dvh - 150px); max-height: 780px; }
.promise-img { height: 100%; border-radius: var(--r-card); overflow: hidden; }
.promise-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); will-change: transform; }
.promise-list h2 { margin-bottom: 10vh; max-width: 10ch; }
.vow { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; }
.v-big { font-size: clamp(1.8rem, 3.2vw, 2.9rem); font-weight: 800; font-stretch: 112%; line-height: 1.05; letter-spacing: -.02em; }
.v-big::before { content: ""; display: block; width: 46px; height: 4px; border-radius: 4px; background: var(--gold); margin-bottom: 22px; }
.vow p:not(.v-big) { margin-top: 14px; color: var(--ink-2); max-width: 28em; font-size: 1.06rem; }

/* ---------- Anfrage (Gold) ---------- */
.ask { position: relative; background: var(--gold); margin: 0 var(--pad); border-radius: 36px; overflow: hidden; isolation: isolate; }
.suds { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.suds i {
  position: absolute; bottom: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95) 0 6%, rgba(255, 255, 255, 0) 14%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, .55) 68%, rgba(180, 225, 255, .5) 74%, rgba(255, 170, 230, .45) 80%, rgba(255, 255, 255, 0) 86%);
  animation: rise linear infinite;
}
.suds i:nth-child(1) { width: 140px; height: 140px; left: 6%; animation-duration: 16s; animation-delay: -3s; }
.suds i:nth-child(2) { width: 70px; height: 70px; left: 22%; animation-duration: 11s; animation-delay: -8s; }
.suds i:nth-child(3) { width: 210px; height: 210px; left: 44%; animation-duration: 22s; animation-delay: -12s; }
.suds i:nth-child(4) { width: 90px; height: 90px; left: 63%; animation-duration: 13s; animation-delay: -2s; }
.suds i:nth-child(5) { width: 160px; height: 160px; left: 80%; animation-duration: 19s; animation-delay: -6s; }
.suds i:nth-child(6) { width: 50px; height: 50px; left: 92%; animation-duration: 9s; animation-delay: -4s; }
.suds i:nth-child(7) { width: 110px; height: 110px; left: 34%; animation-duration: 15s; animation-delay: -10s; }
@keyframes rise { from { transform: translate3d(0, 120%, 0); } 50% { transform: translate3d(30px, -45vh, 0); } to { transform: translate3d(-10px, -110vh, 0); } }
.ask-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); padding: clamp(56px, 8vw, 110px) clamp(24px, 5vw, 80px); max-width: var(--wrap); margin: 0 auto; }
.ask h2 { max-width: 10ch; }
.ask .sub { margin-top: 20px; color: rgba(20, 23, 28, .8); font-size: 1.1rem; max-width: 26em; }
.bigtel { display: inline-flex; align-items: center; gap: 16px; margin-top: 40px; text-decoration: none; white-space: nowrap; font-size: clamp(1.7rem, 3.1vw, 2.9rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; color: var(--ink); }
.bigtel .i { width: .8em; height: .8em; }
.alt-tel { margin-top: 6px; color: rgba(20, 23, 28, .8); }
.alt-tel a { font-weight: 700; }
.facts { margin: 40px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(20, 23, 28, .18); display: grid; gap: 14px; list-style: none; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts .i { margin-top: 3px; }
.form { position: relative; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-radius: var(--r-card); padding: clamp(24px, 3.5vw, 42px); box-shadow: 0 40px 80px -40px rgba(120, 80, 0, .6); }
.form h3 { font-size: 1.55rem; margin-bottom: 6px; }
.form .note { color: var(--ink-3); font-size: .95rem; margin-bottom: 22px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.fld label { font-weight: 700; font-size: .9rem; }
.fld label small { font-weight: 500; color: var(--ink-3); }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 1rem; color: var(--ink); border: 1.5px solid var(--line); border-radius: var(--r-field); background: #fff; padding: 13px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.fld textarea { min-height: 110px; resize: vertical; }
.fld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(252, 194, 57, .5); }
.fld .err { display: none; color: #b42318; font-size: .85rem; font-weight: 600; }
.fld.bad input, .fld.bad select { border-color: #b42318; }
.fld.bad .err { display: block; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form .btn[disabled] { opacity: .7; cursor: progress; }
.form .fine { margin-top: 12px; font-size: .82rem; color: var(--ink-3); }
.result { display: none; border-radius: var(--r-field); padding: 14px 16px; margin-top: 14px; font-weight: 600; }
.result.ok { display: block; background: #fff6dc; }
.result.no { display: block; background: #fdecea; color: #7a1a12; }
.hp { position: absolute; left: -9999px; }

/* ---------- Fußzeile ---------- */
.foot { padding: 80px 0 120px; }
.foot-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: start; }
.foot img { width: 150px; }
.foot address { font-style: normal; color: var(--ink-2); line-height: 1.7; }
.foot nav { display: flex; flex-direction: column; gap: 8px; text-align: right; }
.foot nav a { color: var(--ink-2); text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.foot .area { margin-top: 18px; color: var(--ink-3); font-size: .92rem; }

/* ---------- Blasen-Cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 90; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .95) 0 8%, rgba(255, 255, 255, 0) 16%),
              radial-gradient(circle, rgba(255, 255, 255, 0) 56%, rgba(150, 200, 255, .55) 66%, rgba(255, 170, 225, .5) 74%, rgba(252, 194, 57, .55) 82%, rgba(255, 255, 255, 0) 90%);
  transition: opacity .3s, width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out);
}
.cursor.on { opacity: 1; }
.cursor.big { width: 74px; height: 74px; margin: -37px 0 0 -37px; }

.dock { display: none; }

/* ---------- Rechtliches ---------- */
.legal { padding: 140px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); font-stretch: 112%; margin-bottom: 32px; }
.legal h2 { font-size: 1.35rem; font-stretch: 108%; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 10px; }

/* Vorbereitung für Reveals (nur mit JS) */
.js .hf, .js .rv { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
  .js .hf, .js .rv { opacity: 1 !important; }
  .cursor, .suds { display: none; }
  .hero-photo { opacity: 1; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .78) 45%, rgba(255, 255, 255, 0) 80%); }
  #gl { display: none; }
  .hero h1 em::after { transform: scaleX(1); }
}

/* ---------- Tablet / Handy ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .top-cta { margin-left: auto; }
  .svc-pin { height: auto; display: block; overflow: visible; padding: 90px 0 40px; }
  .svc-track { flex-direction: column; gap: 22px; }
  .svc-intro { flex: none; padding: 0 0 18px; }
  .svc-progress { display: none; }
  .card { flex: none; height: auto; width: 100%; }
  .card-img { aspect-ratio: 4 / 3; flex: none; }
  .steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 28px; gap: 44px; }
  .steps .rail { left: 0; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .steps .rail i { transform-origin: top; }
  .big-no { font-size: 4.2rem; }
  .promise-grid { grid-template-columns: 1fr; }
  .promise-pin { position: relative; top: 0; height: 56dvh; }
  .promise-list h2 { margin-bottom: 18px; }
  .vow { min-height: 0; padding: 24px 0; }
  .ask { margin: 0; border-radius: 0; }
  .ask-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot nav { text-align: left; }
  .cursor { display: none; }
  .dock {
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%); transition: transform .5s var(--ease-out);
  }
  .dock.on { transform: none; }
  .dock .btn { --h: 50px; justify-content: center; padding: 0 1em; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top .wrap { height: 64px; gap: 12px; }
  .brand img { height: 30px; }
  .brand b { font-size: 1.05rem; }
  .brand small { display: none; }
  .top-cta .tel-link span, .top-cta .btn { display: none; }
  .tel-link { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--gold); padding: 0; }
  .hero h1 { font-size: clamp(2.7rem, 13.5vw, 4rem); font-stretch: 104%; }
  .hero-in { padding-bottom: 84px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .cue { display: none; }
  .card-tx { padding: 24px 20px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .bigtel { font-size: 1.8rem; }
}
