/*!
Pulsima · Nutzungshinweis / Usage notice
Keine Freigabe zur unveränderten Übernahme dieser Website oder ihres Quellcodes. Bitte vor einer 1:1-Kopie die Zustimmung von Pulsima einholen.
No permission is granted to reproduce this website or its source code verbatim. Obtain permission from Pulsima before making an exact copy.
*/

:root {
  --header-height: 79px;
  color-scheme: light;
  --ink: #18243a;
  --dark: #142035;
  --paper: #f9faff;
  --accent: #99bdff;
  --line: #d8e0ee;
  --muted: #49596f;
  --heading: Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 1rem); scroll-behavior: smooth; }
body { margin: 0; padding-top: var(--header-height); background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--body); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #557de1; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--heading); font-weight: 400; letter-spacing: -.055em; }
h2 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: .99; }
h3 { font-size: 1.22rem; line-height: 1.25; letter-spacing: -.025em; }
.wrap { width: min(1240px, 80%); margin-inline: auto; }
.skip-link { position: fixed; z-index: 3; top: 1rem; left: 1rem; background: var(--accent); padding: .5rem 1rem; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.header { position: fixed; inset: 0 0 auto; z-index: 2; background: var(--dark); color: #f8faff; border-bottom: 1px solid #ffffff24; }
.header-inner { position: relative; min-height: 78px; display: flex; align-items: center; gap: 2.1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; margin-right: auto; line-height: 1.2; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #99bdff80; border-radius: 9px; color: var(--accent); flex: none; }
.brand strong, .brand small, .photo-note small { display: block; }
.brand strong { font-size: .96rem; }
.brand small { margin-top: 3px; color: #c4d1e6; font-size: .82rem; }
.text-link:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .3em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .7rem 1.22rem; background: var(--accent); color: #18243a; font-size: .92rem; line-height: 1.3; font-weight: 700; border: 1px solid transparent; border-radius: 8px; cursor: pointer; transition: background-color .2s; }
.button:hover { background: #b4d0ff; }
.button-small { min-height: 38px; padding: .48rem .9rem; }

.hero { overflow: clip; color: #f8faff; background: var(--dark); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.15fr); align-items: center; gap: clamp(2rem, 4.5vw, 5rem); padding-block: clamp(4.4rem, 7vw, 7rem) clamp(4.4rem, 7vw, 6rem); }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: #395a9c; font-size: .83rem; font-weight: 750; letter-spacing: .13em; }
.hero .eyebrow { color: var(--accent); }
.eyebrow span { width: 22px; height: 1px; background: currentColor; }
h1 { margin-top: 1.28rem; font-size: clamp(3.1rem, 6.15vw, 6rem); line-height: .99; }
h1 em { color: var(--accent); font-weight: inherit; }
.hero-lead { max-width: 35ch; margin-top: 1.5rem; color: #d8e2ef; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.7rem; }
.text-link { color: #ecf3ff; font-size: .9rem; font-weight: 600; text-decoration: underline; text-decoration-color: #eaf2ff7a; text-underline-offset: .35em; }
.hero-visual { position: relative; }
.photo-frame {
  aspect-ratio: 1.25;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #ffab7645;
  box-shadow: 0 15px 80px -28px #ff792e60;
}
.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% center;
}
.photo-note { position: absolute; bottom: 1rem; left: 1rem; display: flex; gap: .72rem; align-items: center; max-width: calc(100% - 2rem); padding: .65rem .85rem; background: #f7faff; color: var(--ink); border-radius: 9px; box-shadow: 0 12px 25px #111d3540; line-height: 1.4; }
.note-mark { display: grid; place-items: center; background: #e3ecff; border-radius: 50%; width: 33px; height: 33px; color: #305cb0; font-weight: 750; flex: none; }
.photo-note strong { font-size: .87rem; }
.photo-note small { color: var(--muted); font-size: .77rem; }

.benefit-bar { background: #eaf0fc; border-bottom: 1px solid #d8e3f4; }
.benefits { display: flex; justify-content: space-between; gap: .65rem 1.4rem; padding-block: 1.02rem; }
.benefits span { display: flex; align-items: center; gap: .55rem; font-size: .92rem; font-weight: 650; }
.benefits b { color: #305cb0; }

.section { padding-block: clamp(3.8rem, 8vw, 7.5rem); }
.section-intro { display: grid; grid-template-columns: 1.45fr 1fr; align-items: end; gap: 1.2rem 3rem; margin-bottom: 2.15rem; }
.section-intro h2, .about h2 { margin-top: .65rem; }
.section-intro > p, .card p, .example p, .about-copy > p:not(.eyebrow) { color: var(--muted); }
.section-intro > p { max-width: 42ch; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { background: #ffffff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.2rem, 2.8vw, 2rem); }
.card p { margin-top: .7rem; }
.service-icon { position: relative; display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 1.18rem; border-radius: 10px; background: #e4edff; color: #305cb0; }
.service-icon::before, .service-icon::after { content: ""; position: absolute; }
.icon-search::before { width: 15px; height: 15px; border: 2px solid; border-radius: 50%; transform: translate(-2px, -2px); }
.icon-search::after { width: 8px; height: 2px; background: currentColor; transform: translate(7px, 7px) rotate(45deg); }
.icon-shield::before { width: 17px; height: 20px; border: 2px solid; border-radius: 3px 3px 8px 8px; }
.icon-shield::after { width: 8px; height: 5px; border-bottom: 2px solid; border-left: 2px solid; transform: translateY(-1px) rotate(-45deg); }
.icon-build::before { width: 18px; height: 18px; border: 2px solid; border-radius: 2px; }
.icon-build::after { width: 18px; height: 2px; background: currentColor; transform: rotate(-45deg); }

.examples { background: #eff3fa; }
.examples-list { border-top: 1px solid #cbd7e7; }
.example { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 2.5rem; padding-block: 1.2rem; border-bottom: 1px solid #cbd7e7; }
.example span { display: block; margin-bottom: .32rem; color: #395a9c; font-size: .78rem; font-weight: 750; letter-spacing: .09em; }
.about { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.about-panel { display: flex; flex-direction: column; justify-content: space-between; min-height: 258px; padding: 1.7rem; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #e3eafd; }
.about-monogram { display: block; color: #355894; font: italic 6rem/.95 var(--heading); letter-spacing: -.11em; }
.about-panel p { font-weight: 740; }
.about-panel small { display: block; font-weight: 400; color: var(--muted); }
.about-copy > p:not(.eyebrow) { margin-top: 1rem; }
.contact-form { padding: clamp(1rem, 3vw, 2rem); border: 1px solid #ffffff26; border-radius: 14px; background: #263650; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.contact-form label { display: block; color: #f2f6ff; font-size: .93rem; font-weight: 650; min-width: 0; margin-bottom: .8rem; }
.contact-form label span { color: #c8d3ea; font-weight: 400; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: .3rem; padding: .55rem .65rem; border: 1px solid #8193b2; border-radius: 6px; background: #192840; color: #f5f8ff; font-size: 1rem; }
.contact-form textarea { resize: vertical; }
.contact-form textarea::placeholder { color: #b4c3d9; }
.form-note, .form-status { color: #d4def1; font-size: .87rem; margin: .2rem 0 .8rem; }
.form-status { margin: .65rem 0 0; }
.form-status:empty { display: none; }
.footer { background: #111c30; color: #c8d4e5; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.05rem; font-size: .87rem; }

.will-reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.will-reveal.is-visible, .will-reveal:focus-within { opacity: 1; transform: none; }
.cards .will-reveal:nth-child(2) { transition-delay: .09s; }
.cards .will-reveal:nth-child(3) { transition-delay: .18s; }

@media (max-width: 850px) {
  .wrap { width: auto; margin-inline: 1.25rem 3.15rem; }
  .hero-grid { gap: 1.8rem; }
  .header-inner { gap: 1rem; }
  .cards { gap: .65rem; }
  .card { padding: 1rem; }
}
@media (max-width: 700px) {
  :root { --header-height: 66px; }
  .header-inner { min-height: 65px; gap: .65rem; }
  .hero-grid, .section-intro, .about { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 3.2rem 2.35rem; }
  .desktop-break { display: none; }
  h1 { font-size: clamp(3rem, 10.2vw, 5rem); }
  .photo-frame { aspect-ratio: 1.23; }
  .benefits { flex-wrap: wrap; justify-content: flex-start; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 1.25rem; }
  .about-panel { min-height: 210px; }
}
@media (max-width: 470px) {
  .example, .form-row { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .footer-inner { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .will-reveal { opacity: 1; transform: none; transition: none; }
}

.dot-nav { position: fixed; z-index: 1; right: clamp(7px, 2vw, 32px); top: 50%; transform: translateY(-50%); padding: 5px 2px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 22px #14203520; }
.dot-nav a { position: relative; display: grid; place-items: center; width: 32px; height: 34px; border-radius: 50%; }
.dot-nav a::before { content: ""; width: 7px; height: 7px; border: 1px solid #667593; border-radius: 50%; }
.dot-nav a[aria-current]::before { background: #345dc7; border-color: #345dc7; box-shadow: 0 0 0 4px #dce7ff; }
.dot-nav span { position: absolute; right: calc(100% + 8px); padding: .25rem .7rem; border-radius: 6px; background: var(--dark); color: white; white-space: nowrap; font-size: .88rem; opacity: 0; pointer-events: none; }
.dot-nav a:hover span, .dot-nav a:focus-visible span { opacity: 1; }
html:has(dialog[open]) { overflow: hidden; }
html { scrollbar-gutter: stable; }
dialog { width: min(540px, calc(100% - 2rem)); max-height: 90dvh; padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: 18px; background: white; color: var(--ink); box-shadow: 0 24px 90px #101b3250; }
dialog::backdrop { background: #101b32aa; backdrop-filter: blur(4px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dialog-heading h2 { font-size: clamp(2rem, 5vw, 3rem); }
.close { flex: none; border-radius: 50%; background: #eff3fa; color: var(--ink); border: 0; width: 36px; height: 36px; line-height: 1; font-size: 1.4rem; cursor: pointer; }
dialog > p { margin: .75rem 0 1.25rem; color: var(--muted); }
dialog .contact-form { padding: 0; border: 0; background: transparent; }
dialog label, dialog .contact-form label { color: var(--ink); }
dialog .contact-form label span, dialog .form-note, dialog .form-status { color: var(--muted); }
dialog .contact-form :is(input, textarea) { background: #f8faff; border-color: #aab8cf; color: var(--ink); }
dialog textarea::placeholder { color: #60718a; }
@media (max-width: 850px) {
  .dot-nav { right: 4px; padding-inline: 0; }
  .dot-nav a { width: 28px; }
}

.theme { background: transparent; color: #e9edf7; border: 1px solid #73829d; border-radius: 8px; padding: .45rem .68rem; cursor: pointer; font-size: .85rem; }
.hero { background-image: radial-gradient(ellipse at 85% 20%, #4c5b814d, transparent 53%), repeating-radial-gradient(ellipse at 100% 115%, transparent 0 56px, #a9c4ff0a 57px 58px, transparent 59px 82px); }
[data-theme=dark] { color-scheme: dark; --paper: #181e2a; --ink: #f1f2f6; --muted: #c0c7d5; --line: #404a60; --dark: #192232; --accent: #b0c8fa; }
[data-theme=dark] :is(.card,.about-panel,dialog,.dot-nav) { background: #242e3e; }
[data-theme=dark] :is(.examples,.benefit-bar) { background: #202837; }
[data-theme=dark] :is(.eyebrow,.example span,.benefits b,.about-monogram) { color: #bacff9; }
[data-theme=dark] :is(.example,.examples-list,.benefit-bar) { border-color: var(--line); }
[data-theme=dark] .photo-note { background: #252d3a; }
[data-theme=dark] .dot-nav a::before { border-color: #a5b3ca; }
[data-theme=dark] .dot-nav a[aria-current]::before { background: #bbd2ff; box-shadow: 0 0 0 4px #465777; }
[data-theme=dark] dialog .contact-form :is(input,textarea) { background: #172030; }
[data-theme=dark] .close { color: #192232; }
[data-theme=dark] dialog .contact-form textarea::placeholder { color: #b5c1d6; }

#ablauf { background: radial-gradient(ellipse at 85% 50%, #826c8433, transparent 58%), #202a3b; color: #f5f3f2; }
.process-pin { padding-block: clamp(2rem,6vh,5rem); }
.process-area .eyebrow { color: #becff1; }
.process-area h2 { margin-top: .5rem; }
.process-intro { margin-block: .7rem 1.25rem; color: #cbd2e1; }
.process-track { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.process-track li { border: 1px solid #56627a; border-radius: 18px; padding: clamp(1.1rem,3vw,2.25rem); background: linear-gradient(125deg,#34415a,#293348); }
.process-track small { color: #c6d8ff; font-weight: 650; }
.process-track h3 { font-family: var(--heading); font-size: clamp(1.65rem,3vw,2.65rem); font-weight: 400; margin: .5rem 0; }
.process-track p { max-width: 53ch; }
.process-track aside { border-left: 3px solid #d6b89c; padding-left: .85rem; margin-top: 1.2rem; color: #ede0d5; }
.process-track aside b { display: block; color: #f4ede7; font-size: .9rem; }
#ablauf.sliding { height: calc(var(--pin-height) + var(--travel) + var(--end-hold)); }
.sliding .process-pin { position: sticky; top: var(--header-height); min-height: var(--pin-height); display: grid; align-content: center; }
.sliding .process-window { overflow: clip; }
.sliding .process-track { display: flex; transform: translateX(var(--shift,0px)); }
.sliding .process-track li { flex: 0 0 min(82%, 650px); }
.sliding .process-meter { margin-top: 1rem; background: #43516b; height: 3px; }
.process-meter i { display: block; height: 100%; background: #b9cdf4; transform-origin: left; transform: scaleX(var(--progress,.2)); }
@media(max-width:600px) { .sliding .process-track li { flex-basis: 96%; } .process-pin { padding-block: 1rem; } .theme { font-size: .78rem; } }

/* Warm ink, uncoated paper and copper details throughout the page. */
:root {
  --paper: #faf5ed; --ink: #342c2a; --muted: #615551; --line: #dcd0bf;
  --dark: #292629; --accent: #ffc397; --surface: #fffaf1;
  --wash: #eee3d5; --copper: #885038; --tint: #edcfb9;
}
[data-theme=dark] {
  --paper: #252226; --ink: #fbf0e3; --muted: #d1c2b8; --line: #534447;
  --dark: #262326; --accent: #ffc397; --surface: #312c30;
  --wash: #30292b; --copper: #e9b18d; --tint: #553d36;
}
body, .section, .examples, .about-panel, .benefit-bar { background-image: url(papier.png); }
.header { background: #292529f5; }
.brand-mark { color: #ffd0aa; border-color: #b98d6d; }
.hero {
  background-image: url(papier.png),radial-gradient(ellipse at 85% 85%,#98614365,transparent 59%),repeating-radial-gradient(ellipse at 105% 125%,transparent 0 49px,#ffd6b511 50px 51px,transparent 52px 77px);
}
.hero .eyebrow, .hero h1 em { color: #ffcca5; }
.hero-lead { color: #e1d4cc; }
.button { background: #ffc397; color: #352820; }
.button:hover { background: #ffd6b7; }
:root .eyebrow, :root .example span, :root .benefits b, :root .about-monogram { color: var(--copper); }
:root .hero .eyebrow, :root .process-area .eyebrow { color: #f4c7a3; }
:root .examples, :root .benefit-bar, :root .about-panel { background-color: var(--wash); background-image: url(papier.png); }
:root .card, :root dialog, :root .dot-nav { background-color: var(--surface); }
.card { border-radius: .75rem 2rem .75rem .75rem; border-top: 3px solid var(--copper); }
.service-icon, .note-mark { background: var(--tint); color: var(--copper); }
:root .photo-note { background: var(--surface); }
.about-panel { border-radius: 4rem .8rem 2rem .8rem; }
.about-monogram { font-size: 7rem; }
.footer { background: #262226; color: #e4d1c3; }
:root .dot-nav a[aria-current]::before { background: var(--copper); box-shadow: 0 0 0 4px var(--tint); }
:root .dot-nav a::before { border-color: var(--copper); }

/* The narrative uses the full page width, including its moving viewport. */
#ablauf { background: url(papier.png), radial-gradient(ellipse at 80% 0,#714d45,transparent 62%),#30282d; }
#ablauf .process-area { width: 100%; min-width: 0; margin-inline: 0; }
.process-pin { padding-block: clamp(1rem,4vh,3rem); }
.sliding .process-pin { grid-template-columns: minmax(0,1fr); }
.process-area > :is(.eyebrow,h2,.process-intro,.process-meter) { margin-inline: max(5%,calc((100% - 1440px)/2)); }
.process-area h2 { font-size: clamp(2.7rem,6.2vw,6.8rem); }
.process-intro { color: #e4d5cf; }
.process-track { gap: 0; }
.process-track li {
  display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.82fr);
  grid-template-areas: "step note" "title note" "copy note";
  align-content: center; gap: .6rem clamp(2rem,6vw,7rem);
  padding: clamp(2.2rem,6vh,5rem) max(7%,calc((100% - 1370px)/2));
  min-height: clamp(290px,40vh,465px); border: 0; border-block: 1px solid #e2c1a644;
  border-radius: 0; background: url(papier.png),linear-gradient(110deg,#59403e,#3b3035 78%);
}
.process-track li:nth-child(even) { background: url(papier.png),linear-gradient(110deg,#44363a,#53413c); }
.sliding .process-track li { flex: 0 0 100%; }
.process-track small { grid-area: step; color: #f2c8a8; letter-spacing: .045em; }
.process-track h3 { grid-area: title; font-size: clamp(2rem,4.4vw,4.7rem); line-height: 1.03; }
.process-track p { grid-area: copy; font-size: clamp(1rem,1.4vw,1.28rem); color: #f4e9e2; }
.process-track aside {
  grid-area: note; align-self: center; margin: .5rem; padding: clamp(1.25rem,3vw,3rem);
  transform: rotate(1deg); background: url(papier.png),#f5e8d4;
  box-shadow: 3px 5px 0 #c5ae94, 6px 10px 0 #a58f7b, 0 18px 35px #1d13194d;
  border: 0; color: #46372e; font: italic clamp(1.35rem,2.6vw,2.65rem)/1.22 var(--heading);
}
.process-track aside b { display:block; margin-bottom: 1.1rem; padding-bottom: .65rem; border-bottom: 1px dashed #ae9479; color: #775339; font: 650 .9rem/1.3 var(--body); }
.process-meter i { background: #edb891; }
@media(max-width:700px) {
  .process-track li { grid-template-columns: 1fr; grid-template-areas: "step" "title" "copy" "note"; padding: 1.4rem 3.25rem 1.6rem 1.25rem; }
  .process-track aside { margin: .75rem .4rem .25rem; }
  .process-track aside b { margin-bottom: .6rem; }
  .process-area > :is(.eyebrow,h2,.process-intro,.process-meter) { margin-inline: 1.25rem 3.15rem; }
}

/* Each chapter occupies the space under the fixed masthead. */
html { scroll-padding-top: var(--header-height); scroll-behavior: auto; }
main > section, .scene-layer > section { min-height: calc(100dvh - var(--header-height)); }
.scene-view .scene { visibility: hidden; }
.scene-view .scene.current { visibility: visible; }
.scene.fading > .scene-layer {
  position: fixed;
  inset: var(--fade-top) 0 auto;
}
.scene.fading #ablauf.sliding { height: var(--pin-height); }
.scene.fading .sliding .process-pin { position: static; }
.hero { display: flex; flex-direction: column; justify-content: center; }
.hero-grid { flex: 1; padding-block: clamp(2rem,4.5vh,4rem); }
#leistungen, #beispiele { align-content: center; }
#ueber-mich { position: relative; padding-bottom: max(6rem,10vh); }
#ueber-mich footer { position: absolute; bottom: 0; inset-inline: 0; }
#ueber-mich footer .wrap { width: 100%; margin-inline: 0; }
.scene-view #ablauf:not(.sliding) { align-content: center; }

:root { --paper:#faf9f8; --ink:#23242a; --muted:#555963; --wash:#eeeef1; --surface:#fff; --line:#d5d4d9; --dark:#121319; --accent:#ff965b; --copper:#98451d; --tint:#f9dfcf; }
[data-theme=dark] { --paper:#101217; --ink:#f5f5f7; --muted:#bfc1cc; --wash:#17191f; --surface:#1d2028; --line:#373b45; --dark:#101116; --accent:#ff965b; --copper:#ffab7d; --tint:#432c26; }
body, .section, :root .examples, :root .about-panel, :root .benefit-bar { background-image:none; }
body { background:radial-gradient(ellipse at 100% 80%,#ff76320c,transparent 45%) fixed,var(--paper); }
.header { background:#111218f5; border-bottom-color:#ff965b35; }
.brand-mark { color:#ffad7d; border-color:#f7925e88; box-shadow:inset 0 0 13px #ff823113; }
.hero, #ablauf { background:radial-gradient(ellipse at 83% 95%,#fb73342b,transparent 43%),radial-gradient(ellipse at 25% 0%,#33384877,transparent 55%),#111319; }
.hero h1 em { color:#ffa36e; text-shadow:0 0 42px #ff81353b; }
.button { background:#ffa065; color:#27190f; box-shadow:0 4px 24px #ff83332b; }
.button:hover { background:#ffb282; }
:root .card, :root .about-panel { border-radius:18px; border:1px solid var(--line); }
.card { box-shadow:inset 0 2px 0 #ff934e55; }
:root .dot-nav a[aria-current]::before { background:#ff9958; box-shadow:0 0 0 3px #ff965b2b,0 0 11px #ff914d99; }
.process-track li,.process-track li:nth-child(even) { background:radial-gradient(ellipse at 80% 100%,#ff782328,transparent 48%),linear-gradient(115deg,#1f222c,#14171e); border-color:#ff965b35; }
.process-track aside { background:#24262e; color:#fff0e7; border:1px solid #ff9a5a66; border-left:3px solid #ff965b; border-radius:12px; transform:none; box-shadow:0 0 40px #ff8a3b17; }
.process-track aside b { color:#ffb182; border-color:#ffad7047; }
.process-meter i { background:#ff965b; box-shadow:0 0 10px #ff853c88; }
.footer { background:transparent; color:var(--muted); border-top:1px solid var(--line); }

.process-track.comparison li {
  grid-template-columns: repeat(2, minmax(0,1fr));
  grid-template-areas: "step step" "title title" "previous proposed";
  gap: .5rem clamp(1.5rem,4vw,5rem);
}
.comparison .previous { grid-area: previous; border-top: 2px solid #737783; }
.comparison .proposed { grid-area: proposed; border-top: 2px solid #ff965b; }
.comparison h4 { margin: .85rem 0 .4rem; color: #cbd0db; font-size: 1rem; }
.comparison .proposed h4 { color: #ffb083; }
.comparison p { color: #edf0f5; }
@media (max-width: 700px) {
  .process-track.comparison li { grid-template-columns: 1fr; grid-template-areas: "step" "title" "previous" "proposed"; }
  .comparison h4 { margin: .45rem 0 .2rem; }
}

.scene-view .scene:not(:last-child) { margin-bottom: calc(-1 * var(--scene-overlap, 0px)); }
.scene-view .scene { position: relative; }
.scene.current:has(#ablauf) .process-pin { background: inherit; }

/* Steps share a stage. Scroll position chooses a step, CSS eases the change. */
.sliding .process-track { display: grid; grid-template-columns: minmax(0,1fr); transform: none; }
.sliding .process-track > li {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateX(5%);
  pointer-events: none;
  transition: opacity .32s ease, transform .4s cubic-bezier(.22,.7,.22,1);
}
.sliding .process-track > .past-step { transform: translateX(-5%); }
.sliding .process-track > .active-step { opacity: 1; transform: none; pointer-events: auto; }
.sliding .process-meter i { transition: transform .35s ease; }

:root[data-theme=light] { color-scheme: light; }
[data-theme=light] .header { background: #fffdfaf7; border-color: #e1d7d0; color: var(--ink); }
[data-theme=light] :is(.hero,#ablauf) {
  background: radial-gradient(ellipse at 83% 95%,#ff934626,transparent 54%), #faf9f8;
  color: var(--ink);
}
:root[data-theme=light] :is(.hero .eyebrow,.process-area .eyebrow,.hero h1 em,.process-track small,.proposed h4,.brand-mark) { color: var(--copper); }
[data-theme=light] :is(.hero-lead,.text-link,.theme,.brand small,.process-intro,.comparison h4,.comparison p) { color: var(--muted); }
[data-theme=light] .text-link { text-decoration-color: var(--copper); }
[data-theme=light] .comparison li { background: linear-gradient(115deg,#fff,#fff3e9); border-color: var(--line); }
[data-theme=light] .comparison li:nth-child(even) { background: linear-gradient(115deg,#fffbf6,#fff); }
[data-theme=light] .process-meter { background: #e7dfd9; }
[data-theme=light] .dot-nav span { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
[data-theme=light] dialog::backdrop { background: #d3c9c18a; }

.mobile-card { display: none; }

@media (orientation: landscape) and (max-height: 520px) and (pointer: coarse) {
  .hero > .hero-grid,
  .hero > .benefit-bar { display: none; }

  .hero > .mobile-card {
    display: grid;
    justify-items: center;
    width: min(80%, 38rem);
    margin-inline: auto;
    gap: .85rem;
    padding-block: clamp(.75rem, 4dvh, 1.5rem);
  }

  .mobile-card-inner {
    display: grid;
    grid-template-columns: clamp(5.25rem, 34dvh, 9rem) minmax(0, 1fr);
    align-items: center;
    gap: clamp(.65rem, 3vw, 1.25rem);
    width: 100%;
    padding: clamp(.75rem, 4dvh, 1.5rem);
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 2px solid var(--copper);
    border-radius: 1rem;
    box-shadow: 0 12px 48px #eb77381f;
  }

  .mobile-card-qr img { display: block; width: 100%; height: auto; border-radius: .35rem; }
  .mobile-card-copy h2 { margin: 0; font: 400 clamp(1.85rem, 7vw, 2.65rem)/1.05 var(--heading); }
  .mobile-card-copy p { margin: .55rem 0 0; line-height: 1.4; }
  .mobile-card-copy .mobile-card-title { margin-top: .25rem; color: var(--copper); font-weight: 700; }
}

@media (max-width: 400px) {
  .header-inner { gap: .5rem; }
  .header-inner .brand { gap: .5rem; }
  .header-inner .brand-mark { width: 36px; height: 36px; }
  .header-inner .button-small { padding-inline: .6rem; }
  .header-inner .theme { display: grid; place-items: center; flex: 0 0 2.25rem; min-height: 2.25rem; padding: 0; font-size: 0; }
  .header-inner .theme::after { content: "☾"; font-size: 1.15rem; line-height: 1; }
  [data-theme=dark] .header-inner .theme::after { content: "☀"; }
}

.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }

.footer-legal {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.footer-legal { color: inherit; }
.footer-legal:hover { text-decoration: underline; text-underline-offset: .3em; }

.legal-dialog section + section { margin-top: 1.25rem; }
.legal-dialog h3 { margin-bottom: .4rem; }
.legal-dialog address { font-style: normal; }
.legal-draft {
  padding: .85rem 1rem;
  border-inline-start: 3px solid var(--accent);
  background: var(--paper);
}

.legal-dialog { overscroll-behavior: contain; }
