/* =========================================
   Basisvariablen
   ========================================= */
:root {
  --bg: #ffffff;
  --fg: #111827;
  --muted: #6b7280;
  --brand: #0ea5e9;
  --brand-2: #003e5a;
  --maxw: 72rem;
  --space: clamp(1rem, 2vw, 2rem);
}
/* =========================================
   Reset & Basistypografie
   ========================================= */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, sans-serif;
  color: var(--fg);
  background: var(--bg);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--brand);
  text-decoration: none;
}
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
/* =========================================
   Layout-Container
   ========================================= */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--space);
}
/* =========================================
   Skip-Link (Accessibility)
   ========================================= */
.skip {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip:focus {
  left: var(--space);
  top: var(--space);
  background: #fff;
  padding: 0.25rem 0.5rem;
  box-shadow: 0 0 0 2px var(--brand);
}
/* =========================================
   Header & Navigation
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  background: linear-gradient(90deg, var(--bg), #f8fafc);
  border-bottom: 1px solid #e5e7eb;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--space);
}
.brand {
  font-weight: 700;
}
.navlist {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* =========================================
   Hero-Section
   ========================================= */
.hero {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  padding-block: clamp(2.5rem, 8vw, 5rem);
}
.hero-grid {
  display: grid;
  gap: 1rem;
  align-items: center;
}
.portrait {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
}
.hero-text .btn {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  background: #fff;
  color: #111827;
  border-radius: 0.5rem;
  font-weight: 600;
}

.hero-text .btn2 {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  background: #fff;
  color: #111827;
  border-radius: 0.5rem;
  font-weight: 600;
}

.hero-text .btn3 {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  background: #fff;
  color: #111827;
  border-radius: 0.5rem;
  font-weight: 600;
}

/* =========================================
   Skills / Balken
   ========================================= */
.skill {
  margin-bottom: 1.5rem;
}

.skill h3 {
  margin-bottom: 0.3rem;
}

.bar {
  background-color: #eee;
  border-radius: 10px;
  overflow: hidden;
  height: 1rem;
  margin-bottom: 0.3rem;
}

.bar span {
  display: block;
  height: 100%;
  background: linear-gradient(to right, #0ea5e9, #003e5a); /* Blau zu Grün */
  border-radius: 10px;
}


/* =========================================
   Lebenslauf-Grid
   ========================================= */
.resume-grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem 2rem;
}

.resume-item {
  display: contents;
}

.resume-item time {
  font-weight: bold;
  color: #333;
}

.resume-details h3 {
  margin: 0 0 0.3rem 0;
}

@media (max-width: 767px) {
  .resume-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .resume-item time {
    margin-bottom: 0.3rem;
  }
}


/* =========================================
   Allgemeine Abschnittsgestaltung
   ========================================= */
.section {
  padding-block: clamp(2rem, 6vw, 3.5rem);
}
/* =========================================
   Footer
   ========================================= */
.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.25rem 0;
}
/* =========================================
   Responsive (ab 768px)
   ========================================= */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 128px 1fr;
  }
}
/* =========================================
   Druckansicht
   ========================================= */
@media print {
  .site-header,
  .site-footer,
  .btn {
    display: none;
  }

  .btn2 {
    display: none;
  }

  .btn3 {
    display: none;
  }

  a {
    color: inherit;
    text-decoration: underline;
  }
}