/* ==========================================================================
   Rohwerk Projektbau GbR – Website
   Übertragen aus dem Claude-Design-Projekt "Rohwerk Projektbau".
   Schrift Jost wird lokal ausgeliefert (kein Abruf bei Google, DSGVO).
   Farbkontraste: Für Text und Schaltflächen wird ein dunkleres Gold
   (--gold-text, 5.1:1 auf Weiß) verwendet; das Marken-Gold (--gold)
   bleibt für Linien, Rahmen, Wortmarke und dunkle Flächen erhalten.
   ========================================================================== */

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/jost-variable-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: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/jost-variable-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;
}

:root {
  --gold: #AF9A77;          /* Marken-Gold: Linien, Rahmen, Wortmarke, dunkle Flächen */
  --gold-text: #7f6b4c;     /* Text-Gold, 5.1:1 auf Weiß (WCAG AA) */
  --gold-hover: #665538;    /* Hover-Zustand für Text-Gold */
  --gold-stroke: #cfc4ae;   /* dekorative Konturziffern */

  --text: #45423d;
  --text-2: #5a5751;
  --text-3: #6b6862;
  --text-muted: #6f6d6a;    /* 5.2:1 auf Weiß */
  --text-faint: #7a7671;    /* 4.5:1 auf Weiß (Platzhalter, Hinweise) */
  --text-on-dark: #b8b3a9;
  --text-footer: #9a9792;   /* 5.3:1 auf Footer-Grund */
  --wordmark-grey: #8a8783;
  --wordmark-sub: #908F8F;

  --bg: #ffffff;
  --bg-light: #f6f5f2;
  --bg-beige: #f6f3ec;
  --bg-dark: #2f2d2a;
  --bg-footer: #262421;

  --line: #eceae4;
  --line-2: #e3e0d9;
  --line-3: #d8d2c4;
  --line-nav: #f0eee9;
  --line-footer: #3a3835;

  --nav-h: 96px;
  --gutter: clamp(24px, 4vw, 64px);
  --container: 1460px;

  --font: 'Jost', 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) - 6px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-text); text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
a:hover { color: var(--gold-hover); }

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

input, select, textarea, button { font-family: var(--font); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-text) !important; }
::placeholder { color: var(--text-faint); opacity: 1; }

:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 110px var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Sprunglink (Tastaturnutzung) */

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--bg-dark);
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0.08em;
  transform: translateY(-200%);
  transition: transform .15s ease;
}

.skip-link:focus {
  transform: translateY(0);
  color: #ffffff;
  outline: 2px solid var(--gold);
}

main:focus { outline: none; }

/* --------------------------------------------------------------------------
   Typografie-Bausteine
   -------------------------------------------------------------------------- */

.eyebrow {
  font-size: 15px;
  letter-spacing: 0.4em;
  font-weight: 500;
  color: var(--gold-text);
  text-transform: uppercase;
}

.eyebrow--dark { color: var(--text); }

.headline {
  font-size: 32px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--text);
  text-wrap: balance;
}

.rule {
  width: 56px;
  height: 2px;
  background: var(--gold);
}

.rule--center { margin-left: auto; margin-right: auto; }

.lead {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-2);
  text-wrap: pretty;
}

.body-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-2);
  text-wrap: pretty;
}

/* Buttons */

.btn {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: #ffffff;
  background: var(--gold-text);
  padding: 17px 36px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .2s ease;
}

.btn:hover { background: var(--gold-hover); color: #ffffff; }

.btn--outline {
  color: var(--gold-text);
  background: transparent;
  border: 1px solid var(--gold-text);
}

.btn--outline:hover { background: var(--gold-text); color: #ffffff; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line-nav);
  padding: 0 var(--gutter);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav__brand img {
  height: clamp(46px, 5vw, 60px);
  width: auto;
}

/* Wortmarke = Logotype, daher Marken-Gold (WCAG-Ausnahme für Logos) */

.nav__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__wordmark-name {
  font-size: clamp(17px, 1.9vw, 24px);
  font-weight: 400;
  letter-spacing: clamp(0.16em, 0.26vw, 0.28em);
  color: var(--wordmark-grey);
  white-space: nowrap;
}

.nav__wordmark-name span { color: var(--gold); }

.nav__wordmark-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

.nav__wordmark-sub::before,
.nav__wordmark-sub::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold);
}

