/* Vintage Consulting – Gestaltung nach dem Markenbuch 2025
   (Rot #E31E24, Gold #D8AA4D, Anthrazit #2B2A29, Schrift Inter).
   Aufbau: roter Markenrahmen oben, dunkle Kopfzeile, helle Inhalte mit
   cremefarbenen Bloecken und diagonalen Kanten wie im Flyer. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-variable.woff2') format('woff2');
}

:root {
  --rot: #e31e24;
  --rot-tief: #b8161b;
  --gold: #d8aa4d;
  --gold-tief: #a9822f;
  --anthrazit: #2b2a29;
  --anthrazit-tief: #1c1b1a;
  --creme: #f6f2ea;
  --creme-tief: #ebe4d6;
  --weiss: #ffffff;
  --text: #2b2a29;
  --leise: #6b6763;
  --linie: rgba(43, 42, 41, 0.14);
  --hell-auf-dunkel: rgba(255, 255, 255, 0.76);
  --breite: 1160px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    'Inter',
    'Segoe UI',
    system-ui,
    -apple-system,
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
}

h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
}

h3 {
  font-size: 20px;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: min(var(--breite), 100% - 40px);
  margin-inline: auto;
}

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rot);
  margin-bottom: 14px;
}

.dunkel .kicker,
.held .kicker {
  color: var(--gold);
}

.lead {
  font-size: 19px;
  color: var(--leise);
  max-width: 60ch;
}

.dunkel .lead,
.held .lead,
.seitenkopf .lead {
  color: var(--hell-auf-dunkel);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Knoepfe nach Markenbuch: Gold mit dunkler Ecke, dunkle und Rand-Variante */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  position: relative;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.btn-gold {
  background: var(--gold);
  color: var(--anthrazit-tief);
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 14px 14px 0;
  border-color: transparent var(--anthrazit-tief) transparent transparent;
}

.btn-gold:hover {
  background: #e2b95f;
}

.btn-dunkel {
  background: var(--anthrazit);
  color: var(--weiss);
}

.btn-dunkel:hover {
  background: var(--anthrazit-tief);
}

.btn-rand {
  background: transparent;
  color: var(--weiss);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.btn-rand:hover {
  box-shadow: inset 0 0 0 2px var(--weiss);
}

.btn-rand-dunkel {
  background: transparent;
  color: var(--anthrazit);
  box-shadow: inset 0 0 0 2px var(--anthrazit);
}

/* Markenrahmen und Kopfzeile */
.markenrahmen {
  height: 8px;
  background: linear-gradient(
    90deg,
    var(--rot-tief),
    var(--rot) 40%,
    var(--rot) 60%,
    var(--rot-tief)
  );
}

.kopf {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--anthrazit);
  color: var(--weiss);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kopf .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
  position: relative;
}

.kopf .logo img {
  height: 56px;
  width: auto;
}

.kopf nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.kopf nav a {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 2px solid transparent;
}

.kopf nav a:hover,
.kopf nav a[aria-current='page'] {
  color: var(--weiss);
  border-bottom-color: var(--gold);
}

.kopf .telefon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  color: var(--gold);
  white-space: nowrap;
}

.menue-knopf {
  display: none;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--weiss);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 14px;
  min-height: 44px;
  cursor: pointer;
}

/* Abschnitte */
.abschnitt {
  padding-block: 88px;
}

.creme {
  background: var(--creme);
}

.dunkel {
  background: var(--anthrazit);
  color: var(--weiss);
}

.abschnitt-kopf {
  max-width: 720px;
  margin-bottom: 44px;
}

/* Startseite: Held mit diagonal geschnittenem Foto */
.held {
  background: var(--anthrazit-tief);
  color: var(--weiss);
  position: relative;
  overflow: hidden;
}

.held .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  min-height: 560px;
  padding-block: 72px;
  position: relative;
  z-index: 1;
}

.held-bild {
  position: absolute;
  inset: 0 0 0 46%;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.held-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

.held-bild::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 27, 26, 0.85), rgba(28, 27, 26, 0.1) 45%);
}

.held h1 em {
  font-style: normal;
  color: var(--gold);
}

.aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.fakten {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 14px;
  color: var(--hell-auf-dunkel);
}

.fakten li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--rot);
  transform: skewX(-18deg);
  margin-right: 10px;
}

.rotkante {
  height: 10px;
  background: var(--rot);
  clip-path: polygon(0 0, 100% 40%, 100% 100%, 0 100%);
}

