/* Grundlegende Styles und Dark Mode */
:root {
  --bg-color: #121212;
  --text-color: #ffffff;
  --accent-color: #4285f4;
  --accent-hover: #3367d6;
  --card-bg: #1e1e1e;
  --border-color: #333333;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header und Navigation */
header {
  background-color: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Hero-Bereich */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--accent-color), #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #cccccc;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
}

.cta-button:hover {
  background-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Über mich */
.about {
  padding: 100px 0;
  background-color: var(--card-bg);
}

.about h2, .contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
}

.about h2::after, .contact h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  margin: 15px auto;
  border-radius: 2px;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #cccccc;
}

.skills h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.skills ul {
  list-style: none;
}

.skills li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding-left: 20px;
}

.skills li::before {
  content: '▹';
  color: var(--accent-color);
  position: absolute;
  left: 0;
}

/* Kontakt */
.contact {
  padding: 100px 0;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-content > p {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: #cccccc;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.contact-item {
  text-align: center;
  padding: 30px;
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-item h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: rgba(30, 30, 30, 0.8);
  color: var(--text-color);
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  padding: 15px;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: var(--accent-hover);
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 0;
  background-color: rgba(30, 30, 30, 0.8);
  border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
}