:root {
  --overlay-color: rgba(0,0,0,0.5);
  --text-color: #fff;
  --accent-color: #fff;
  --font-family: 'Inter', sans-serif;
  --cursor-color: #0f3b88;
  --dot-active: #0f3b88;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-family);
  color: #333;
}

/* Hero & Grundlayout */
.hero {
  position: relative;
  height: 100vh;
  background: none;
  color: #dfb824;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay-color);
  z-index: 0;
}
.hero__header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: transparent;
  z-index: 10;
}

.hero__logo {
  font-size: 3rem;        
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .01em;
  display: inline-block;

  background:
    radial-gradient(140% 200% at 26% 32%,
      rgba(255,255,255,.40) 0 36%,
      rgba(255,255,255,0) 37%),
    linear-gradient(180deg,
      #cabc63 0%, 
      #dfb824 45%, 
      #dfb824 88%, 
      #c5a118 100% 
    );
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    0 1px 0 rgba(255,255,255,.10), 
    0 2px 4px rgba(0,0,0,.12);      
}

.hero__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: clamp(2rem, 8vw, 5rem);
  line-height: 1.05;
  white-space: nowrap;
  margin: 0;
  z-index: 1;
}

/* Section TL;DR */
#tldr {
  padding-bottom: 2rem;
}

/* Section Bildung */
#bildung {
  padding-bottom: 2rem;
}

/* Profilbild */
.profile-img {
  display: block;
  margin: 1rem auto;
  max-width: 250px;
  border-radius: 50%;
}

/* Education Grid */
.education-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin: 2rem auto;
  max-width: 1200px;
}

/* Bildungs-Box */
.edu-box {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: calc(33% - 1.5rem);
  aspect-ratio: 1/1;
  text-decoration: none;
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity .6s ease, transform .6s ease;
}
@media (max-width: 900px){
  .edu-box { width: calc(45% - 1.5rem); }
}
@media (max-width: 600px){
  .edu-box { width: 100%; }
}
.edu-box.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Beschreibung über dem Logo */
.description p {
  margin: 0 0 1rem;
  color: #666;
  font-weight: bold;
  font-size: 1.125rem;
  text-align: center;
}

/* Logo-Section */
.logo-section {
  display: flex;
  justify-content: center;
  width: calc(100% - 3rem);
}
.logo-section img {
  max-width: 250px;
  height: auto;
}

/* Zeitraum unten */
.edu-time {
  margin: 1rem 0 0;
  color: #666;
  text-align: center;
}

/* Section Arbeitserfahrung */
#arbeitserfahrung {
  padding-bottom: 2rem;
}

/* One-Pager Sektionen */
section {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
section:nth-child(odd) {
  background: #f9f9f9;
}
section:nth-child(even) {
  background: #fff;
}

/* Footer */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 2rem;
  background: #222;
  color: #dfb824;
}
.footer-col {
  flex: 1 1 200px;
}
.footer-col.address {
  margin-right: 2rem;
}
.footer-col a {
  color: #dfb824;
  text-decoration: underline;
}


/* --- New minimal footer --- */
.site-footer{
  background:#111;
  color:#fff;
  padding: clamp(36px, 6vh, 84px) 1.5rem clamp(28px, 4vh, 48px);
  text-align:center;
  font-family: var(--font-family);
}
.site-footer .footer-nav{
  display:flex;
  justify-content:center;
  gap:2rem;
  flex-wrap:wrap;
  margin:0 auto .75rem;
  padding:0;
}
.site-footer .footer-nav a{
  color:#fff;
  text-decoration:none;
  font-weight:500;
  opacity:.9;
}
.site-footer .footer-nav a:hover{
  opacity:1;
  text-decoration:underline;
}
.site-footer .footer-copy{
  font-size:.85rem;
  opacity:.75;
}


