/* ===================================
   Thoralf Schumann - Immobilieninvestor
   Dynamisches, abwechslungsreiches Design
   =================================== */

:root {
  --gold: #d4af37;
  --gold-light: #f4e5c3;
  --dark: #000000;
  --darker: #000000;
  --white: #ffffff;
  --gray: #a0a0a0;
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--darker);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

p { color: var(--gray); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 1rem 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  height: 45px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
  font-weight: 400;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.mobile-menu {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO WITH BACKGROUND IMAGE ===== */
.hero-bg {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../assets/images/1.svg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.hero-logo-large {
  max-width: 600px;
  width: 80%;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.8));
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--white);
  font-weight: 300;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: var(--darker);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* ===== SPLIT LAYOUT ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.split-img {
  background-size: cover;
  background-position: center;
}

.split-content {
  display: flex;
  align-items: center;
  padding: 4rem;
  background: var(--dark);
}

.split-content-inner {
  max-width: 500px;
}

.split-content h2 {
  margin-bottom: 1.5rem;
}

.split-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray);
}

/* Reverse Layout */
.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

/* ===== FULL WIDTH IMAGE WITH OVERLAY TEXT ===== */
.full-img-text {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.full-img-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.full-img-text .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.full-img-text h2,
.full-img-text p {
  color: var(--white);
}

.full-img-text p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 1.5rem auto;
}

/* ===== CONTENT SECTIONS ===== */
.section-dark {
  background: var(--dark);
  padding: 5rem 0;
}

.section-light {
  background: var(--darker);
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* ===== TEXT WITH SIDE IMAGE ===== */
.text-with-img {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
}

.text-with-img img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.text-with-img h2 {
  margin-bottom: 1.5rem;
}

.text-with-img p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ===== SIMPLE CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: rgba(10, 14, 39, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 2rem;
  transition: all 0.3s;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  color: var(--gray);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
footer {
  background: var(--darker);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin: 0 auto 2rem;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  color: var(--gray);
  font-size: 0.85rem;
}

/* ===== FORM STYLES ===== */
.form-container {
  max-width: 700px;
  margin: 3rem auto;
  background: rgba(10, 14, 39, 0.5);
  padding: 3rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold-light);
  font-size: 0.95rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-top: 0.25rem;
}

button[type="submit"] {
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .split,
  .text-with-img {
    grid-template-columns: 1fr;
  }
  
  .split-img {
    min-height: 400px;
  }
  
  .split-content {
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.3s;
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
  
  .mobile-menu {
    display: block;
  }
  
  .hero-bg {
    min-height: 100svh;
  }
  
  .hero-logo-large {
    max-width: 350px;
  }
  
  .split-content {
    padding: 3rem 1.5rem;
  }
  
  .section-dark,
  .section-light {
    padding: 3rem 0;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .full-img-text {
    background-attachment: scroll;
  }
  
  .form-container {
    padding: 2rem 1.5rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-logo-large {
    max-width: 280px;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .btn-primary {
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
  }
}
