@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
}

:root {
  --ink: #171916;
  --paper: #f4f2ed;
  --cream: #f5f2e9;
  --muted: #6d716a;
  --muted-dark: #b9beb5;
  --line: rgba(23, 25, 22, 0.14);
  --line-strong: rgba(23, 25, 22, 0.28);
  --acid: #b8f45f;
  --peach: #ffd5bd;
  --foam: #f7f4ee;
  --sage: #e7f3d8;
  --copper: #8d6a48;
  --verdigris: #b8f45f;
  --spruce: #171916;
  --max: 1240px;
  --sans: "IBM Plex Sans", ui-sans-serif, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --serif: var(--sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h1 { font-size: clamp(56px, 7vw, 104px); }
h2 { font-size: clamp(40px, 5vw, 72px); }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
em { font-style: normal; color: var(--acid); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--acid); color: #182014;
  padding: 8px 12px; z-index: 30;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--acid); outline-offset: 3px; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  min-height: 82px; padding: 0 28px;
  background: #171916; color: var(--cream);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; letter-spacing: -0.02em; }
.mark {
  width: 18px; height: 18px; border-radius: 5px;
  background: linear-gradient(135deg, var(--peach), var(--acid) 55%, #26322c);
}
.brand-name { display: grid; gap: 1px; line-height: 1.05; }
.brand-name strong { display: block; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; white-space: nowrap; }
.brand-name span {
  display: block; font-family: var(--mono); font-size: 12px; font-weight: 400;
  letter-spacing: 0.04em; line-height: 1.35; white-space: nowrap; color: #8e948c;
}
.desktop-nav { display: flex; gap: 22px; justify-self: center; }
.desktop-nav a { color: #c5c8c0; font-size: 15px; font-weight: 500; }
.desktop-nav a[aria-current="page"] { color: var(--cream); box-shadow: inset 0 -1px 0 var(--acid); }
.header-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.menu-toggle {
  display: none; width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid rgba(245, 242, 233, 0.35); background: transparent; padding: 0;
}
.menu-toggle span { display: block; width: 16px; height: 1px; margin: 5px auto; background: var(--cream); }
.menu-panel {
  position: sticky; top: 82px; z-index: 19; background: #1e211d; color: var(--cream); padding: 18px 22px 26px;
}
.menu-panel[hidden] { display: none; }
.menu-panel nav { display: grid; gap: 14px; }
.menu-panel a { font-size: 28px; letter-spacing: -0.02em; }

.pill {
  border: 1px solid currentColor; border-radius: 999px; padding: 11px 17px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}
.pill:hover { transform: translateY(-2px); opacity: 0.82; }
.pill.ink { background: var(--acid); color: #182014; border-color: var(--acid); }
.pill.ghost { background: transparent; }
.site-header .pill { color: var(--cream); border-color: rgba(245, 242, 233, 0.4); background: transparent; }
.text-link { font-weight: 600; border-bottom: 1px solid var(--acid); font-size: 15px; }
.eyebrow {
  display: block; margin-bottom: 14px; font-family: var(--mono); font-size: 12px; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }

.hero {
  position: relative; min-height: 760px; overflow: hidden;
  background: #171916; color: var(--cream);
}
.hero-copy { position: relative; z-index: 2; max-width: 680px; padding: 72px 0 180px; }
.hero h1 { max-width: 640px; }
.hero h1.bavaria:hover span {
  animation: bavaria-colors 1.6s linear infinite;
  animation-delay: calc(var(--i) * -0.1s);
}
@keyframes bavaria-colors {
  0%, 49.9% { color: #ffffff; }
  50%, 100% { color: #0098d4; }
}
.hero p { max-width: 36rem; margin-top: 22px; color: #d5d8d1; font-size: 18px; line-height: 1.6; }
.hero .pill.ghost { color: var(--cream); border-color: rgba(245, 242, 233, 0.45); }
.film-cloud { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.tile {
  position: absolute; display: block; overflow: hidden; border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  background: linear-gradient(135deg, #81908a, #26322c 48%, #bd835f);
  pointer-events: auto;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255, 213, 189, 0.28), transparent 42%, rgba(184, 244, 95, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: inherit;
}
.t1 { width: 300px; height: 188px; right: 4%; top: 14%; transform: rotate(7deg); }
.t2 { width: 240px; height: 156px; right: 22%; top: 40%; transform: rotate(-7deg); }
.t3 { width: 168px; height: 112px; right: 8%; bottom: 10%; transform: rotate(5deg); }
.t4 { width: 150px; height: 98px; right: 34%; top: 8%; transform: rotate(-4deg); opacity: 0.72; }
.t5 { width: 190px; height: 122px; right: 30%; bottom: 6%; transform: rotate(8deg); opacity: 0.55; }
.t1:hover { transform: rotate(7deg) scale(1.3); z-index: 2; }
.t2:hover { transform: rotate(-7deg) scale(1.3); z-index: 2; }
.t3:hover { transform: rotate(5deg) scale(1.3); z-index: 2; }
.t4:hover { transform: rotate(-4deg) scale(1.3); z-index: 2; opacity: 1; }
.t5:hover { transform: rotate(8deg) scale(1.3); z-index: 2; opacity: 1; }
.hero-copy { width: min(640px, 52%); }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.wrap.hero-copy { width: min(620px, 46%); margin-right: auto; margin-left: max(24px, calc((100% - 1240px) / 2)); }
.section { padding: 110px 0; }
.dark { background: #171916; color: var(--cream); }
.dark .eyebrow, .closing .eyebrow { color: var(--muted-dark); }
.section-head { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.section-head p, .prose p, .legal p, .legal li { color: var(--muted); line-height: 1.65; }
.dark .section-head p, .dark .prose p { color: #d0d3cc; font-size: 18px; line-height: 1.6; }
.peek { padding-top: 36px; }

.engine { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
.side-card, .diagram {
  border: 1px solid rgba(255, 255, 255, 0.1); background: #1e211d; border-radius: 26px;
}
.side-card { padding: 28px; }
.step-list { margin-top: 22px; }
.step-line { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); font-family: var(--mono); font-size: 13px; font-weight: 400; color: #b7bbb4; }
.step-line.active { color: var(--acid); }
.diagram { position: relative; overflow: hidden; aspect-ratio: 1800 / 1012; }
.diagram img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.diagram .label {
  position: absolute; left: 18px; bottom: 16px; z-index: 2; font-family: var(--mono);
  font-size: 12px; font-weight: 400; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cream);
}

.gradient {
  background:
    radial-gradient(circle at 14% 15%, #dfffa8, transparent 27%),
    radial-gradient(circle at 90% 12%, #ffd5e1, transparent 27%),
    linear-gradient(145deg, #fff0c8, #e7f9df 52%, #f2d9ff);
}
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.workflow {
  position: relative; min-height: 430px; border-radius: 32px; overflow: hidden;
  display: flex; align-items: flex-end; color: var(--cream);
}
.workflow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.workflow::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(transparent 28%, rgba(0, 0, 0, 0.78));
}
.workflow span { position: relative; padding: 28px; display: grid; gap: 6px; }
.workflow b { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.08em; color: var(--acid); }
.workflow strong { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.workflow small { color: #d5d8d1; font-size: 16px; line-height: 1.5; }

.faq { display: grid; gap: 10px; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin-top: 8px; color: var(--muted); }

.closing {
  margin: 0 auto 72px; width: min(1320px, calc(100% - 40px)); min-height: 460px;
  border-radius: 52px; display: grid; place-items: center; text-align: center; color: var(--cream);
  background:
    linear-gradient(rgba(17, 21, 17, 0.28), rgba(17, 21, 17, 0.62)),
    radial-gradient(circle at 18% 20%, #b8f45f, transparent 26%),
    radial-gradient(circle at 82% 30%, #d29070, transparent 32%),
    linear-gradient(120deg, #344b3c, #1e2721);
  padding: 64px 28px;
}
.closing h2 { max-width: 14ch; margin: 0 auto; }
.closing p { max-width: 36rem; margin: 18px auto 0; color: #e4e6df; font-size: 18px; line-height: 1.6; }
.closing .hero-cta { justify-content: center; }
.closing .pill.ghost { color: var(--cream); border-color: rgba(245, 242, 233, 0.45); }
.cta-meta { margin-top: 22px; font-family: var(--mono); font-size: 13px; font-weight: 400; letter-spacing: 0.04em; color: #d7d9d2; }

.page-hero { background: #171916; color: var(--cream); padding: 72px 0 96px; }
.page-hero h1 { margin-top: 10px; }
.page-hero p { max-width: 40rem; margin-top: 32px; color: #d5d8d1; font-size: 18px; line-height: 1.6; }
.page-hero .pill.ghost, .page-hero .text-link { color: var(--cream); }
.crumb { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; color: var(--muted-dark); font-family: var(--mono); font-size: 13px; font-weight: 400; }
.crumb a { color: var(--muted-dark); }
.section h2 { max-width: 16ch; }
.section h2.street {
  max-width: none;
  font-size: clamp(24px, 3.5vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  white-space: nowrap;
}
.street span { display: inline-block; }
.street:hover span {
  animation: flag-colors 2.4s linear infinite;
  animation-delay: calc(var(--i) * -0.16s);
}
@keyframes flag-colors {
  0%, 19.9% { color: #000000; -webkit-text-stroke: 0 transparent; }
  20%, 39.9% { color: #de0000; -webkit-text-stroke: 0 transparent; }
  40%, 59.9% { color: #ffce00; -webkit-text-stroke: 0 transparent; }
  60%, 79.9% { color: #ffffff; -webkit-text-stroke: 1px #0066b3; paint-order: stroke fill; }
  80%, 100% { color: #0066b3; -webkit-text-stroke: 0 transparent; }
}

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; align-items: start; }
.pair-card { margin: 0; }
.pair-card img, .frame img { width: 100%; height: auto; border-radius: 28px; }
.pair-card figcaption { margin-top: 10px; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--copper); }
.frame { position: relative; }
.caption {
  position: absolute; left: 16px; bottom: 14px; font-family: var(--mono); font-size: 12px; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream);
}
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center; }
.prose { display: grid; gap: 14px; }
.prose strong, .legal strong { color: var(--ink); }
.group { margin-top: 64px; }
.group .eyebrow { color: #2a2e2a; font-weight: 500; }
.group .eyebrow b { color: #1742b4; font-weight: 700; }
.group h2 { font-size: clamp(28px, 3vw, 42px); max-width: none; margin-top: 12px; color: var(--ink); }
.group > p { color: var(--ink); margin-top: 14px; }
.pill.blue {
  background: #1742b4; color: #fff; border-color: #1742b4;
}
.pill.blue svg { width: 16px; height: 16px; }
.catalog-end { margin-top: 36px; display: grid; justify-items: start; gap: 14px; }
.catalog-end p { margin: 0; color: var(--ink); font-size: 16px; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.price-table th {
  text-align: left; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); padding: 0 12px 10px;
}
.price-table td { border-top: 1px solid var(--line); padding: 16px 12px; vertical-align: top; }
.price-note { margin-top: 22px; color: var(--muted); }
.related { display: flex; flex-wrap: wrap; gap: 14px; }
.related a { border-bottom: 1px solid var(--acid); }

form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 15px; font-weight: 500; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line-strong); background: #faf9f5;
  border-radius: 12px; padding: 12px 14px;
}
textarea { min-height: 140px; resize: vertical; }
.check { grid-template-columns: auto 1fr; align-items: start; font-weight: 500; }
.check input { width: auto; margin-top: 4px; }
.form-card {
  background: rgba(249, 248, 244, 0.8); border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 32px; padding: 32px; box-shadow: 0 24px 70px -36px rgba(27, 35, 22, 0.32);
}
#form-note { color: var(--ink); background: var(--sage); border-radius: 12px; padding: 10px 12px; }

.footer { background: var(--paper); color: var(--ink); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer .eyebrow { color: var(--muted); }
.footer h2 { font-size: clamp(28px, 3vw, 42px); max-width: 12ch; }
.footer a { display: block; margin: 8px 0; color: var(--muted); font-size: 14px; }
.footer p { color: var(--muted); margin-top: 10px; }
.footer-mark {
  margin-top: 64px; border-top: 1px solid var(--line); padding-top: 28px;
  font-size: clamp(26px, 4vw, 54px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05;
}
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 18px; font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--muted);
}
.footer-bottom span { flex: 1 1 16rem; }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; margin-top: 28px; max-width: none; }
.legal ul { color: var(--muted); }

@media (max-width: 1180px) {
  .site-header { display: flex; justify-content: space-between; padding: 0 16px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .brand-name strong { font-size: 19.5px; }
  .brand-name span { font-size: 11px; }
}
@media (max-width: 980px) {
  .site-header { display: flex; justify-content: space-between; padding: 0 16px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .menu-panel:not([hidden]) { display: block; }
  .hero { min-height: 0; }
  .hero-copy { padding: 36px 0 48px; }
  .film-cloud { position: relative; height: 280px; }
  .t1 { width: 46%; height: 120px; right: 4%; top: 12px; }
  .t2 { width: 40%; height: 110px; right: auto; left: 6%; top: 90px; }
  .t3, .t4, .t5 { display: none; }
  .section { padding: 72px 0; }
  .section-head, .engine, .split, .pair, .workflow-grid, .footer-grid { grid-template-columns: 1fr; }
  .wrap, .wrap.hero-copy { width: min(100% - 28px, var(--max)); margin-left: auto; margin-right: auto; }
  h1 { font-size: 48px; }
  .closing { border-radius: 28px; min-height: 0; }
  .header-actions .pill { display: none; }
}
@media (max-width: 540px) {
  .site-header { align-items: center; min-height: 0; padding: 10px 16px; }
  .brand { align-items: flex-start; max-width: calc(100% - 52px); }
  .mark { margin-top: 7px; }
  .brand-name span { white-space: normal; }
  .menu-panel { top: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill, .tile, .street span { transition: none; }
  .street:hover span { animation: none; }
  .street:hover .f0 { color: #000000; -webkit-text-stroke: 0; }
  .street:hover .f1 { color: #de0000; }
  .street:hover .f2 { color: #ffce00; }
  .street:hover .f3 { color: #ffffff; -webkit-text-stroke: 1px #0066b3; }
  .street:hover .f4 { color: #0066b3; }
  .hero h1.bavaria:hover span { animation: none; }
  .hero h1.bavaria:hover .b0 { color: #ffffff; }
  .hero h1.bavaria:hover .b1 { color: #0098d4; }
}

@media print {
  .site-header, .footer, .hero-cta, .menu-toggle, .film-cloud, .noprint { display: none !important; }
  .hero, .page-hero, .dark, .closing { background: white; color: black; }
  a { text-decoration: none; }
}