.nav__wordmark-sub span {
  font-size: clamp(7.5px, 0.85vw, 10px);
  font-weight: 400;
  letter-spacing: 0.4em;
  color: var(--wordmark-sub);
  white-space: nowrap;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 44px);
  min-width: 0;
}

.nav__link {
  font-size: clamp(11px, 1.2vw, 14px);
  letter-spacing: clamp(0.06em, 0.12vw, 0.14em);
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  text-transform: uppercase;
}

.nav__link:hover { color: var(--gold-text); }

.nav__link[aria-current="page"] {
  color: var(--gold-text);
  border-bottom-color: var(--gold);
}

.nav__cta {
  font-size: clamp(11px, 1.2vw, 14px);
  letter-spacing: clamp(0.06em, 0.12vw, 0.14em);
  font-weight: 500;
  color: var(--gold-text);
  border: 1px solid var(--gold);
  padding: 14px clamp(14px, 1.8vw, 30px);
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
}

.nav__cta:hover { background: var(--gold-text); border-color: var(--gold-text); color: #ffffff; }

/* Burger (nur mobil sichtbar) */

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.nav__toggle-bar {
  position: relative;
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: background-color .2s ease;
}

.nav__toggle-bar::before,
.nav__toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: transform .25s ease, top .25s ease;
}

.nav__toggle-bar::before { top: -8px; }
.nav__toggle-bar::after { top: 8px; }

.nav__toggle[aria-expanded="true"] .nav__toggle-bar { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::after { top: 0; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Startseite: Hero + Merkmale
   -------------------------------------------------------------------------- */

.hero-wrap {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
}

.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(255,255,255,0.97) 0%,
    rgba(255,255,255,0.93) 28%,
    rgba(255,255,255,0.55) 48%,
    rgba(255,255,255,0.05) 70%);
}

.hero__inner {
  position: relative;
  flex: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--gutter);
}

.hero__content { max-width: 620px; }

.hero__title {
  margin-bottom: 32px;
  font-size: clamp(40px, 4.6vw, 62px);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: 0.06em;
  color: var(--text);
}

.hero__title span { color: var(--gold-text); }

.hero__text {
  margin-bottom: 44px;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 420px;
  text-wrap: pretty;
}

/* Merkmale-Leiste */

.features {
  flex-shrink: 0;
  background: var(--bg-light);
  border-top: 1px solid var(--line);
  padding: 0 var(--gutter);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.feature {
  display: flex;
  gap: 20px;
  padding: 40px 32px;
  border-left: 1px solid var(--line-2);
}

.feature:first-child { padding-left: 0; border-left: none; }
.feature:last-child { padding-right: 0; }

.feature svg { flex-shrink: 0; width: 44px; height: 44px; }

.feature__title {
  margin-bottom: 10px;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
}

.feature__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-3);
}

/* --------------------------------------------------------------------------
   Startseite: Vorstellung
   -------------------------------------------------------------------------- */

.intro {
  padding: 110px var(--gutter) 90px;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}

.intro__title {
  font-size: 34px;
  font-weight: 300;
  line-height: 1.25;
  color: var(--text);
  text-wrap: balance;
}

.intro__title span { color: var(--gold-text); }

.intro__text p + p { margin-top: 20px; }

/* --------------------------------------------------------------------------
   Startseite: Leistungen
   -------------------------------------------------------------------------- */

.services {
  background: var(--bg-beige);
  padding: 100px var(--gutter);
}

.services__head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 56px;
}

.services__head .rule-line {
  flex: 1;
  height: 1px;
  background: var(--line-3);
}

.services__hint {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  background: var(--bg);
  padding: 40px 36px;
  border-top: 2px solid var(--gold);
}

