/* Bereich "Webseiten verbessern" */
.web { position: relative; padding-bottom: clamp(96px, 14vw, 200px); }
.web-hero { position: relative; }
.web-hero .wrap { position: relative; z-index: 2; }
.web-hero h2 { font-size: clamp(44px, 7vw, 110px); line-height: .94; letter-spacing: -.045em; font-weight: 500; margin-top: 22px; }
.web-hero h2 em { font-style: normal; color: var(--chalk-3); }
.web-hero .lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--chalk-2); max-width: 46ch; margin-top: 26px; }
.web-hero img { display: block; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; margin: clamp(-40px, -2vw, -10px) 0 clamp(-30px, -2vw, 0px); position: relative; z-index: 1;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); }

/* Vorher / Nachher */
.ba-head { display: flex; justify-content: space-between; gap: 16px; margin: clamp(8px, 2vw, 24px) 0 14px; }
.ba { border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--ink-3); box-shadow: 0 60px 120px -60px rgba(0,0,0,.9); }
.ba-stage { --k: 1; position: relative; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size; user-select: none; }
.ba-stage .old, .ba-stage .new { position: absolute; inset: 0; }
.ba-stage .new { clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--chalk); z-index: 4; pointer-events: none; box-shadow: 0 0 20px rgba(0,0,0,.5); }
.ba-line span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--chalk); box-shadow: 0 8px 30px rgba(0,0,0,.5); }
.ba-line span::before, .ba-line span::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: solid var(--ink); border-width: 0 0 2px 2px; }
.ba-line span::before { left: 11px; transform: rotate(45deg); }
.ba-line span::after { right: 11px; transform: rotate(-135deg); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 5; }
.ba-range:focus-visible ~ .ba-line span, .ba:focus-within .ba-line span { outline: 2px solid var(--glacier); outline-offset: 3px; }
.ba-tag { position: absolute; bottom: 14px; z-index: 3; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: rgba(11,13,16,.82); color: var(--chalk); }
.t-old { left: 14px; }
.t-new { right: 14px; }

