/* Fokusfeld Media – Gestaltung für alle Seiten
   Farben und Schriften stehen ganz oben. Wer etwas ändern will, ändert es hier. */

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("fonts/nunito-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  /* Grundfarben */
  --schwarz: #0B0B0C;
  --weiss: #FFFFFF;
  --graphit: #25262A;
  /* Akzente, sparsam */
  --sonnengold: #E8B64A;   /* Schlusspunkt */
  --lichtgold: #F4D47A;    /* feine Linie auf Graphit */
  --bernstein: #C98C2A;    /* kleine Grafiken */
  --limette: #D2E67E;      /* nur „Ausgewählt“ */
  /* Abgeleitete Töne für Text */
  --text-hell-2: rgba(255, 255, 255, 0.68);
  --text-dunkel-2: #55565C;
  --linie-hell: rgba(255, 255, 255, 0.14);
  --linie-dunkel: #E3E3E5;
  --flaeche-hell: #F5F5F6;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", "Avenir Next", Avenir, system-ui, sans-serif;

  --breite: 1200px;
  --rand: clamp(20px, 5vw, 48px);
  --abschnitt: clamp(72px, 11vw, 144px);
  --radius: 10px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--schwarz);
  color: var(--weiss);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, button, summary { touch-action: manipulation; }
.menue-knopf, .frage summary, .knopf { -webkit-user-select: none; user-select: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }

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

.huelle { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--weiss); color: var(--schwarz); padding: 10px 16px; border-radius: 6px;
}
.skip:focus { top: 12px; }

/* ---------- Typografie ---------- */
.titel {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.04;
  text-wrap: balance;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}
.titel--xl { font-size: clamp(2.4rem, 6.6vw, 5.75rem); }
.titel--l  { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.08; }
.titel--m  { font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.15; }
.titel--s  { font-size: 1.45rem; line-height: 1.2; }

/* Der goldene Schlusspunkt – wie im Logo */
.punkt {
  display: inline-block;
  width: 0.17em; height: 0.17em;
  margin-left: 0.04em;
  border-radius: 50%;
  background: var(--sonnengold);
  vertical-align: baseline;
}

.vorspann { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; max-width: 34em; }
.leise { color: var(--text-hell-2); }
.hell .leise { color: var(--text-dunkel-2); }
.kennung { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; margin: 0 0 18px; color: var(--text-hell-2); }
.hell .kennung { color: var(--text-dunkel-2); }

/* feine Lichtgold-Linie auf Graphit */
.goldlinie { display: block; width: 56px; height: 2px; background: var(--lichtgold); margin: 0 0 28px; border: 0; }

/* ---------- Flächen ---------- */
.abschnitt { padding: var(--abschnitt) 0; }
.schwarz { background: var(--schwarz); color: var(--weiss); }
.graphit { background: var(--graphit); color: var(--weiss); }
.hell { background: var(--weiss); color: var(--schwarz); }
.hellgrau { background: var(--flaeche-hell); color: var(--schwarz); }
.hellgrau .leise { color: var(--text-dunkel-2); }
.hellgrau .kennung { color: var(--text-dunkel-2); }

/* ---------- Wortmarke ---------- */
.wortmarke {
  display: inline-flex; flex-direction: column; align-items: center;
  text-decoration: none; color: var(--weiss); line-height: 1;
}
.wortmarke__name { font-family: var(--sans); font-weight: 650; font-size: 1.6rem; letter-spacing: -0.025em; }
.wortmarke__name .punkt { width: 0.2em; height: 0.2em; margin-left: 0.05em; }
.wortmarke__zusatz { font-weight: 300; font-size: 0.62rem; letter-spacing: 0.62em; margin-top: 5px; padding-left: 0.62em; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--schwarz) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--linie-hell);
  padding-top: env(safe-area-inset-top);
}
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.navi { display: flex; align-items: center; gap: 34px; }
.navi a { text-decoration: none; font-size: 0.97rem; color: var(--text-hell-2); transition: color 160ms ease; }
.navi a[aria-current="page"] { color: var(--weiss); }
@media (hover: hover) and (pointer: fine) { .navi a:hover { color: var(--weiss); } }
.navi .knopf { color: var(--schwarz); }

