/* Mirus Technologies — placeholder landing page */

/* ---------- Self-hosted Plus Jakarta Sans (OFL) ---------- */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/PlusJakartaSans/plus-jakarta-sans-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/PlusJakartaSans/plus-jakarta-sans-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/PlusJakartaSans/plus-jakarta-sans-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/PlusJakartaSans/plus-jakarta-sans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/PlusJakartaSans/plus-jakarta-sans-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/PlusJakartaSans/plus-jakarta-sans-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/PlusJakartaSans/plus-jakarta-sans-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/PlusJakartaSans/plus-jakarta-sans-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/PlusJakartaSans/plus-jakarta-sans-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/PlusJakartaSans/plus-jakarta-sans-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ============================================================
   Theme variables.

   Three-way resolution to avoid a FOUC on navigation:

   1. :root holds the light theme as default.
   2. @media (prefers-color-scheme: dark) :root:not([data-theme="light"])
      promotes the system-dark preference to dark vars unless the
      user has explicitly chosen light. The browser applies this at
      first paint — no JS required.
   3. [data-theme="dark"] / [data-theme="light"] win once the user
      has clicked the toggle (the FOUC inline script sets the
      attribute from localStorage before any other tag in <head>).
   ============================================================ */

:root {
  color-scheme: light;
  --navy:           #0a2f57;
  --navy-deep:      #061f3c;
  --navy-soft:      #1d4275;
  --ink:            #0a2f57;
  --paper:          #f6f5f0;
  --paper-warm:     #efece2;
  --paper-line:     #d8d3c2;
  --gold:           #c8a153;
  --gold-soft:      #dcc08a;
  --rule:           #d4b16a;
  --text:           #1c2238;
  --text-muted:     #5b6079;

  --card-bg:        linear-gradient(135deg, #ffffff 0%, #efece2 100%);
  --card-highlight: rgba(255, 255, 255, 0.7);
  --card-shadow:    0 2px 6px -2px rgba(13, 18, 38, 0.08),
                    0 10px 24px -10px rgba(13, 18, 38, 0.10);
  --card-shadow-hover: 0 4px 10px -4px rgba(13, 18, 38, 0.12),
                       0 22px 40px -20px rgba(13, 18, 38, 0.22);

  --footer-bg:      #f6f5f0;
  --footer-text:    #1c2238;
  --footer-meta:    #5b6079;

  --dot-color:      rgba(11, 21, 48, 0.32);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    /* --navy is the page's "highlight" color (headings, links, nav text);
       in dark mode we want gold to carry that role. */
    --navy:           #c8a153;
    --navy-deep:      #e3c47c;
    --navy-soft:      #b89549;
    --ink:            #c8a153;
    --paper:          #06192f;
    --paper-warm:     #0b2542;
    --paper-line:     #2a3a52;
    --gold:           #c8a153;
    --gold-soft:      #a98841;
    --rule:           rgba(200, 161, 83, 0.55);
    --text:           #e7e0c9;
    --text-muted:     #a8b3c8;

    --card-bg:        linear-gradient(135deg, #0e2a4e 0%, #06192f 100%);
    --card-highlight: rgba(200, 161, 83, 0.10);
    --card-shadow:    0 2px 6px -2px rgba(0, 0, 0, 0.55),
                      0 10px 24px -10px rgba(0, 0, 0, 0.55);
    --card-shadow-hover: 0 4px 10px -4px rgba(0, 0, 0, 0.6),
                         0 22px 40px -20px rgba(0, 0, 0, 0.7);

    --footer-bg:      #04132a;
    --footer-text:    #e7e0c9;
    --footer-meta:    #a8b3c8;

    --dot-color:      rgba(200, 161, 83, 0.55);
  }
}

[data-theme="dark"] {
  color-scheme: dark;
  --navy:           #c8a153;
  --navy-deep:      #e3c47c;
  --navy-soft:      #b89549;
  --ink:            #c8a153;
  --paper:          #06192f;
  --paper-warm:     #0b2542;
  --paper-line:     #2a3a52;
  --gold:           #c8a153;
  --gold-soft:      #a98841;
  --rule:           rgba(200, 161, 83, 0.55);
  --text:           #e7e0c9;
  --text-muted:     #a8b3c8;

  --card-bg:        linear-gradient(135deg, #0e2a4e 0%, #06192f 100%);
  --card-highlight: rgba(200, 161, 83, 0.10);
  --card-shadow:    0 2px 6px -2px rgba(0, 0, 0, 0.55),
                    0 10px 24px -10px rgba(0, 0, 0, 0.55);
  --card-shadow-hover: 0 4px 10px -4px rgba(0, 0, 0, 0.6),
                       0 22px 40px -20px rgba(0, 0, 0, 0.7);

  --footer-bg:      #04132a;
  --footer-text:    #e7e0c9;
  --footer-meta:    #a8b3c8;

  --dot-color:      rgba(200, 161, 83, 0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--paper);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: background-color 320ms ease, color 320ms ease;
}

a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease, color 120ms ease;
}
a:hover { border-bottom-color: var(--gold); color: var(--navy-deep); }

/* ---------- Nav ---------- */

.nav {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  border-bottom: none;
}
.nav-logo {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 8px;
  transition: background-color 320ms ease, padding 320ms ease;
}
.nav-wordmark {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--navy);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-links a:hover { color: var(--navy); }

.theme-toggle {
  width: 36px;
  height: 36px;
  border: 1px solid var(--paper-line);
  background: transparent;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, transform 320ms ease;
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: rotate(-12deg);
}
.theme-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 35%, transparent);
}
.theme-toggle .icon { width: 18px; height: 18px; display: block; }
/* Default: assume light, hide moon. Override below for the dark cases. */
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .theme-toggle .icon-sun  { display: none; }
  html:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