/* Leistungen: Karten mit Foto */
.leistungen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.leistung {
  background: var(--weiss);
  border: 1px solid var(--linie);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.leistung .bild {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 4px solid var(--rot);
}

.leistung .bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leistung .inhalt {
  padding: 28px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.leistung h3 {
  font-size: 24px;
  margin: 0;
}

.leistung p {
  margin: 0;
  color: var(--leise);
}

.leistung .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Rote Aussage aus dem Flyer */
.aussage {
  background: var(--rot-tief);
  color: var(--weiss);
}

.aussage .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.aussage h2 {
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.3;
}

.aussage h2 strong {
  font-weight: 800;
}

.aussage p {
  color: rgba(255, 255, 255, 0.86);
}

.faktoren {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faktoren li {
  background: var(--weiss);
  color: var(--anthrazit);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px 10px 22px;
  position: relative;
}

.faktoren li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  border-style: solid;
  border-width: 10px 10px 0 0;
  border-color: var(--rot) transparent transparent transparent;
}

.zitat-kasten {
  background: var(--anthrazit-tief);
  padding: 34px 34px 38px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--hell-auf-dunkel);
}

.zitat-kasten p:last-child {
  margin: 0;
}

.zitat-kasten strong {
  color: var(--gold);
}

/* Gutachten-Inhalte: Raster mit Linien-Symbolen wie im Flyer */
.punkte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px 34px;
}

.punkt {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  min-width: 0;
}

.punkt svg {
  width: 44px;
  height: 44px;
  stroke: var(--rot);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.punkt h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 4px 0 6px;
}

.punkt p {
  margin: 0;
  font-size: 15px;
  color: var(--leise);
}

/* Person: Bild plus Text */
.person {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
}

.portraet {
  max-width: 420px;
  border-bottom: 6px solid var(--rot);
  overflow: hidden;
}

.portraet img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
}

.merkmale {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}

.merkmale li {
  padding-left: 26px;
  position: relative;
}

.merkmale li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  transform: skewX(-18deg);
}

.zertifikate {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.zertifikate div {
  background: var(--weiss);
  border: 1px solid var(--linie);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--leise);
  min-width: 0;
  flex: 1 1 260px;
}

.zertifikate img {
  height: 40px;
  width: auto;
  flex: none;
}

.zertifikate strong {
  display: block;
  color: var(--text);
}

.zertifikate a {
  color: var(--text);
}

/* Kontaktband */
.kontaktband .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.kontaktzeilen {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kontaktzeilen li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  font-size: 18px;
}

.kontaktzeilen .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
}

.kontaktzeilen svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kontaktzeilen a {
  text-decoration: none;
}

.kontaktzeilen a:hover {
  text-decoration: underline;
}

/* Unterseiten: Seitenkopf mit Foto rechts */
.seitenkopf {
  background: var(--anthrazit);
  color: var(--weiss);
  position: relative;
  overflow: hidden;
}

.seitenkopf .wrap {
  position: relative;
  z-index: 1;
  padding-block: 64px;
  max-width: 640px;
  margin-left: max(20px, (100% - var(--breite)) / 2);
}

.seitenkopf .bild {
  position: absolute;
  inset: 0 0 0 55%;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

.seitenkopf .bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seitenkopf .bild::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(43, 42, 41, 0.9), rgba(43, 42, 41, 0.15) 50%);
}

.brotkrumen {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hell-auf-dunkel);
  margin-bottom: 18px;
}

.brotkrumen a {
  text-decoration: none;
}

.brotkrumen-hell {
  color: var(--leise);
}

.text {
  max-width: 760px;
}

.text h2 {
  font-size: 26px;
  margin-top: 40px;
}

.text h2:first-child {
  margin-top: 0;
}

.text ul {
  padding-left: 22px;
}

.text li {
  margin-bottom: 8px;
}

.zweispaltig {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.ablauf {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: schritt;
  display: grid;
  gap: 18px;
}

.ablauf li {
  counter-increment: schritt;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
}

.ablauf li::before {
  content: counter(schritt, decimal-leading-zero);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
  padding-top: 2px;
}

.ablauf strong {
  display: block;
  margin-bottom: 4px;
}

.ablauf p {
  margin: 0;
  color: var(--leise);
  font-size: 15px;
}

.hinweis {
  background: var(--creme);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  font-size: 15px;
  margin: 28px 0;
}

.faq details {
  border-top: 1px solid var(--linie);
  padding: 6px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--linie);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 12px 0;
  min-height: 44px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  color: var(--rot);
  font-weight: 800;
}

