/* Grzzly Enterprises UG (haftungsbeschränkt) — light-only, modern */

:root {
  color-scheme: light only;

  --bg:        #fafaf9;
  --card:      #ffffff;
  --text:      #1c1917;
  --muted:     #78716c;
  --faint:     #a8a29e;
  --rule:      #e7e5e4;
  --panel:     #f5f5f4;
  --accent:    #b45309;
  --accent-sf: #fffbeb;

  --sans: Inter, ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --measure: 44rem;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(28, 25, 23, .04), 0 8px 24px -12px rgba(28, 25, 23, .10);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  font-feature-settings: "cv05", "ss01";
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 250, 249, .78);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.5rem;
  flex-wrap: wrap;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-right: auto;
  color: inherit;
  text-decoration: none;
  font-weight: 650;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}

.wordmark .legal-form {
  color: var(--muted);
  font-weight: 450;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  gap: .25rem;
  font-size: .875rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: .3rem .625rem;
  border-radius: 7px;
  transition: background .15s, color .15s;
}

.site-nav a:hover { color: var(--text); background: var(--panel); }

.site-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 550;
  background: var(--panel);
}

/* ---------- language switcher ---------- */

.lang-switcher {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 9px;
}

.lang-switcher button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: .8125rem;
  font-weight: 550;
  letter-spacing: .01em;
  color: var(--muted);
  padding: .25rem .625rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s;
}

.lang-switcher button:hover { color: var(--text); }

@media (max-width: 36rem) {
  .lang-switcher button { min-height: 2.5rem; padding-inline: .9rem; }
}

.lang-switcher button[aria-pressed="true"] {
  background: var(--card);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(28, 25, 23, .08);
}

/* Without JS the switcher cannot work, so hide it and show both languages. */
.no-js .lang-switcher { display: none; }

html[data-lang="de"] [data-lang-section="en"],
html[data-lang="en"] [data-lang-section="de"] { display: none; }

html:not([data-lang]) [data-lang-inline="en"],
html[data-lang="de"] [data-lang-inline="en"],
html[data-lang="en"] [data-lang-inline="de"] { display: none; }

/* ---------- content card ---------- */

main { padding: 2.5rem 0 4rem; }

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.75rem, 1rem + 3.4vw, 3.25rem);
}

.card + .card { margin-top: 1.25rem; }

.eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .875rem;
}

h1 {
  font-size: clamp(1.875rem, 1.4rem + 2.1vw, 2.625rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 .625rem;
  text-wrap: balance;
}

h2 {
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.014em;
  margin: 2.75rem 0 .625rem;
  text-wrap: balance;
}

h2:first-of-type { margin-top: 2.25rem; }

p { margin: 0 0 1rem; text-wrap: pretty; }

a {
  color: var(--accent);
  text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .15s;
}

a:hover { text-decoration-color: currentColor; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.lede {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.6;
  margin: 0 0 2rem;
  text-wrap: pretty;
}

.translation-note {
  display: flex;
  gap: .625rem;
  font-size: .8125rem;
  line-height: 1.55;
  color: #92400e;
  background: var(--accent-sf);
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: .7rem .9rem;
  margin: 0 0 2rem;
}

.fine-print {
  font-size: .8125rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- company data ---------- */

dl.facts {
  margin: 0 0 .5rem;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}

dl.facts div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0 1.5rem;
  padding: .85rem 1.1rem;
}

dl.facts div + div { border-top: 1px solid var(--rule); }

dl.facts div:nth-child(odd) { background: #fcfcfb; }

dl.facts dt {
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.5;
  padding-top: .18rem;
}

dl.facts dd {
  margin: 0;
  font-weight: 450;
  font-variant-numeric: tabular-nums;
}

dl.facts address {
  font-style: normal;
  white-space: pre-line;
}

@media (max-width: 36rem) {
  dl.facts div {
    grid-template-columns: 1fr;
    gap: .1rem;
    padding: .8rem .9rem;
  }
}

/* ---------- lists & callouts ---------- */

main ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

main li { margin-bottom: .35rem; }
main li::marker { color: var(--faint); }

main address { font-style: normal; white-space: pre-line; }

address.callout {
  display: block;
  margin: 0 0 .75rem;
  padding: .9rem 1.1rem;
  background: var(--panel);
  border-radius: 10px;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0 3.5rem;
  font-size: .8125rem;
  color: var(--muted);
}

.site-footer a { color: var(--muted); }
.site-footer p { margin: 0 0 .3rem; }

/* ---------- 404 ---------- */

.centered { text-align: center; }
.centered .card { padding-block: 4rem; }

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: .875em;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 5px;
  padding: .08em .35em;
}
