/* =========================
   RESET & BASIS
========================= */
html{
  scroll-behavior: smooth;
}
section{
  scroll-margin-top: 90px;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background-color: #2b2b2f; /* GRAU */
  color: #ffffff;            /* WEISS */
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

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

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

/* =========================
   HEADER / NAVIGATION
========================= */
.topbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;

  padding: 16px 20px;
  background: rgba(43, 43, 47, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
body{
  padding-top: 72px; /* ggf. 64–90px anpassen, je nach Header-Höhe */
}




.topnav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.pill {
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
  opacity: 0.85;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.pill:hover {
  opacity: 1;
  background: rgba(255,255,255,0.12);
}

.pill.is-active {
  opacity: 1;
  border-color: #ffffff;
}

/* =========================
   HERO
========================= */
.hero {
  padding: 24px 20px 64px;
}

.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  min-height: clamp(520px, 72vh, 820px);

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

/* PORTFOLIO */
.hero__title{
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.7;            /* ordentlich lesbar ZAB */
  color: #ffffff;
  font-size: clamp(72px, 10vw, 180px);
}

.hero__left{
  padding-top: 10px;           /* leichte optische Zentrierung */
  position: relative;
  transform: translateY(-80px);
}


.hero__title span:first-child{
  letter-spacing: 0.08em;
}


/* KIM KOSTKA */
.hero__signature{
  position: absolute;

  /* FEINJUSTIERUNG HIER */
  left: clamp(290px, 4vw, 60px);
  bottom: -12px;              /* über dem PORTFOLIO */
  
  font-family: "Dancing Script", cursive;
  font-size: clamp(70px, 4vw, 64px);
  font-weight: 700;
  line-height: 1;

  color: #c1120d;

  z-index: 3;                 /* über dem PORTFOLIO */
  pointer-events: none;
  transform: rotate(-5deg);
}





/* BILD */
.hero__right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__img {
  width: 140%;
  max-width: none;
  border-radius: 22px;

  transform: translate(6%, -4%);
  filter: contrast(1.05) saturate(1.05);
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__right {
    order: -1;
  }

  .hero__title {
    line-height: 0.9;
  }

  .hero__img {
    width: 100%;
  }
}

/* =========================
   HALL OF FAME (RED BLOCK)
========================= */
/* =========================
   HALL OF FAME (FLOATING RED CARD)
========================= */

/* Außenbereich (zeigt den grauen Hintergrund) */
.hof-wrap{
  padding: 0 clamp(40px, 8vw, 120px) 120px;
  background: transparent;
  position: relative;
}


/* Der rote Kasten selbst */
.hof{
  background: #c1120d;
  color: #ffffff;

  border-radius: 20px;
  padding: 64px 0;

  /* OVERLAP über den Hero */
  margin-top: -120px;

  /* damit er über dem Hero liegt */
  position: relative;
  z-index: 5;

  /* leichter “Card”-Look */
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

/* Inhalt zentrieren */
.hof__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px; /* Innenpadding im roten Kasten */
}

.hof__title{
  margin: 0 0 26px;
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
/* Grid */
.hof__grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

/* Card */
.hof__card{
  position: relative;
  grid-column: span 4;
  min-height: 220px;

  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.55);
  overflow: hidden;

  background: rgba(0,0,0,0.12);
  transition: transform 150ms ease, border-color 150ms ease;
}

.hof__card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.85);
}

/* Größen wie im Layout */
.hof__card--big{ grid-column: span 8; min-height: 320px; }
.hof__card--tall{ grid-column: span 4; min-height: 420px; }
.hof__card--small{ grid-column: span 4; min-height: 200px; }

/* Das Bild füllt die Kachel */
.hof__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Overlay für Lesbarkeit (optional, aber sehr gut) */
.hof__card::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.08));
  z-index: 2;
  .hof__card:hover .hof__img{
  transform: scale(1.03);
}

.hof__img{
  transition: transform 220ms ease;
}

}

/* Label immer oben drüber */
.hof__label{
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: 14px;
  z-index: 3;
}

/* =========================
   ABOUT / ÜBER MICH (GREY + RED)
========================= */
.about{
  background: #2b2b2f; /* dein Grau */
  color: #fff;
  padding: 90px 20px;
}

.about__inner{
  max-width: 1200px;
  margin: 0 auto;
}

.about__header{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 4vw, 48px);
  align-items: end;
  margin-bottom: 36px;
}

.about__title{
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.85;
  font-size: clamp(44px, 6vw, 90px);
  position: relative;
}

/* roter Akzent-Strich */
.about__title::after{
  content:"";
  display: block;
  width: 92px;
  height: 6px;
  margin-top: 14px;
  border-radius: 999px;
  background: #c1120d;
}

.about__lead{
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  line-height: 1.6;
  max-width: 60ch;
}

/* Grid für die Infoboxen */
.about__grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

/* Infobox */
.info{
  grid-column: span 4;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  padding: 18px 18px 16px;
  position: relative;
  overflow: hidden;
}

/* feine rote Ecke wie “Marker” */
.info::before{
  content:"";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c1120d;
  box-shadow: 0 0 0 6px rgba(193,18,13,0.15);
}

.info__title{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.info__text{
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  line-height: 1.6;
}

.info__list{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.72);
  display: grid;
  gap: 6px;
  font-size: 14px;
}