/* Language selector — button + listbox dropdown */
.lang-select {
  position: relative;
  display: inline-flex;
}
.lang-select-trigger {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--paper-line);
  border-radius: 999px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.lang-select-trigger:hover { color: var(--gold); border-color: var(--gold); }
.lang-select-trigger[aria-expanded="true"] {
  color: var(--navy);
  border-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 10%, transparent);
}
.lang-select-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 35%, transparent);
}
.lang-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 10px;
  padding: 4px;
  margin: 0;
  list-style: none;
  z-index: 50;
  box-shadow: 0 12px 32px -10px rgba(13, 18, 38, 0.20);
}
[data-theme="dark"] .lang-select-menu {
  background: var(--paper-warm);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.6);
}
.lang-select-menu li { display: block; }
.lang-select-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.lang-select-menu button:hover {
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  color: var(--navy);
}
.lang-select-menu button[aria-current="true"] {
  color: var(--navy);
  font-weight: 600;
}
.lang-select-menu button[aria-current="true"]::after {
  content: "✓";
  color: var(--gold);
  margin-left: 12px;
}
.lang-select-menu button:focus-visible {
  outline: none;
  background: color-mix(in srgb, var(--gold) 14%, transparent);
}

/* Lang-attribute-based visibility — content blocks in non-active language hide */
html[lang="de"] .lang-en, html[lang="de"] .lang-fr { display: none; }
html[lang="en"] .lang-de, html[lang="en"] .lang-fr { display: none; }
html[lang="fr"] .lang-de, html[lang="fr"] .lang-en { display: none; }

/* ---------- Page wrapper ---------- */

.page {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 96px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, var(--dot-color) 1px, transparent 1.6px);
  background-size: 22px 22px;
  pointer-events: none;
  /* Fade the dot grid on all four edges by intersecting two crossed
     linear gradients (vertical fades top+bottom, horizontal fades
     left+right). Horizontal fade is shallower because the hero is
     wider than tall, keeping the fade depth roughly equal in pixels. */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%),
    linear-gradient(to right,  transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-image:
    linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%),
    linear-gradient(to right,  transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero-logo {
  height: 172px;
  width: auto;
  display: block;
  margin: 0 auto 32px;
  border-radius: 22px;
  transition: background-color 320ms ease, padding 320ms ease;
}
/* Dark mode swaps the logo SVG for a variant whose MIRUS wordmark is gold
   and TECHNOLOGIES is cream, so it reads cleanly on the dark surface with
   no backing card needed. CSS content: works on <img> in all modern
   browsers and resolves relative to this stylesheet (/css/), so the
   /images/ path holds regardless of which HTML page loads it. */
[data-theme="dark"] .hero-logo,
[data-theme="dark"] .nav-logo {
  content: url(../images/mirus-bear-v23-dark.svg);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-logo,
  :root:not([data-theme="light"]) .nav-logo {
    content: url(../images/mirus-bear-v23-dark.svg);
  }
}
.hero h1 {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 18px;
}
.hero .tagline {
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Offering ---------- */

.offering {
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
}
.offering h2,
.contact h2 {
  font-size: 22px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 48px;
  text-align: center;
}
.offering-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.offering-list li {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--paper-line);
  border-top: 2px solid var(--gold);
  padding: 36px 32px 32px;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 var(--card-highlight), var(--card-shadow);
  transition: transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 280ms ease,
              border-color 280ms ease;
}
.offering-list li:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 var(--card-highlight), var(--card-shadow-hover);
  border-color: var(--gold-soft);
}
.offering-list .offering-icon {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 26px;
  height: 26px;
  color: var(--gold);
  opacity: 0.55;
  transition: opacity 220ms ease, transform 320ms ease;
}
.offering-list li:hover .offering-icon {
  opacity: 1;
  transform: scale(1.06);
}
.offering-list h3 {
  padding-right: 44px;
}
.offering-list h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 18px;
  letter-spacing: -0.005em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--paper-line);
  transition: border-color 220ms ease;
}
.offering-list li:hover h3 {
  border-bottom-color: var(--gold);
}
.offering-list p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- Contact ---------- */

