:root {
  --paper: #f1f0eb;
  --paper-light: #f8f7f3;
  --ink: #11110f;
  --muted: #62615b;
  --line: #c9c7bf;
  --signal: #d7482f;
  --dark: #171714;
  --dark-muted: #aaa89f;
  --display: "Bahnschrift", "Aptos Display", "Helvetica Neue", Arial, sans-serif;
  --text: "Aptos", "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

p, h1, h2, h3 { margin-top: 0; }

p { text-wrap: pretty; }

.frame {
  width: min(calc(100% - 3rem), 1280px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.85rem;
  transform: translateY(-150%);
  background: var(--ink);
  color: white;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.wordmark span { color: var(--signal); }

.brand-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.language-switch {
  display: flex;
  border: 1px solid var(--ink);
}

.language-switch a {
  min-width: 34px;
  padding: 0.27rem 0.42rem;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.language-switch a + a { border-left: 1px solid var(--ink); }

.language-switch a:hover,
.language-switch a[aria-current="page"] {
  background: var(--signal);
  color: white;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  font-size: 0.88rem;
}

.site-nav a {
  text-decoration: none;
  text-underline-offset: 0.25em;
}

.site-nav a:hover { text-decoration: underline; }

.hero { padding: clamp(4rem, 9vw, 8rem) 0 clamp(3.5rem, 6vw, 5.5rem); }

.hero-grid,
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
}

.label {
  margin-bottom: 1.4rem;
  color: var(--signal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1 {
  max-width: 950px;
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(2.75rem, 4.8vw, 4.8rem);
  font-weight: 560;
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-wrap: balance;
  hyphens: none;
}

.hero-side {
  padding-top: clamp(1rem, 6vw, 5.5rem);
  font-size: 1.02rem;
}

.hero-side .lead {
  margin-bottom: 1.25rem;
  font-size: clamp(1.25rem, 2vw, 1.58rem);
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.hero-side p:not(.lead) { color: var(--muted); }

.hero-side .arrow-link { margin-top: 1.25rem; }

.arrow-link {
  display: inline-flex;
  gap: 1rem;
  align-items: baseline;
  margin-top: 0.5rem;
  border-bottom: 1px solid currentColor;
  font-weight: 650;
  text-decoration: none;
}

.arrow-link span { color: var(--signal); }

.section { padding: clamp(5rem, 10vw, 9rem) 0; }

.section-intro {
  position: sticky;
  top: 7rem;
}

h2 {
  margin-bottom: 1.35rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.6vw, 4.5rem);
  font-weight: 560;
  letter-spacing: -0.05em;
  line-height: 0.98;
  text-wrap: balance;
  hyphens: none;
}

.section-intro > p:last-child {
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.services { border-top: 1px solid var(--ink); }

.service {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.25rem;
  padding: 1.8rem 0 2.2rem;
  border-bottom: 1px solid var(--line);
}

.service-number {
  color: var(--signal);
  font-size: 0.72rem;
  font-weight: 700;
}

.service h3 {
  margin-bottom: 0.8rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 590;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
  hyphens: none;
}

.service p { margin-bottom: 0.8rem; }

.service .service-output {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-dark {
  background: var(--dark);
  color: var(--paper-light);
}

.section-dark .label { color: #ef654d; }
.section-dark .section-intro > p:last-child { color: var(--dark-muted); }

.process {
  margin: 0;
  padding: 0;
  border-top: 1px solid #4b4a45;
  list-style: none;
}

.process li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.25rem;
  padding: 1.55rem 0 1.8rem;
  border-bottom: 1px solid #4b4a45;
}

.process li > span {
  color: #ef654d;
  font-size: 0.72rem;
  font-weight: 700;
}

.process strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 590;
}

.process p {
  margin-bottom: 0;
  color: var(--dark-muted);
}

.credentials {
  border-bottom: 1px solid var(--ink);
  background: var(--paper-light);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.credentials p {
  min-height: 150px;
  margin: 0;
  padding: 1.5rem 1.35rem 1.5rem 0;
  border-right: 1px solid var(--line);
}

.credentials p + p { padding-left: 1.35rem; }
.credentials p:last-child { border-right: 0; }

.credentials strong,
.credentials span { display: block; }

.credentials strong {
  margin-bottom: 1.6rem;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 620;
}

.credentials span {
  color: var(--muted);
  font-size: 0.88rem;
}

.contact { background: var(--paper-light); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(3rem, 10vw, 10rem);
  align-items: start;
}

.contact-copy > p:not(.label):not(.direct-mail) {
  max-width: 30rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.direct-mail { margin-top: 3rem; }

.direct-mail a {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  text-underline-offset: 0.2em;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  padding-top: 0.45rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field { display: grid; gap: 0.45rem; }

.form-field label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

input { min-height: 48px; padding: 0.45rem 0; }
textarea { min-height: 150px; padding: 0.7rem 0; resize: vertical; }

input::placeholder { color: #89877f; }

.privacy-check {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.7rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.84rem;
}

.privacy-check input {
  width: 1rem;
  min-height: 1rem;
  margin-top: 0.18rem;
  accent-color: var(--signal);
}

.submit-button {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding: 0 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: white;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.submit-button:hover { background: var(--signal); border-color: var(--signal); }

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

.site-footer {
  border-top: 1px solid var(--ink);
  padding: 1.3rem 0;
  background: var(--paper-light);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  font-size: 0.82rem;
}

.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 1.5rem; }
.footer-inner a { text-underline-offset: 0.2em; }

/* Rechtstexte */
.legal-page { background: var(--paper-light); }
.legal-main { padding: clamp(4rem, 9vw, 8rem) 0; }
.legal-wrap { max-width: 780px; }
.legal-wrap h1 { margin-bottom: 3rem; font-size: clamp(2.75rem, 5.5vw, 4.5rem); }
.legal-wrap h2 { margin: 2.5rem 0 0.75rem; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.2; }
.legal-wrap p, .legal-wrap li { max-width: 70ch; }
.legal-placeholder { padding: 0.8rem; border-left: 4px solid #e2a522; background: #fff3ca; }

@media (max-width: 900px) {
  .hero-grid,
  .section-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-side { max-width: 620px; padding-top: 0; }
  .section-intro { position: static; }
  .credentials-grid { grid-template-columns: 1fr 1fr; }
  .credentials p:nth-child(2) { border-right: 0; }
  .credentials p:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact-copy { max-width: 620px; }
}

@media (max-width: 620px) {
  .frame { width: min(calc(100% - 1.5rem), 1280px); }
  .header-inner { min-height: 60px; gap: 1rem; }
  .wordmark { font-size: 1.18rem; }
  .site-nav { gap: 0.9rem; font-size: 0.78rem; }
  .site-nav a:nth-child(2) { display: none; }
  .hero { padding-top: 3.4rem; }
  h1 { font-size: clamp(2.35rem, 10.5vw, 2.65rem); line-height: 1; }
  .service,
  .process li { grid-template-columns: 2rem 1fr; gap: 0.75rem; }
  .credentials-grid { grid-template-columns: 1fr; }
  .credentials p,
  .credentials p + p { min-height: 0; padding: 1.25rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .credentials p:last-child { border-bottom: 0; }
  .credentials strong { margin-bottom: 0.45rem; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 0.7rem; }
}

@media (max-width: 360px) {
  .site-nav a:first-child { display: none; }
  h1 { font-size: 2.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