.menue-knopf {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; color: var(--weiss); cursor: pointer;
}
.menue-knopf span, .menue-knopf span::before, .menue-knopf span::after {
  display: block; width: 22px; height: 1.5px; background: currentColor; position: relative;
  transition: transform 220ms var(--ease-out), opacity 160ms ease;
}
.menue-knopf span::before, .menue-knopf span::after { content: ""; position: absolute; left: 0; }
.menue-knopf span::before { top: -7px; }
.menue-knopf span::after { top: 7px; }
.kopf.offen .menue-knopf span { background: transparent; }
.kopf.offen .menue-knopf span::before { transform: translateY(7px) rotate(45deg); }
.kopf.offen .menue-knopf span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .menue-knopf { display: inline-flex; }
  .navi {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--schwarz); border-bottom: 1px solid var(--linie-hell);
    padding: 8px var(--rand) 24px;
    opacity: 0; transform: translateY(-6px); visibility: hidden;
    transition: opacity 180ms ease, transform 220ms var(--ease-out), visibility 0s linear 220ms;
  }
  .kopf.offen .navi { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .navi a { padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--linie-hell); }
  .navi .knopf { margin-top: 20px; border-bottom: 0; justify-content: center; }
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  background: var(--weiss); color: var(--schwarz);
  transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease;
  -webkit-user-select: none; user-select: none;
}
.knopf:active { transform: scale(0.97); }
.knopf--klein { min-height: 40px; padding: 0 18px; font-size: 0.93rem; }
.knopf--rand { background: transparent; color: var(--weiss); border-color: rgba(255,255,255,0.4); }
.hell .knopf, .hellgrau .knopf { background: var(--schwarz); color: var(--weiss); }
@media (hover: hover) and (pointer: fine) {
  .knopf:hover { background: #E9E9EA; }
  .knopf--rand:hover { background: rgba(255,255,255,0.08); border-color: var(--weiss); }
  .hell .knopf:hover, .hellgrau .knopf:hover { background: var(--graphit); }
}

.textlink {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 calc(50% + 0.75em);
}
.pfeil { width: 0.9em; height: 0.9em; flex: none; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a:hover > .pfeil { transform: translate(2px, -2px); } }

/* ---------- Start: Hero ---------- */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 112px); }
.hero__raster { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); align-items: end; }
.hero h1 { margin-bottom: 28px; }
.hero .vorspann { margin-bottom: 36px; }
.hero__aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

.fokuskarte {
  display: block; text-decoration: none; color: var(--weiss);
  background: var(--graphit); border-radius: var(--radius); overflow: hidden;
}
.fokuskarte__bild { aspect-ratio: 4 / 3; overflow: hidden; }
.fokuskarte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .fokuskarte:hover .fokuskarte__bild img { transform: scale(1.025); } }
.fokuskarte__text { padding: 24px 26px 26px; }
.fokuskarte .titel { margin: 14px 0 8px; }
.fokuskarte__fuss { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; font-weight: 600; }

.label-ausgewaehlt {
  display: inline-block; padding: 5px 10px 4px; border-radius: 4px;
  background: var(--limette); color: var(--schwarz);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
}