.card__title {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
}

.card__title a { color: var(--text); }
.card__title a:hover { color: var(--gold-text); }

.card__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-3);
}

/* --------------------------------------------------------------------------
   Startseite: Über uns
   -------------------------------------------------------------------------- */

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about .eyebrow { margin-bottom: 12px; }
.about .headline { margin-bottom: 14px; }
.about .rule { margin-bottom: 24px; }
.about .body-text { margin-bottom: 18px; }
.about .body-text:last-of-type { margin-bottom: 32px; }

.about__img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--text-3);
  border: 1px solid var(--line-3);
  padding: 9px 18px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Startseite: Bildband mit Zitat
   -------------------------------------------------------------------------- */

.quote-band {
  position: relative;
  height: 420px;
}

.quote-band__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-band__overlay {
  position: absolute;
  inset: 0;
  background: rgba(38,36,33,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-band__text {
  font-size: 30px;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-align: center;
  max-width: 720px;
  padding: 0 48px;
  line-height: 1.4;
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   Startseite: Ablauf
   -------------------------------------------------------------------------- */

.process__head {
  text-align: center;
  margin-bottom: 72px;
}

.process__head .eyebrow { margin-bottom: 8px; }
.process__head .headline { margin-bottom: 14px; }

.process__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 34px 0 0 26px;
  border-left: 1px solid var(--line-2);
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: -1px;
  width: 1px;
  height: 34px;
  background: var(--gold);
}

.step__nr {
  position: absolute;
  top: -14px;
  left: 26px;
  font-size: 76px;
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-stroke);
  user-select: none;
}

.step__title {
  position: relative;
  font-size: 16px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--text);
  margin: 34px 0 10px;
  text-transform: uppercase;
}

.step__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-3);
  max-width: 320px;
}

/* --------------------------------------------------------------------------
   Kontakt / Projektanfrage
   -------------------------------------------------------------------------- */

.contact {
  background: var(--bg-dark);
  padding: 100px var(--gutter);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.contact .eyebrow { margin-bottom: 8px; color: var(--gold); }

.contact__title {
  margin-bottom: 28px;
  font-size: 32px;
  font-weight: 300;
  line-height: 1.3;
  color: #ffffff;
  text-wrap: balance;
}

.contact__text {
  margin-bottom: 40px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-on-dark);
  text-wrap: pretty;
}

.persons {
  display: grid;
  gap: 28px;
}

.person {
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}

.person__name {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
}

.person__role {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-on-dark);
}

.person__links {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.contact .person__links a { color: var(--gold); }
.contact .person__links a:hover { color: #ffffff; }
.contact .person__links a.tel { color: var(--text-on-dark); }
.contact .person__links a.tel:hover { color: #ffffff; }

/* Formular */

.form {
  background: var(--bg);
  padding: 48px 44px;
  display: grid;
  gap: 18px;
  align-self: start;
}

.form--light { background: var(--bg-light); }

.form__title {
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
}

.form__hint {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line-3);
  border-radius: 0;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s ease;
}

.form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236f6d6a' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form select option { color: var(--text); }

.form textarea { resize: vertical; min-height: 140px; }

.form__submit {
  font-size: 14px;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: #ffffff;
  background: var(--gold-text);
  padding: 17px;
  border: none;
  cursor: pointer;
  transition: background-color .2s ease;
}

.form__submit:hover { background: var(--gold-hover); }

.form__note {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--text-faint);
  line-height: 1.5;
}

.form__status {
  display: none;
  font-size: 14px;
  font-weight: 400;
  color: var(--gold-text);
}

.form__status[data-visible="true"] { display: block; }

.form__required {
  font-size: 12.5px;
  color: var(--text-faint);
}

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

.footer {
  background: var(--bg-footer);
  padding: 56px var(--gutter) 40px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer__logo {
  height: 130px;
  width: auto;
}

.footer__nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer__nav a {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--text-on-dark);
  text-transform: uppercase;
}

.footer__nav a:hover { color: var(--gold); }

.footer__bottom {
  border-top: 1px solid var(--line-footer);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__copy,
.footer__legal a,
.footer__legal button {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-footer);
}

.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }

