/* BR-Personal – Konzeptentwurf, nicht zur Veröffentlichung
   Gemeinsame Marken-Variablen und Grundtypografie.
   Farbsystem: Schwarz und Weiß, dazu eine dünne gelbe Linie (nach Wunsch des Kunden).
   Die Variablennamen --navy / --signal / --stahl / --beton bleiben aus Kompatibilität bestehen. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-wdth.woff2") format("woff2-variations"), url("../fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --schwarz: #0F0E0E;     /* Hintergrund, Text auf Weiß */
  --anthrazit: #231F20;   /* Logo-Farbe (aus den Originaldateien), dunkle Flächen */
  --grau: #6B6663;        /* Sekundärtext auf Weiß, Linien */
  --grau-hell: #BDB8B5;   /* Sekundärtext auf Schwarz */
  --hellgrau: #E4E2E0;    /* helle Flächen */
  --weiss: #FFFFFF;
  --gelb: #F4B400;        /* nur dünne Linien, Streifen und kleine Markierungen */

  /* Kompatibilität mit älteren Dateien */
  --navy: var(--schwarz);
  --signal: var(--gelb);
  --stahl: var(--grau);
  --beton: var(--hellgrau);
  --navy-80: #4A4644;
  --beton-50: #F2F1EF;

  --font: "Archivo", "Arial Narrow", Arial, sans-serif;
  --wdth-display: 75;
  --wdth-text: 100;

  --gutter: 16px;
  --measure: 68ch;
  --radius: 0;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-stretch: 100%;
  color: var(--schwarz);
  background: var(--weiss);
  line-height: 1.55;
}

