/* An editorial atlas. Content stays on a reading plane; its surrounding sheets move. */
:root {
  --atlas-paper: #fafaf6;
  --atlas-ink: #172831;
  --atlas-rule: #c8d1cd;
  --atlas-blue: #174cba;
  --atlas-pale: #ebf1f7;
  --atlas-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --atlas-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
body { background: var(--atlas-paper); }
.demo-banner { color: #e6eef1; background: #20343d; border: 0; }
.demo-banner strong { color: #fff; }
.demo-banner-inner { min-height: 30px; font-size: 12px; }
.demo-banner a { color: #e3edff; }
.site-header { border-bottom: 1px solid var(--atlas-rule); background: #fafaf6f5; }
.site-header .brand, .site-footer .brand { color: var(--atlas-ink); }
.nav-links a[aria-current="page"]:not(.button) { color: var(--atlas-blue); text-decoration: underline; text-underline-offset: 6px; }
.nav-links .button-primary, .hero-copy .button-primary, .section .button-primary,
.cta-section .button-primary, .auth-card .button-primary, .workspace-main .button-primary {
  color: white; background: var(--atlas-blue); border-color: var(--atlas-blue); border-radius: 7px;
  box-shadow: 0 2px 0 #102f75;
}
.nav-links .button-primary:hover, .hero-copy .button-primary:hover, .section .button-primary:hover,
.auth-card .button-primary:hover, .workspace-main .button-primary:hover { background: #113c98; }
.nav-links a, .section-directory a { font-weight: 600; }
.hero-copy .button-secondary, .section .button-secondary, .workspace-main .button-secondary { border-radius: 7px; border-color: #9cacae; color: #203943; }
.atlas-hero { background: linear-gradient(100deg, #fafaf6 22%, #f7f9fc 70%); border-bottom: 0; }
.atlas-hero .hero { min-height: 0; padding-block: clamp(32px, 5vw, 76px); }
.hero-copy .hero-index, .hero-copy .eyebrow, .section .kicker, .cta-section .kicker {
  display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: #325064;
  font: 650 11px/1.4 var(--atlas-mono); text-transform: uppercase; letter-spacing: .09em;
}
.hero-copy .hero-index::before, .hero-copy .eyebrow::before, .section .kicker::before, .cta-section .kicker::before {
  content: ""; display: inline-block; width: 26px; height: 3px; border-radius: 0; background: #d77b4a; box-shadow: none; flex: none;
}
.atlas-hero h1, .product-hero h1, .page-hero h1, .auth-story h1 {
  color: var(--atlas-ink); font-family: var(--atlas-serif); font-weight: 500; line-height: 1.01; letter-spacing: -.055em;
}
.atlas-hero h1 { font-size: clamp(3.45rem, 6.3vw, 7rem); }
.atlas-hero h1 span { color: var(--atlas-blue); font-style: italic; }
.hero-copy .lead { max-width: 46ch; color: #415561; font-size: clamp(1rem, 1.18vw, 1.17rem); line-height: 1.65; }
.product-hero { background: linear-gradient(120deg, var(--atlas-paper) 35%, #eaf1f7); border-bottom: 1px solid var(--atlas-rule); }
.product-hero .page-hero { min-height: 0; padding-block: clamp(44px, 6vw, 90px); }
.product-hero h1, .page-hero h1 { font-size: clamp(2.9rem, 5.5vw, 6rem); }
.section-directory { background: var(--atlas-ink); color: white; }
.section-directory .container { display: flex; flex-wrap: wrap; gap: 0 clamp(22px, 4vw, 64px); align-items: center; min-height: 64px; }
.section-directory span { color: #c5d4dc; font: .71rem var(--atlas-mono); letter-spacing: .09em; text-transform: uppercase; }
.section-directory a { color: white; font-size: .92rem; display: inline-flex; align-items: center; min-height: 46px; text-decoration: none; }
.section-directory a:hover, .section-directory a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.section, .section-white, .section#preise { background: var(--atlas-paper); border-color: var(--atlas-rule); }
.section-heading h2, .section-heading-row h2, .split > div > h2, .cta-section h2 {
  font: 500 clamp(2.15rem, 4.1vw, 4.7rem)/1.04 var(--atlas-serif); letter-spacing: -.044em; color: var(--atlas-ink); text-wrap: balance;
}
.story-band .feature, .feature-grid .feature, .pricing-grid .plan { border-radius: 10px; color: var(--atlas-ink); }
.story-band .feature { background: #fff; border: 1px solid var(--atlas-rule); box-shadow: 0 7px 0 -3px #e3e8e1; }
.story-band .feature:nth-child(n) { margin-top: 0; }
.story-band .feature-visual { border-radius: 6px; background-color: var(--atlas-pale); }
.section#erleben { background: #e7eef2; border-block: 1px solid #c9d5d9; }
.section#erleben .demo-workbench { border-radius: 12px; background: #fff; border: 1px solid #a9babf; box-shadow: 6px 8px 0 -1px #c1ced2, 12px 16px 0 -3px #d4dfe1; }
.demo-tabs button[aria-pressed="true"], .billing-toggle button[aria-pressed="true"] { color: #fff; background: var(--atlas-blue); }
.section#preise .pricing-grid { align-items: stretch; }
.section#preise .plan:nth-child(2) { transform: none; }
.pricing-grid .plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--atlas-rule); }
.pricing-grid .plan .button { margin-top: auto; }
.pricing-grid .plan-featured { background: #f2f6ff; border-color: #7490ba; box-shadow: 0 5px 0 -1px #ccdbed; }
.pricing-scene .price-column .monthly, .pricing-scene .price-column .annual { color: inherit; font: inherit; }
html[data-billing="monthly"] .annual, html[data-billing="annual"] .monthly { display: none !important; }
.section .faq details { border-color: var(--atlas-rule); }
.cta-section { min-height: 320px; background: var(--atlas-ink); color: #f3f5ef; }
.cta-section h2, .cta-section .kicker { color: #f3f5ef; }
.site-footer { border-color: var(--atlas-rule); background: #edf0e9; color: var(--atlas-ink); }
.site-footer a:hover { color: var(--atlas-blue); }
.auth-layout { align-items: start; }
.auth-layout::before { border-radius: 0; background: linear-gradient(110deg,#edf0e9,transparent 65%); }
.auth-story h1 { font-size: clamp(2.7rem, 5vw, 5rem); }
.auth-card, .workspace-grid .content-card { border-radius: 12px; border: 1px solid var(--atlas-rule); }
.auth-card { background: #fff; box-shadow: 4px 6px 0 -1px #d4dfda, 9px 12px 0 -3px #e5eae2, 0 24px 52px -39px #253e43; }
.auth-card input, .workspace-main :is(input,select,textarea) { border-color: #acbabd; border-radius: 6px; font-size: 1rem; }
.auth-card a:not(.button), .auth-text-button { color: #18469a; }
.workspace-shell { background: var(--atlas-paper); }
.workspace-main { min-width: 0; background: var(--atlas-paper); }
.workspace-sidebar { background: #eaf0ed; border-color: var(--atlas-rule); }
.workspace-sidebar .is-active, .workspace-nav-link:hover { color: #153e7a; background: #d9e6ed; }
.workspace-heading { border: 0; border-top: 3px solid #284556; border-bottom: 1px solid var(--atlas-rule); border-radius: 0; background: transparent; box-shadow: none; }
.workspace-heading h1 { color: var(--atlas-ink); font: 500 clamp(2.45rem, 4.8vw, 4.7rem)/1.06 var(--atlas-serif); letter-spacing: -.045em; }
.workspace-grid .content-card { border-top: 3px solid #879eaa; box-shadow: 0 5px 0 -2px #e4eae4; }
.workspace-grid button:disabled { cursor: default; }
.auth-card .auth-feedback-error { color: #822938 !important; background: #fff0ee; border-color: #dba59f; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .atlas-hero .hero-copy, .product-hero .hero-copy, .section .mini-address, .section .mini-place,
    .section .mini-coordinate, .cta-section .container { animation: atlas-sheet-drift linear both; animation-timeline: view(); }
    .atlas-hero .hero-copy, .product-hero .hero-copy { --sheet-near: 6px; --sheet-far: -15px; }
    .section .mini-address { --sheet-near: 11px; --sheet-far: -13px; }
    .section .mini-coordinate { --sheet-near: 15px; --sheet-far: -10px; }
    .section .mini-place { --sheet-near: 18px; --sheet-far: -14px; }
    .cta-section .container { --sheet-near: 8px; --sheet-far: -8px; }
    @keyframes atlas-sheet-drift { from { translate: 0 var(--sheet-near); } to { translate: 0 var(--sheet-far); } }
    /* The foreground controls stay still while their rear sheets recede. */
    :is(.demo-workbench,.auth-card,.workspace-heading,.legal-layout article,.section .content-card) { position: relative; isolation: isolate; }
    :is(.demo-workbench,.auth-card,.workspace-heading,.legal-layout article,.section .content-card)::before {
      content: ""; position: absolute; inset: 8px -3px -4px 8px; z-index: -1; pointer-events: none; border-bottom: 2px solid #91aabd;
      transform-origin: center top; animation: atlas-sheet-edge linear both; animation-timeline: view();
    }
    @keyframes atlas-sheet-edge { from { transform: perspective(750px) rotateX(4deg) translate3d(0,6px,-2px); } to { transform: perspective(750px) rotateX(-3deg) translate3d(0,-3px,-8px); } }
  }
}
@media (max-width: 860px) {
  .section-directory .container { gap: 0 22px; padding-block: 8px; }
  .section-directory span { flex-basis: 100%; margin-top: 5px; }
  .product-hero .page-hero { padding-block: 38px; }
  .atlas-hero h1 { font-size: clamp(3.3rem, 9.5vw, 5.5rem); }
}
@media (max-width: 640px) {
  .section-directory .container { column-gap: 18px; }
  .section-directory a { font-size: .85rem; }
  .demo-banner-inner { gap: 6px; }
  .demo-banner-inner > a { display: none; }
  .auth-story .workspace-logo { margin-bottom: 14px; }
  .auth-story h1 { font-size: 2.15rem; }
  .auth-layout { gap: 17px; }
  .auth-card { padding: 20px; }
  .workspace-heading { padding: 18px 0; }
}

.demo-banner .demo-banner-inner > .language-switch {
  display: inline-flex;
  align-items: center;
  align-self: center;
  min-height: 32px;
  margin-inline-start: auto;
  padding-inline: 10px 0;
  color: #fff;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.language-switch:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
html:lang(en) .data-list:empty::before { content: "No entries loaded yet."; }
html:lang(en) .pricing-scene::after { content: "REQUESTS / MONTH"; }