.contact {
  padding: 80px 0 96px;
  text-align: center;
}
.contact p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.contact .contact-email {
  font-size: 28px;
  font-weight: 500;
}
.contact .contact-email a {
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
}
.contact .contact-email a:hover {
  color: var(--gold);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  transition: background-color 320ms ease, color 320ms ease;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.footer p {
  font-size: 13px;
  letter-spacing: 0.04em;
}
.footer .footer-meta {
  margin-top: 6px;
  font-size: 11px;
  color: var(--footer-meta);
  letter-spacing: 0.08em;
}
.footer .footer-legal {
  margin-top: 12px;
  font-size: 12px;
  color: var(--footer-meta);
  letter-spacing: 0.04em;
}
.footer .footer-legal a {
  color: var(--footer-text);
  border-bottom: 1px solid transparent;
  padding: 0 4px;
  transition: border-color 120ms ease, color 120ms ease;
}
.footer .footer-legal a:hover {
  color: var(--footer-meta);
  border-bottom-color: var(--footer-meta);
}
/* Only the bullet separator between the legal links — not the
   per-language <span>s inside the anchors. */
.footer .footer-legal > span[aria-hidden="true"] {
  color: var(--footer-meta);
  opacity: 0.6;
}

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */

.legal-page {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 32px 96px;
}
.legal-page .legal-lang {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}
.legal-page h1 {
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.legal-page h2 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
  margin: 44px 0 14px;
}
.legal-page h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin: 26px 0 8px;
}
.legal-page p,
.legal-page li {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal-page ul {
  margin-left: 20px;
  margin-bottom: 16px;
}
.legal-page address {
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 16px;
}
.legal-page hr.legal-sep {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 64px 0 56px;
}
.legal-page a {
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
}
.legal-page a:hover {
  color: var(--gold);
}
.legal-page .legal-todo {
  background: #fff5e0;
  border: 1px dashed var(--gold);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin: 16px 0;
}

@media (max-width: 800px) {
  .legal-page { padding: 48px 20px 72px; }
  .legal-page h1 { font-size: 26px; }
}

/* ---------- Responsive ---------- */

/* ---------- Error pages (404 etc.) ---------- */

.error-page {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 32px 120px;
  text-align: center;
}
.error-page-code {
  font-size: clamp(96px, 18vw, 160px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gold);
  opacity: 0.55;
  margin-bottom: 24px;
}
.error-page h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--navy);
  margin-bottom: 14px;
}
.error-page-lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 48ch;
  margin: 0 auto 36px;
}
.error-page-actions {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.error-page-action {
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  margin: 0 12px;
  transition: color 200ms ease;
}
.error-page-action:hover { color: var(--gold); }

@media (max-width: 800px) {
  .error-page { padding: 64px 20px 96px; }
}

/* ---------- Contact page (Kontakt) ---------- */

.contact-page {
  flex: 1;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}
.contact-page-header { margin-bottom: 48px; }
.contact-page-header h1 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 18px;
}
.contact-page-lead {
  font-size: 18px;
  color: var(--text);
  line-height: 1.55;
  max-width: 60ch;
  margin-bottom: 8px;
}
.contact-page-lead-en {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.55;
  max-width: 60ch;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* Form ----- */

.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
}
.form-required { color: var(--gold); margin-left: 2px; }

.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: var(--navy);
  background: var(--card-bg);
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  -webkit-appearance: none;
          appearance: none;
}
.form-row textarea { resize: vertical; min-height: 140px; }
.form-row input:hover,
.form-row textarea:hover { border-color: var(--gold-soft); }
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent);
}
.form-row input:user-invalid,
.form-row textarea:user-invalid {
  border-color: #b14b3a;
}

