:root {
  --bg: #08090b;
  --ink: #d98bbf;
  --ink-soft: #b8749f;
  --ink-strong: #f0a7d6;
  --line: rgba(217, 139, 191, 0.3);
  --gutter: clamp(20px, 4.5vw, 64px);
  --font: "roc-grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(15px, 0.35vw + 13px, 18px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Hintergrund: Titelbild aus dem Portfolio, unverändert, mit leichter Abdunkelung für die Lesbarkeit */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #0b1214 url("img/bg.jpg") center / cover no-repeat;
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 10, 0.5);
}

a { color: var(--ink-strong); text-underline-offset: 0.2em; }
a:hover, a:focus-visible { color: #fff; }
:focus-visible { outline: 2px solid var(--ink-strong); outline-offset: 3px; }

/* Sprachwechsel */
html[data-lang="de"] [lang="en"],
html[data-lang="en"] [lang="de"] { display: none !important; }

.top {
  display: flex;
  justify-content: flex-end;
  padding: 16px var(--gutter);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lang { display: inline-flex; gap: 6px; }
.lang button {
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  background: none;
  border: 0;
  padding: 2px 4px;
  color: var(--ink-soft);
  cursor: pointer;
}
.lang button[aria-pressed="true"] { color: var(--ink-strong); font-weight: 700; }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(36px, 7vh, 90px);
  padding: clamp(12px, 3vh, 40px) var(--gutter) clamp(32px, 6vh, 72px);
}

/* Kopf: Portrait, Name, Rollen, Button */
.head { display: flex; align-items: center; gap: clamp(20px, 3.5vw, 48px); flex-wrap: wrap; }
.portrait {
  flex: none;
  width: clamp(120px, 15vw, 210px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
}
.head h1 { margin: 0 0 0.9em; font-size: clamp(1.3rem, 2.2vw, 2rem); font-weight: 400; line-height: 1.2; color: var(--ink-strong); }
.head .roles { margin: 0; font-size: clamp(1.3rem, 2.2vw, 2rem); font-weight: 700; line-height: 1.2; color: var(--ink-strong); }
.head .cta { margin-left: auto; align-self: flex-end; }

.btn {
  display: inline-block;
  padding: 0.7em 1.5em;
  border: 1px solid var(--ink-strong);
  border-radius: 999px;
  color: var(--ink-strong);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
}
.btn:hover, .btn:focus-visible { background: var(--ink-strong); color: var(--bg); }

/* Spalten wie auf Seite 2 des PDFs */
.cols {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 1.45fr 1.25fr 1fr;
  gap: clamp(20px, 2.6vw, 44px);
  font-size: 0.92rem;
}
.cols h2 { margin: 0 0 1.1em; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-strong); }
.cols h2:not(:first-child) { margin-top: 2em; }
.cols ul { list-style: none; margin: 0; padding: 0; }
.cols li { margin-bottom: 1em; }
.cols time { display: block; }
.cols .plain li { margin-bottom: 0.15em; }
.cols .contact-col .btn { margin-top: 1.4em; }
.cols address { font-style: normal; }
em { font-style: italic; }

/* Fuss + Rechtstexte */
footer { padding: 0 var(--gutter) 32px; font-size: 0.85rem; color: var(--ink-soft); }
footer .row { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 18px; }
details { flex-basis: 100%; }
details summary { cursor: pointer; display: inline-block; color: var(--ink); }
details summary:hover { color: #fff; }
details[open] { margin: 6px 0 14px; }
.legal { max-width: 74ch; padding: 10px 0 4px; color: var(--ink); }
.legal h3 { font-size: 0.95rem; margin: 1.6em 0 0.4em; color: var(--ink-strong); }
.legal p { margin: 0 0 0.9em; }
.row-links { display: flex; gap: 28px; flex-wrap: wrap; flex-basis: 100%; }

@media (max-width: 1100px) {
  .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .cols { grid-template-columns: 1fr; }
  .head .cta { margin-left: 0; align-self: flex-start; }
}
