/* Theresa Henze — Platzhalterseite
   Marke aus dem CV: Weiss, echtes Schwarz, das Rosa der E-Balken.
   CSP strict: keine Inline-Styles, keine Fremdquellen, Schrift lokal. */

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

:root {
  --paper: #ffffff;
  --ink: #000000;
  --signal: #ff8686;   /* nur dekorativ, als Textfarbe zu kontrastarm */
  --muted: #5c5c5c;    /* 6,7:1 auf Weiss */
  --rule: #e6e6e6;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: 34em;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 400;
  font-feature-settings: "kern" 1;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
  text-underline-offset: .28em;
}
a:hover { text-decoration-color: var(--ink); }

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

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

/* ---------- Kopf: Sprachwahl ---------- */

.top {
  display: flex;
  justify-content: flex-end;
  padding-block: 1.5rem 0;
}

.langs { display: flex; gap: .25rem; }

.lang {
  position: relative;
  appearance: none;
  border: 0;
  background: none;
  padding: .4rem .55rem .55rem;
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
  cursor: pointer;
}
.lang:hover { color: var(--ink); }
.lang.is-active { color: var(--ink); }
/* aktive Sprache: ein Balken wie im Logo */
.lang.is-active::after {
  content: "";
  position: absolute;
  left: .55rem;
  right: .55rem;
  bottom: .2rem;
  height: 3px;
  border-radius: 1px;
  background: var(--signal);
}

/* ---------- Wortmarke ---------- */

.mark {
  margin: clamp(2.5rem, 9vh, 6rem) 0 0;
  line-height: 0;
}

.mark-svg {
  display: block;
  width: 100%;
  max-width: 60rem;
  height: auto;
}

/* Die rosa Balken pendeln sich beim Laden einmal ein wie Pegelanzeigen. */
.mark-bars rect {
  transform-box: fill-box;
  transform-origin: 0 50%;
  animation: level 1.5s cubic-bezier(.3, .7, .2, 1) both;
}

@keyframes level {
  0%   { transform: scaleX(0); }
  38%  { transform: scaleX(1); }
  64%  { transform: scaleX(var(--dip, .7)); }
  100% { transform: scaleX(1); }
}

.mark-bars rect:nth-child(1)  { animation-delay: .10s; --dip: .62; }
.mark-bars rect:nth-child(2)  { animation-delay: .22s; --dip: .80; }
.mark-bars rect:nth-child(3)  { animation-delay: .16s; --dip: .55; }
.mark-bars rect:nth-child(4)  { animation-delay: .30s; --dip: .74; }
.mark-bars rect:nth-child(5)  { animation-delay: .20s; --dip: .58; }
.mark-bars rect:nth-child(6)  { animation-delay: .36s; --dip: .86; }
.mark-bars rect:nth-child(7)  { animation-delay: .44s; --dip: .66; }
.mark-bars rect:nth-child(8)  { animation-delay: .34s; --dip: .52; }
.mark-bars rect:nth-child(9)  { animation-delay: .50s; --dip: .78; }
.mark-bars rect:nth-child(10) { animation-delay: .52s; --dip: .60; }
.mark-bars rect:nth-child(11) { animation-delay: .64s; --dip: .83; }
.mark-bars rect:nth-child(12) { animation-delay: .58s; --dip: .70; }

.role {
  margin: clamp(1rem, 2.5vw, 1.6rem) 0 0;
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--muted);
}

/* ---------- Vorstellung ---------- */

.about {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4.5vw, 4rem);
  align-items: start;
  margin-top: clamp(3rem, 9vh, 5.5rem);
}

.portrait,
.portrait img {
  display: block;
  width: clamp(7.5rem, 15vw, 11.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
}
.portrait img {
  height: auto;
  object-fit: cover;
  background: var(--ink);
}

.about-text { max-width: var(--measure); }

.lead {
  margin: 0;
  font-size: clamp(1.1875rem, 1.9vw, 1.375rem);
  line-height: 1.55;
  font-weight: 400;
}

.note {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  margin: 1.75rem 0 0;
  font-weight: 500;
}

/* drei Balken als Zeichen fuer "im Aufbau", aus dem E der Wortmarke */
.note-mark {
  flex: none;
  display: grid;
  gap: 3px;
  width: 1.1rem;
  margin-top: .4em;   /* auf die erste Textzeile ausrichten */
}
.note-mark i {
  display: block;
  height: 3px;
  border-radius: 1px;
  background: var(--signal);
}

.contact {
  display: grid;
  gap: 1rem;
  margin: 2.25rem 0 0;
}
.contact div { display: grid; gap: .1rem; }
.contact dt {
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
}
.contact dd {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ---------- Fuss ---------- */

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.75rem;
  margin-top: clamp(4.5rem, 14vh, 9rem);
  padding-block: 1.5rem 2.25rem;
  border-top: 1px solid var(--rule);
  font-size: .9375rem;
  color: var(--muted);
}
.foot a { text-decoration-color: var(--rule); }
.foot a:hover { color: var(--ink); text-decoration-color: var(--signal); }
.foot-copy { margin-left: auto; }

/* ---------- Rechtstexte ---------- */

.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.75rem 0;
}
.legal-top img { display: block; width: clamp(11rem, 30vw, 15rem); height: auto; }
.legal-top a { font-size: .9375rem; font-weight: 600; }

.legal {
  max-width: 42rem;
  margin-top: clamp(2.5rem, 7vh, 4rem);
  font-size: 1.0625rem;
}
.legal section + section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
}
.legal h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  font-weight: 600;
}
.legal h2 {
  margin: 2rem 0 .5rem;
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 700;
}
.legal p,
.legal address { margin: 0 0 .9rem; }
.legal address { font-style: normal; }
.legal .hint { color: var(--muted); }
.legal .stand { margin-top: 2rem; color: var(--muted); font-size: .9375rem; }

/* ---------- Schmal ---------- */

@media (max-width: 40rem) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .portrait, .portrait img { width: 7.5rem; }
  .foot-copy { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mark-bars rect { animation: none; }
}