.form-row-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding-top: 4px;
}
.form-row-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}
.form-row-checkbox label {
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  line-height: 1.55;
}
.form-row-checkbox label a {
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
}
.form-row-checkbox label a:hover { color: var(--gold); }

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  align-self: flex-start;
  background: var(--navy);
  color: var(--paper);
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 14px 32px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease,
              box-shadow 200ms ease, border-color 200ms ease, opacity 200ms ease;
  box-shadow: 0 4px 12px -4px rgba(13, 18, 38, 0.18);
}
.form-submit:hover:not(:disabled) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--paper);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(13, 18, 38, 0.28);
}
.form-submit:active:not(:disabled) { transform: translateY(0); }
.form-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 35%, transparent);
}
.form-submit:disabled {
  background: var(--text-muted);
  border-color: var(--text-muted);
  color: var(--paper);
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}
.form-submit-hint {
  align-self: flex-start;
  margin-top: 10px;
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Aside ----- */

.contact-page-aside {
  background: var(--card-bg);
  border: 1px solid var(--paper-line);
  border-top: 2px solid var(--gold);
  border-radius: 14px;
  padding: 28px 30px;
  box-shadow: inset 0 1px 0 var(--card-highlight), var(--card-shadow);
}
.contact-page-aside h2 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 10px;
}
.contact-page-aside h2:not(:first-child) { margin-top: 28px; }
.contact-page-aside p,
.contact-page-aside address {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  font-style: normal;
  margin: 0;
}
.contact-page-aside a {
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
}
.contact-page-aside a:hover { color: var(--gold); }
.contact-page-aside-note {
  margin-top: 32px !important;
  font-size: 12px !important;
  color: var(--text-muted) !important;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  line-height: 1.55;
}

/* Status banners ----- */

.form-status {
  margin-top: 8px;
  margin-bottom: 36px;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.55;
}
.form-status-error {
  background: #fff0ed;
  border: 1px solid #b14b3a;
  color: #5b1d12;
}
[data-theme="dark"] .form-status-error {
  background: #261713;
  color: #f4a08e;
  border-color: #6a2d22;
}
.form-status a {
  color: inherit;
  border-bottom: 1px solid currentColor;
}

/* Prominent post-submit confirmation ----- */

.contact-success {
  text-align: center;
  padding: 72px 32px;
  background: color-mix(in srgb, var(--gold) 9%, var(--paper));
  border: 1px solid var(--gold);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  margin-bottom: 32px;
}
[data-theme="dark"] .contact-success {
  background: color-mix(in srgb, var(--gold) 8%, var(--paper-warm));
}
.contact-success-icon {
  width: 72px;
  height: 72px;
  color: var(--gold);
  display: block;
  margin: 0 auto 24px;
}
.contact-success h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--navy);
  margin-bottom: 14px;
}
.contact-success p {
  font-size: 17px;
  color: var(--text);
  line-height: 1.55;
  max-width: 52ch;
  margin: 0 auto 28px;
}
.contact-success-action {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 200ms ease, border-bottom-color 200ms ease;
}
.contact-success-action span {
  display: inline-block;
  transition: transform 200ms ease;
  margin-left: 4px;
}
.contact-success-action:hover { color: var(--gold); }
.contact-success-action:hover span { transform: translateX(4px); }

@media (max-width: 800px) {
  .contact-success { padding: 56px 24px; }
  .contact-success-icon { width: 60px; height: 60px; }
}

@media (max-width: 800px) {
  .contact-page { padding: 48px 20px 72px; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-page-header h1 { font-size: 30px; }
}

@media (max-width: 800px) {
  .hero { padding: 64px 0 56px; }
  .hero-logo { height: 140px; }
  .hero h1 { font-size: 32px; }
  .hero .tagline { font-size: 17px; }
  .offering-list { grid-template-columns: 1fr; gap: 20px; }
  .offering { padding: 56px 0; }
  .contact { padding: 56px 0 72px; }
  .nav-inner { padding: 14px 20px; }
  .nav-wordmark { display: none; }
  .page { padding: 0 20px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero .tagline { font-size: 16px; }
  .nav-logo { height: 40px; }
  .hero-logo { height: 120px; }
}

/* ============================================================
   Reduced motion — for visitors with vestibular sensitivity or
   prefers-reduced-motion enabled. Collapses all transitions /
   animations to near-zero so the UI still functions but doesn't
   slide / fade / rotate.
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
