:root {
  --bg-main: #0f1115;
  --bg-section: #141821;
  --text-main: #f5f5f5;
  --text-muted: #a0a0a0;
  --accent: #2acad9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

body, p, li, .about-text {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 400;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(
    to bottom,
    rgba(15, 17, 21, 0),
    rgba(15, 17, 21, 1)
  );
  z-index: 2;
  pointer-events: none;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      rgba(15, 17, 21, 0.6),
      rgba(15, 17, 21, 0.8)
    ),
    url("img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateZ(0);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.logo {
  width: 180px;
  max-width: 40vw;
  margin-bottom: 2.5rem;
  animation: float 8s ease-in-out infinite;
}

h1, h2, .hero-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 200;
}

h1 {
  font-size: 3rem;
  font-weight: 500;
  margin: 0;
}

h2 {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  margin-top: 0.8rem;
  margin-bottom: 0.1rem;
  letter-spacing: 0.12em;
}

h3 {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.section h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin-top: 0.75rem;
  opacity: 0.6;
}

.tagline {
  margin-top: 2.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.7;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
}

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

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  font-size: 1.4rem;
  color: var(--text-muted);
  opacity: 0.8;
  cursor: pointer;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.scroll-indicator.hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.scroll-indicator {
  animation: bounce 2.5s ease-in-out infinite;
}

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 1.5rem;
}

.section:nth-child(even) {
  background: var(--bg-section);
}

.first-section {
  padding-top: 4rem;   /* statt z. B. 6rem */
}

.first-section h2,
.first-section h3 {
  margin-top: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skills-list li {
  margin-bottom: 1.8rem;
}

.skills-list li:last-child {
  margin-bottom: 0;
}

.skills-list strong {
  display: block;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.skills-list span {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
}

#skills.section {
  padding-bottom: 4.5rem;
}

/* ===== SKILLS ===== */
ul {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.6rem;
}

.image-placeholder {
  height: 280px;
  border: 1px dashed #2a2f3a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

/* ===== CONTACT ===== */

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.8rem;
}

a {
  color: var(--text-main);
  text-decoration: none;
}

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

.email-button {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
  font: inherit;
}

.email-button:hover {
  text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */

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

  h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 0 1rem;
  }
  .logo {
    width: 130px;
    margin-bottom: 2rem;
  }
  h1 {
    font-size: 2.1rem;
    letter-spacing: 0.06em;
  }
  h2, h3 {
    font-size: 1.1rem;
    margin-top: 0.3rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.06em;
  }
  .tagline {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    margin-top: 1.6rem;
  }
  .skills-list li {
    margin-bottom: 1.4rem;
  }
  .skills-list span {
    font-size: 0.85rem;
  }
  #skills.section {
    padding-bottom: 6.5rem;
  }
  .visual {
    margin-top: 2rem;
  }
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
