/* =========================
   SASCHA UHEREK – BASE
   Palette: #0d0f0a (dark) · #e8dece (cream) · #b5d040 (lime) · #4b5f48 (sage)
========================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:#f0ede8;
  color:#0d0f0a;
  line-height:1.6;
}

img{
  width:100%;
  display:block;
}

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

button{
  font:inherit;
}

.container{
  width:min(1180px, calc(100% - 40px));
  margin:0 auto;
}


/* =========================
   BUTTONS
========================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  padding:14px 24px;
  font-weight:800;
  transition:.25s ease;
}

/* Primary in light sections */
.btn--primary{
  background:#4b5f48;
  color:#fff;
  box-shadow:0 14px 28px rgba(75,95,72,.22);
}
.btn--primary:hover{
  transform:translateY(-2px);
  background:#344531;
}

/* Ghost in light sections */
.btn--ghost{
  background:rgba(255,255,255,.8);
  border:1px solid #d4cfc8;
  color:#0d0f0a;
}
.btn--ghost:hover{
  transform:translateY(-2px);
  border-color:#b0aa9f;
}

/* Hero variants (on dark bg) */
.btn--hero-primary{
  background:#b5d040;
  color:#0d0f0a;
  font-weight:900;
  box-shadow:0 14px 28px rgba(181,208,64,.28);
}
.btn--hero-primary:hover{
  transform:translateY(-2px);
  background:#c8e44a;
}

.btn--hero-ghost{
  background:rgba(232,222,206,.08);
  border:1px solid rgba(232,222,206,.28);
  color:#e8dece;
}
.btn--hero-ghost:hover{
  transform:translateY(-2px);
  background:rgba(232,222,206,.14);
}


/* =========================
   STICKY NAV
========================= */

.site-nav{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:100;
  padding:16px 0;
  background:transparent;
  transition:background .35s ease, backdrop-filter .35s ease, padding .35s ease;
}

.site-nav.is-scrolled{
  background:rgba(13,15,10,.94);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  padding:12px 0;
  border-bottom:1px solid rgba(232,222,206,.08);
}

.site-nav__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.site-nav__brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.site-nav__logo{
  height:30px;
  width:auto;
  display:block;
  opacity:.9;
}

.site-nav__name{
  font-size:15px;
  font-weight:900;
  color:#e8dece;
  letter-spacing:-.2px;
}

.site-nav__links{
  display:flex;
  align-items:center;
  gap:28px;
}

.site-nav__links a{
  font-size:13px;
  font-weight:700;
  color:rgba(232,222,206,.65);
  transition:.2s ease;
  letter-spacing:.2px;
}

.site-nav__links a:hover{
  color:#e8dece;
}

.nav-cta{
  padding:8px 18px !important;
  border-radius:12px !important;
  background:rgba(181,208,64,.15) !important;
  border:1px solid rgba(181,208,64,.35) !important;
  color:#b5d040 !important;
  font-size:13px !important;
  font-weight:800 !important;
  transition:.2s ease !important;
}

.nav-cta:hover{
  background:rgba(181,208,64,.25) !important;
  color:#c8e44a !important;
}


/* =========================
   HERO
========================= */

.os-hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:120px 0 90px;
  background:
    radial-gradient(circle at 8% 20%, rgba(181,208,64,.06), transparent 30%),
    radial-gradient(circle at 92% 15%, rgba(75,95,72,.12), transparent 35%),
    linear-gradient(160deg, #0f1109 0%, #0d0f0a 100%);
  overflow:hidden;
  position:relative;
}

.os-hero__inner{
  display:grid;
  grid-template-columns:1fr 300px;
  gap:60px;
  align-items:center;
}

.os-kicker{
  display:inline-flex;
  padding:9px 14px;
  border-radius:999px;
  background:rgba(181,208,64,.12);
  color:#b5d040;
  border:1px solid rgba(181,208,64,.25);
  font-size:12px;
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:24px;
}

.os-hero h1{
  font-size:clamp(54px, 8vw, 104px);
  line-height:.95;
  letter-spacing:-4px;
  margin-bottom:28px;
  color:#e8dece;
}

.os-hero p{
  max-width:680px;
  font-size:20px;
  line-height:1.65;
  color:rgba(232,222,206,.62);
}

.os-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:38px;
}


/* =========================
   CONTEXT CARD
========================= */

