@font-face {
  font-display: swap; 
  font-family: 'Inter_18pt-Medium';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/Inter_18pt-Medium.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Inter_18pt-Regular';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/Inter_18pt-Regular.woff2') format('woff2'); 
}

:root {
  --primary-font:'Inter_18pt-Medium';
  --secondary-font:'Inter_18pt-Regular';
  --bg: #0f172a;
  --bg-light: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #38bdf8;
  --card: #020617;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter_18pt-Regular', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
p {
  font-family: var(--secondary-font);
}
a {
  color: var(--accent);
}
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 1.5rem;
}


.header {
  position: sticky;
  top: 0;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
}
.logo a {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo a:hover {
  opacity: 0.8;
}


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

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-family: var(--primary-font);
}

.nav a:hover {
  color: var(--accent);
}



.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #020617, #020617 40%, #0f172a);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  max-width: 600px;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* Hero Layout mit Profilbild */
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  max-width: 600px;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 1.5rem;
  background: #020617;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}



.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--accent);
  color: #020617;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
  
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}


.section {
  padding: 5rem 0;
}

.section.alt {
  background: var(--bg-light);
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}


.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.highlight-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 1rem;
}

.highlight-card ul {
  list-style: none;
}

.highlight-card li {
  margin-bottom: 1rem;
}

/* Section */
.services{
  padding: clamp(32px, 5vw, 72px) clamp(18px, 6vw, 80px);
  background: #0b1324; /* falls du den Hintergrund hier brauchst */
}

.services__title{
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f2f5ff;
  margin: 0 0 24px;
}

/* Grid */
.services__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}

/* Card */
.service-card{
  border-radius: 22px;
  padding: 18px 18px 22px;
  background: rgba(0,0,0,0.22);
  box-shadow:
    0 14px 30px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
  color: #f2f5ff;
}

/* Video wrapper: keeps aspect ratio and rounded corners */
.service-card__video{
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0,0,0,0.35);
  aspect-ratio: 16 / 9;
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
  margin-bottom: 16px;
}

.service-card__videoEl{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* füllt sauber */
}

/* Typography */
.service-card__headline{
  margin: 0 0 10px;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.service-card__text{
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(242,245,255,0.82);
}

/* Responsive */
@media (max-width: 980px){
  .services__grid{
    grid-template-columns: 1fr;
  }
  .service-card{
    padding: 16px 16px 20px;
  }
}

.video-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.video-overlay.active{
  display: flex;
}

.overlay-video{
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 16px;
}

.video-close{
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 36px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}




.contact {
  text-align: center;
}

.contact p {
  margin-bottom: 2rem;
  color: var(--muted);
}


.footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent);
}



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

  .nav {
    gap: 1rem;
  }
 
  .nav li:not(:has(a.back)) {
    display: none;
  }
  
    .hero-grid {
      grid-template-columns: 1fr;
      text-align: left;
    }
  
    .hero-image {
      margin-top: 2.5rem;
    }
  
    .hero-image img {
      max-width: 280px;
    }
  

  .footer-grid {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
  }

}


/* ===== Expertise (new, card-based) ===== */
.expertise {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.expertise__inner {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.expertise__header {
  margin-bottom: 1.5rem;
}

.expertise__title {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 0.6rem;
}

.expertise__subtitle {
  margin: 0;
  max-width: 65ch;
  opacity: 0.85;
}

/* Grid, but elegant: equal-height cards, clean spacing */
.skills {
  margin-top: 1.75rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
}

/* 3-column layout desktop */
.skill {
  grid-column: span 4;

  border-radius: 18px;
  padding: 1.15rem 1.15rem 1.05rem;

  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.10);

  /* subtle depth without looking like "buttons" */
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);

  /* equal-ish height */
  min-height: 108px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.skill:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.skill__title {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

.skill__meta {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
  opacity: 0.75;
  line-height: 1.35;
}

/* Tablet: 2 columns */
@media (max-width: 920px) {
  .skill {
    grid-column: span 6;
  }
}

/* Mobile: 1 column */
@media (max-width: 560px) {
  .skills {
    gap: 0.85rem;
  }

  .skill {
    grid-column: span 12;
    min-height: 0;
  }
}

