/* Upwell – Website
   Farben aus dem Upwell-Logo: Grau #4D4D4D, Blau #0896F0 (für Text und Buttons abgedunkelt auf #0A72BA, damit der Kontrast reicht).
   Schrift: Figtree – geometrisch, dem Logo nahe. Selbst gehostet. */

@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 400; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 500; src: url("fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 600; src: url("fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 400; src: url("fonts/figtree-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 500; src: url("fonts/figtree-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 600; src: url("fonts/figtree-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #FFFFFF;
  --tint: #F3F6F9;       /* Wechselgrund der Abschnitte */
  --white: #FFFFFF;
  --grey: #4D4D4D;       /* Logo-Grau */
  --ink: #404040;        /* Fließtext */
  --muted: #6E6E6E;
  --line: #E2E6EA;
  --blue: #0896F0;       /* Logo-Blau – nur groß oder dekorativ */
  --blue-ink: #0A72BA;   /* Logo-Blau abgedunkelt – Links, Buttons */
  --blue-soft: #E6F3FD;
  --font: "Figtree", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue-ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 760px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.wrap > * { min-width: 0; }
h1, h2, h3 { font-family: var(--font); font-weight: 500; color: var(--grey); line-height: 1.1; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 21px; font-weight: 600; letter-spacing: 0; line-height: 1.25; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(19px, 1.6vw, 21px); color: var(--muted); max-width: 34em; }
.kicker { display: block; margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--blue-ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; font-size: 17px; text-decoration: none; padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer; background: var(--blue-ink); color: var(--white); }
.btn:hover { background: var(--grey); }
.btn.ghost { background: transparent; color: var(--grey); box-shadow: inset 0 0 0 1.5px var(--grey); }
.btn.ghost:hover { background: var(--grey); color: var(--white); }

/* Kopf */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--white); }
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.head { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 40px; width: auto; }
nav.main { display: flex; gap: 28px; margin-left: auto; }
nav.main a { color: var(--grey); text-decoration: none; font-weight: 500; font-size: 16px; }
nav.main a:hover { color: var(--blue-ink); }
.head .btn { padding: 10px 20px; font-size: 15.5px; }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(48px, 6vw, 80px); background: radial-gradient(60% 70% at 85% 30%, #EEF6FD 0%, rgba(238,246,253,0) 70%), var(--white); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.04; }
.hero .lead { margin: 30px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 22px; font-size: 15.5px; color: var(--muted); }

/* Vorher/Nachher */
.compare { position: relative; margin: 0; isolation: isolate; }
.compare::before { content: ""; position: absolute; inset: 6% -8% -4% 12%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(8,150,240,.30), rgba(8,150,240,0)); filter: blur(24px); pointer-events: none; }
.browser { background: var(--white); border-radius: 16px; box-shadow: 0 2px 0 rgba(77,77,77,.06), 0 40px 80px -36px rgba(10,60,100,.45), 0 12px 30px -18px rgba(10,60,100,.25); overflow: hidden; border: 1px solid #DCE3EA; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #F1F4F7; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD1D7; }
.browser-bar span { margin-left: 10px; font-size: 12.5px; color: var(--muted); background: var(--white); border-radius: 7px; padding: 4px 12px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage { position: relative; aspect-ratio: 16 / 10.5; container-type: inline-size; overflow: hidden; }
.layer { position: absolute; inset: 0; }
.new { clip-path: inset(0 0 0 var(--cut, 50%)); }
.divider { position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 3px; background: var(--white); box-shadow: 0 0 0 1px rgba(10,60,100,.12), 0 0 18px rgba(10,60,100,.35); transform: translateX(-1.5px); pointer-events: none; }
.divider::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--blue-ink); box-shadow: 0 6px 18px rgba(10,60,100,.35), inset 0 0 0 2px var(--blue); font: 600 18px/46px var(--font); text-align: center; letter-spacing: 3px; }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare input[type=range]:focus-visible + .tags { outline: 3px solid var(--blue); outline-offset: 4px; }
.tags { display: flex; justify-content: space-between; margin-top: 16px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.tags span { padding: 5px 12px; border-radius: 999px; }
.tags .t-old { background: #ECEEF0; color: var(--muted); }
.tags .t-new { background: var(--blue-soft); color: var(--blue-ink); }
.fict { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Alte Website (Mockup) */
.old { background: #D4D4CE; font-family: Verdana, Geneva, sans-serif; color: #000; font-size: 1.4cqw; }
.old .o-top { background: linear-gradient(#3A5E93, #22406E); color: #FFF; padding: 1.5cqw 2.4cqw; font-family: "Times New Roman", Times, serif; font-size: 3.4cqw; font-weight: 700; text-shadow: .15cqw .15cqw 0 #000; }
.old .o-top small { display: block; font-size: 1.45cqw; font-weight: 400; font-family: Verdana, sans-serif; color: #CFE0FF; text-shadow: none; }
.old .o-ticker { background: #FFFF99; color: #A00; font-size: 1.25cqw; font-weight: 700; padding: .45cqw 2.4cqw; white-space: nowrap; overflow: hidden; border-bottom: 1px solid #B8B800; }
.old .o-body { display: grid; grid-template-columns: 20% 1fr; gap: 1.6cqw; padding: 1.6cqw 2.4cqw; }
.old .o-nav { display: grid; gap: .5cqw; align-content: start; }
.old .o-nav span { background: #2F4F7F; color: #FFF; padding: .55cqw 1cqw; font-size: 1.3cqw; border: .25cqw outset #6F8FBF; }
.old .o-main { background: #FFF; border: 1px solid #999; padding: 1.4cqw 1.8cqw; }
.old .o-main h4 { margin: 0 0 1cqw; font-family: "Times New Roman", serif; font-size: 2.4cqw; color: #2F4F7F; }
.old .o-main p { margin: 0 0 1cqw; line-height: 1.45; }
.old .o-main u { color: #0000EE; }
.old .o-img { height: 10cqw; background: repeating-linear-gradient(45deg, #BDBDBD 0 6px, #C9C9C9 6px 12px); border: 1px solid #999; margin-bottom: 1cqw; display: grid; place-items: center; font-size: 1.2cqw; color: #555; }
.old .o-wip { margin-top: 1.2cqw; padding: 1.3cqw 1cqw; font-size: 1.2cqw; font-weight: 700; color: #000; text-align: center; background: repeating-linear-gradient(-45deg, #FFD400 0 1cqw, #222 1cqw 2cqw) top / 100% .7cqw no-repeat, repeating-linear-gradient(-45deg, #FFD400 0 1cqw, #222 1cqw 2cqw) bottom / 100% .7cqw no-repeat, #FFF6B0; }
.old .o-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 1cqw 2.4cqw; font-size: 1.15cqw; color: #333; display: flex; justify-content: space-between; background: #C4C4BE; border-top: 1px solid #AAA; }
.old .counter { font-family: "Courier New", monospace; background: #000; color: #3F3; padding: 0 .6cqw; }

/* Neue Website (Mockup eines erfundenen Betriebs) – in den Upwell-Farben */
.new { background: var(--white); color: var(--ink); font-family: var(--font); display: flex; flex-direction: column; }
.new .n-nav { display: flex; align-items: center; gap: 2.6cqw; padding: 2cqw 4cqw; font-size: 1.35cqw; color: var(--muted); border-bottom: 1px solid var(--line); }
.new .n-logo { display: inline-flex; align-items: center; gap: 1cqw; color: var(--grey); font-weight: 600; font-size: 1.6cqw; }
.new .n-logo i { width: 2.4cqw; height: 2.4cqw; border-radius: .7cqw; background: linear-gradient(135deg, var(--blue), var(--blue-ink)); box-shadow: inset 0 -.5cqw 0 rgba(255,255,255,.25); }
.new .n-links { display: flex; gap: 2.2cqw; margin-left: auto; }
.new .n-nav em { font-style: normal; background: var(--blue-ink); color: var(--white); padding: .8cqw 1.8cqw; border-radius: 999px; font-weight: 600; }
.new .n-hero { flex: 1; position: relative; isolation: isolate; display: grid; grid-template-columns: 1.06fr .94fr; gap: 5cqw; padding: 3cqw 4cqw; align-items: center; background: #6B5640 url("img/schreinerei-werkstatt.jpg") center / cover no-repeat; }
.new .n-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,24,30,0) 0%, rgba(18,24,30,.2) 40%, rgba(18,24,30,.58) 58%, rgba(18,24,30,.66) 100%); }
.new .n-copy small { display: block; font-size: 1.2cqw; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #9FD3F7; margin-bottom: 1.2cqw; }
.new .n-copy h4 { margin: 0; font-weight: 500; font-size: 4.6cqw; line-height: 1.04; letter-spacing: -0.025em; color: var(--white); }
.new .n-copy p { margin: 1.6cqw 0 0; font-size: 1.65cqw; color: #E4EAF0; line-height: 1.5; }
.new .n-btns { display: flex; gap: 1.1cqw; margin-top: 2.2cqw; font-size: 1.4cqw; }
.new .n-btns b, .new .n-btns s { text-decoration: none; padding: .9cqw 1.8cqw; border-radius: 999px; font-weight: 600; }
.new .n-btns b { background: var(--blue-ink); color: var(--white); box-shadow: 0 .8cqw 1.6cqw -.8cqw rgba(10,114,186,.8); }
.new .n-btns s { box-shadow: inset 0 0 0 .15cqw rgba(255,255,255,.85); color: var(--white); }
.new .n-facts { display: flex; gap: 2.8cqw; margin-top: 2.2cqw; font-size: 1.15cqw; color: #D3DCE4; }
.new .n-facts b { display: block; font-size: 2.3cqw; font-weight: 500; color: var(--white); line-height: 1.1; }
.new .n-photo { position: relative; height: 100%; min-height: 30cqw; }
.new .n-badge { position: absolute; left: 0; bottom: 0; background: var(--white); border-radius: 1.2cqw; padding: 1.2cqw 1.6cqw; font-size: 1.1cqw; color: var(--muted); box-shadow: 0 1.4cqw 3cqw -1cqw rgba(10,60,100,.45); }
.new .n-badge b { display: block; font-size: 2.4cqw; font-weight: 600; color: var(--blue-ink); line-height: 1.05; }
.new .n-cards { margin: 0 4cqw 3cqw; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.new .n-cards div { background: var(--tint); border: 1px solid var(--line); border-radius: 1.2cqw; padding: 1.4cqw 1.6cqw; font-size: 1.1cqw; color: var(--muted); }
.new .n-cards i { display: block; width: 2.2cqw; height: 2.2cqw; border-radius: .6cqw; background: var(--blue-soft); box-shadow: inset 0 0 0 .5cqw var(--blue-soft), inset 0 0 0 2cqw var(--blue); margin-bottom: 1cqw; }
.new .n-cards b { display: block; font-size: 1.45cqw; font-weight: 600; color: var(--grey); margin-bottom: .2cqw; }

/* Pinselstrich unter „Auftritt“ */
.hand { position: relative; display: inline-block; white-space: nowrap; }
.hand .brush { position: absolute; left: -4%; bottom: -.2em; width: 108%; height: .36em; color: var(--blue); overflow: visible; z-index: -1; }
.hero h1 { position: relative; z-index: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hand .brush { clip-path: inset(0 100% 0 0); animation: brush .9s cubic-bezier(.6,.05,.3,1) .5s forwards; }
  @keyframes brush { to { clip-path: inset(0 0 0 0); } }
}

/* Abschnitte */
section { padding-block: clamp(64px, 9vw, 120px); }
.sec-head { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(20px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head .lead { margin: 0; }
.band { background: var(--tint); border-block: 1px solid var(--line); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 22px 28px 0 0; border-top: 2px solid var(--grey); }
.steps li::before { content: counter(s); display: block; font-weight: 500; font-size: 44px; line-height: 1; color: var(--blue); margin-bottom: 14px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; font-size: 16.5px; }

.offer { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.price { background: var(--grey); color: var(--white); border-radius: 18px; padding: 34px 32px 30px; }
.price .label { font-size: 15px; color: #DADADA; }
.price .amount { font-weight: 500; font-size: clamp(44px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.02em; margin: 10px 0 6px; }
.price .terms { color: #DADADA; font-size: 15.5px; }
.price .btn { margin-top: 26px; background: var(--white); color: var(--blue-ink); }
.price .btn:hover { background: var(--blue-soft); }
.incl { list-style: none; margin: 0; padding: 0; }
.incl li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.incl li::before { content: ""; width: 12px; height: 7px; margin-top: 9px; border-left: 2.5px solid var(--blue-ink); border-bottom: 2.5px solid var(--blue-ink); transform: rotate(-45deg); }
.incl strong { font-weight: 600; color: var(--grey); }
.incl span { color: var(--muted); display: block; font-size: 16px; }
.extra { margin-top: 18px; font-size: 15.5px; color: var(--muted); }

.why { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 72px); }
.why .facts { display: grid; gap: 0; align-content: start; }
.why .facts div { padding: 18px 0; border-top: 1px solid var(--line); }
.why .facts div:last-child { border-bottom: 1px solid var(--line); }
.why .facts b { display: block; font-weight: 600; color: var(--grey); margin-bottom: 2px; }
.why .facts span { color: var(--muted); font-size: 16.5px; }
.source { font-size: 14px; color: var(--muted); }

.host { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.host div { border-top: 2px solid var(--grey); padding-top: 18px; }
.host h3 { margin-bottom: 8px; }
.host p { color: var(--muted); font-size: 16.5px; margin: 0; }

.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 19px; color: var(--grey); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 400; color: var(--blue-ink); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: -4px 0 22px; max-width: 46em; }

.contact { background: var(--grey); color: var(--white); }
.contact h2 { color: var(--white); }
.contact .kicker { color: #9FD3F7; }
.contact .lead { color: #E3E3E3; }
.c-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.c-card { border: 1px solid rgba(255,255,255,.28); border-radius: 18px; padding: 28px; }
.c-card address { font-style: normal; color: #E3E3E3; line-height: 1.7; }
.c-card a.mail { display: inline-block; margin: 16px 0 6px; color: var(--white); font-weight: 600; font-size: 20px; word-break: break-all; }
.contact .btn { background: var(--white); color: var(--blue-ink); margin-top: 26px; }
.contact .btn:hover { background: var(--blue-soft); }

footer.site { padding-block: 28px 36px; font-size: 14.5px; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--grey); text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* Rechtliche Seiten */
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: clamp(36px, 4.6vw, 54px); margin-bottom: 32px; }
.legal h2 { font-size: 24px; margin: 32px 0 10px; }
.legal dl { display: grid; grid-template-columns: 200px 1fr; gap: 8px 24px; margin: 0; }
.legal dt { font-weight: 600; color: var(--grey); }
.legal dd { margin: 0; color: var(--muted); }
.todo { background: #FFF1B8; color: #4A3B00; border-left: 4px solid #D9A400; padding: 16px 20px; border-radius: 6px; }

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lead, .hero-actions { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero .lead { animation-delay: .08s; }
  .hero-actions { animation-delay: .16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 980px) {
  nav.main { display: none; }
  .head .btn { margin-left: auto; }
  .hero-grid, .sec-head, .offer, .why, .c-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .host { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .brand img { height: 34px; }
  .kicker { font-size: 12px; letter-spacing: .2em; }
  .steps { grid-template-columns: 1fr; }
  .stage { aspect-ratio: 4 / 3.6; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
}
