
/* =============================================
   VELTRIX PROJEKTENTWICKLUNG GMBH
   COMPLETE WEBSITE CSS
   Desktop / Tablet / Mobile
   Footer: 3 Columns - No Dropdown
============================================= */

/* ---------- COLORS & FONTS ---------- */

:root {
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);

  --paper: #F3F5F8;
  --surface: #FFFFFF;
  --ink: #0F1B2D;
  --muted: #56637A;
  --line: #D6DDE7;
  --sign: #134A9C;
  --on-sign: #FFFFFF;
  --link: #134A9C;
  --signal: #F2B200;
  --on-signal: #14181F;
  --zone: #FBEDC0;
  --band: #0F1B2D;
  --on-band: #E9EEF6;
  --band-muted: #A9B6CB;
  --band-line: #2A3850;
  --ok: #1E7A46;
  --ok-bg: #E1F3E7;
  --warn: #855600;
  --warn-bg: #FCF0D3;
  --bad: #B3261E;
  --bad-bg: #FBE3E1;
  --header-bg: rgba(243,245,248,.92);
  --focus: #F2B200;

  --f-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-body: "Public Sans", "Segoe UI", system-ui, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", Consolas, monospace;

  --gutter: clamp(16px,4vw,32px);
  --radius: 4px;
}

/* ---------- DARK MODE ---------- */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B1220;
    --surface: #121C2E;
    --ink: #E8EDF5;
    --muted: #9AA8BE;
    --line: #24324A;
    --sign: #1F5BB8;
    --on-sign: #FFFFFF;
    --link: #8DB6FF;
    --signal: #F5BE1E;
    --zone: #3B3213;
    --band: #16233A;
    --on-band: #E9EEF6;
    --band-muted: #A9B6CB;
    --band-line: #2E3E5A;
    --ok: #74D6A0;
    --ok-bg: #12301F;
    --warn: #F5C451;
    --warn-bg: #362B0C;
    --bad: #FF8A80;
    --bad-bg: #3A1715;
    --header-bg: rgba(11,18,32,.9);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0B1220;
  --surface: #121C2E;
  --ink: #E8EDF5;
  --muted: #9AA8BE;
  --line: #24324A;
  --sign: #1F5BB8;
  --link: #8DB6FF;
  --signal: #F5BE1E;
  --zone: #3B3213;
  --band: #16233A;
  --band-line: #2E3E5A;
  --ok: #74D6A0;
  --ok-bg: #12301F;
  --warn: #F5C451;
  --warn-bg: #362B0C;
  --bad: #FF8A80;
  --bad-bg: #3A1715;
  --header-bg: rgba(11,18,32,.9);
  color-scheme: dark;
}

/* ---------- BASE ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--link);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

h1,
h2,
h3 {
  font-family: var(--f-display);
  margin: 0;
  text-wrap: balance;
  letter-spacing: -.01em;
}

h1 {
  font-size: clamp(2.6rem,6vw,4.6rem);
  font-weight: 800;
  line-height: .98;
}

h2 {
  font-size: clamp(2rem,3.8vw,3rem);
  font-weight: 750;
  line-height: 1.04;
}

h3 {
  font-size: 1.32rem;
  font-weight: 680;
  line-height: 1.2;
}

p {
  margin: 0;
}

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow,
.label {
  font-family: var(--f-mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

.section {
  padding-block: clamp(56px,8vw,104px);
  scroll-margin-top: 72px;
}

.section.alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 46rem;
  margin-bottom: clamp(28px,4vw,44px);
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font: 600 1rem/1.2 var(--f-body);
  border: 2px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color .15s,
    color .15s,
    filter .15s;
}

.btn-primary {
  background: var(--sign);
  color: var(--on-sign);
}

.btn-primary:hover {
  filter: brightness(1.12);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-signal {
  background: var(--signal);
  color: var(--on-signal);
}

.btn-signal:hover {
  filter: brightness(1.06);
}

.btn-sm {
  padding: 8px 14px;
  font-size: .94rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------- HEADER ---------- */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top,0px);
  z-index: 20;
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--sign);
  color: var(--on-sign);
  border-radius: 5px;
  box-shadow:
    inset 0 0 0 2px var(--sign),
    inset 0 0 0 4px var(--on-sign);
}

.brand-mark svg {
  width: 20px;
  height: 20px;
}

.brand-text {
  display: grid;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-family: var(--f-display);
  font-weight: 750;
  font-size: 1.22rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .96rem;
}

.nav a:not(.btn):hover {
  background: var(--line);
}

.nav .btn {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  font: 600 .95rem var(--f-body);
  color: var(--ink);
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 7px 14px;
  cursor: pointer;
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--gutter));
    right: calc(-1 * var(--gutter));
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 18px;
  }

  .nav.open {
    display: flex;
  }

  .nav a:not(.btn) {
    padding: 12px 8px;
  }

  .nav .btn {
    margin: 8px 0 0;
  }
}