/* === Minimal black footer (no personal info) === */
.site-footer{
  background:#111;
  color:#fff;
  padding:2rem 1.5rem 1.5rem;
  font-family: var(--font-family, 'Inter', sans-serif);
}
.site-footer__nav{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:clamp(1.5rem, 2.8vw, 3rem);
  flex-wrap:wrap;
  margin:0 auto clamp(1.25rem, 2.4vh, 2rem);
  max-width:1200px;
}
.site-footer__nav a{
  color:#fff;
  text-decoration:none;
  font-weight:500;
  letter-spacing:.2px;
  opacity:.9;
  transition:opacity .2s ease, transform .2s ease;
}
.site-footer__nav a:focus,
.site-footer__nav a:hover{ opacity:1; transform:translateY(-1px); }
.site-footer__copy{
  text-align:center;
  font-size:.9rem;
  opacity:.85;

  line-height: 1.7;
  margin-top: clamp(1rem, 2vh, 1.5rem);}

/* Mobile: tighten gaps */
@media (max-width:600px){
  .site-footer__nav{ gap:1.25rem; }
  .site-footer__copy{ font-size:.85rem; }
}

/* === Footer spacing overrides (strong, appended) === */
.site-footer {
  padding-block: clamp(48px, 6vh, 96px);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 28px);
  margin: 0 auto clamp(16px, 2.4vh, 28px);
}

.site-footer__nav a {
  display: inline-block;
  padding: 4px 6px;
}

.site-footer__copy {
  margin-top: clamp(12px, 2vh, 24px);
  line-height: 1.7;
}

/* === Footer vertical centering (grid) === */
.site-footer {
  display: grid;
  grid-template-rows: 1fr auto 1fr; /* oben Platz, Mitte: Links, unten: Copy-Bereich */
  align-items: center;
  /* iOS Safe-Area beachten */
  padding-bottom: max(var(--footer-pb, clamp(48px, 6vh, 96px)), env(safe-area-inset-bottom, 0px));
}

.site-footer__nav {
  grid-row: 2;
  align-self: center;
  justify-content: center;
  margin: 0 auto; /* exakt mittig, kein extra margin-bottom */
}

.site-footer__copy {
  grid-row: 3;
  align-self: center; /* mittig zwischen Links und unterem Rand */
  margin-top: 0; /* Grid uebernimmt Abstand */
}

/* === Footer bottom-anchored copyright + centered links === */
.site-footer {
  display: grid;
  grid-template-rows: 1fr auto 1fr; /* oben frei, Mitte: Links, unten: Copy-Bereich */
  align-items: center;
  /* grosser Top-Padding, kleiner Bottom-Padding fuer geringen Abstand zum Seitenende */
  padding-top: clamp(48px, 6vh, 96px);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(8px, 1.6vh, 16px));
}

.site-footer__nav {
  grid-row: 2;
  align-self: center;
  justify-content: center;
  margin: 0 auto;
}

.site-footer__copy {
  grid-row: 3;
  align-self: end;    /* direkt am unteren Ende der Footer-Box ausrichten */
  margin-top: 0;      /* kein zusaetzlicher Abstand nach oben */
}
/* === Footer: flex-centered nav + bottom-anchored copyright (final v2) === */
.site-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(140px, 20vh, 240px);
  padding-top: 16px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 0;
}

.site-footer__nav {
  position: static;
  top: auto;
  left: auto;
  transform: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
  margin: 0;
  width: min(92vw, 1200px);
  text-align: center;
}

.site-footer__copy {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(8px, 1.6vh, 14px);
  margin: 0;
  line-height: 1.6;
}
/* === Footer nav links: bigger size + hover color (final) === */
.site-footer__nav a {
  font-size: clamp(1rem, 1.15vw, 1.25rem);
  color: #fff;
  text-decoration: none;
  transition: color .2s ease;
}
.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: #dfb924;
}


/* Hero video covers viewport */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Keep header/nav above video */
.hero__header { z-index: 10; }


