:root:not([data-theme="dark"]) {
  color-scheme: light;
  --bg: #f7f5ef;
  --card: #fffdf9;
  --text: #172e40;
  --muted: #4b606d;
  --accent: #086c9a;
  --accent-light: #075780;
  --line: #d3dce0;
}

.header { background: #f7f5eff5; }
.brand-filter { position: absolute; pointer-events: none; }
.wordmark img, .package-logo { filter: url("#wordmark-on-light"); }
.nav-links a:hover, .footer a:hover { color: var(--accent); }
.skip { background: var(--text); color: white; }

.hero {
  min-height: clamp(510px, 73svh, 760px);
  color: #fff;
  background: #142c3c;
}
.hero::before { background-position: center 62%; }
.hero::after {
  background: linear-gradient(180deg, #10253555, #102535c7 58%, #102535e6);
}
.hero-copy { --accent: #78d5ff; }
.hero .hero-intro { color: #f2f6f8; }
.intro, .statement-copy .intro { color: var(--muted); }
em { color: var(--accent-light); background: none; -webkit-text-fill-color: currentColor; }
.hero em { color: #c9ebfb; }
.primary { background: var(--text); color: white; }
.primary:hover { background: var(--accent-light); }
.secondary { border-color: #a7b9c4; background: transparent; color: var(--text); }
.secondary:hover { background: #e4edf1; border-color: var(--accent); }

.statement {
  margin-block-start: clamp(28px, 5vw, 70px);
  background: linear-gradient(120deg, #eef2f2, #dde9ef);
}
.strategy, .production, .creators, .paid,
.packages .package-level, .package-options { --tint: #edf3f5; }
.packages .package-featured, .packages .trial-reel, .package-base { --tint: #dceef6; }
.packages .package-custom { --tint: #eeeae1; }
.package-level summary:hover { color: var(--accent-light); }
.contact { background: #e7eef1; }
.footer { color: var(--text); }

.hero .primary { background: #f7f5ef; color: var(--text); }
.hero .primary:hover { background: #dceef6; }
.hero .secondary { color: #fff; border-color: #c3d7e1; }
.hero .secondary:hover { background: #19394c; }

@media (max-width: 680px) {
  .hero { min-height: 490px; }
  .hero::before { background-position: center; }
}


.process {
  margin-block-end: clamp(56px, 8vw, 104px);
  padding: clamp(26px, 5vw, 64px);
  gap: clamp(28px, 5vw, 64px);
  border: 1px solid #b9cdd8;
  border-radius: 26px;
  background: linear-gradient(125deg, #e7f0f4, var(--card) 78%);
}
.process h2 { line-height: 1.1; }
.process .steps {
  padding-inline: clamp(16px, 2.5vw, 28px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.process .steps details:last-child { border-bottom: 0; }

@media (max-width: 680px) {
  .process { border-radius: 22px; }
}

.statement-preview { margin: 0; }
.statement-preview figcaption { text-align: center; color: var(--muted); font-size: .84rem; }

[data-theme="dark"] {
  & .header { background: #080809e8; }
  & .wordmark img, & .package-logo { filter: url("#wordmark-on-dark"); }
  & .skip, & .process { background: var(--card); }
  & .process { border-color: var(--line); }
  & .statement { background: radial-gradient(ellipse at 90% 45%, #193541, var(--card) 70%); }
  & .strategy, & .production, & .creators, & .paid { --tint: #192f39; }
  & .package-base, & .package-options { --tint: #18242b; }
  & .packages .package-level { --tint: #172127; }
  & .packages .package-featured, & .packages .trial-reel { --tint: #193541; }
  & .packages .package-custom { --tint: #24333e; }
  & .contact { background: radial-gradient(ellipse at 50% 100%, #18313d, transparent 65%), #0e1418; }
  & .primary { background: #f5f5f7; color: #101014; }
  & .primary:hover { background: var(--accent-light); }
  & .secondary { background: #0e0f18b3; border-color: #ffffff55; color: var(--text); }
  & .secondary:hover { background: #23343c; border-color: #ffffff8c; }
}

.nav-actions { display: flex; gap: clamp(8px, 1.8vw, 20px); align-items: center; }
.theme-toggle {
  position: relative;
  isolation: isolate;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 104px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #e3e9ed;
  color: var(--text);
  font: inherit;
  font-size: .76rem;
  font-weight: 650;
  cursor: pointer;
}
.theme-toggle[hidden] { display: none; }
.theme-toggle::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 3px auto 3px 3px;
  width: calc((100% - 6px) / 2);
  border-radius: inherit;
  background: #fff;
  box-shadow: 0 1px 4px #132b4233;
  transition: transform 240ms cubic-bezier(.22, .75, .25, 1);
}
.theme-toggle[aria-pressed="true"]::before { transform: translateX(100%); }
.theme-toggle span { padding-block: 5px; text-align: center; }
[data-theme="dark"] .theme-toggle { background: #23343e; color: #eef5f8; }
[data-theme="dark"] .theme-toggle::before { background: #b5e9fb; }
.theme-toggle[aria-pressed="true"] .theme-dark { color: #172e40; }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .theme-toggle::before { transition: none; }
}

@media (681px <= width <= 900px) {
  .nav { gap: 12px; }
  .nav-links { gap: 12px; }
}

/* Keep both photos in separate layers so the switch can crossfade them. */
.hero {
  background: #142c3c url("/assets/koenigstrasse-buero-nacht-licht.jpg") center 58% / cover no-repeat;
}
.hero::before {
  background-image: url("/assets/koenigstrasse-buero.jpg");
  background-position: center 58%;
}
[data-theme="dark"] .hero::before { opacity: 0; }
.hero::after {
  background: radial-gradient(ellipse at center, #102535bb, #10253525 95%),
    linear-gradient(180deg, #10253525, #102535b3);
}

@media (max-width: 680px) {
  .hero, .hero::before { background-position: 54% center; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before { transition: opacity 560ms ease-in-out; }
  body, .header, .statement, .tile, .process, .process .steps, .contact,
  .theme-toggle, .theme-toggle::before {
    transition-property: background-color, color, border-color;
    transition-duration: 420ms;
    transition-timing-function: ease-in-out;
  }
  .theme-toggle::before {
    transition-property: transform, background-color;
    transition-duration: 240ms, 420ms;
  }
}

.hero .actions { align-items: center; }
.hero-trial { flex-direction: column; gap: 2px; padding-block: 10px; text-align: center; }
.hero-trial > span { margin-left: 0; }
.hero-trial small { font-size: .75rem; font-weight: 500; line-height: 1.35; }
.package-flexibility { margin: 14px 0 0; color: var(--accent-light); }