/* ---------- HERO ---------- */

.hero {
  padding-block: clamp(40px,7vw,88px) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns:
    minmax(0,1.08fr)
    minmax(0,.92fr);
  gap: clamp(32px,5vw,64px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 56ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin: 12px 0 0;
  border-top: 2px solid var(--ink);
}

.facts > div {
  padding: 14px 16px 0 0;
  display: grid;
  gap: 2px;
  align-content: start;
}

.facts > div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.facts dt {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 0;
}

.fact-val {
  font-family: var(--f-display);
  font-weight: 750;
  font-size: clamp(1.6rem,2.6vw,2.1rem);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.fact-note {
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- ROAD SIGN ---------- */

.sign-wrap {
  margin: 0;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.sign {
  background: var(--sign);
  color: var(--on-sign);
  border-radius: 12px;
  padding: 9px;
  box-shadow:
    0 18px 40px -22px rgba(10,30,70,.55);
}

.sign-inner {
  border: 3px solid var(--on-sign);
  border-radius: 7px;
  padding: clamp(16px,2.4vw,24px);
  display: grid;
  gap: 14px;
}

.sign-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--on-sign);
}

.sign-top svg {
  width: clamp(40px,5vw,54px);
  height: auto;
  flex: none;
}

.sign-dest {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem,4.2vw,3.1rem);
  line-height: 1;
}

.exits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.exit {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
  color: var(--on-sign);
  text-decoration: none;
  padding: 8px 6px;
  border-radius: 4px;
}

.exit:hover {
  background: rgba(255,255,255,.1);
  text-decoration: none;
}

.exit-no {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.12rem;
  border: 2px solid var(--on-sign);
  border-radius: 3px;
  padding: 1px 8px;
  min-width: 5.4ch;
  text-align: center;
}

.exit-name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.02rem,1.6vw,1.2rem);
  line-height: 1.2;
}

.exit svg {
  width: 22px;
  height: 22px;
}

.sign-wrap figcaption {
  font-size: .86rem;
  color: var(--muted);
}

.lane {
  height: 6px;
  margin-top: clamp(40px,6vw,72px);
  background: repeating-linear-gradient(
    90deg,
    var(--line) 0 56px,
    transparent 56px 96px
  );
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0,1fr);
  }
}

@media (max-width: 560px) {
  .facts {
    grid-template-columns: minmax(0,1fr);
  }

  .facts > div,
  .facts > div + div {
    padding: 12px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- BRANCHEN & CARDS ---------- */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}

.section.alt .card {
  background: var(--paper);
}

.card p {
  color: var(--muted);
  font-size: .97rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.chip {
  font-family: var(--f-mono);
  font-size: .74rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
}

.section.alt .chip {
  background: var(--surface);
}

.note {
  margin-top: 20px;
  font-size: .88rem;
  color: var(--muted);
}

@media (max-width: 1020px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 620px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: minmax(0,1fr);
  }
}

/* ---------- VISA PATH CARDS ---------- */

.badge {
  justify-self: start;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
  background: var(--sign);
  color: var(--on-sign);
  padding: 4px 6px;
  border-radius: 5px;
  box-shadow:
    inset 0 0 0 2px var(--sign),
    inset 0 0 0 4px var(--on-sign);
  min-width: 5.6ch;
  text-align: center;
}

.badge span {
  display: block;
  padding: 0 6px;
}

.path {
  scroll-margin-top: 84px;
}

.path .more {
  font-weight: 600;
  font-size: .95rem;
  margin-top: 2px;
}

.path strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- ABLAUF / ROUTE ---------- */

.route {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 20px;
}

.stop {
  position: relative;
  padding-top: 58px;
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}

.stop::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  right: -20px;
  height: 4px;
  background: var(--sign);
}

.stop:last-child::before {
  display: none;
}

.stop-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 4px solid var(--sign);
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
}

.stop:last-child .stop-dot {
  background: var(--signal);
  color: var(--on-signal);
  border-color: var(--signal);
}

.stop p {
  color: var(--muted);
  font-size: .95rem;
}

@media (max-width: 960px) {
  .route {
    grid-template-columns: minmax(0,1fr);
    gap: 26px;
  }

  .stop {
    padding: 6px 0 0 62px;
  }

  .stop::before {
    top: 20px;
    bottom: -26px;
    left: 18px;
    right: auto;
    width: 4px;
    height: auto;
  }
}

/* ---------- CHANCENKARTE CALCULATOR ---------- */

.calc {
  display: grid;
  grid-template-columns:
    minmax(0,1.15fr)
    minmax(0,.85fr);
  gap: clamp(20px,3vw,36px);
  align-items: start;
}