.footer__legal button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color .2s ease;
}

.footer__legal a:hover,
.footer__legal button:hover { color: var(--gold); }

.footer :focus-visible { outline-color: var(--gold); }

/* --------------------------------------------------------------------------
   Unterseiten: Seitenkopf und CTA-Band
   -------------------------------------------------------------------------- */

.page-header {
  padding: calc(var(--nav-h) + 80px) var(--gutter) 80px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--line);
}

.page-header__title {
  margin-bottom: 14px;
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text);
  hyphens: manual;
  overflow-wrap: break-word;
}

.page-header__title span { color: var(--gold-text); }

.page-header .rule { margin-bottom: 24px; }

.page-header__text {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 640px;
  text-wrap: pretty;
}

.breadcrumb {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--line-3);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold-text); }
.breadcrumb [aria-current="page"] { color: var(--text); }

.cta {
  background: var(--bg-dark);
  padding: 80px var(--gutter);
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta__title {
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 0.03em;
}

.cta__text {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-on-dark);
}

/* Aufzählung mit Goldstrich */

.dash-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dash-list__item {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-2);
}

.dash-list__item::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   Unterseite: Leistungen
   -------------------------------------------------------------------------- */

.service-list { padding: 90px var(--gutter); }

.service-row {
  display: grid;
  grid-template-columns: 90px 1fr 1.1fr;
  gap: var(--gutter);
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.service-row:first-child { padding-top: 0; }

.service-row__nr {
  font-size: 60px;
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-stroke);
  user-select: none;
}

.service-row__title {
  margin-bottom: 14px;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text);
  text-wrap: balance;
}

.service-row__text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-2);
  text-wrap: pretty;
}

.service-row__box {
  background: var(--bg-light);
  padding: 28px 32px;
}

.service-list__note { margin-top: 56px; }

.service-row__box-title {
  margin-bottom: 14px;
  font-size: 12.5px;
  letter-spacing: 0.24em;
  font-weight: 600;
  color: var(--gold-text);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Unterseite: Unternehmen
   -------------------------------------------------------------------------- */

.company { padding: 100px var(--gutter); }

.company__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.company .headline { font-size: 30px; margin-bottom: 14px; }
.company .rule { margin-bottom: 24px; }
.company .body-text + .body-text { margin-top: 18px; }

.values {
  background: var(--bg-beige);
  padding: 90px var(--gutter);
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-head .eyebrow { margin-bottom: 8px; }
.section-head .headline { margin-bottom: 14px; font-size: 30px; }

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.value-card {
  background: var(--bg);
  padding: 36px 32px;
  border-top: 2px solid var(--gold);
}

.value-card__title {
  margin-bottom: 10px;
  font-size: 15px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
}

.value-card__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-3);
}

.partners { padding: 100px var(--gutter); }

.partners__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.partner-card {
  border: 1px solid var(--line);
  padding: 44px 40px;
  text-align: center;
}


.partner-card__name {
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
}

.partner-card__role {
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: 0.18em;
  font-weight: 300;
  color: var(--text-muted);
  text-transform: uppercase;
}

.partner-card__rule {
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 20px;
}

.partner-card__links {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
}

.partner-card__links a.tel { color: var(--text-2); }
.partner-card__links a.tel:hover { color: var(--gold-text); }

/* --------------------------------------------------------------------------
   Unterseite: Ablauf
   -------------------------------------------------------------------------- */

.phases {
  padding: 100px var(--gutter);
  max-width: 1100px;
  margin: 0 auto;
}

.phases__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.phase {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(24px, 4vw, 56px);
}

.phase__marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phase__nr {
  width: 64px;
  height: 64px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  color: var(--gold-text);
  background: var(--bg);
  flex-shrink: 0;
}