/* ---------- Ablauf ---------- */
.kopfzeile-abschnitt { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.kopfzeile-abschnitt p { margin: 0; }
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: schritt; }
.schritte li { counter-increment: schritt; padding: 26px 28px 8px 0; border-top: 1px solid var(--schwarz); }
.schritte li + li { padding-left: 28px; border-left: 1px solid var(--linie-dunkel); }
.schritte li::before {
  content: counter(schritt); display: block;
  font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--bernstein); margin-bottom: 22px;
}
.schritte h3 { font-family: var(--sans); font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.schritte p { color: var(--text-dunkel-2); margin: 0; font-size: 1rem; }
.schritte .zeit { display: block; margin-top: 14px; font-size: 0.875rem; font-weight: 700; color: var(--schwarz); }

/* ---------- Arbeiten ---------- */
.arbeiten { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.arbeit { grid-column: span 4; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.arbeit--gross { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.arbeit__bild { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: #1A1B1E; }
.arbeit__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a.arbeit:hover .arbeit__bild img { transform: scale(1.025); } }
.arbeit__text { padding-top: 22px; }
.arbeit--gross .arbeit__text { padding-top: 0; }
.arbeit__art { font-size: 0.9rem; color: var(--text-hell-2); margin-bottom: 6px; }
.arbeit .titel { margin-bottom: 10px; }
.arbeit p { color: var(--text-hell-2); max-width: 32em; }
.zahlen { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 22px 0 6px; padding: 0; list-style: none; }
.zahlen li { display: flex; flex-direction: column; }
.zahlen strong { font-family: var(--serif); font-weight: 400; font-size: 2.25rem; line-height: 1.05; font-variant-numeric: lining-nums; }
.zahlen span { font-size: 0.9rem; color: var(--text-hell-2); }
.balken { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; margin-right: 8px; vertical-align: -1px; }
.balken i { display: block; width: 3px; background: var(--bernstein); border-radius: 1px; }
.balken i:nth-child(1) { height: 6px; } .balken i:nth-child(2) { height: 10px; } .balken i:nth-child(3) { height: 14px; }
.unten-link { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Leistungen (Übersicht) ---------- */
.leistungen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.leistung { border-top: 1px solid var(--schwarz); padding-top: 26px; }
.leistung h3 { margin-bottom: 12px; }
.leistung p { color: var(--text-dunkel-2); }
.leistung ul { list-style: none; padding: 0; margin: 18px 0 0; }
.leistung li { padding: 9px 0; border-top: 1px solid var(--linie-dunkel); font-size: 0.97rem; }

/* ---------- Aussage ---------- */
.aussage { max-width: 22em; }
.aussage + .leise { margin-top: 28px; max-width: 36em; }
.unterschrift { margin-top: 36px; font-weight: 600; }

/* ---------- Kontakt ---------- */
.kontakt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.kontakt__wege { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie-hell); }
.kontakt__wege a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px;
  padding: 22px 0; border-bottom: 1px solid var(--linie-hell); text-decoration: none;
}
.kontakt__wege small { grid-column: 1; font-size: 0.875rem; color: var(--text-hell-2); }
.kontakt__wege b { grid-column: 1; font-weight: 600; font-size: 1.2rem; overflow-wrap: anywhere; }
.kontakt__wege .pfeil { grid-column: 2; grid-row: 1 / span 2; width: 18px; height: 18px; }
.kontakt__hinweis { margin-top: 22px; font-size: 0.95rem; }

/* ---------- Unterseiten ---------- */
.seitenkopf { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); }
.seitenkopf h1 { margin-bottom: 24px; max-width: 14em; }

.leistung-detail { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--linie-dunkel); }
.leistung-detail:first-child { border-top: 0; padding-top: 0; }
.leistung-detail h2 { margin-bottom: 14px; }
.liste { list-style: none; padding: 0; margin: 24px 0 0; }
.liste li { padding: 12px 0 12px 22px; border-top: 1px solid var(--linie-dunkel); position: relative; }
.liste li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 7px; height: 7px; border-radius: 50%; background: var(--schwarz); }

.fragen { max-width: 820px; }
.frage { border-top: 1px solid var(--linie-dunkel); }
.frage:last-child { border-bottom: 1px solid var(--linie-dunkel); }
.frage summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none; font-weight: 650; font-size: 1.1rem;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg); transition: transform 200ms var(--ease-out);
}
.frage[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.frage p { color: var(--text-dunkel-2); max-width: 40em; padding-bottom: 8px; }

.projekt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--linie-hell); }
.projekt:first-of-type { border-top: 0; }
.projekt__bild { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.projekt__bild img { width: 100%; height: 100%; object-fit: cover; }
.projekt h2 { margin: 10px 0 18px; }
.projekt h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 26px 0 6px; }
.projekt p { color: var(--text-hell-2); max-width: 34em; }
.projekt p:has(> .textlink) { margin: 0; }
.projekt .zahlen + p:has(> .textlink), .projekt h3 + p + p:has(> .textlink) { margin-top: 18px; }

