/* Basis */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #f2f2f2;
  background: #0e0e10;
}

body {
  background: #0e0e10; /* dunkles Grau/Schwarz wie vorher */
  color: #f2f2f2;
}




/* Transparenter Header über dem Hero */
.site-header {
  display: flex;
  justify-content: flex-end; /* schiebt Inhalt nach rechts */
  align-items: center;
  padding: 1rem;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

background: transparent; /* wichtig */

  z-index: 10;
  color: #fff;
}
.logo {
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  text-decoration: none;
}
.site-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 1rem;
  font-weight: 600;
}
.site-nav a:hover { text-decoration: underline; }

/* Vollbild-Hero */
.hero {
  position: relative;
  height: 100vh; /* volle Höhe */
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Bild füllt den Bereich, kein Weißrand */
  display: block;
}






.hero-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  background: rgba(0,0,0,0.35);
  padding: 1rem 2rem;
  border-radius: 8px;
}
.hero-text h1 {
  margin: 0 0 0.5rem 0;
  font-size: clamp(2rem, 6vw, 4rem);
}
.hero-text p {
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

/* Abschnitte */
.section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

/* Portfolio-Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.grid figure {
  margin: 0;
  background: #17171b;
  border-radius: 8px;
  overflow: hidden;
}
.grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.grid figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: #cfcfcf;
}

/* Footer */
.site-footer {
  padding: 1rem 2rem;
  border-top: 1px solid #1f1f24;
  text-align: center;
  color: #9a9a9a;
}