/* Timeline */
.timeline{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.timeline li{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: baseline;
}

.t-year{
  color: #c1120d;
  font-weight: 800;
  font-size: 13px;
}

.t-text{
  color: rgba(255,255,255,0.72);
  font-size: 14px;
}

/* Skill Chips */
.skills{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

/* Ring: Hintergrund + Fortschritt in Rot */
.skill{
  width: 56px;
  height: 56px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  background:
    conic-gradient(#c1120d calc(var(--p) * 1%), rgba(255,255,255,0.18) 0);
  padding: 4px; /* Ring-Dicke */
}

.skill__inner{
  width: 100%;
  height: 100%;
  border-radius: 999px;

  display: grid;
  place-items: center;

  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.18);

  font-weight: 800;
  letter-spacing: -0.01em;
}


/* Kunden “Logos” als Platzhalter */
.logos{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.logo{
  width: 120px;
  height: 52px;
  display: grid;
  place-items: center;

  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.16);
  padding: 10px;
  transition: transform 150ms ease, border-color 150ms ease;
}

.logo:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.35);
}

.logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.9;
}

.logo:hover img{
  filter: grayscale(0);
  opacity: 1;
}


/* =========================
   DIGITAL SECTION
========================= */
.digital{
  background: #2b2b2f;
  padding: 100px 20px;
}

.digital__inner{
  max-width: 1200px;
  margin: 0 auto;
}

.digital__title{
  margin: 0 0 32px;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
}

.digital__grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.digital__card{
  grid-column: span 4;
  position: relative;
  height: 280px;

  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.25);
}

.digital__card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
}

.digital__label{
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: 14px;
  color: #fff;
}

/* Hover */
.digital__card:hover{
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px){
  .digital__card{
    grid-column: span 12;
    height: 240px;
  }
}


.page{
  background:#2b2b2f;
  color:#fff;
  padding: 120px 20px 80px;
}

.page__hero{
  max-width:1200px;
  margin:0 auto 40px;
}

.page__hero h1{
  font-size: clamp(42px,6vw,96px);
  font-weight:900;
  margin:0 0 10px;
}

.page__hero p{
  color: rgba(255,255,255,0.7);
  max-width: 50ch;
}

.page__grid{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns: repeat(12,1fr);
  gap:16px;
}

.work-card{
  grid-column: span 4;
  height:260px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,0.25);
  display:flex;
  align-items:flex-end;
  padding:16px;
  color:#fff;
  transition: transform .2s ease;
}

.work-card:hover{
  transform: translateY(-4px);
}

@media(max-width:900px){
  .work-card{ grid-column: span 12; }
}


/* =========================
   FOOTER / KONTAKT
========================= */
.footer{
  background: #232326;
  color: #fff;

  padding: 100px 20px 40px;

  border-top-left-radius: 32px !important;
  border-top-right-radius: 32px !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;

  /* Schatten nur oben, optional */
  box-shadow: 0 -20px 60px rgba(0,0,0,0.35);
}



.footer__inner{
  max-width: 1200px;
  margin: 0 auto 40px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 6vw, 80px);
}

/* Linke Seite */
.footer__title{
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.02em;
  position: relative;
}

.footer__title::after{
  content:"";
  display: block;
  width: 72px;
  height: 6px;
  margin-top: 12px;
  border-radius: 999px;
  background: #c1120d;
}

.footer__text{
  margin: 16px 0 0;
  color: rgba(255,255,255,0.7);
  max-width: 42ch;
  line-height: 1.6;
}

/* Rechte Seite */
.footer__list{
  list-style: none;
  margin: 0 0 20px;
  padding: 0;

  display: grid;
  gap: 14px;
}

.footer__label{
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2px;
}

.footer__list a,
.footer__list span{
  font-size: 16px;
  color: #fff;
}

.footer__list a:hover{
  color: #c1120d;
}

/* Socials */
.footer__socials{
  display: flex;
  gap: 18px;
}

.footer__socials a{
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.footer__socials a:hover{
  color: #c1120d;
}

/* Bottom Bar */
.footer__bottom{
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;

  display: flex;
  justify-content: space-between;
  gap: 16px;

  font-size: 13px;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.12);
}

/* Responsive */
@media (max-width: 900px){
  .footer{
    padding: 80px 16px 32px;
  }

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

  .footer__bottom{
    flex-direction: column;
    text-align: center;
  }
}

/* =========================
   FOOTER – FLOATING CARD
========================= */
.footer-wrap{
    
  padding: 0 clamp(40px, 8vw, 120px) 120px; /* GLEICH wie roter Kasten */
}

.footer{
  background: #232326;
  color: #fff;

  border-radius: 32px;
  padding: 100px 20px 40px;

  box-shadow: 0 -20px 60px rgba(0,0,0,0.35);
}
.footer__bottom{
  border-radius: 0 !important;
}

/* Inhalt zentrieren */
.footer__inner,
.footer__bottom{
  max-width: 1200px;
  margin: 0 auto;
}
.footer-wrap{
  padding: 0 clamp(28px, 6vw, 80px) 0; /* KEIN Bottom-Padding */
  margin: 0;                            /* kein Abstand */
}

.footer{
  margin: 0;                            /* kein Abstand */
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