.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.person { border-top: 1px solid var(--schwarz); padding-top: 24px; }
.person .rolle { color: var(--text-dunkel-2); font-weight: 600; margin: 6px 0 14px; }

.recht { max-width: 760px; }
.recht h2 { font-family: var(--sans); font-weight: 700; font-size: 1.2rem; margin: 40px 0 10px; }
.recht h3 { font-family: var(--sans); font-weight: 700; font-size: 1.02rem; margin: 26px 0 8px; }
.recht p, .recht li { color: var(--text-dunkel-2); overflow-wrap: anywhere; }

/* ---------- Fußzeile ---------- */
.fuss { padding: 64px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linie-hell); }
.fuss__oben { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.fuss .wortmarke { align-items: flex-start; }
.fuss .wortmarke__zusatz { padding-left: 0; }
.fuss__text { margin-top: 18px; max-width: 22em; font-size: 0.95rem; }
.fuss__spalten { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.fuss__spalten ul { list-style: none; margin: 0; padding: 0; }
.fuss__spalten li { margin-bottom: 8px; }
.fuss__spalten a { text-decoration: none; color: var(--text-hell-2); font-size: 0.97rem; }
@media (hover: hover) and (pointer: fine) { .fuss__spalten a:hover { color: var(--weiss); } }
.fuss__titel { font-size: 0.875rem; font-weight: 700; margin-bottom: 14px; }
.fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--linie-hell); font-size: 0.875rem; color: var(--text-hell-2); }
.fuss__unten a { text-decoration: none; margin-left: 20px; }
.fuss__unten a:first-child { margin-left: 0; }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 980px) {
  .hero__raster, .kopfzeile-abschnitt, .kontakt, .arbeit--gross, .leistung-detail, .projekt { grid-template-columns: minmax(0, 1fr); }
  .hero__raster { align-items: start; }
  .fokuskarte { max-width: 520px; }
  .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schritte li:nth-child(3) { padding-left: 0; border-left: 0; }
  .schritte li { padding-bottom: 28px; }
  .leistungen { grid-template-columns: minmax(0, 1fr); }
  .arbeit--gross .arbeit__text { padding-top: 4px; }
  .arbeit { grid-column: span 6; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .arbeit { grid-column: span 12; }
  .schritte { grid-template-columns: minmax(0, 1fr); }
  .schritte li + li { padding-left: 0; border-left: 0; }
  .team { grid-template-columns: minmax(0, 1fr); }
  .hero__aktionen .knopf { width: 100%; justify-content: center; }
  .fuss__unten a { margin-left: 0; margin-right: 20px; }
}

/* ---------- Bewegung: ein einziger Moment beim Laden ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-auftritt] { opacity: 0; transform: translateY(8px); }
  .js .hero.da [data-auftritt] {
    opacity: 1; transform: none;
    transition: opacity 420ms var(--ease-out), transform 480ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 60ms);
  }
  /* Der Goldpunkt setzt sich zuletzt, wie ein Fokus, der scharf stellt */
  .js .hero h1 .punkt { opacity: 0; transform: translateY(-0.25em) scale(0.8); }
  .js .hero.da h1 .punkt {
    opacity: 1; transform: none;
    transition: opacity 240ms ease-out 480ms, transform 380ms var(--ease-out) 480ms;
  }
}
@media (max-width: 860px) {
  .kopf:not(.offen) .navi { transition-duration: 140ms, 140ms, 0s; transition-delay: 0s, 0s, 140ms; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-property: opacity, color, background-color, border-color !important; }
  .knopf:active { transform: none; }
  .fokuskarte:hover .fokuskarte__bild img, a.arbeit:hover .arbeit__bild img { transform: none; }
}
