:root {
  color-scheme: light dark;
  --canvas: #f2f4f5;
  --panel: #fff;
  --ink: #123631;
  --text: #263d39;
  --muted: #4c645f;
  --accent: #1f665e;
  --line: #cbd6d3;
  --mint: #d3ebe1;
  --wash: #e2eee9;
  --glass: rgb(248 255 252 / 76%);
  --glass-edge: rgb(255 255 255 / 90%);
  --glass-shadow: 0 8px 26px #123b3212, inset 0 1px 1px var(--glass-edge);
  --halo: #daeae4;
  --sky: #e2e8f4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--canvas);
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #16191c;
    --panel: #222629;
    --ink: #e7f2ef;
    --text: #dce5e3;
    --muted: #adc1ba;
    --accent: #86ccbb;
    --line: #3d504c;
    --mint: #2f5046;
    --wash: #263a35;
    --glass: rgb(29 44 43 / 83%);
    --glass-edge: rgb(215 250 237 / 24%);
    --halo: #263d37;
    --sky: #292e42;
  }
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, dl, dd { margin: 0; }
body {
  line-height: 1.55;
  background: radial-gradient(ellipse 52rem 31rem at 90% 0, var(--sky), transparent),
              radial-gradient(ellipse 48rem 30rem at 10% 12rem, var(--halo), transparent), var(--canvas);
}
html { scroll-padding-block-start: 6rem; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(76rem, 90%); margin-inline: auto; }
.skip { position: absolute; transform: translateY(-160%); z-index: 3; background: var(--panel); padding: .75rem; }
.skip:focus { transform: none; z-index: 5; }
.masthead { position: sticky; top: .6rem; z-index: 4; padding-top: .1px; margin-top: .6rem; }
.masthead nav { column-gap: .25rem; padding: .35rem .7rem; border-radius: 2rem; }
.masthead nav, .topics {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--glass-shadow);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .masthead nav, .topics {
    background: var(--glass);
    border-color: var(--glass-edge);
    -webkit-backdrop-filter: blur(23px) saturate(155%);
    backdrop-filter: blur(23px) saturate(155%);
  }
}
.masthead nav > a:not(.brand) { padding-inline: .8rem; border-radius: 2rem; }
.masthead nav > a:is(:hover, [aria-current]) { background: var(--wash); }
.masthead .brand { margin-inline-start: .2rem; }
nav, .footer { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2rem); flex-wrap: wrap; }
nav { padding-block: .7rem; }
nav a, .footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; }
nav a { text-decoration: none; font-weight: 550; }
.brand { gap: .55rem; margin-right: auto; color: var(--ink); font-size: 1.3rem; font-weight: 700; text-decoration: none; }
.hero { padding-block: clamp(2.5rem, 5vw, 5rem); }
.hero-copy { display: grid; grid-template-columns: 1.05fr 1fr; align-items: end; gap: 7%; margin-bottom: clamp(1.7rem, 3.8vw, 3rem); }
.hero-title { max-width: 35rem; }
.hero-title h1 { line-height: .98; }
.hero-intro .lead { max-width: 49ch; margin: 0 0 1rem; }
.platform { margin: 0 0 .75rem; color: var(--accent); font-weight: 650; }
h1, h2, h3 { color: var(--ink); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 5.9vw, 5.5rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); }
.lead { font-size: 1.15rem; max-width: 39ch; margin-block: 1.5rem 1.8rem; }
.primary {
  display: inline-flex; align-items: center; min-height: 44px; padding: .7rem 1.25rem;
  border-radius: 2rem; border: 1px solid #388277; color: white; font-weight: 650; text-decoration: none;
  background: linear-gradient(165deg, #337e72, #18554f);
  box-shadow: inset 0 1px 1px #dcfff67a, 0 4px 12px #164c4226;
}
.devices {
  display: grid; grid-template-columns: minmax(0, 3.5fr) minmax(0, 1fr); align-items: center;
  gap: clamp(.85rem, 2.4vw, 2rem); padding: clamp(1.1rem, 3.6vw, 3.2rem);
  border-radius: clamp(1.3rem, 3vw, 2.5rem); border: 1px solid #608b7c55;
  background: radial-gradient(ellipse at 85% 12%, #cbd9eb 0, transparent 50%),
              radial-gradient(ellipse at 0% 95%, #6aa696, transparent 63%), #c3ded3;
}
.devices .capture img { max-height: 30rem; border-radius: .6rem; box-shadow: 0 .8rem 2rem #102c2638; }
.devices .capture:last-child img { border-radius: 10% / 4.6%; }
.devices figcaption { color: #173c36; font-weight: 600; }
@media (prefers-color-scheme: dark) {
  .devices { background: radial-gradient(ellipse at 85% 12%, #39465f, transparent 55%),
                         radial-gradient(ellipse at 0% 95%, #316658, transparent 65%), #1e3934; }
  .devices figcaption { color: #deeee9; }
}
.capture { min-width: 0; }
.capture a { display: block; width: fit-content; max-width: 100%; margin-inline: auto; }
.capture img { max-height: 31rem; object-fit: contain; box-shadow: 0 .4rem 1.4rem #102c2624; }
figcaption { margin-top: .75rem; text-align: center; font-size: .9rem; color: var(--muted); }
.band { padding-block: clamp(3rem, 6vw, 6rem); background: var(--panel); }
.story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8%; align-items: center; padding-block: clamp(2.4rem, 5vw, 4.5rem); border-bottom: 1px solid var(--line); }
.story:last-child { padding-bottom: 0; border: 0; }
.copy { max-width: 45ch; }
.copy p:last-child { margin-bottom: 0; }
.reverse .copy { grid-column: 2; grid-row: 1; }
.reverse .capture { grid-column: 1; grid-row: 1; }
.files { display: grid; grid-template-columns: 1fr 1.1fr; gap: 7%; padding-block: clamp(3rem, 7vw, 7rem); }
dt { color: var(--ink); font-size: 1.1rem; font-weight: 650; }
dd { margin-block: .3rem 1.2rem; }
.footer { border-top: 1px solid var(--line); padding-block: 1rem; }
.catalog + .footer { justify-content: flex-end; }
@media (max-width: 48rem) {
  .hero-copy, .story, .files { grid-template-columns: minmax(0, 1fr); gap: 1.7rem; }
  .hero { padding-block: 3rem; }
  .copy, .lead { max-width: 55ch; }
  .reverse .copy, .reverse .capture { grid-column: auto; grid-row: auto; }
}

@media (max-width: 32rem) {
  .devices { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .devices .capture:last-child img { max-height: 22rem; }
}

.catalog { padding-block: clamp(2rem, 5vw, 4.5rem); }
.catalog-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.catalog-heading h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.catalog-heading p { max-width: 46ch; margin: 0; color: var(--muted); font-size: 1.1rem; }
.topics {
  display: flex;
  gap: .25rem;
  border-radius: 1.25rem;
  padding: .35rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}
.topics a {
  justify-content: center;
  flex: 1 0 auto;
  padding: .4rem .8rem;
  border-radius: .95rem;
  color: var(--text);
}
.topics a:hover { background: var(--wash); }
.topics [aria-current] { background: var(--accent); color: var(--panel); font-weight: 700; }
.topics [aria-current]:hover { background: var(--accent); }
.masthead nav > [aria-current] { font-weight: 700; }
.chapter { scroll-margin-block-start: 5.2rem; }
.chapter:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.spotlight {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: clamp(1.25rem, 2.5vw, 2rem);
  overflow: hidden;
}
.spotlight-copy { align-self: center; padding: clamp(1.6rem, 3vw, 3rem); }
.spotlight h2 { font-size: clamp(1.9rem, 3.2vw, 3.15rem); hyphens: auto; }
.spotlight-copy > p:last-child { margin: 1rem 0 0; max-width: 45ch; color: var(--muted); }
.spotlight .platform { font-size: .95rem; }
.app-views {
  --stage-a: #cfebe0;
  --stage-b: #a4bbcf;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.6rem, 1.6vw, 1.5rem);
  padding: clamp(1.2rem, 2.6vw, 2.5rem);
  background: linear-gradient(140deg, var(--stage-a), var(--stage-b));
}
#markt .app-views, #import .app-views { --stage-a: #d7e4f2; --stage-b: #b7c8dc; }
#immobilien .app-views, #planung .app-views { --stage-a: #eee2d3; --stage-b: #c4cfbb; }
.app-views .capture { flex: 3.4; }
.app-views .capture + .capture { flex: 1; }
.app-views .capture img { max-height: 25rem; border-radius: .45rem; box-shadow: 0 .55rem 1.2rem #102c262b; }
.app-views .capture + .capture img { border-radius: 10% / 4.6%; }
.app-views figcaption { color: #233d40; font-weight: 600; font-size: .875rem; }
.app-views a:focus-visible { outline-color: #164c42; }
#dateien .spotlight { grid-template-columns: minmax(0, 1fr); border-inline-start: .4rem solid var(--accent); }
#dateien .spotlight-copy > p:last-child { max-width: 65ch; }
.chapter h3 { margin: clamp(2rem, 4vw, 3.5rem) 0 1rem; font-size: clamp(1.55rem, 2.3vw, 2rem); }
.chapter dl { border-top: 1px solid var(--line); }
.chapter dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: baseline;
  gap: 2rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.chapter dt { font-size: 1.12rem; }
.chapter dd { max-width: 76ch; margin: 0; }
@media (prefers-color-scheme: dark) {
  .app-views { background: linear-gradient(140deg, color-mix(in srgb, var(--stage-a) 30%, #122224), #233b42); }
  .app-views figcaption { color: #ecf4f3; }
  .app-views a:focus-visible { outline-color: white; }
}
@media (max-width: 60rem) {
  .spotlight { grid-template-columns: minmax(0, 1fr); }
  .spotlight-copy > p:last-child { max-width: 65ch; }
}
@media (max-width: 40rem) {
  .catalog-heading, .chapter dl > div { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .topics a { flex: 1 1 6rem; padding-inline: .5rem; }
  .chapter { scroll-margin-block-start: .5rem; }
  .app-views { flex-wrap: wrap; gap: 1.25rem; }
  .app-views .capture { flex: 1 0 100%; }
  .app-views .capture + .capture { flex: 0 1 10rem; }
}
@media (forced-colors: active) {
  .topics [aria-current] { outline: 2px solid Highlight; outline-offset: -2px; }
}

.language-picker {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--wash);
}
.language-picker > * {
  display: grid;
  place-items: center;
  min-inline-size: 44px;
  min-block-size: 44px;
  padding-inline: .5rem;
  border-radius: inherit;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--text);
}
.language-picker [aria-current] {
  background: var(--accent);
  color: var(--panel);
  font-weight: 750;
  box-shadow: inset 0 1px 1px var(--glass-edge);
}
.language-picker a:hover { background: var(--panel); text-decoration: none; }
.language-picker a:focus-visible { outline-offset: -3px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (forced-colors: active) {
  .language-picker [aria-current] { outline: 2px solid Highlight; outline-offset: -2px; }
}
@media (max-width: 40rem) {
  html { scroll-padding-block-start: 1rem; }
  .masthead { position: relative; top: 0; }
  .masthead nav { display: grid; grid-template-columns: 1fr auto; gap: .15rem; align-items: center; border-radius: 1.4rem; }
  .masthead .language-picker { grid-column: 2; grid-row: 1; justify-self: end; }
  .masthead nav > a:not(.brand) { grid-row: 2; justify-self: start; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more), (forced-colors: active) {
  .masthead nav, .topics, .language-picker {
    background: var(--panel); border-color: currentColor; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
}
.legal { max-width: 46rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.legal h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.legal h3 { margin: 1.5rem 0 .5rem; font-size: 1.2rem; letter-spacing: -.015em; }
.legal h2 { margin: 2rem 0 .6rem; font-size: 1.65rem; letter-spacing: -.025em; }
.legal address { font-style: normal; line-height: 1.7; }
.legal p { margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
.hero-actions a { display: inline-flex; align-items: center; min-height: 44px; }
.project { border-top: 1px solid var(--line); }
.project p { max-width: 46ch; }

.downloads { max-width: 62rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.downloads h1 { font-size: clamp(2.4rem, 5vw, 4rem); hyphens: auto; }
.downloads h2 { font-size: clamp(1.45rem, 2.8vw, 2.2rem); }
.download-release, .store-option {
  display: flex; align-items: flex-start; gap: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line); border-radius: 1.4rem; background: var(--panel);
  padding: clamp(1.25rem, 3vw, 2.25rem);
}
.download-release { background: linear-gradient(125deg, var(--wash), var(--panel) 70%); }
.download-release p { max-width: 58ch; }
.download-release .hero-actions { margin-top: 1.2rem; }
.store-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.store-option .platform { font-size: .9rem; }
.store-option p:last-child { color: var(--muted); margin: .6rem 0 0; }
.device-icon {
  position: relative; flex: none; width: 3rem; height: 3rem;
  display: grid; place-items: center; color: var(--accent); background: var(--wash); border-radius: .8rem;
}
.device-icon::before { content: ""; border: 2px solid currentColor; }
.device-icon.phone::before { width: .8rem; height: 1.4rem; border-radius: .25rem; }
.device-icon.mac::before { width: 1.5rem; height: 1rem; border-radius: .2rem; }
.device-icon.mac::after { content: ""; width: .85rem; border-bottom: 2px solid currentColor; position: absolute; bottom: .7rem; }
@media (max-width: 40rem) {
  .masthead nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .masthead .brand { grid-column: span 2; }
  .masthead .language-picker { grid-column: 3; }
  .masthead nav > a:not(.brand) { justify-self: stretch; justify-content: center; padding-inline: .2rem; }
  .store-options { grid-template-columns: minmax(0, 1fr); }
  .download-release { flex-direction: column; }
}