.faq details[open] summary::after {
  content: '–';
}

.faq p {
  color: var(--leise);
  margin: 0 0 16px;
}

.fotoleiste {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.fotoleiste img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.fotoleiste-zwei {
  grid-template-columns: 1fr 1fr;
}

/* Kontaktseite mit Formular */
.kontaktseite {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.formular {
  background: var(--creme);
  padding: 34px;
  display: grid;
  gap: 18px;
}

.formular h2 {
  margin: 0;
  font-size: 24px;
}

.feld {
  display: grid;
  gap: 6px;
}

.feld label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feld input,
.feld select,
.feld textarea {
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  min-height: 48px;
  border: 1px solid var(--linie);
  background: var(--weiss);
  color: var(--text);
  width: 100%;
}

.feld input:focus-visible,
.feld select:focus-visible,
.feld textarea:focus-visible,
.zustimmung input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 1px;
}

.feld [aria-invalid='true'] {
  border-color: var(--rot);
}

.feld textarea {
  min-height: 140px;
  resize: vertical;
}

.feld-fehler {
  font-size: 13px;
  color: var(--rot-tief);
  margin: 0;
}

.zwei {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.zustimmung {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  color: var(--leise);
}

.zustimmung input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--anthrazit);
}

.formular .klein {
  font-size: 13px;
  color: var(--leise);
  margin: 0;
}

/* Honigtopf: fuer Menschen unsichtbar, fuer Bots ein Feld wie jedes andere */
.falle {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.formular-status {
  padding: 20px 24px;
  font-size: 15px;
}

.formular-status p {
  margin: 0;
}

.formular-status.erfolg {
  background: var(--anthrazit);
  color: var(--weiss);
}

.formular-status.fehler {
  background: #fbe7e8;
  border-left: 4px solid var(--rot);
  color: var(--text);
}

.oeffnung {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--linie);
  font-size: 15px;
  color: var(--leise);
}

/* Rechtstexte */
.rechtstext h2 {
  font-size: 22px;
  margin-top: 36px;
}

.rechtstext p,
.rechtstext li {
  font-size: 16px;
}

.rechtstext address {
  font-style: normal;
  line-height: 1.7;
}

/* Fuss */
.fuss {
  background: var(--anthrazit-tief);
  color: var(--hell-auf-dunkel);
  padding-block: 48px 36px;
  font-size: 14px;
}

.fuss .wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px 48px;
  align-items: center;
}

.fuss .logo img {
  height: 60px;
  width: auto;
}

.fuss nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  justify-content: flex-end;
}

.fuss nav a {
  text-decoration: none;
  padding-block: 8px;
}

.fuss nav a:hover {
  color: var(--weiss);
}

.fuss .zeile {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

.fuss .zeile p {
  margin: 0;
}

@media (max-width: 960px) {
  .kopf nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--anthrazit);
    padding: 10px 20px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .kopf.offen nav {
    display: flex;
  }

  .kopf nav a {
    padding: 14px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .kopf .telefon {
    display: none;
  }

  .menue-knopf {
    display: inline-flex;
  }

  .held .wrap {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .held-bild {
    position: relative;
    inset: auto;
    height: 300px;
    clip-path: none;
    order: -1;
    margin-inline: calc(50% - 50vw);
  }

  .held-bild::after {
    background: linear-gradient(0deg, rgba(28, 27, 26, 0.9), rgba(28, 27, 26, 0) 60%);
  }

  .aussage .wrap,
  .person,
  .zweispaltig,
  .kontaktseite,
  .kontaktband .wrap {
    grid-template-columns: 1fr;
  }

  .seitenkopf .bild {
    inset: 0;
    clip-path: none;
    opacity: 0.35;
  }

  .seitenkopf .bild::after {
    background: rgba(43, 42, 41, 0.5);
  }

  .fuss .wrap {
    grid-template-columns: 1fr;
  }

  .fuss nav {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .abschnitt {
    padding-block: 60px;
  }

  .zwei {
    grid-template-columns: 1fr;
  }

  .fotoleiste {
    grid-template-columns: 1fr 1fr;
  }

  .fotoleiste img:nth-child(3) {
    display: none;
  }

  .formular {
    padding: 24px 20px;
  }

  .portraet {
    max-width: 100%;
  }

  .portraet img {
    aspect-ratio: 5 / 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
