/* 152 – Regenscheibe · der Blick durch eine regennasse Scheibe in der Dämmerung */
:root {
  --night: #0b1222;
  --ink: #f1f4fb;
  --mute: #c9d1e4;
  --lamp: #ffb46a;
  --lamp-2: #ffd29c;
  --paper: #f6f1e6;
  --paper-ink: #22252e;
  --wipe: rgba(7, 11, 24, .62);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --pad: clamp(18px, 4.4vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; color: var(--ink); font: 400 17px/1.62 var(--sans); overflow-x: hidden; min-height: 100vh; }
/* Rückfall ohne Canvas: unscharfe Stadt in der Dämmerung (liegt auf html, damit der Canvas darüber liegt) */
html {
  background-color: var(--night);
  background:
    radial-gradient(60px 60px at 12% 78%, rgba(255,180,106,.5), transparent 70%),
    radial-gradient(80px 80px at 27% 84%, rgba(255,150,90,.42), transparent 70%),
    radial-gradient(50px 50px at 44% 74%, rgba(130,210,255,.35), transparent 70%),
    radial-gradient(90px 90px at 61% 86%, rgba(255,190,120,.45), transparent 70%),
    radial-gradient(60px 60px at 78% 76%, rgba(255,95,150,.32), transparent 70%),
    radial-gradient(70px 70px at 92% 83%, rgba(255,180,106,.42), transparent 70%),
    linear-gradient(180deg, #121a33 0%, #222850 34%, #4a3d68 56%, #9a5a72 70%, #3a2c44 80%, #141526 92%) fixed #0b1222;
}
.rain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; pointer-events: none; }
.frame { position: fixed; inset: 0; z-index: 30; pointer-events: none; box-shadow: inset 0 0 0 9px #0a0c11, inset 0 0 0 10px rgba(255,255,255,.08), inset 0 0 90px rgba(0,0,0,.55); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
p, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lamp-2); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 90; background: var(--lamp); color: #111; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: 1340px; margin-inline: auto; padding-inline: var(--pad); }

/* Freigewischte Stelle im Beschlag: dunkler, klarer Grund (Canvas zeigt dort die Stadt scharf) */
.wipe { position: relative; isolation: isolate; padding: clamp(26px, 3vw, 44px); text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.wipe::before { content: ''; position: absolute; inset: 4px; z-index: -1; background: var(--wipe); border-radius: 30px 40px 34px 26px / 34px 28px 40px 32px; filter: blur(10px); }
.wipe--round::before { inset: 2px; border-radius: 46% 54% 50% 50% / 42% 46% 54% 58%; }

/* Zettel innen an der Scheibe */
.note { position: relative; background: var(--paper); color: var(--paper-ink); padding: 34px 28px 28px; box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 18px 30px -16px rgba(0,0,0,.75), 0 0 40px rgba(255,214,160,.08); transform: rotate(var(--r, -1deg)); }
.note--y { background: #f7e7a6; }
.note--b { background: #dfe9f2; }
.tape { position: absolute; left: 50%; top: -14px; width: 92px; height: 28px; transform: translateX(-50%) rotate(-3deg); background: rgba(240,236,220,.55); box-shadow: 0 1px 2px rgba(0,0,0,.2); backdrop-filter: blur(1px); }

/* ---------- Typo ---------- */
.kicker { display: block; font: 600 13px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--lamp-2); margin-bottom: 16px; }
h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1.06; font-weight: 340; font-variation-settings: 'opsz' 144; }
h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.22; font-weight: 500; }
.intro { margin-top: 18px; color: var(--mute); max-width: 58ch; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 28px; border-radius: 999px; font: 600 16px/1.15 var(--sans); text-decoration: none; text-shadow: none; transition: transform .2s, box-shadow .2s, background-color .2s; }
.btn--lamp { background: var(--lamp); color: #1b1410; box-shadow: 0 0 0 1px rgba(255,220,170,.5), 0 0 34px rgba(255,170,90,.45); }
.btn--lamp:hover { background: var(--lamp-2); box-shadow: 0 0 0 1px rgba(255,220,170,.7), 0 0 46px rgba(255,170,90,.6); }
.btn--glass { color: var(--ink); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn--glass:hover { background: rgba(255,255,255,.16); }

/* ---------- Kopf ---------- */
.top { position: relative; z-index: 40; }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 96px; }
.logo { flex: none; display: block; }
.logo img { width: 74px; aspect-ratio: 1510 / 1300; }
.menu { display: none; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__list a { display: block; padding: 10px 16px; border-radius: 999px; font-weight: 500; text-decoration: none; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.nav__list a:hover { background: rgba(7,11,24,.45); }
.nav__end { display: flex; align-items: center; gap: 16px; }
.tel { font-weight: 600; text-decoration: none; white-space: nowrap; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.lang { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-weight: 700; font-size: 14px; letter-spacing: .05em; text-decoration: none; background: rgba(7,11,24,.5); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: 8fr 4fr; gap: clamp(24px, 4vw, 64px); align-items: end; min-height: min(780px, calc(100svh - 96px)); padding-block: clamp(20px, 4vh, 48px) clamp(40px, 7vh, 80px); }
.hero__wipe { padding: clamp(34px, 4vw, 60px) clamp(32px, 4.4vw, 64px); }
.hero h1 { font-size: clamp(42px, 5vw, 78px); line-height: 1.02; font-weight: 320; letter-spacing: -.02em; font-variation-settings: 'opsz' 144; max-width: 16ch; }
.lead { margin-top: 22px; max-width: 54ch; color: #e1e6f2; font-size: clamp(16.5px, 1.25vw, 18.5px); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.note--hero { --r: 2.4deg; align-self: start; justify-self: end; max-width: 300px; margin-top: 12vh; }
.note__k { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a4a17; }
.note__big { margin: 8px 0 10px; font: 400 26px/1.15 var(--serif); }
.note a { font-weight: 600; text-underline-offset: 4px; }

/* ---------- Schwerpunkt ---------- */
.focus { padding-top: clamp(80px, 11vw, 160px); }
.focus__head { max-width: 900px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.25); }
.stats b { display: block; font: 300 clamp(40px, 4.2vw, 62px)/1 var(--serif); font-variation-settings: 'opsz' 144; color: #fff; white-space: nowrap; }
.stats li:nth-child(3) b { font-size: clamp(30px, 3vw, 44px); padding-top: .2em; }
.stats span { display: block; margin-top: 8px; color: var(--mute); font-size: 15.5px; line-height: 1.35; }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); margin-top: clamp(40px, 5vw, 70px); }
.cases li { padding: 30px 30px 32px; }
.cases li:nth-child(3n+2) { margin-top: 40px; }
.cases li:nth-child(3n) { margin-top: 14px; }
.cases .no { display: block; font: italic 300 30px/1 var(--serif); color: var(--lamp-2); margin-bottom: 14px; }
.cases p { margin-top: 8px; color: var(--mute); font-size: 16px; }

.route { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(24px, 3vw, 48px); align-items: center; margin-top: clamp(60px, 8vw, 110px); }
.route__finger { width: 100%; height: auto; overflow: visible; }
.finger path { stroke: rgba(8,12,24,.55); stroke-width: 22; filter: url(#wet); }
.finger path + path { }
.drips path { stroke: rgba(8,12,24,.45); stroke-width: 6; filter: url(#wet); }
.spots circle { fill: rgba(8,12,24,.6); filter: url(#wet); }
.codes text { fill: #f6f0e4; paint-order: stroke; stroke: rgba(8,12,24,.55); stroke-width: 6px; }
.route__codes { font-weight: 700; letter-spacing: .1em; margin-bottom: 8px; }
.route__cap p + p { margin-top: 8px; }
.route__note { color: var(--mute); font-size: 15px; font-style: italic; }

/* ---------- Leistungen ---------- */
.services { padding-top: clamp(90px, 12vw, 170px); }
.services__head { max-width: 760px; }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 4vw, 60px) clamp(24px, 3vw, 48px); margin-top: clamp(56px, 6vw, 84px); }
.notes .note:nth-child(1) { --r: -1.6deg; }
.notes .note:nth-child(2) { --r: 1.2deg; margin-top: 30px; }
.notes .note:nth-child(3) { --r: -.4deg; }
.notes .note:nth-child(4) { --r: 1.8deg; }
.notes .note:nth-child(5) { --r: -1.2deg; margin-top: 24px; }
.notes .note:nth-child(6) { --r: .6deg; }
.notes h3 { font-weight: 560; }
.notes p { margin-top: 10px; color: #3c3f48; font-size: 16px; }

/* ---------- Ablauf ---------- */
.steps { padding-top: clamp(90px, 12vw, 170px); }
.steps__t { max-width: 700px; padding: 0 0 0 6px; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(36px, 4vw, 56px); }
.steps__list li { display: flex; flex-direction: column; justify-content: center; text-align: center; aspect-ratio: 1 / 1.02; padding: 34px 30px; }
.steps__list .no { font: 300 46px/1 var(--serif); color: var(--lamp-2); margin-bottom: 10px; }
.steps__list p { margin-top: 8px; color: var(--mute); font-size: 15.5px; line-height: 1.5; }

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: 4fr 6fr 2.4fr; gap: clamp(24px, 4vw, 60px); align-items: center; padding-top: clamp(90px, 12vw, 170px); }
.print { position: relative; background: #fff; padding: 12px 12px 40px; transform: rotate(-2.2deg); box-shadow: 0 22px 34px -18px rgba(0,0,0,.8); }
.print img { aspect-ratio: 1; object-fit: cover; }
.print--small { transform: rotate(3deg); padding-bottom: 28px; align-self: start; margin-top: 30px; }
.print--small img { aspect-ratio: 3 / 4; object-position: 62% 50%; }
.about__p { margin-top: 18px; color: #e1e6f2; max-width: 60ch; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-top: 24px; }
.feats li { position: relative; padding-left: 22px; font-weight: 500; }
.feats li::before { content: ''; position: absolute; left: 0; top: .42em; width: 9px; height: 12px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 35% 35%, #fff, #9fc6ee 60%, #4f7fb5); transform: rotate(0); }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: clamp(90px, 12vw, 170px) clamp(80px, 10vw, 140px); }
.contact h2 { font-size: clamp(42px, 5vw, 76px); }
.contact .btn { margin-top: 28px; }
.card { --r: 1.4deg; position: relative; padding: 38px 34px 30px; color: var(--paper-ink); transform: rotate(var(--r));
  background: #fbf9f3 repeating-linear-gradient(180deg, transparent 0 31px, rgba(80,120,190,.25) 31px 32px); background-position: 0 22px;
  box-shadow: inset 0 0 0 0 transparent, 0 22px 34px -18px rgba(0,0,0,.8); }
.card::before { content: ''; position: absolute; top: 0; bottom: 0; left: 26px; border-left: 1.5px solid rgba(200,70,70,.45); }
.card__dl { padding-left: 22px; }
.card__dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 8px 0 10px; }
.card__dl dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6a5a48; padding-top: 3px; }
.card__dl dd { line-height: 1.6; }
.card a { text-underline-offset: 4px; overflow-wrap: anywhere; }
.card strong { font-weight: 700; }
.fax { color: #5c5f68; font-size: 15px; }

/* ---------- Fuß: Fensterbank ---------- */
.foot { position: relative; color: #2b2a2a; }
.sill { height: 34px; background: linear-gradient(180deg, #8b8379 0%, #cfc6b8 30%, #e9e2d6 60%, #d7cfc2 100%); box-shadow: 0 -12px 30px rgba(0,0,0,.45), inset 0 2px 0 rgba(255,255,255,.35); }
.foot__body { background: linear-gradient(180deg, #e4ddd0, #d8d0c2); padding: 40px 0 54px; font-size: 15px; }
.foot__in { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 40px; align-items: center; }
.logo--foot img { width: 84px; }
.foot__addr { color: #3d3a36; }
.foot__addr a { text-decoration: none; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 500; }
.foot__nav a { text-underline-offset: 4px; }
.foot__copy { grid-column: 2 / 4; color: #4a4640; font-size: 14px; }

/* ---------- Rechtsseiten ---------- */
.legal { padding-block: clamp(20px, 4vw, 60px) clamp(70px, 9vw, 120px); }
.legal__wipe { --wipe: rgba(7,11,24,.72); max-width: 900px; margin-inline: auto; padding: clamp(30px, 5vw, 72px) clamp(22px, 5vw, 72px); }
.back { display: inline-block; margin-bottom: 24px; font-weight: 500; text-underline-offset: 4px; }
.legal h1 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.05; font-weight: 320; font-variation-settings: 'opsz' 144; overflow-wrap: break-word; hyphens: auto; }
.legal-body { max-width: 68ch; margin-top: 30px; }
.legal-body h2 { font-size: clamp(22px, 2vw, 27px); font-weight: 450; margin: 40px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body ul { margin: 0 0 14px; color: #e4e9f4; }
.legal-body li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.legal-body li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 8px; height: 11px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 35% 35%, #fff, #9fc6ee 60%, #4f7fb5); }
.legal-body a { color: var(--lamp-2); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-note { padding: 14px 18px; background: rgba(255,180,106,.12); border-left: 3px solid var(--lamp); font-style: italic; }
.legal-address { padding: 16px 20px; background: rgba(255,255,255,.06); border-radius: 12px; }

/* ---------- Responsiv ---------- */
@media (max-width: 1180px) {
  .nav { gap: 14px; }
  .nav__list a { padding: 9px 11px; }
  .about { grid-template-columns: 5fr 7fr; }
  .print--small { display: none; }
}
@media (max-width: 960px) {
  .top__in { min-height: 80px; }
  .logo img { width: 62px; }
  .menu { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; padding: 12px 18px; border: 0; border-radius: 999px; background: rgba(7,11,24,.6); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); font-weight: 600; cursor: pointer; }
  .menu__ico { display: grid; gap: 5px; width: 18px; }
  .menu__ico i { display: block; height: 2px; background: currentColor; transition: transform .2s; }
  .top.open .menu__ico i:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .top.open .menu__ico i:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .nav { position: absolute; left: 10px; right: 10px; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 18px; padding: 14px 22px 24px; background: rgba(8,12,24,.94); border-radius: 22px; box-shadow: 0 24px 40px -20px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.12); }
  .top.open .nav, html:not(.js) .nav { display: flex; }
  html:not(.js) .nav { position: static; }
  html:not(.js) .menu { display: none; }
  html:not(.js) .top__in { flex-wrap: wrap; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { padding: 13px 4px; font-size: 19px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav__end { justify-content: space-between; }

  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 30px; }
  .note--hero { justify-self: start; margin-top: 0; }
  .cases { grid-template-columns: 1fr 1fr; }
  .cases li:nth-child(n) { margin-top: 0; }
  .route { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr 1fr; }
  .notes .note:nth-child(n) { margin-top: 0; }
  .steps__list { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
  .print { max-width: 400px; width: 100%; justify-self: center; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .frame { box-shadow: inset 0 0 0 5px #0a0c11, inset 0 0 50px rgba(0,0,0,.5); }
  .hero__wipe { padding: 28px 22px 30px; }
  .hero h1 { font-size: clamp(34px, 9.6vw, 42px); }
  .ctas .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; gap: 16px; }
  .stats li { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 14px; }
  .stats b { font-size: 40px; }
  .stats li:nth-child(3) b { font-size: 26px; padding: 0; }
  .stats span { margin: 0; }
  .cases { grid-template-columns: 1fr; }
  .cases li { padding: 24px 22px 26px; }
  .notes { grid-template-columns: 1fr; gap: 34px; }
  .steps__list { grid-template-columns: 1fr; }
  .steps__list li { aspect-ratio: auto; padding: 34px 28px; }
  .feats { grid-template-columns: 1fr; }
  .card { padding: 34px 18px 24px; }
  .card__dl { padding-left: 20px; }
  .card__dl > div { grid-template-columns: 1fr; gap: 0; }
  .card::before { left: 14px; }
  .contact .btn { width: 100%; }
  .foot__in { grid-template-columns: 1fr; }
  .foot__copy { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .menu__ico i { transition: none; }
}
