/* === VARIABLES === */
:root {
  --bg-dark: #0b0b0b;
  --bg-light: #121212;
  --text-light: #f4f4f4;
  --text-muted: #aaa;
  --accent: #ff4d4d;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
}

a,
a:visited {
  color: var(--text-light);
  text-decoration: none;
}

/* === HEADER === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 60px;
  background-color: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
}

nav a {
  color: var(--text-light);
  margin-left: 30px;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent);
  bottom: -4px;
  left: 0;
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* === HERO === */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at center, #111 0%, #0b0b0b 100%);
  animation: fadeIn 2s ease;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.12;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0.2;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

/* Standard-Größe für große Bildschirme */
.hero-logo {
  height: 380px;
  margin-bottom: 40px;
  animation: float 3s ease-in-out infinite;
}

/* Mobile-Anpassung */
@media (max-width: 768px) {
  .hero-logo {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    height: 200px;
  }
}

.hero h1 {
  font-size: 2.4rem;
  color: white;
  font-weight: 700;
}

.hero address {
  color: #ccc;
  font-style: normal;
  margin-top: 10px;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

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

/* === SECTION === */
.section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 40px;
  text-align: center;
}

.section p {
  font-size: 18px;
  color: #ccc;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* === GRIDS === */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.card {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  color: white;
}

.card p {
  font-size: 16px;
  color: var(--text-muted);
}

/* === FACTS === */
.facts {
  background: #111;
  padding: 80px 20px;
  text-align: center;
}

.fact-box {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 40px 20px;
}

.fact-box strong,
.fact-box .percent,
.fact-number {
  font-size: 32px;
  color: var(--accent);
}

.fact-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-weight: bold;
}

/* === ABOUT === */
.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.about-image-small {
  flex: 1 1 300px;
  max-width: 300px;
}

.about-image-small img {
  width: 100%;
  border-radius: 12px;
}

.about-text {
  flex: 2 1 500px;
}

/* === TEAM === */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-bottom: 40px;
}

.team-member {
  text-align: center;
  max-width: 200px;
}

.team-member img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ffffff22;
  box-shadow: 0 0 10px #00000055;
  transition: transform 0.3s ease;
}

/* === CTA BUTTON === */
.cta-button {
  background-color: var(--accent);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #e23e3e;
}

/* === PARTNER === */
.partners {
  background: #111;
  padding: 100px 20px;
  text-align: center;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.partner-logos img {
  background: white;
  border-radius: 12px;
  padding: 10px;
  height: 80px;
  max-width: 140px;
}

/* === VERKAUFEN === */
.verkaufen-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.verkaufen-image {
  flex: 1 1 300px;
  max-width: 400px;
}

.verkaufen-image img {
  width: 100%;
  border-radius: 12px;
}

.verkaufen-text {
  flex: 2 1 500px;
}

.verkaufen-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

/* === KONTAKT === */
.contact-form {
  max-width: 800px;
  margin: 60px auto;
  padding: 40px;
  background: #1a1a1a;
  border-radius: 12px;
}

.contact-form .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #2a2a2a;
  color: white;
}

.contact-form button {
  background: var(--accent);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #e23e3e;
}

/* === FOOTER === */
footer {
  background-color: #101010;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  color: #bbb;
}

footer h4 {
  margin-bottom: 20px;
  color: #f4f4f4;
}

footer a {
  display: block;
  color: #999;
  text-decoration: none;
  margin-bottom: 8px;
}

/* === HAMBURGER === */
.hamburger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* === MOBILE === */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  #mobile-nav {
    display: none;
    flex-direction: column;
    background-color: var(--bg-dark);
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 999;
  }

  #mobile-nav.show {
    display: flex;
  }

  #mobile-nav a {
    margin: 10px 0;
    font-size: 18px;
  }

  header {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 100vh;
    padding: 0 10px;
    justify-content: center;
  }

  .hero h1 {
    font-size: 22px;
    line-height: 1.3;
    max-width: 90%;
    margin: 0 auto;
    word-break: break-word;
  }

  .hero-logo {
    height: 240px;
    margin-bottom: 20px;
  }
}