.context-card{
  background:rgba(232,222,206,.05);
  border:1px solid rgba(232,222,206,.12);
  border-radius:34px;
  padding:32px 28px;
  box-shadow:0 28px 60px rgba(0,0,0,.3);
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.context-card__logo{
  width:100%;
  max-width:160px;
  height:auto;
  margin:0 auto 28px;
  opacity:.85;
}

.context-card__info{
  width:100%;
  padding-top:24px;
  border-top:1px solid rgba(232,222,206,.1);
}

.context-card span{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(181,208,64,.12);
  color:#b5d040;
  border:1px solid rgba(181,208,64,.2);
  font-size:10px;
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:16px;
}

.context-card strong{
  display:block;
  font-size:18px;
  line-height:1.2;
  letter-spacing:-.5px;
  margin-bottom:8px;
  color:#e8dece;
}

.context-card small{
  display:block;
  color:rgba(232,222,206,.5);
  font-size:12px;
}


/* =========================
   STATS
========================= */

.os-stats{
  margin-top:-56px;
  position:relative;
  z-index:3;
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.stat-card{
  background:#fff;
  border:1px solid #e4dfd8;
  border-radius:26px;
  padding:28px;
  box-shadow:0 18px 34px rgba(13,15,10,.1);
}

.stat-card strong{
  display:block;
  font-size:42px;
  line-height:1;
  letter-spacing:-1.5px;
  color:#4b5f48;
  margin-bottom:10px;
}

.stat-card span{
  color:#7a7570;
  font-weight:700;
}


/* =========================
   PROFIL
========================= */

.profil{
  padding:100px 0 80px;
}

.profil__inner{
  display:grid;
  grid-template-columns:1fr 380px;
  gap:60px;
  align-items:start;
  background:#fff;
  border:1px solid #e4dfd8;
  border-radius:36px;
  padding:54px;
  box-shadow:0 20px 40px rgba(13,15,10,.06);
}

.profil__text .os-kicker{
  background:#eef2ec;
  color:#4b5f48;
  border:1px solid #d8e0d5;
  margin-bottom:20px;
}

.profil__text h2{
  font-size:clamp(32px,4vw,52px);
  line-height:1.02;
  letter-spacing:-2px;
  margin-bottom:22px;
}

.profil__text p{
  font-size:17px;
  color:#6b6760;
  line-height:1.7;
  margin-bottom:14px;
}

.profil__text p:last-child{
  margin-bottom:0;
}

.stack-label{
  font-size:11px;
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#4b5f48;
  margin-bottom:16px;
}

.stack-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.stack-item{
  padding:10px 16px;
  border-radius:14px;
  background:#eef2ec;
  color:#344531;
  font-size:13px;
  font-weight:800;
  letter-spacing:.1px;
  border:1px solid #d8e0d5;
  transition:.2s ease;
}

.stack-item:hover{
  background:#e0e8dc;
  transform:translateY(-1px);
}


/* =========================
   SECTION HEAD
========================= */

.section-head{
  max-width:820px;
  margin-bottom:34px;
}

.section-head span{
  display:inline-flex;
  font-size:12px;
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#4b5f48;
  margin-bottom:12px;
}

.section-head h2{
  font-size:clamp(38px,5vw,70px);
  line-height:1.02;
  letter-spacing:-2.5px;
  margin-bottom:18px;
}

.section-head p{
  font-size:18px;
  color:#6b6760;
  max-width:700px;
}


/* =========================
   PROJECT RADAR
========================= */

.project-radar{
  padding:80px 0 110px;
}

.filter-bar{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:34px;
}

.filter-btn{
  border:0;
  cursor:pointer;
  padding:11px 15px;
  border-radius:999px;
  background:#e6e1db;
  color:#4b5f48;
  font-weight:900;
  font-size:13px;
  transition:.2s ease;
}

.filter-btn:hover,
.filter-btn.is-active{
  background:#4b5f48;
  color:#fff;
}

.radar-layout{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:26px;
  align-items:stretch;
}

.radar-nav{
  background:#0d0f0a;
  border-radius:32px;
  padding:14px;
  box-shadow:0 24px 46px rgba(13,15,10,.22);
}

.radar-tab{
  width:100%;
  border:0;
  cursor:pointer;
  text-align:left;
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px 16px;
  border-radius:22px;
  background:transparent;
  color:rgba(232,222,206,.55);
  font-weight:850;
  transition:.2s ease;
}

.radar-tab span{
  width:34px;
  height:34px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.06);
  color:rgba(232,222,206,.6);
  font-size:12px;
  font-weight:950;
  flex-shrink:0;
}

.radar-tab:hover{
  background:rgba(232,222,206,.06);
  color:#e8dece;
}

.radar-tab.is-active{
  background:#f0ede8;
  color:#0d0f0a;
}

.radar-tab.is-active span{
  background:#4b5f48;
  color:#fff;
}

.radar-tab.is-hidden{
  display:none;
}


/* =========================
   PROJECT DISPLAY
========================= */

.radar-stage{
  min-height:620px;
}

.project-display{
  height:100%;
  display:grid;
  grid-template-columns:minmax(320px, 46%) 1fr;
  gap:0;
  background:#fff;
  border:1px solid #e4dfd8;
  border-radius:36px;
  overflow:hidden;
  box-shadow:0 24px 48px rgba(13,15,10,.09);
}

.project-display.is-changing{
  animation:softSwitch .28s ease;
}

@keyframes softSwitch{
  0%{ opacity:.35; transform:translateY(8px); }
  100%{ opacity:1; transform:translateY(0); }
}

.project-display__visual{
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.55), transparent 35%),
    linear-gradient(135deg, #dfe7dc 0%, #cfd8cc 100%);
  min-height:620px;
  padding:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.project-display__visual img{
  width:100%;
  max-width:420px;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 24px 40px rgba(13,15,10,.18));
  transform:translateY(0);
  transition:.35s ease;
}

