/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--green);
  color: #0d1117;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.1s;
}
.skip-link:focus {
  top: 0;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:          #0d1117;
  --bg-card:     #161b27;
  --bg-card-alt: #1a2035;
  --text:        #e8eaf0;
  --text-muted:  #b0b5c8;
  --blue:        #3b6fe8;
  --green:       #4ade80;
  --gradient:    linear-gradient(90deg, #3b6fe8 0%, #4ade80 100%);
  --gradient-diag: linear-gradient(135deg, #2b4fc7 0%, #4ade80 100%);
  --border:      rgba(255,255,255,0.07);
  --font:        'Inter', system-ui, -apple-system, sans-serif;
  --radius:      12px;
  --max-width:   920px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }

p { color: var(--text); }

a {
  color: var(--green);
  text-decoration: none;
  transition: opacity 0.15s;
}
a:hover { opacity: 0.8; }

/* ============================================================
   FOCUS STYLES (WCAG 2.4.7, 2.4.11, 2.4.13)
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Buttons and links already styled — ensure focus is never invisible */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   REDUCED MOTION (WCAG 2.3.3)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  /* Sticky nav offset so anchors aren't hidden behind nav (WCAG 2.4.11) */
  scroll-margin-top: 72px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider {
  height: 1px;
  background: var(--border);
  border: none;
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.nav-logo {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
}

.nav-logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--gradient);
  color: #0d1117 !important;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  -webkit-text-fill-color: #0d1117 !important;
}
.nav-cta:hover { opacity: 0.9; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.2s;
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-card);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--border); }
  .nav-links a {
    display: block;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }
  .nav-cta {
    margin: 1rem 1.5rem;
    display: inline-block;
    text-align: center;
  }
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,111,232,0.12) 0%, transparent 65%);
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -150px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74,222,128,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-headline {
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-block;
  background: var(--gradient);
  color: #0d1117;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.15s;
  border: 1px solid var(--border);
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
}
.btn-secondary:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }

.hero-photo {
  position: relative;
}

.hero-photo img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  display: block;
  border: 1px solid var(--border);
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  background: var(--gradient);
  z-index: -1;
  opacity: 0.5;
}

@media (max-width: 640px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-photo {
    order: -1;
    text-align: center;
  }
  .hero-photo img {
    width: 160px;
    height: 200px;
    margin: 0 auto;
  }
}

/* ============================================================
   ABOUT
   ============================================================ */
#ueber-mich {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-text p strong {
  color: var(--text);
  font-weight: 600;
}

.about-facts {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fact {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.fact-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.fact-value {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   ANGEBOTE
   ============================================================ */
.angebote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.angebot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.angebot-card:hover {
  border-color: rgba(59,111,232,0.4);
  transform: translateY(-3px);
}

.angebot-icon {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  display: block;
}

.angebot-card h3 {
  margin-bottom: 0.75rem;
  color: var(--text);
}

.angebot-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.angebot-card .angebot-detail {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.angebot-card .angebot-detail strong {
  color: var(--green);
}

@media (max-width: 768px) {
  .angebote-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PODCAST
   ============================================================ */
#podcast {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.podcast-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.podcast-cover {
  width: 160px;
  height: 160px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.podcast-content h2 {
  margin-bottom: 0.75rem;
}

.podcast-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 500px;
  font-size: 1.02rem;
}

.podcast-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.podcast-meta-item {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.podcast-meta-item strong {
  color: var(--text);
  display: block;
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

.btn-spotify {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #1DB954;
  color: #000 !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-spotify:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-spotify svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 640px) {
  .podcast-inner {
    grid-template-columns: 1fr;
  }
  .podcast-cover {
    width: 120px;
    height: 120px;
  }
}

/* ============================================================
   KONTAKT
   ============================================================ */
#kontakt {
  text-align: center;
}

.kontakt-headline {
  margin-bottom: 1rem;
}

.kontakt-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

.kontakt-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.kontakt-email {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gradient);
  color: #0d1117;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}
.kontakt-email:hover { opacity: 0.9; transform: translateY(-1px); }

.kontakt-note {
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }
