/* Gemeinsamer Aufbau für alle Varianten.
   Farben und Formen kommen aus der jeweiligen variante-X.css. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  padding: 40px 16px 48px;
  overflow-x: hidden;
}

.karte { max-width: 460px; margin: 0 auto; position: relative; }

/* ---------- Kopf ---------- */
.kopf { text-align: center; margin-bottom: 28px; position: relative; }
.profil { margin: 0 auto 18px; overflow: hidden; background: var(--foto-bg, #222); }
.profil img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.profil.platzhalter { display: grid; place-items: center; }
.profil.platzhalter svg { width: 50%; fill: none; stroke: currentColor; stroke-width: 1.5; }

.name {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
}

/* ---------- Über mich ---------- */
.ueber { margin-bottom: 24px; }
.ueber h2 { margin: 0 0 8px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.ueber p { margin: 0 0 .7em; }
.ueber p:last-child { margin-bottom: 0; }

.platzhalter-box {
  border: 1.5px dashed var(--platz-rand);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--platz-text);
}
.platzhalter-box.klein { margin-top: 12px; font-size: .92rem; }
.etikett {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--etikett-text);
  background: var(--etikett-bg);
  border-radius: 4px;
  padding: 1px 8px;
  margin-bottom: 4px;
}

/* ---------- Buttons ---------- */
.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.knopf {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--knopf-bg);
  color: var(--knopf-text);
  border: 1.5px solid var(--knopf-rand);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.knopf .icon, .knopf .ende { display: inline-flex; flex: none; }
.knopf .icon svg { width: 22px; height: 22px; }
.knopf .ende svg { width: 18px; height: 18px; opacity: .6; }
.knopf .titel { flex: 1; }

@media (hover: hover) {
  .knopf:not(.deaktiviert):hover { transform: translateY(-1px); background: var(--knopf-hover-bg); color: var(--knopf-hover-text, var(--knopf-text)); }
  .knopf.hervorgehoben:not(.deaktiviert):hover { background: var(--haupt-hover-bg); color: var(--haupt-text); }
}
.knopf:not(.deaktiviert):active { transform: scale(.98); }

.knopf.hervorgehoben { min-height: 68px; font-size: 1.1rem; background: var(--haupt-bg); color: var(--haupt-text); border-color: var(--haupt-bg); }

.knopf.deaktiviert {
  cursor: not-allowed;
  background: var(--aus-bg);
  color: var(--aus-text);
  border: 1.5px dashed var(--aus-rand);
}

.folgt {
  flex: none;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 2px 9px;
  border-radius: 4px;
  border: 1px solid currentColor;
}

a:focus-visible, summary:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; }

/* ---------- Geschäftsangaben ---------- */
.angaben { margin-top: 40px; text-align: center; font-size: .85rem; color: var(--leise); }
.angaben summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; padding: 6px 14px; text-decoration: underline; text-underline-offset: 3px; }
.angaben summary::-webkit-details-marker { display: none; }
.angaben dl {
  margin: 12px auto 0;
  max-width: 340px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  text-align: left;
  border-top: 1px solid var(--linie);
  padding-top: 12px;
}
.angaben dt { font-weight: 600; }
.angaben dd { margin: 0; overflow-wrap: anywhere; }
.angaben dd.offen { font-style: italic; }

.hinweis { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Dezentes Einblenden ---------- */
.kopf, .ueber, .links, .angaben { animation: einblenden .5s ease both; }
.ueber { animation-delay: .08s; }
.links { animation-delay: .16s; }
.angaben { animation-delay: .24s; }
@keyframes einblenden { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Vorschaubild und Icon-Reihe: standardmässig aus, nur Variante 5 zeigt sie */
.knopf .vorschau { display: none; }
.social { display: none; }

/* Hörproben: erscheinen, sobald in inhalte.js Dateien eingetragen sind */
.hoerproben {
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--knopf-bg);
  color: var(--knopf-text);
  border: 1.5px solid var(--knopf-rand);
}
.hoerprobe + .hoerprobe { margin-top: 14px; }
.hoerprobe-titel { font-weight: 600; }
.hoerprobe audio { display: block; width: 100%; margin-top: 6px; }