.project-display:hover .project-display__visual img{
  transform:translateY(-4px);
}

.project-display__content{
  padding:46px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.project-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:24px;
}

.project-meta span{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ec;
  color:#4b5f48;
  font-size:11px;
  font-weight:950;
  letter-spacing:.3px;
}

.project-display h3{
  font-size:clamp(42px,5vw,72px);
  line-height:.95;
  letter-spacing:-3px;
  margin-bottom:30px;
}

.project-block{
  padding:20px 0;
  border-top:1px solid #ece7e0;
}

.project-block small{
  display:block;
  color:#4b5f48;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.9px;
  font-size:11px;
  margin-bottom:7px;
}

.project-block p{
  color:#6b6760;
  font-size:17px;
  line-height:1.65;
}

.project-tech{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid #ece7e0;
}

.project-tech span{
  padding:6px 12px;
  border-radius:10px;
  background:#0d0f0a;
  color:rgba(232,222,206,.8);
  font-size:11px;
  font-weight:800;
  letter-spacing:.3px;
}


/* =========================
   PROJECT CONTROLS (Vor/Zurück)
========================= */

.project-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:24px;
  padding-top:20px;
  border-top:1px solid #ece7e0;
}

.project-ctrl-btn{
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 20px;
  border-radius:14px;
  border:1px solid #e4dfd8;
  background:#f8f5f1;
  color:#0d0f0a;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  transition:.2s ease;
  min-width:100px;
  justify-content:center;
  -webkit-tap-highlight-color:transparent;
}

.project-ctrl-btn:hover{
  background:#0d0f0a;
  color:#e8dece;
  border-color:#0d0f0a;
  transform:translateY(-1px);
}

.project-ctrl-btn:active{
  transform:scale(.97);
}

.project-counter{
  font-size:13px;
  font-weight:700;
  color:#a09890;
  white-space:nowrap;
  letter-spacing:.5px;
}


/* =========================
   PDF SECTION
========================= */

.pdf-section{
  padding:90px 0;
  background:#eae6e0;
}

.pdf-box{
  background:#fff;
  border:1px solid #e4dfd8;
  border-radius:36px;
  padding:54px;
  text-align:center;
  box-shadow:0 20px 40px rgba(13,15,10,.07);
}

.pdf-box span{
  display:inline-flex;
  padding:8px 13px;
  border-radius:999px;
  background:#eef2ec;
  color:#4b5f48;
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.8px;
  margin-bottom:18px;
}

.pdf-box p{
  max-width:660px;
  margin:0 auto 30px;
  color:#6b6760;
  font-size:18px;
}


/* =========================
   FOOTER
========================= */

.footer{
  padding:40px 0;
  background:#0d0f0a;
  color:rgba(232,222,206,.55);
}

.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:18px;
}

.footer strong{
  color:#e8dece;
}

.footer a:hover{
  color:#e8dece;
}

.impressum-btn{
  background:transparent;
  border:1px solid rgba(232,222,206,.18);
  color:rgba(232,222,206,.5);
  padding:8px 16px;
  border-radius:12px;
  cursor:pointer;
  font-size:13px;
  font-weight:700;
  transition:.2s ease;
}

