/* ===============================
   CSS VARIABLEN
================================ */
:root {
  --bg: #f9fafb;
  --card: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --hero-bg: linear-gradient(135deg, #4f46e5, #6366f1);
  --shadow: rgba(0, 0, 0, 0.15);
}

/* Dark Mode */
body.dark {
  --bg: #0f172a;
  --card: #1e293b;
  --text-main: #f1f5f9;
  --text-muted: #cbd5f5;
  --primary: #818cf8;
  --primary-hover: #6366f1;
  --hero-bg: linear-gradient(135deg, #1e293b, #020617);
}

/* ===============================
   RESET & BASIS
================================ */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===============================
   HEADER
================================ */
header.hero {
  background: var(--hero-bg);
  color: #ffffff;
  padding: 90px 20px 130px;
  text-align: center;
  position: relative;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.header-content h1 {
  margin: 0;
  font-size: 3rem;
  font-weight: 800;
}

.header-content p {
  margin-top: 10px;
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ===============================
   QUICK SOCIALS (OBEN)
================================ */
.quick-socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 25px;
}

.quick-socials a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.3s ease, transform 0.3s ease;
}

.quick-socials a:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* ===============================
   THEME TOGGLE
================================ */
#theme-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
}

/* ===============================
   MAIN LAYOUT
================================ */
main.container {
  max-width: 1000px;
  margin: 25px auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* ===============================
   CARDS / SECTIONS
================================ */
section.card {
  background-color: var(--card);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 12px 30px var(--shadow);
}

section.card h2 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.6rem;
}

section.card p {
  line-height: 1.6;
}

/* ===============================
   BUTTON
================================ */
.button {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 26px;
  background-color: var(--primary);
  color: #ffffff !important;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
}

/* ===============================
   TIMELINE (FUSSBALL)
================================ */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li {
  border-left: 4px solid var(--primary);
  padding-left: 16px;
  margin-bottom: 18px;
}

.timeline span {
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

/* ===============================
   LISTEN
================================ */
section.card ul {
  padding-left: 20px;
  margin: 0;
}

section.card ul li {
  margin-bottom: 8px;
}

/* ===============================
   SOCIALES (UNTEN)
================================ */
.socials-bottom {
  grid-column: 1 / -1;
  text-align: center;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.socials a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.3s ease;
}

.socials a:nth-child(1) { background-color: #000000; } /* TikTok */
.socials a:nth-child(2) { background-color: #e1306c; } /* Instagram */
.socials a:nth-child(3) { background-color: #0077b5; } /* LinkedIn */

.socials a:hover {
  transform: translateY(-4px);
}

/* ===============================
   FOOTER
================================ */
footer {
  text-align: center;
  padding: 30px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
