/* === Reset & Grundlayout === */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg) center/cover no-repeat fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
}

.wrap {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 20px 120px; /* extra Platz nach unten für den fixierten Footer */
  text-align: center;
}

/* === Profilbereich === */
.profile {
  margin-bottom: 30px;
}

.avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--btn-color); /* Rahmen dynamisch */
  object-fit: cover;
  margin-bottom: 16px;
}

h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin: 10px 0;
}

/* === Social Media Icons === */
.socials {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 30px 0;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--btn-color);  /* komplett ausgefüllt */
  color: #fff;                   /* Icon weiß */
  font-size: 20px;
  text-decoration: none;          /* kein Unterstrich */
  transition: transform 0.2s ease;
}

.socials a:hover {
  transform: scale(1.1);
}

/* === CTA-Buttons === */
.links {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 40px;
}

.cta {
  display: block;
  padding: 18px 20px;
  border-radius: 12px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s ease;
  background: linear-gradient(
    180deg,
    var(--btn-color),
    color-mix(in srgb, var(--btn-color) 80%, #000)
  );
}
.cta:hover { transform: translateY(-2px); }

/* === Footer (fixiert, schwarz hinterlegt) === */
.footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.9);
  padding: 8px 12px;
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
}

.footer a,
.footer button.legal-btn {
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  font: inherit;
  padding: 0;
}

/* === Overlays (Impressum/Datenschutz) === */
.overlay {
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.7);
  z-index:1000;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.overlay-box {
  background:#fff;
  color:#111;
  max-width:900px;
  max-height:90vh;
  overflow:auto;
  border-radius:16px;
  padding:24px;
  position:relative;
}
.overlay-close {
  position: sticky;
  top: 0;
  right: 0;
  margin-left: auto;
  display: block;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  padding: 8px 12px;
}

/* === Kleine Helfer === */
.thumb { max-width:100px; height:auto; border-radius:8px; }
/* === Rechtstexte (Impressum & Datenschutz) === */
.legal, .overlay-box {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  font-size: 16px;
  color: #111;
}

.legal h1, .overlay-box h1 {
  font-size: 1.8rem;
  margin-bottom: 0.8em;
}

.legal h2, .overlay-box h2 {
  font-size: 1.4rem;
  margin-top: 1.5em;
  margin-bottom: 0.6em;
}

.legal h3, .overlay-box h3 {
  font-size: 1.2rem;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
}

.legal p, .overlay-box p {
  margin-bottom: 1em;
}

.legal ul, .overlay-box ul {
  margin: 0 0 1em 1.5em;   /* unten + links eingerückt */
  padding: 0;
  list-style: disc;
}

.legal li, .overlay-box li {
  margin-bottom: 0.5em;
}
