:root {
    --bg-color: #121212;       /* Sehr dunkles Anthrazit für den Hintergrund */
    --card-bg: #1e1e1e;        /* Etwas helleres Dunkelgrau für die Karte */
    --accent-color: #e2cbb1;   /* Dein Beige/Nude für die Buttons */
    --text-light: #ffffff;
    --text-muted: #a0a0a0;     /* Grau für Nebentexte */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 450px;
    background-color: var(--card-bg);
    min-height: 90vh;
    padding: 40px 25px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Dunklerer Schatten */
}

header { margin-bottom: 30px; }

.profile-pic {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--bg-color); /* Nutzt die Hintergrundfarbe als Rahmen */
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.handle {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--accent-color);
    text-transform: uppercase;
}

h1 {
    color: var(--text-light);
    font-family: serif;
    font-size: 2.2rem;
    font-weight: 300;
}

.button-row {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.btn-outline {
    flex: 1;
    border: 1px solid var(--text-muted);
    color: var(--text-light);
    text-decoration: none;
    padding: 12px 15px;
    font-size: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    transition: border-color 0.3s;
}

.btn-outline:hover {
    border-color: var(--text-light);
}

.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.btn-solid {
    background-color: var(--accent-color);
    color: #121212; /* Dunkler Text auf hellem Button */
    text-decoration: none;
    padding: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-solid:hover {
    transform: translateY(-2px);
    filter: brightness(1.15); /* Button leuchtet beim Hover auf */
}

.description {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.socials a {
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.socials a:hover {
    background-color: var(--text-light);
    color: var(--bg-color);
    transform: translateY(-5px);
    border-color: var(--text-light);
}

@media (max-width: 480px) {
    .container { 
        max-width: 100%; 
        min-height: 100vh; 
        background-color: var(--bg-color); /* Auf Mobilgeräten verschmilzt alles zu einer Fläche */
    }
}

/* ========== Legal / Impressum Styling ========== */
.legal{
    margin-top: 14px;
    text-align: left;              /* Überschriften links */
    color: rgba(238,240,255,.92);
  }
  
  .legal h2{
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .2px;
  }
  
  .legal__sub{
    font-weight: 700;
    opacity: .85;
    font-size: .95em;
  }
  
  .legal__meta{
    margin: 0 0 14px;
    font-size: 13px;
    opacity: .8;
    line-height: 1.35;
  }
  
  /* Blocksatz nur für Fließtext */
  .legal p{
    margin: 0 0 12px;
    line-height: 1.55;
  
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  
    /* hilft bei langen URLs */
    overflow-wrap: anywhere;
  }
  
  .legal h3{
    margin: 16px 0 8px;
    font-size: 16px;
    font-weight: 800;
  }
  
  .legal strong{
    font-weight: 800;
  }
  
  /* Optische Trennlinie wie im Screenshot */
  .legal__divider{
    margin: 18px 0 18px;
    border: none;
    height: 1px;
    background: rgba(255,255,255,.14);
  }
  
  /* “Impressum”-Topblock etwas kompakter */
  .legal__block p{
    margin-bottom: 10px;
  }
  
  /* Links: dezent, aber klar */
  .legal a{
    color: rgba(184,191,255,.95);
    text-decoration: none;
    border-bottom: 1px solid rgba(184,191,255,.35);
  }
  
  .legal a:hover{
    border-bottom-color: rgba(184,191,255,.75);
  }
  
  /* Mobile: Blocksatz kann auf sehr schmalen Screens unschön werden */
  @media (max-width: 380px){
    .legal p{
      text-align: left;
      hyphens: none;
    }
  }
  /* Social Icons (SVG, ohne Font Awesome) */
  .socials{
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
  }
  
  .socials__icon{
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.12);
  
    /* Helles Grau als Grundfarbe */
    color: rgba(220, 225, 235, .75);
  
    text-decoration: none;
    transition: color .15s ease, transform .08s ease, border-color .15s ease;
  }
  
  /* Hover */
  .socials__icon:hover{
    color: rgba(184,191,255,1);  /* dein Pastell-Akzent */
    border-color: rgba(184,191,255,.4);
    transform: translateY(-1px);
  }
  
  /* Klick */
  .socials__icon:active{
    transform: scale(.96);
  }
  
  .socials__icon svg{
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
  }