.phase__line {
  flex: 1;
  width: 1px;
  background: var(--line-2);
  margin: 8px 0;
}

.phase:last-child .phase__line { background: transparent; }

.phase__body { padding-bottom: 64px; }
.phase:last-child .phase__body { padding-bottom: 0; }

.phase__label {
  margin: 6px 0 4px;
  font-size: 13px;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--gold-text);
  text-transform: uppercase;
}

.phase__title {
  margin-bottom: 14px;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text);
}

.phase__text {
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 640px;
  text-wrap: pretty;
}

.phase .dash-list { gap: 8px; }
.phase .dash-list__item { color: var(--text-3); }

/* --------------------------------------------------------------------------
   Unterseite: Kontakt
   -------------------------------------------------------------------------- */

.contact-page { padding: 100px var(--gutter); }

.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.contact-page__title {
  margin-bottom: 28px;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text);
  text-transform: uppercase;
}

.contact-page .persons { margin-bottom: 48px; }
.contact-page .person__name { color: var(--text); font-size: 17px; }
.contact-page .person__role { color: var(--text-muted); font-size: 14px; }
.contact-page .person__links a.tel { color: var(--text-2); }
.contact-page .person__links a.tel:hover { color: var(--gold-text); }

.info-box {
  background: var(--bg-light);
  padding: 28px 32px;
}

.info-box__title {
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 0.24em;
  font-weight: 600;
  color: var(--gold-text);
}

.info-box__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-2);
}

/* --------------------------------------------------------------------------
   Rechtstexte (Impressum, Datenschutz, Barrierefreiheit) und 404
   -------------------------------------------------------------------------- */

.legal {
  padding: 80px var(--gutter) 110px;
}

.legal__inner {
  max-width: 860px;
  margin: 0 auto;
}

.legal h2 {
  margin: 48px 0 14px;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text);
}

.legal h2:first-child { margin-top: 0; }

.legal h3 {
  margin: 28px 0 10px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
}

.legal p,
.legal li,
.legal address {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-2);
  text-wrap: pretty;
}

.legal p + p { margin-top: 14px; }

.legal ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal li + li { margin-top: 6px; }

.legal address { font-style: normal; }

.legal a { text-decoration: underline; text-underline-offset: 3px; }

.legal .note {
  margin-top: 14px;
  padding: 18px 22px;
  background: var(--bg-light);
  border-left: 2px solid var(--gold);
}

.legal strong { font-weight: 500; color: var(--text); }

.legal__meta {
  margin-top: 48px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Platzhalter, die vor Veröffentlichung ersetzt werden müssen */
mark.todo {
  background: #fff3c4;
  color: #5a4a00;
  padding: 0 4px;
  font-weight: 400;
}

.error-page {
  padding: calc(var(--nav-h) + 120px) var(--gutter) 120px;
  text-align: center;
}

.error-page__code {
  font-size: clamp(80px, 14vw, 140px);
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-stroke);
}

.error-page .headline { margin: 16px 0 20px; }
.error-page .body-text { max-width: 520px; margin: 0 auto 36px; }

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