/* die alte Seite */
.old { background: #d8d2b8 repeating-linear-gradient(45deg, rgba(0,0,0,.035) 0 2px, transparent 2px 7px); font-family: "Times New Roman", Times, serif; color: #000; font-size: calc(var(--k) * 1.5cqw); }
.old-top { display: flex; justify-content: space-between; align-items: center; padding: calc(var(--k) * 1.2cqw) calc(var(--k) * 2cqw); background: linear-gradient(#3b62d6, #182f80); border-bottom: calc(var(--k) * .45cqw) ridge #aaa; }
.old-logo { font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive; font-weight: bold; font-size: calc(var(--k) * 2.8cqw); line-height: 1; color: #ffef3a; text-shadow: .25cqw .25cqw 0 #000; }
.old-new { background: #ff0; color: #e00000; font-family: Arial, sans-serif; font-weight: bold; font-size: calc(var(--k) * 1.8cqw); padding: .3cqw .9cqw; transform: rotate(-8deg); animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.old-marq { background: #000; color: #2f2; font-family: "Courier New", monospace; font-size: calc(var(--k) * 1.35cqw); white-space: nowrap; overflow: hidden; padding: .35cqw 0; }
.old-marq span { display: inline-block; padding-left: 100%; animation: marq 16s linear infinite; }
@keyframes marq { to { transform: translateX(-100%); } }
.old-body { display: grid; grid-template-columns: calc(var(--k) * 17cqw) 1fr; gap: calc(var(--k) * 2cqw); padding: calc(var(--k) * 2cqw); }
.old-nav { list-style: none; }
.old-nav li { background: linear-gradient(#f2f2f2, #b9b9b9); border: .25cqw outset #e0e0e0; margin-bottom: .6cqw; padding: .5cqw 1cqw; font-family: Arial, sans-serif; font-size: calc(var(--k) * 1.35cqw); color: #0000cc; text-decoration: underline; }
.old-main { background: #fff; border: .2cqw solid #888; padding: calc(var(--k) * 1.5cqw); line-height: 1.3; }
.old-h { color: #990000; font-weight: bold; text-decoration: underline; font-size: calc(var(--k) * 2.1cqw); margin-bottom: 1cqw; }
.old-main img { float: left; width: calc(var(--k) * 24cqw); height: auto; margin: 0 1.5cqw 1cqw 0; border: .35cqw ridge #aaa; }
.old-small { clear: both; text-align: center; color: #555; font-size: calc(var(--k) * 1.1cqw); padding-top: 1.2cqw; }

/* die neue Seite */
.new { background: #1b140e; color: #f6f1e8; font-family: var(--sans); }
.new-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.new::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(24,16,9,.88) 0%, rgba(24,16,9,.55) 38%, rgba(24,16,9,0) 66%), linear-gradient(180deg, rgba(24,16,9,.55) 0%, rgba(24,16,9,0) 20%); }
.new > :not(.new-bg) { position: relative; z-index: 1; }
.new-nav { position: absolute !important; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: calc(var(--k) * 2.4cqw); padding: calc(var(--k) * 2.2cqw) calc(var(--k) * 3.2cqw); font-size: calc(var(--k) * 1.2cqw); color: rgba(246,241,232,.85); }
.new-nav b { margin-right: auto; font-family: Georgia, "Iowan Old Style", serif; font-weight: 400; font-size: calc(var(--k) * 2cqw); letter-spacing: .02em; color: #f6f1e8; }
.new-nav em { font-style: normal; font-weight: 600; background: #f6f1e8; color: #2a1d12; padding: calc(var(--k) * .7cqw) calc(var(--k) * 1.4cqw); border-radius: 999px; }
.new-copy { position: absolute !important; right: calc(var(--k) * 3.2cqw); bottom: calc(var(--k) * 6.5cqw); width: calc(var(--k) * 38cqw); max-width: calc(100% - var(--k) * 6.4cqw); }
.new-k { font-family: var(--mono); font-size: calc(var(--k) * 1cqw); letter-spacing: .14em; text-transform: uppercase; color: #e9c99a; }
.new-h { font-family: Georgia, "Iowan Old Style", "Times New Roman", serif; font-size: calc(var(--k) * 5.8cqw); line-height: .98; letter-spacing: -.02em; margin: calc(var(--k) * 1cqw) 0 calc(var(--k) * 1.3cqw); }
.new-s { font-size: calc(var(--k) * 1.35cqw); line-height: 1.45; color: rgba(246,241,232,.84); max-width: calc(var(--k) * 34cqw); }
.new-btns { display: flex; gap: calc(var(--k) * 1cqw); margin-top: calc(var(--k) * 2cqw); font-size: calc(var(--k) * 1.2cqw); font-weight: 600; }
.nb1 { background: #e9c99a; color: #2a1d12; padding: calc(var(--k) * 1cqw) calc(var(--k) * 1.8cqw); border-radius: 999px; }
.nb2 { border: 1px solid rgba(246,241,232,.5); padding: calc(var(--k) * 1cqw) calc(var(--k) * 1.8cqw); border-radius: 999px; }
.new-card { position: absolute !important; left: calc(var(--k) * 3.2cqw); bottom: calc(var(--k) * 3.2cqw); display: flex; align-items: center; gap: calc(var(--k) * 1cqw); padding: calc(var(--k) * 1.1cqw) calc(var(--k) * 1.6cqw); border-radius: calc(var(--k) * 1.2cqw); background: rgba(255,255,255,.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.26); font-size: calc(var(--k) * 1.1cqw); }
.new-card i { width: calc(var(--k) * .8cqw); height: calc(var(--k) * .8cqw); border-radius: 50%; background: #6fdc8c; box-shadow: 0 0 0 calc(var(--k) * .35cqw) rgba(111,220,140,.25); }
.new-card b { display: block; font-weight: 600; }

.ba-facts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 24px; margin-top: 28px; }
.ba-facts li { padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.ba-facts em { display: block; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--chalk-3); margin-bottom: 6px; }
.ba-facts s { color: var(--chalk-3); margin-right: 8px; }
.ba-facts b { font-weight: 500; color: var(--chalk); }
.ba-facts b::before { content: "→ "; color: var(--glacier); }

/* Bausteine */
.blocks-head h3 { font-size: clamp(32px, 4.4vw, 64px); line-height: 1; letter-spacing: -.04em; font-weight: 500; margin: clamp(80px, 10vw, 140px) 0 clamp(36px, 4vw, 56px); }
.blocks-head h3 em { font-style: normal; color: var(--chalk-3); }
.blocks { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.blk { grid-column: span 5; display: flex; flex-direction: column; min-width: 0; padding: clamp(22px, 2.4vw, 34px); border: 1px solid var(--line); border-radius: 14px; background: var(--ink-2); }
.blk-form, .blk-conf { grid-column: span 7; }
.blk header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.blk-real, .blk-demo { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.blk-real { background: var(--glacier); color: var(--ink); }
.blk-demo { border: 1px solid var(--line-strong); color: var(--chalk-3); }
.blk-t { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 16px; }
.blk .run { width: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Anfrage-Assistent */
.wz-progress { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-bottom: 26px; }
.wz-progress i { display: block; height: 100%; background: var(--glacier); transition: width .6s var(--ease); }
.wz-step { border: 0; animation: pop .5s var(--ease) both; }
.wz legend { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.03em; margin-bottom: 20px; }
.choice { display: grid; gap: 10px; }
.choice label, .chips label { position: relative; cursor: pointer; }
.choice input, .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: block; padding: 15px 18px; border: 1px solid var(--line-strong); border-radius: 12px; transition: border-color .2s, background .2s, box-shadow .2s; }
.choice b { display: block; font-weight: 500; }
.choice small { color: var(--chalk-3); font-size: 14px; }
.choice label:hover span { border-color: var(--chalk-3); }
.choice input:checked + span { border-color: var(--glacier); background: rgba(95,212,207,.07); box-shadow: inset 0 0 0 1px var(--glacier); }
.choice input:focus-visible + span, .chips input:focus-visible + span { outline: 2px solid var(--glacier); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.chips label:hover span { border-color: var(--chalk-3); }
.chips input:checked + span { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
.scope { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center; margin-top: 24px; }
.scope-bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.scope-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--glacier), #9ff0ea); transition: width .5s var(--ease); }
.scope-t { grid-column: 1 / -1; font-size: 14px; font-weight: 400; color: var(--chalk-2); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fl { position: relative; display: block; }
.fl-area { grid-column: 1 / -1; }
.fl input, .fl textarea { width: 100%; padding: 22px 14px 8px; background: var(--ink); color: var(--chalk); border: 1px solid var(--line-strong); border-radius: 10px; font: 15px var(--sans); resize: vertical; transition: border-color .2s; }
.fl input:focus, .fl textarea:focus { outline: none; border-color: var(--glacier); }
.fl span { position: absolute; left: 15px; top: 15px; font-size: 15px; color: var(--chalk-3); pointer-events: none; transition: top .2s var(--ease), font-size .2s var(--ease), color .2s; }
.fl input:focus + span, .fl input:not(:placeholder-shown) + span, .fl textarea:focus + span, .fl textarea:not(:placeholder-shown) + span { top: 6px; font-size: 11px; color: var(--glacier); }
.fl.bad input { border-color: #f0b45a; }
.wz-err { color: #f0b45a; font-size: 14px; margin-top: 12px; }
.wz-nav { display: flex; gap: 10px; margin-top: 26px; }
.wz-nav .run { margin: 0 0 0 auto; padding: 13px 28px; }
.wz-done { text-align: center; padding: 6px 0 4px; animation: pop .5s var(--ease) both; }
.wz-check svg, .bk-ok svg { display: block; width: 64px; height: 64px; margin: 0 auto 14px; }
.wz-check circle, .bk-ok circle { fill: none; stroke: var(--glacier); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s var(--ease) forwards; }
.wz-check path, .bk-ok path { fill: none; stroke: var(--glacier); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.wz-dt { font-size: 28px; font-weight: 500; letter-spacing: -.03em; }
.wz-dd { color: var(--chalk-2); max-width: 40ch; margin: 8px auto 0; }
.wz-send { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.wz-send .run { margin: 0; padding: 13px 24px; }
.wz-send .ghost { padding: 13px 22px; font-size: 15px; }

/* Terminbuchung */
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.day, .slot { font: inherit; color: var(--chalk); background: var(--ink); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.day { padding: 10px 4px; text-align: center; }
.day small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--chalk-3); }
.day b { display: block; font-size: 20px; font-weight: 500; }
.day:hover, .slot:hover:not(:disabled) { border-color: var(--chalk-3); }
.day[aria-pressed="true"] { border-color: var(--glacier); background: var(--glacier-dim); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.slot { padding: 11px 6px; font-family: var(--mono); font-size: 13px; }
.slot:disabled { opacity: .32; text-decoration: line-through; cursor: not-allowed; }
.slot[aria-pressed="true"] { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
#bkGo { margin-top: 16px; }
.bk-ok { display: flex; gap: 16px; align-items: flex-start; margin-top: 16px; padding: 16px; border: 1px solid rgba(95,212,207,.4); border-radius: 12px; background: rgba(95,212,207,.06); animation: pop .5s var(--ease) both; }
.bk-ok svg { width: 40px; height: 40px; margin: 0; flex: none; }
.bk-ok b { display: block; font-weight: 500; font-size: 16px; }
.bk-ok span { display: block; font-size: 14px; color: var(--chalk-2); margin: 4px 0 10px; }

/* Konfigurator */
.blk-conf { display: grid; grid-template-columns: 1.35fr 1fr; column-gap: 28px; align-content: start; }
.blk-conf header { grid-column: 1 / -1; }
.conf-img { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #e8e2d8; }
.conf-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.conf-img img.on { opacity: 1; }
.conf-ui { display: grid; gap: 22px; align-content: center; }
.woods { display: flex; flex-wrap: wrap; gap: 8px; }
.woods button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: none; color: var(--chalk); font: 14px var(--sans); cursor: pointer; transition: border-color .2s, background .2s; }
.woods button i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); }
.woods button[aria-checked="true"] { border-color: var(--glacier); background: var(--glacier-dim); }
.len { display: grid; gap: 10px; }
.len b { color: var(--chalk); font-weight: 500; }
.len input { width: 100%; accent-color: var(--glacier); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.price .mono { width: 100%; }
.price b { font-size: 34px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price small { font-size: 14px; color: var(--chalk-3); }

/* Tempo */
.gauges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gauge { position: relative; display: grid; justify-items: center; gap: 8px; }
.gauge svg { width: 132px; height: 132px; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke: var(--line); stroke-width: 8; }
.gauge .gv { stroke-dasharray: 326.7; stroke-dashoffset: 326.7; stroke-linecap: round; transition: stroke-dashoffset 1.8s var(--ease); }
.g-old .gv { stroke: #e5705f; }
.g-new .gv { stroke: var(--glacier); }
.gauge b { position: absolute; top: 0; left: 50%; width: 132px; height: 132px; margin-left: -66px; display: grid; place-items: center; font-size: 38px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.gauge span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--chalk-3); }
.metrics { list-style: none; margin-top: 20px; }
.metrics li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--chalk-2); }
.metrics s { font-family: var(--mono); font-size: 13px; color: var(--chalk-3); }
.metrics b { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--glacier); }
.live-speed { margin-top: auto; padding-top: 18px; font-size: 14px; color: var(--chalk-2); }
.live-speed b { color: var(--chalk); font-weight: 500; }

.upgrades { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(40px, 5vw, 64px); }
.upgrades li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--chalk-2); }
.upgrades li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--glacier); }

@media (max-width: 1000px) {
  .blocks { grid-template-columns: 1fr; }
  .blk, .blk-form, .blk-conf { grid-column: auto; }
  .blk-conf { grid-template-columns: 1fr; row-gap: 20px; }
  .ba-facts { grid-template-columns: 1fr 1fr; gap: 18px 20px; }
}
@media (max-width: 700px) {
  .ba-stage { --k: 1.75; aspect-ratio: 4 / 5; }
  .old-body { grid-template-columns: 1fr; }
  .old-nav { display: flex; flex-wrap: wrap; gap: .8cqw; }
  .old-nav li { margin: 0; }
  .old-main img { float: none; width: 100%; margin: 0 0 1.5cqw; }
  .new-copy { width: auto; left: calc(var(--k) * 3.2cqw); bottom: calc(var(--k) * 12cqw); }
  .new::after { background: linear-gradient(0deg, rgba(24,16,9,.9) 0%, rgba(24,16,9,.4) 55%, rgba(24,16,9,.2) 100%); }
  .new-s { max-width: none; }
  .new-nav span { display: none; }
  .fields { grid-template-columns: 1fr; }
  .ba-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .old-new, .old-marq span { animation: none !important; }
}
