/* haber.audio – Stylesheet
   Farben & Schrift laut Markenleitfaden (marke.md, Stand 3.11.2026) */

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --violett: #7C5CC0;        /* Akzent auf hell */
  --violett-hell: #9B7DE0;   /* Akzent auf dunkel */
  --nacht: #17131F;          /* Violett-Schwarz */
  --nacht-2: #1F1A2A;        /* leicht abgesetzte Fläche */
  --offwhite: #ECECF1;
  --grau: #9B9AA6;           /* Unterzeilen auf dunkel */
  --grau-hell: #6B6875;      /* Unterzeilen auf hell */
  --linie: #2E2839;          /* Trennlinien auf dunkel */

  --wrap: 1120px;
  --gutter: clamp(16px, 5vw, 40px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--nacht);
  color: var(--offwhite);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--violett-hell); color: var(--nacht); }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--offwhite); color: var(--nacht);
  padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: var(--gutter); top: .75rem; }

/* ---------- Typo ---------- */
h1, h2, h3 { font-weight: 600; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1em; max-width: 62ch; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--offwhite); line-height: 1.55; }
.muted { color: var(--grau); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 19, 31, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--linie); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 1rem;
}

.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--offwhite);
  font-weight: 600; font-size: 1.28rem; letter-spacing: -0.01em;
}
.brand svg { height: 26px; width: auto; }
.brand .dot {
  display: inline-block; width: .2em; height: .2em;
  background: var(--violett-hell); margin: 0 .04em; vertical-align: baseline;
}

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a { text-decoration: none; color: var(--grau); font-size: .98rem; transition: color .15s; }
.nav a:hover { color: var(--offwhite); }
.nav .btn { color: var(--nacht); }

@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .brand { font-size: 1.12rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 1.3rem;
  font: inherit; font-weight: 600; font-size: .98rem;
  text-decoration: none; border-radius: 3px; cursor: pointer;
  background: var(--violett-hell); color: var(--nacht);
  border: 1px solid var(--violett-hell);
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--offwhite); border-color: var(--offwhite); }
.btn--ghost { background: transparent; color: var(--offwhite); border-color: #4A4258; }
.btn--ghost:hover { background: transparent; border-color: var(--offwhite); }
.btn--small { min-height: 40px; padding: 0 1rem; font-size: .92rem; }

/* ---------- Hero mit Signallinie ---------- */
.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(4rem, 9vw, 7rem); overflow: hidden; }
.hero h1 { max-width: 13ch; }

/* Die Signallinie: der Querbalken aus dem Logo, über die volle Breite */
.signal {
  --m: clamp(120px, 20vw, 230px);           /* Höhe der Bildmarke */
  position: relative;
  height: var(--m);
  margin: clamp(2rem, 5vw, 3.5rem) 0;
}
.signal__line {
  position: absolute; left: 0; right: 0;
  top: calc(var(--m) * 0.5);                 /* Balken sitzt bei y 86–95 von 39–133 */
  height: calc(var(--m) * 0.0957);
  background: var(--violett-hell);
  z-index: 1;                                /* wie im Logo: Linie liegt über H und A */
  transform-origin: 0 50%;
  animation: draw 1.1s cubic-bezier(.6, 0, .2, 1) .15s both;
}
.signal__mark {
  position: absolute; top: 0;
  right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  height: var(--m); width: auto;
  animation: rise .7s ease-out .9s both;
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .signal__line, .signal__mark { animation: none; }
}

.hero__below { display: grid; gap: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Sektionen ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; border-top: 1px solid var(--linie); }
.section__head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section__head p { color: var(--grau); }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.service { padding-top: 1.4rem; border-top: 3px solid var(--violett-hell); }
.service h3 { margin-bottom: .75rem; }
.service p { color: var(--grau); }
.service ul { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.service li {
  padding: .55rem 0; border-top: 1px solid var(--linie);
  font-size: .98rem;
}
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }

/* Für wen */
.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--linie); border: 1px solid var(--linie); }
.audience { background: var(--nacht); padding: clamp(1.5rem, 4vw, 2.5rem); }
.audience h3 { margin-bottom: .8rem; }
.audience p:last-child { margin-bottom: 0; color: var(--grau); }
@media (max-width: 760px) { .audiences { grid-template-columns: 1fr; } }

/* Ablauf – echte Reihenfolge, daher nummeriert */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block; font-weight: 600; font-size: 1rem;
  color: var(--violett-hell); margin-bottom: .6rem;
}
.steps h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.steps p { color: var(--grau); font-size: .98rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Über mich */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about__photo {
  aspect-ratio: 4 / 5; width: 100%;
  background: var(--nacht-2);
  border: 1px dashed #4A4258;
  display: grid; place-items: center;
  color: var(--grau); font-size: .95rem;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text { min-width: 0; }
.about__text p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 320px; }
}

/* Kontakt – helle Fläche */
.contact { background: var(--offwhite); color: var(--nacht); border-top: 0; }
.contact .section__head p { color: var(--grau-hell); }
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.contact__item span { display: block; color: var(--grau-hell); font-size: .95rem; margin-bottom: .3rem; }
.contact__item a, .contact__item strong {
  font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  text-decoration: none; color: var(--nacht); letter-spacing: -0.01em;
  word-break: break-word;
}
.contact__item a { border-bottom: 2px solid var(--violett); }
.contact__item a:hover { color: var(--violett); }
.contact .btn { background: var(--violett); border-color: var(--violett); color: #fff; margin-top: 2.5rem; }
.contact .btn:hover { background: var(--nacht); border-color: var(--nacht); }
.contact :focus-visible { outline-color: var(--violett); }
@media (max-width: 760px) { .contact__grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Footer ---------- */
.site-footer { padding: 2.5rem 0 3rem; color: var(--grau); font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--offwhite); }

/* ---------- Rechtstexte ---------- */
.legal { padding: clamp(3rem, 7vw, 5rem) 0 5rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.25rem; margin: 2.5rem 0 .75rem; letter-spacing: -0.01em; }
.legal p, .legal li { color: #CFCED8; max-width: 70ch; }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--violett-hell); }
.todo { background: rgba(155, 125, 224, .18); color: var(--offwhite); padding: 0 .25em; border-radius: 2px; }