@media (max-width: 1100px) {
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { padding: 32px 28px; }
  .feature:first-child { padding-left: 0; }
  .feature:nth-child(3) { border-left: none; padding-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .feature:nth-child(2) { padding-right: 0; }

  .services__grid,
  .process__grid,
  .values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .service-row { grid-template-columns: 70px 1fr; }
  .service-row__box { grid-column: 2; }
}

@media (max-width: 960px) {
  :root { --nav-h: 76px; }

  .nav__menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 32px;
    background: var(--bg);
    border-top: 1px solid var(--line-nav);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
  }

  .nav__menu[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
    transition: transform .3s ease, visibility 0s;
  }

  .nav__link {
    font-size: 15px;
    letter-spacing: 0.16em;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav__link[aria-current="page"] { border-bottom-color: var(--line); }

  .nav__cta {
    margin-top: 28px;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.16em;
    padding: 16px;
  }

  .nav__toggle { display: flex; }

  body[data-menu-open="true"] { overflow: hidden; }

  .hero__overlay {
    background: linear-gradient(to right,
      rgba(255,255,255,0.94) 0%,
      rgba(255,255,255,0.88) 45%,
      rgba(255,255,255,0.55) 75%,
      rgba(255,255,255,0.25) 100%);
  }

  .hero__inner { padding: 64px var(--gutter); }

  .intro { padding: 80px var(--gutter) 64px; }
  .intro__grid { grid-template-columns: 1fr; gap: 32px; }
  .intro__title { font-size: 30px; }

  .services { padding: 80px var(--gutter); }
  .services__head { flex-wrap: wrap; margin-bottom: 40px; }
  .services__hint { flex-basis: 100%; }

  .section { padding: 80px var(--gutter); }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__img { height: 380px; }

  .quote-band { height: 340px; }
  .quote-band__text { font-size: 24px; padding: 0 32px; }

  .process__head { margin-bottom: 56px; }

  .contact { padding: 80px var(--gutter); }
  .contact__grid { grid-template-columns: 1fr; gap: 56px; }
  .contact__title { font-size: 28px; }

  .form { padding: 36px 28px; }

  .footer__logo { height: 110px; }

  .page-header { padding: calc(var(--nav-h) + 56px) var(--gutter) 56px; }

  .cta { padding: 64px var(--gutter); }
  .cta__title { font-size: 24px; }

  .service-list { padding: 64px var(--gutter); }
  .service-row { padding: 44px 0; }

  .company { padding: 80px var(--gutter); }
  .company__grid { grid-template-columns: 1fr; gap: 40px; }
  .company .about__img { height: 380px; }

  .values,
  .partners { padding: 80px var(--gutter); }
  .section-head { margin-bottom: 44px; }

  .phases { padding: 80px var(--gutter); }
  .phase { grid-template-columns: 72px 1fr; }
  .phase__nr { width: 52px; height: 52px; font-size: 18px; }
  .phase__title { font-size: 22px; }

  .contact-page { padding: 80px var(--gutter); }
  .contact-page__grid { grid-template-columns: 1fr; gap: 48px; }

  .legal { padding: 64px var(--gutter) 90px; }
}

@media (max-width: 640px) {
  .hero__title { font-size: clamp(34px, 9vw, 42px); margin-bottom: 24px; }
  .page-header__title { font-size: clamp(26px, 7.6vw, 34px); letter-spacing: 0.04em; }
  .hero__text { font-size: 17px; margin-bottom: 32px; }

  .features__grid { grid-template-columns: 1fr; }
  .feature,
  .feature:first-child,
  .feature:nth-child(2),
  .feature:nth-child(3) {
    padding: 28px 0;
    border-left: none;
    border-top: 1px solid var(--line-2);
  }
  .feature:first-child { border-top: none; }

  .services__grid,
  .process__grid,
  .values__grid,
  .partners__grid { grid-template-columns: 1fr; }

  .process__grid { gap: 44px; }

  .headline,
  .contact__title { font-size: 26px; }

  .form__row { grid-template-columns: 1fr; }
  .form { padding: 28px 20px; }

  .footer__top { flex-direction: column; }
  .footer__nav { gap: 18px 24px; }
  .footer__bottom { flex-direction: column; }

  .service-row { grid-template-columns: 1fr; gap: 20px; }
  .service-row__nr { font-size: 48px; }
  .service-row__box { grid-column: auto; }
  .service-row__title { font-size: 22px; }

  .phase { grid-template-columns: 56px 1fr; gap: 20px; }
  .phase__nr { width: 44px; height: 44px; font-size: 16px; }
  .phase__body { padding-bottom: 48px; }

  .partner-card { padding: 36px 24px; }
}

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

@media print {
  .nav, .nav__toggle, .skip-link, .cta { display: none !important; }
  .hero-wrap { min-height: 0; padding-top: 0; }
  .page-header { padding-top: 24px; }
  body { color: #000; }
  a { color: #000; }
}