.calc-form {
  display: grid;
  gap: 20px;
}

fieldset {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 20px;
  display: grid;
  gap: 16px;
  min-width: 0;
  background: var(--paper);
}

legend {
  font-family: var(--f-mono);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 6px;
}

.fields-2 {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field label,
.check {
  font-weight: 600;
  font-size: .95rem;
}

.field .hint {
  font-size: .84rem;
  color: var(--muted);
  font-weight: 400;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  font: 400 1rem/1.4 var(--f-body);
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--muted);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 0;
  border-color: var(--ink);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.check {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 10px;
  align-items: start;
  font-weight: 500;
  cursor: pointer;
}

.check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--sign);
}

.check-list {
  display: grid;
  gap: 12px;
}

.calc-result {
  position: sticky;
  top: 88px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  gap: 14px;
}

.score {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.score-num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 4.2rem;
  line-height: .9;
  font-variant-numeric: tabular-nums;
}

.score-of {
  color: var(--muted);
  font-size: .95rem;
}

.meter {
  display: grid;
  grid-template-columns: repeat(16,minmax(0,1fr));
  gap: 3px;
}

.cell {
  height: 16px;
  border-radius: 2px;
  background: var(--line);
}

.cell.zone {
  background: var(--zone);
}

.cell.on {
  background: var(--sign);
}

.cell.thr {
  box-shadow: 3px 0 0 0 var(--signal);
}

.meter-legend {
  font-size: .82rem;
  color: var(--muted);
}

.status {
  font-weight: 600;
  padding: 10px 12px;
  border-radius: var(--radius);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
  margin-top: 7px;
}

.status.ok {
  color: var(--ok);
  background: var(--ok-bg);
}

.status.warn {
  color: var(--warn);
  background: var(--warn-bg);
}

.status.bad {
  color: var(--bad);
  background: var(--bad-bg);
}

.explain {
  font-size: .94rem;
  color: var(--muted);
}

.breakdown {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}

.breakdown td {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.breakdown td:last-child {
  text-align: right;
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding-left: 12px;
}

.breakdown tr.zero td {
  color: var(--muted);
}

.breakdown tfoot td {
  border-bottom: 0;
  font-weight: 700;
  padding-top: 10px;
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: .92rem;
}

.checks li {
  display: grid;
  grid-template-columns: 22px minmax(0,1fr);
  gap: 6px;
}

.mark {
  font-weight: 700;
}

.mark.yes {
  color: var(--ok);
}

.mark.no {
  color: var(--bad);
}

.mark.info {
  color: var(--muted);
}

.fine {
  font-size: .8rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .calc {
    grid-template-columns: minmax(0,1fr);
  }

  .calc-result {
    position: static;
  }
}

@media (max-width: 560px) {
  .fields-2 {
    grid-template-columns: minmax(0,1fr);
  }
}

/* ---------- ARBEITGEBER ---------- */

.band {
  background: var(--band);
  color: var(--on-band);
}

.band .eyebrow {
  color: var(--band-muted);
}

.band .section-head p:not(.eyebrow) {
  color: var(--band-muted);
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  border-top: 1px solid var(--band-line);
}

.band-item {
  padding: 22px 22px 6px 0;
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}

.band-item + .band-item {
  padding-left: 22px;
  border-left: 1px solid var(--band-line);
}

.band-item p {
  color: var(--band-muted);
  font-size: .96rem;
}

.band-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.band-cta p {
  color: var(--band-muted);
  font-size: .95rem;
}

@media (max-width: 1020px) {
  .band-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .band-item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .band-item:nth-child(n+3) {
    border-top: 1px solid var(--band-line);
  }
}

@media (max-width: 620px) {
  .band-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .band-item,
  .band-item + .band-item {
    padding: 20px 0 8px;
    border-left: 0;
  }

  .band-item + .band-item {
    border-top: 1px solid var(--band-line);
  }
}

/* ---------- SICHER BEWERBEN ---------- */

.tips {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0 28px;
}

.tip {
  border-top: 3px solid var(--ink);
  padding-top: 16px;
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}

.tip:first-child {
  border-top-color: var(--signal);
}

.tip p {
  color: var(--muted);
  font-size: .96rem;
}

@media (max-width: 1020px) {
  .tips {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 28px;
  }
}

@media (max-width: 620px) {
  .tips {
    grid-template-columns: minmax(0,1fr);
  }
}

/* ---------- CONTACT ---------- */

.contact-grid {
  display: grid;
  grid-template-columns:
    minmax(0,1.55fr)
    minmax(0,.95fr);
  gap: clamp(24px,4vw,48px);
  align-items: start;
}

.contact-main {
  min-width: 0;
}

.tabs {
  display: inline-flex;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 3px;
  gap: 3px;
  margin-bottom: 20px;
  max-width: 100%;
  flex-wrap: wrap;
}

.tab {
  font: 600 .97rem var(--f-body);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 2px;
  padding: 9px 16px;
  cursor: pointer;
}

.tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}