.display {
  font-family: var(--font);
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1.02;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

/* ---- Seite ---- */

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 84px; background: #0F0E0E; }
  body { font-size: 1.0625rem; padding-bottom: 64px; background: #0F0E0E; color: #fff; }
  img, svg { max-width: 100%; }
  a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
  p { margin: 0 0 1em; max-width: var(--measure); }
  h1, h2, h3 { margin: 0; font-weight: 800; font-stretch: 75%; line-height: 1.02; text-wrap: balance; }
  .wrap { width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto; }
  :focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #0F0E0E; }
  .skip { position: absolute; left: var(--gutter); top: -100px; background: #fff; color: #0F0E0E; padding: .6em 1em; z-index: 30; font-weight: 700; }
  .skip:focus { top: var(--gutter); }

  .banner { background: #000; color: #BDB8B5; font-size: .8125rem; }
  .banner .wrap { padding-block: .4em; display: flex; flex-wrap: wrap; gap: .1em 1.5em; justify-content: space-between; }
  .banner b { color: #fff; font-weight: 700; }

  /* Kopf */
  .bar { position: static; z-index: 20; background: rgba(15,14,14,.96); color: #fff; backdrop-filter: blur(8px); border-bottom: 1px solid #3A3635; }
  .bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-block: .7rem; }
  .bar img { display: block; width: 190px; height: auto; }
  .nav { display: flex; order: 3; width: 100%; gap: 1.3rem; overflow-x: auto; font-weight: 600; font-size: .95rem; white-space: nowrap; }
  .nav a { text-decoration: none; padding-block: .4rem; border-bottom: 2px solid transparent; }
  .nav a:hover { border-bottom-color: #F4B400; }
  .bar-cta { display: none; align-items: center; gap: 1.1rem; }
  .tel { font-weight: 700; text-decoration: none; white-space: nowrap; }
  .btn { display: inline-block; background: #fff; color: #0F0E0E; font: inherit; font-weight: 800; padding: .8em 1.35em; border: 2px solid #fff; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
  .btn:hover { background: transparent; color: #fff; }
  .btn.ghost { background: transparent; color: #fff; border-color: #8A8685; }
  .btn.ghost:hover { background: #fff; color: #0F0E0E; border-color: #fff; }

  /* Hero */
  .hero { background: #0F0E0E; color: #fff; padding-block: clamp(2rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem); }
  .hero-grid { display: grid; gap: 2.5rem; }
  @media (max-width: 999px) { .herophoto { aspect-ratio: 4 / 5; min-height: 0; } }
  .eyebrow { color: #BDB8B5; font-weight: 600; margin: 0 0 1.2rem; }
  .eyebrow::before { content: ""; display: block; width: 56px; height: 3px; background: #F4B400; margin-bottom: 1.1rem; }
  .hero h1 { font-size: clamp(2.4rem, 6.6vw, 4.3rem); letter-spacing: -.012em; }
  .hero h1 span { display: block; }
  .lead { font-size: 1.22rem; line-height: 1.5; margin-top: 1.6rem; color: #E4E2E0; max-width: 46ch; }
  .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
  .facts { list-style: none; margin: 2.4rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid #3A3635; display: grid; gap: .6rem 2rem; color: #BDB8B5; font-size: .98rem; }
  .facts b { color: #fff; display: block; font-weight: 700; }
  .herophoto { margin: 0; position: relative; min-height: 420px; background: #080707; overflow: hidden; }
  .herophoto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
  .herophoto figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem 1rem; background: rgba(8,7,7,.88); color: #E4E2E0; font-size: .85rem; border-top: 2px solid #F4B400; }

  .sheet { border: 1px solid #4A4644; background: #0F0E0E; margin: 0; }
  .sheet svg { display: block; width: 100%; height: auto; }
  .readout { padding: 1rem 1.1rem; min-height: 7.2rem; border: 1px solid #3A3635; background: #161414; }
  .readout .r-name { font-size: 1.45rem; font-weight: 800; font-stretch: 75%; line-height: 1.1; color: #fff; }
  .readout p { margin: .3rem 0 0; color: #BDB8B5; font-size: .98rem; }
  .sheet-meta { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 1.1rem; border-top: 1px solid #3A3635; font-size: .82rem; color: #8A8685; }

  .zone { cursor: pointer; }
  .zone .shape, svg .shape { stroke: #BDB8B5; stroke-width: 2; transition: stroke .12s, stroke-width .12s; }
  .zone .mk-c { fill: #0F0E0E; stroke: #fff; stroke-width: 3; transition: fill .12s; }
  .zone .mk-t { fill: #fff; font: 800 38px var(--font); font-stretch: 75%; text-anchor: middle; dominant-baseline: central; pointer-events: none; transition: fill .12s; }
  .zone:hover .shape, .zone.is-active .shape { stroke: #F4B400; stroke-width: 5; }
  .zone:hover .mk-c, .zone.is-active .mk-c { fill: #fff; stroke: #fff; }
  .zone:hover .mk-t, .zone.is-active .mk-t { fill: #0F0E0E; }
  .ill .shape { stroke: #BDB8B5; stroke-width: 2; }

  .legend { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; border-top: 1px solid #4A4644; }
  .legend li { border-bottom: 1px solid #3A3635; }
  .legend button { all: unset; box-sizing: border-box; display: flex; gap: .85rem; align-items: center; width: 100%; padding: .7rem .3rem; cursor: pointer; font-weight: 600; color: #fff; }
  .legend button:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
  .legend .n { flex: none; display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border: 2px solid #fff; border-radius: 50%; font-size: .85rem; font-weight: 800; }
  .legend button:hover .n, .legend button.is-active .n { background: #fff; color: #0F0E0E; }
  .legend button.is-active { background: rgba(255,255,255,.06); }

  /* Abschnitte */
  section { padding-block: clamp(3.5rem, 8vw, 7rem); }
  .kicker { color: #A29D9A; font-weight: 600; margin-bottom: .9rem; }
  h2 { font-size: clamp(2.1rem, 5.2vw, 3.8rem); }
  .head2 { max-width: 22ch; margin-bottom: clamp(2rem, 5vw, 4rem); }

  .planband { background: #080707; padding-block: clamp(3rem, 7vw, 6rem); }
  .plgrid { display: grid; gap: 2rem; grid-template-areas: "head" "plan" "info"; }
  .pl-head { grid-area: head; } .plgrid .sheet { grid-area: plan; } .pl-info { grid-area: info; }
  .pl-info .readout { margin-bottom: 1.2rem; }
  .pl-info .legend { margin-top: 0; grid-template-columns: 1fr !important; }

  #bereiche { background: #0F0E0E; }
  .band { display: grid; gap: 1.5rem; padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid #3A3635; }
  .band:last-of-type { border-bottom: 1px solid #3A3635; }
  .band .vis { background: #080707; }
  .band .vis svg { display: block; width: 100%; height: auto; }
  .num { font-weight: 600; color: #A29D9A; margin-bottom: .6rem; }
  .band h3 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: .9rem; }
  .ticks { list-style: none; margin: 1rem 0 0; padding: 0; }
  .ticks li { padding: .15rem 0 .15rem 1.2rem; position: relative; }
  .ticks li::before { content: ""; position: absolute; left: 0; top: .8em; width: .6rem; height: 2px; background: #F4B400; }
  .ticks.two { columns: 1; }
  .more { display: inline-block; margin-top: 1.2rem; font-weight: 700; border-bottom: 2px solid #F4B400; text-decoration: none; padding-bottom: 2px; }
  .vis.photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #080707; }
  .vis.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .pcap { position: absolute; left: .7rem; bottom: .7rem; font-size: .8rem; }

  .einsatz { background: #181616; }
  .clips { display: grid; grid-auto-flow: column; grid-auto-columns: 68%; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; }
  .clips figure { margin: 0; scroll-snap-align: start; }
  .clips video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; display: block; border: 1px solid #3A3635; }
  .clips figcaption { padding-top: .6rem; font-weight: 600; }

  .flow { background: #0F0E0E; }
  .steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; }
  .steps > li { position: relative; padding: 0 0 2.2rem 3.6rem; }
  .steps > li::before { content: ""; position: absolute; left: 1.05rem; top: 2.4rem; bottom: 0; width: 3px; background: #6B6663; }
  .steps > li:last-child::before { display: none; }
  .steps .no { position: absolute; left: 0; top: .15rem; width: 2.5rem; height: 2.5rem; background: #fff; color: #0F0E0E; display: grid; place-items: center; font-weight: 800; font-stretch: 75%; font-size: 1.15rem; }
  .steps h3 { font-size: 2rem; margin-bottom: .5rem; }
  .steps ul { margin: 0; padding-left: 1.1rem; max-width: 40ch; }
  .steps ul li { margin: .15rem 0; }
  .steps .when { color: #BDB8B5; margin-bottom: .5rem; }

  .proj { background: #181616; border-top: 2px solid #F4B400; }
  .proj-list { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid #4A4644; }
  .proj-list li { padding-block: 1.2rem; border-bottom: 1px solid #3A3635; display: grid; gap: .2rem 2rem; }
  .proj-list .nm { font-size: clamp(2.4rem, 8vw, 5rem); font-weight: 800; font-stretch: 75%; line-height: 1; }
  .proj-list .meta { color: #BDB8B5; }
  .note { color: #BDB8B5; font-size: .92rem; margin-top: 1.3rem; }
  .ph { background: #2B2827; padding: 0 .35em; font-family: ui-monospace, Consolas, monospace; font-size: .9em; color: #fff; }

  .coop { background: #0F0E0E; padding-block: clamp(3rem, 7vw, 6rem); }
  .coop ol { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid #4A4644; counter-reset: c; }
  .coop li { counter-increment: c; padding: 1.2rem 0; border-bottom: 1px solid #3A3635; }
  .coop li::before { content: counter(c, decimal-leading-zero); display: block; color: #A29D9A; font-weight: 600; margin-bottom: .4rem; }
  .coop h3 { font-size: 1.7rem; margin-bottom: .3rem; }
  .coop p { margin: 0; color: #E4E2E0; }

  .arbeit { background: #181616; }
  .vals { margin: 0; padding: 0; display: grid; border-top: 1px solid #4A4644; }
  .vals div { padding: 1.2rem 0; border-bottom: 1px solid #3A3635; display: grid; gap: .3rem 2rem; }
  .vals dt { font-size: 1.6rem; font-weight: 800; font-stretch: 75%; line-height: 1.1; }
  .vals dd { margin: 0; max-width: 60ch; color: #E4E2E0; }
  .split { display: grid; gap: 2rem; }

  /* Kontakt */
  .contact { background: #0F0E0E; }
  .contact dl { margin: 2rem 0 0; display: grid; gap: 1rem; }
  .contact dt { color: #A29D9A; font-weight: 600; font-size: .95rem; }
  .contact dd { margin: 0; font-size: 1.15rem; }
  .bigtel { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; font-stretch: 75%; text-decoration: none; display: inline-block; margin-top: 1.4rem; border-bottom: 3px solid #F4B400; }
  form { display: grid; gap: 1.1rem; }
  .row2 { display: grid; gap: 1.1rem; }
  label { display: block; font-weight: 600; margin-bottom: .3rem; }
  input, textarea, select { width: 100%; font: inherit; color: #fff; background: #181616; border: 2px solid #8A8685; border-radius: 0; padding: .7em .8em; }
  input::placeholder, textarea::placeholder { color: #8A8685; }
  input:focus, textarea:focus, select:focus { border-color: #fff; }
  textarea { min-height: 8rem; resize: vertical; }
  .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; }
  .check input { width: 1.3rem; height: 1.3rem; flex: none; margin-top: .2rem; accent-color: #fff; }
  .status { min-height: 1.5em; font-weight: 600; margin: 0; }
  .hint { color: #A29D9A; font-size: .92rem; margin: 0; }

  .legal { background: #181616; border-top: 1px solid #3A3635; padding-block: 3rem; }
  .legal h2 { font-size: 2rem; margin-bottom: 1rem; }
  .legal h3 { font-size: 1.25rem; margin: 1.4rem 0 .3rem; }
  .legal .warn { border-left: 3px solid #F4B400; padding: .5rem 1rem; background: #0F0E0E; max-width: 70ch; margin-bottom: 1.5rem; font-weight: 600; }
  .legal-grid { display: grid; gap: 2.5rem; }

  footer { background: #000; color: #fff; padding-block: 2.5rem; }
  footer .wrap { display: flex; flex-wrap: wrap; gap: 1.2rem 3rem; justify-content: space-between; align-items: end; }
  footer img { width: 240px; display: block; }
  footer p { margin: 0; font-size: .92rem; color: #BDB8B5; }
  footer b { color: #fff; }

  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: 1fr 1fr; background: #000; border-top: 2px solid #F4B400; }
  .callbar a { color: #fff; text-align: center; padding: .95rem .5rem; font-weight: 800; text-decoration: none; }
  .callbar a + a { background: #fff; color: #0F0E0E; }

  .js .rv { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s; }
  .js .rv.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .rv { opacity: 1; transform: none; transition: none; } .zone .shape, .zone .mk-c, .zone .mk-t, .btn { transition: none; } }

  @media (min-width: 720px) {
    .facts { grid-template-columns: repeat(3, 1fr); }
    .legend { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
    .row2 { grid-template-columns: 1fr 1fr; }
    .band { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
    .band.rev .vis { order: 2; }
    .ticks.two { columns: 2; column-gap: 2rem; }
    .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }
    .steps > li { padding: 4.4rem 0 0 0; }
    .steps > li::before { left: 0; right: -2rem; top: 1.05rem; bottom: auto; width: auto; height: 3px; }
    .steps > li:last-child::before { display: block; right: 0; background: linear-gradient(90deg, #6B6663 60%, transparent 60%); }
    .steps .no { top: 0; }
    .proj-list li { grid-template-columns: 7fr 5fr; align-items: end; }
    .coop ol { grid-template-columns: repeat(4, 1fr); gap: 0 1.5rem; border-top: 0; }
    .coop li { border-top: 1px solid #4A4644; border-bottom: 0; }
    .vals div { grid-template-columns: 5fr 7fr; align-items: baseline; }
    .legal-grid { grid-template-columns: 1fr 1fr; }
    .clips { grid-auto-columns: 38%; }
  }
  @media (min-width: 1000px) {
    body { padding-bottom: 0; }
    .callbar { display: none; }
    .bar { position: sticky; top: 0; }
    .nav { order: 0; width: auto; overflow: visible; gap: 1.8rem; font-size: inherit; }
    .bar-cta { display: flex; }
    .hero-grid { grid-template-columns: 6fr 6fr; gap: 3.5rem; align-items: stretch; }
    .plgrid { grid-template-columns: 5fr 7fr; grid-template-areas: "head plan" "info plan"; gap: 2rem 4rem; align-content: start; }
    .clips { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; }
    .legend { grid-template-columns: repeat(4, 1fr); }
    .split { grid-template-columns: 4fr 8fr; gap: 4rem; }
    .contact .split { grid-template-columns: 5fr 7fr; }
  }

/* ---- Theme-Ergänzungen ---- */
.plan-intro { margin-top: 1.2rem; color: #C9D2DC; }
.proj-team { margin-top: 2rem; max-width: 52ch; }
.herophoto.is-logo { display: grid; place-items: center; background: #181616; border: 1px solid #3A3635; border-bottom: 2px solid #F4B400; }
.herophoto.is-logo img { position: static; width: min(62%, 340px); height: auto; object-fit: contain; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.foot-r { display: grid; gap: .8rem; }
.foot-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.foot-nav a { color: #fff; font-weight: 600; }
.page-main { padding-block: clamp(3rem, 7vw, 6rem); }
.prose { max-width: 78ch; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.7rem; margin: 2rem 0 .6rem; }
.prose h3 { font-size: 1.25rem; margin: 1.4rem 0 .4rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.admin-bar .bar { top: 32px; }
@media (max-width: 782px) { body.admin-bar .bar { top: 0; } }
.galerie { background: #181616; }
.gal { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; align-items: start; }
.gal figure { margin: 0; }
.gal img { width: 100%; height: auto; display: block; border: 1px solid #3A3635; background: #080707; }
.gal figcaption { padding-top: .5rem; font-weight: 600; font-size: .95rem; }
@media (min-width: 1000px) { .gal { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; } .clips { grid-template-columns: repeat(3, 1fr) !important; } }
.social { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.social a, a.ic { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 2px solid #F4B400; padding-bottom: 2px; }
.callbar.c3 { grid-template-columns: 1fr 1fr 1fr; }
.callbar .wa { background: #181616; color: #fff; }
.callbar.c3 a + a + a { background: #fff; color: #0F0E0E; }
.fab { display: none; }
@media (min-width: 1000px) {
  .fab { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 25; display: inline-flex; align-items: center; gap: .55rem; background: #fff; color: #0F0E0E; font-weight: 800; padding: .75em 1.1em; text-decoration: none; border: 2px solid #0F0E0E; box-shadow: 0 0 0 2px #F4B400; }
  .fab:hover { background: #0F0E0E; color: #fff; border-color: #fff; }
}