.impressum-btn:hover{
  border-color:rgba(232,222,206,.38);
  color:#e8dece;
}


/* =========================
   IMPRESSUM MODAL
========================= */

.impressum-overlay{
  position:fixed;
  inset:0;
  z-index:200;
  background:rgba(5,7,4,.75);
  backdrop-filter:blur(8px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
}

.impressum-overlay.is-open{
  opacity:1;
  pointer-events:all;
}

.impressum-box{
  background:#fff;
  border-radius:30px;
  padding:48px;
  max-width:540px;
  width:100%;
  position:relative;
  transform:translateY(12px);
  transition:transform .3s ease;
}

.impressum-overlay.is-open .impressum-box{
  transform:translateY(0);
}

.impressum-close{
  position:absolute;
  top:20px;
  right:20px;
  background:rgba(13,15,10,.07);
  border:0;
  width:36px;
  height:36px;
  border-radius:50%;
  cursor:pointer;
  font-size:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.2s ease;
  color:#0d0f0a;
}

.impressum-close:hover{
  background:rgba(13,15,10,.13);
}

.impressum-box h3{
  font-size:28px;
  letter-spacing:-1px;
  margin-bottom:24px;
}

.impressum-box p{
  font-size:15px;
  color:#6b6760;
  line-height:1.7;
  margin-bottom:18px;
}

.impressum-box p:last-child{
  margin-bottom:0;
}

.impressum-box strong{
  color:#0d0f0a;
}

.impressum-box a{
  color:#4b5f48;
  text-decoration:underline;
}

.impressum-note{
  font-size:13px !important;
  color:#a09890 !important;
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid #ece7e0;
}


/* =========================
   REVEAL ANIMATIONS
========================= */

.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .6s ease, transform .6s ease;
}

.reveal.is-revealed{
  opacity:1;
  transform:translateY(0);
}


/* =========================
   RESPONSIVE – 980px
========================= */

@media(max-width:980px){

  .os-hero__inner{
    grid-template-columns:1fr;
    gap:40px;
  }

  .context-card{
    max-width:420px;
  }

  .stats-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .profil__inner{
    grid-template-columns:1fr;
    gap:36px;
    padding:38px;
  }

  .radar-layout{
    grid-template-columns:1fr;
  }

  .radar-nav{
    display:flex;
    overflow-x:auto;
    gap:10px;
    border-radius:26px;
    position:sticky;
    top:62px;
    z-index:10;
    scrollbar-width:none;
  }

  .radar-nav::-webkit-scrollbar{
    display:none;
  }

  .radar-tab{
    min-width:160px;
  }

  .project-display{
    grid-template-columns:1fr;
  }

  .project-display__visual{
    min-height:380px;
  }

}


/* =========================
   RESPONSIVE – 680px
========================= */

@media(max-width:680px){

  .container{
    width:min(100% - 28px, 1180px);
  }

  .os-hero{
    min-height:auto;
    padding:100px 0 80px;
  }

  .os-hero h1{
    letter-spacing:-2.5px;
  }

  .os-hero p{
    font-size:17px;
  }

  .os-actions{
    flex-direction:column;
  }

  .btn{
    width:100%;
  }

  .stats-grid{
    grid-template-columns:1fr;
  }

  .stat-card{
    padding:22px;
  }

  .profil{
    padding:60px 0;
  }

  .profil__inner{
    padding:28px 24px;
  }

  .project-radar{
    padding:60px 0 80px;
  }

  .filter-bar{
    overflow-x:auto;
    flex-wrap:nowrap;
    padding-bottom:4px;
  }

  .filter-btn{
    white-space:nowrap;
  }

  .radar-nav{
    margin-left:-14px;
    margin-right:-14px;
    border-radius:0;
    padding:14px;
    top:54px;
  }

  .project-display{
    border-radius:28px;
  }

  .project-display__visual{
    min-height:300px;
  }

  .project-display__content{
    padding:30px 24px;
  }

  .project-display h3{
    font-size:42px;
    letter-spacing:-1.5px;
  }

  .project-block p{
    font-size:16px;
  }

  .pdf-box{
    padding:38px 24px;
  }

  .footer__inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .impressum-box{
    padding:32px 24px;
  }

  .site-nav__name{
    display:none;
  }

}


/* =========================
   RESPONSIVE – 441px
========================= */

@media(max-width:441px){
  .context-card{
    display:none;
  }
  .os-stats{
    display:none;
  }
}