.form {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px 18px;
}

.form .full {
  grid-column: 1 / -1;
}

.fno {
  font-family: var(--f-mono);
  font-size: .74rem;
  color: var(--muted);
  margin-right: 8px;
  font-weight: 500;
}

.req {
  color: var(--bad);
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.form-foot p {
  font-size: .86rem;
  color: var(--muted);
}

.send-panel {
  margin-top: 24px;
  padding: 22px;
  border: 2px solid var(--sign);
  border-radius: var(--radius);
  background: var(--surface);
  display: grid;
  gap: 14px;
}

.send-panel:focus {
  outline: none;
}

.send-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.msg {
  margin: 0;
  padding: 14px;
  max-height: 260px;
  overflow: auto;
  font: .86rem/1.55 var(--f-mono);
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 16px;
}

.contact-card dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.contact-card dt {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card dd {
  margin: 2px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  overflow-wrap: anywhere;
}

.copy {
  font: 600 .78rem var(--f-body);
  color: var(--link);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 3px 8px;
  cursor: pointer;
}

.copy:hover {
  border-color: var(--link);
}

.selectable {
  user-select: all;
  -webkit-user-select: all;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0,1fr);
  }
}

@media (max-width: 560px) {
  .form {
    grid-template-columns: minmax(0,1fr);
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 50rem;
  display: grid;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 40px 18px 0;
  position: relative;
  font-family: var(--f-display);
  font-weight: 650;
  font-size: 1.18rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-mono);
  font-size: 1.4rem;
  color: var(--link);
}

.faq details[open] summary::after {
  content: "–";
}

.faq .answer {
  padding: 0 0 20px;
  color: var(--muted);
  max-width: 64ch;
  display: grid;
  gap: 10px;
}

/* =============================================
   FOOTER - NO DROPDOWNS
   Company | Impressum | Datenschutz
============================================= */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-block: 48px 28px;
  font-size: .94rem;
}

.footer-grid {
  display: grid;
  grid-template-columns:
    minmax(0,1.2fr)
    minmax(0,1fr)
    minmax(0,1fr);
  gap: 40px;
  align-items: start;
}

/* FIRST COLUMN */

.footer-company {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.footer-company .brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-company .brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 6px;
}

.footer-company .brand-mark svg {
  width: 26px;
  height: 26px;
}

.footer-company .brand-name {
  font-family: var(--f-display);
  font-weight: 750;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--ink);
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

.footer-company p {
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.7;
  max-width: 36ch;
}

/* SECOND AND THIRD COLUMNS */

.footer-legal,
.footer-privacy {
  display: block;
  min-width: 0;
}

.footer-legal h3,
.footer-privacy h3 {
  font-family: var(--f-display);
  font-size: 1.18rem;
  font-weight: 750;
  margin: 0 0 18px;
  color: var(--ink);
}

.footer-legal dl,
.footer-privacy dl {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.footer-legal dl > div,
.footer-privacy dl > div {
  min-width: 0;
}

.footer-legal dt,
.footer-privacy dt {
  font-weight: 700;
  font-size: .94rem;
  color: var(--ink);
  margin: 0 0 4px;
}

.footer-legal dd,
.footer-privacy dd {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.footer-legal a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.footer-legal a:hover {
  text-decoration-thickness: 2px;
}

/* COPYRIGHT */

.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom span {
  overflow-wrap: anywhere;
}

/* ---------- FOOTER TABLET ---------- */

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 34px;
  }

  .footer-company p {
    max-width: 60ch;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ---------- LONG COMPANY NAME ON MOBILE ---------- */

@media (max-width: 620px) {
  .header-row {
    gap: 8px;
  }

  .header-row .brand {
    flex: 1;
    min-width: 0;
  }

  .header-row .brand-name {
    font-size: clamp(.82rem,3vw,1.08rem);
  }

  .brand-sub {
    font-size: .57rem;
  }

  .header-row .brand-mark {
    width: 32px;
    height: 32px;
  }

  .nav-toggle {
    padding: 6px 10px;
  }

  .footer-company .brand-name {
    font-size: 1.08rem;
  }
}

/* ---------- EXTRA SMALL MOBILE ---------- */

@media (max-width: 560px) {
  .footer-grid {
    gap: 30px;
  }

  .footer-company .brand-name {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    margin-top: 36px;
  }

  .footer-legal h3,
  .footer-privacy h3 {
    font-size: 1.12rem;
  }

  .footer-legal dd,
  .footer-privacy dd {
    font-size: .9rem;
  }
}

/* ---------- ACCESSIBILITY ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* =============================================
   END OF VELTRIX WEBSITE CSS
============================================= */
