/* ============================================================
   ReitDesk — Corporate Stylesheet
   Palette: Sattelbraun, Creme, Dunkelgrün
   ============================================================ */

:root {
  --braun:        #7B4A2D;
  --braun-dark:   #5A3320;
  --braun-light:  #C4956A;
  --creme:        #F8F4ED;
  --creme-dark:   #EDE5D8;
  --gruen:        #2C4A2E;
  --gruen-light:  #4A7A4D;
  --text-dark:    #2C1810;
  --text-mid:     #5A4030;
  --text-light:   #8C7060;
  --white:        #FFFFFF;
  --shadow:       rgba(44, 24, 16, 0.12);
  --shadow-strong: rgba(44, 24, 16, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 16px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 { font-family: 'Georgia', serif; line-height: 1.3; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

p { font-family: 'Arial', sans-serif; color: var(--text-mid); }

a { color: var(--braun); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--braun-dark); }

/* === NAV === */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(248, 244, 237, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--creme-dark);
  padding: 0.8rem 0;
  box-shadow: 0 2px 12px var(--shadow);
}

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

.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.4rem; font-weight: bold; color: var(--braun-dark);
  letter-spacing: -0.02em;
}

.nav-logo .horseshoe { font-size: 1.6rem; }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: Arial, sans-serif;
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-mid);
  text-transform: uppercase; letter-spacing: 0.06em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--braun); }

.btn-nav {
  background: var(--braun);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-family: Arial, sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--braun-dark) !important; color: var(--white) !important; }

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  font-size: 1rem; font-weight: 700;
  cursor: pointer; border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--braun);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(123, 74, 45, 0.35);
}
.btn-primary:hover {
  background: var(--braun-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(123, 74, 45, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: var(--white);
}

.btn-green {
  background: var(--gruen);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(44, 74, 46, 0.35);
}
.btn-green:hover {
  background: #1e3320;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--braun);
  border: 2px solid var(--braun);
}
.btn-outline:hover {
  background: var(--braun);
  color: var(--white);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg,
    #3D1F0D 0%,
    #5A3320 30%,
    #7B4A2D 55%,
    #2C4A2E 85%,
    #1A2E1B 100%
  );
  display: flex; align-items: center;
  padding: 8rem 2rem 4rem;
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center; position: relative; z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(196, 149, 106, 0.25);
  color: var(--braun-light);
  border: 1px solid rgba(196, 149, 106, 0.4);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-family: Arial, sans-serif;
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero h1 span { color: var(--braun-light); }

.hero-sub {
  font-family: Arial, sans-serif;
  font-size: 1.15rem; color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem; line-height: 1.7;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 2rem; margin-top: 3rem;
}

.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 2rem; font-weight: bold; color: var(--braun-light);
  display: block;
}
.hero-stat .label {
  font-family: Arial, sans-serif;
  font-size: 0.8rem; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 0.06em;
}

.hero-visual {
  display: flex; flex-direction: column; gap: 1rem;
  position: relative;
}

.hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px; padding: 1.2rem 1.5rem;
  color: var(--white);
}

.hero-card h4 {
  font-size: 0.85rem; font-family: Arial, sans-serif;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--braun-light); margin-bottom: 0.5rem;
}

.kpi-row { display: flex; gap: 1rem; }
.kpi-item { flex: 1; text-align: center; }
.kpi-item .kpi-val {
  font-size: 1.5rem; font-weight: bold; display: block;
}
.kpi-item .kpi-lbl {
  font-family: Arial, sans-serif;
  font-size: 0.7rem; color: rgba(255,255,255,0.6);
}

.alert-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.alert-item:last-child { border-bottom: none; }
.alert-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #f59e0b; flex-shrink: 0;
}
.alert-dot.red { background: #ef4444; }
.alert-dot.green { background: #22c55e; }
.alert-text { font-family: Arial, sans-serif; font-size: 0.85rem; }

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

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-family: Arial, sans-serif;
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--braun); margin-bottom: 0.8rem;
}

.section-title { color: var(--braun-dark); margin-bottom: 1rem; }
.section-sub {
  font-family: Arial, sans-serif;
  font-size: 1.1rem; color: var(--text-light);
  max-width: 600px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* === FEATURES GRID === */
.features-section { background: var(--creme); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 3.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.8rem;
  border: 1px solid var(--creme-dark);
  transition: all 0.3s;
  position: relative; overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--braun), var(--gruen));
  opacity: 0; transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--shadow);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--braun), var(--braun-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}

.feature-card h3 { color: var(--braun-dark); margin-bottom: 0.5rem; font-size: 1.1rem; }
.feature-card p { font-size: 0.9rem; line-height: 1.6; }

.feature-tag {
  display: inline-block; margin-top: 0.8rem;
  background: var(--creme); color: var(--text-mid);
  padding: 0.2rem 0.6rem; border-radius: 3px;
  font-family: Arial, sans-serif; font-size: 0.75rem;
  border: 1px solid var(--creme-dark);
}

/* === HOW IT WORKS === */
.how-section { background: var(--white); }

.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem;
  margin-top: 3.5rem; position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute; top: 40px; left: 16.66%; right: 16.66%; height: 2px;
  background: linear-gradient(90deg, var(--braun-light), var(--gruen-light));
  z-index: 0;
}

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

.step-num {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--braun), var(--gruen));
  color: var(--white); font-size: 1.8rem; font-weight: bold;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px var(--shadow-strong);
}

.step h3 { color: var(--braun-dark); margin-bottom: 0.8rem; }
.step p { font-size: 0.95rem; max-width: 260px; margin: 0 auto; }

/* === TESTIMONIAL === */
.testimonial-section {
  background: linear-gradient(135deg, var(--braun-dark), var(--gruen));
  color: var(--white);
}

.testimonial-inner {
  max-width: 900px; margin: 0 auto; text-align: center;
}

.quote-mark {
  font-size: 8rem; line-height: 1; color: var(--braun-light);
  opacity: 0.4; font-family: Georgia, serif; margin-bottom: -2rem;
  display: block;
}

.testimonial-text {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.95);
  margin-bottom: 2rem; font-style: italic;
}

.testimonial-author {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
}

.author-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--braun-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; border: 3px solid rgba(255,255,255,0.3);
}

.author-info { text-align: left; }
.author-name { font-weight: bold; font-size: 1.1rem; }
.author-role { font-family: Arial, sans-serif; font-size: 0.85rem; color: rgba(255,255,255,0.7); }

.star-row { margin-bottom: 1rem; font-size: 1.3rem; }

/* === PRICING === */
.pricing-section { background: var(--creme); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: 3.5rem; align-items: start;
}

.pricing-card {
  background: var(--white);
  border-radius: 16px; padding: 2.5rem 2rem;
  border: 2px solid var(--creme-dark);
  transition: all 0.3s;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--braun);
  transform: scale(1.03);
  box-shadow: 0 20px 60px var(--shadow-strong);
}

.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--braun);
  color: var(--white); padding: 0.3rem 1.2rem;
  border-radius: 20px;
  font-family: Arial, sans-serif; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  white-space: nowrap;
}

.plan-name {
  font-family: Arial, sans-serif; font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-light); margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 3rem; font-weight: bold; color: var(--braun-dark);
  line-height: 1;
}
.plan-price span {
  font-size: 1rem; font-weight: normal; color: var(--text-light);
}

.plan-tagline {
  font-family: Arial, sans-serif; font-size: 0.9rem;
  color: var(--text-light); margin: 0.8rem 0 1.5rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--creme-dark);
}

.plan-features {
  list-style: none; margin-bottom: 2rem;
}

.plan-features li {
  font-family: Arial, sans-serif; font-size: 0.9rem;
  padding: 0.5rem 0; display: flex; align-items: flex-start; gap: 0.7rem;
  border-bottom: 1px solid rgba(237, 229, 216, 0.5);
  color: var(--text-mid);
}

.plan-features li .check { color: var(--gruen); font-size: 1rem; flex-shrink: 0; }
.plan-features li .cross { color: #CCC; font-size: 1rem; flex-shrink: 0; }

.pricing-note {
  text-align: center; margin-top: 2rem;
  font-family: Arial, sans-serif; font-size: 0.85rem; color: var(--text-light);
}

/* === DEMO FORM === */
.demo-section { background: var(--white); }

.demo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center; margin-top: 3rem;
}

.demo-benefits { list-style: none; }
.demo-benefits li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--creme-dark);
  font-family: Arial, sans-serif;
}
.demo-benefits li:last-child { border-bottom: none; }
.benefit-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }
.benefit-text strong { display: block; color: var(--text-dark); }
.benefit-text span { font-size: 0.9rem; color: var(--text-light); }

.demo-form-box {
  background: var(--creme);
  border-radius: 16px; padding: 2.5rem;
  border: 1px solid var(--creme-dark);
}

.demo-form-box h3 { color: var(--braun-dark); margin-bottom: 0.5rem; }
.demo-form-box p {
  font-family: Arial, sans-serif; font-size: 0.9rem;
  color: var(--text-light); margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-family: Arial, sans-serif;
  font-size: 0.85rem; font-weight: 600; color: var(--text-mid);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--creme-dark);
  border-radius: 6px; background: var(--white);
  font-family: Arial, sans-serif; font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--braun);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-submit {
  width: 100%; padding: 1rem;
  background: var(--braun); color: var(--white);
  border: none; border-radius: 6px;
  font-family: Arial, sans-serif; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  margin-top: 0.5rem;
}
.form-submit:hover {
  background: var(--braun-dark);
  transform: translateY(-2px);
}

/* === CTA BAND === */
.cta-section {
  background: linear-gradient(135deg, var(--gruen), var(--braun-dark));
  padding: 5rem 2rem; text-align: center;
}

.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p {
  font-family: Arial, sans-serif; font-size: 1.1rem;
  color: rgba(255,255,255,0.8); margin-bottom: 2rem;
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === FOOTER === */
footer {
  background: var(--braun-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  font-size: 1.5rem; font-weight: bold; color: var(--white);
  margin-bottom: 1rem; display: block;
}

.footer-brand p {
  font-family: Arial, sans-serif; font-size: 0.9rem;
  line-height: 1.7; color: rgba(255,255,255,0.6);
}

.footer-col h4 {
  color: var(--white); font-family: Arial, sans-serif;
  font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  font-family: Arial, sans-serif; font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--braun-light); }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}

.footer-bottom p {
  font-family: Arial, sans-serif; font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* === HANDBUCH DOWNLOAD BANNER === */
.handbuch-banner {
  background: linear-gradient(90deg, var(--gruen), var(--gruen-light));
  color: var(--white); padding: 1.2rem 2rem;
  display: flex; align-items: center; justify-content: center; gap: 2rem;
  flex-wrap: wrap; text-align: center;
}
.handbuch-banner p {
  font-family: Arial, sans-serif; font-size: 1rem;
  color: rgba(255,255,255,0.9);
}
.handbuch-banner strong { color: var(--white); }

/* === DEMO TEASER PAGE === */
.demo-teaser {
  min-height: 100vh;
  background: linear-gradient(135deg, #3D1F0D, #5A3320, #2C4A2E);
  display: flex; align-items: center; justify-content: center;
  padding: 6rem 2rem;
}

.demo-teaser-box {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 3rem 3.5rem; max-width: 700px; width: 100%;
  text-align: center; color: var(--white);
}

.demo-teaser-box h1 { margin-bottom: 1rem; }
.demo-teaser-box p {
  font-family: Arial, sans-serif; font-size: 1.05rem;
  color: rgba(255,255,255,0.8); margin-bottom: 2rem;
}

.demo-access-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px; padding: 1.5rem;
  margin-bottom: 2rem;
  font-family: monospace; font-size: 1.1rem;
}
.demo-access-box span { color: var(--braun-light); }

.feature-pills {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: center; margin-bottom: 2rem;
}
.pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
  padding: 0.3rem 0.8rem; border-radius: 20px;
  font-family: Arial, sans-serif; font-size: 0.8rem;
}

/* === LEGAL PAGES === */
.legal-page { padding-top: 6rem; min-height: 100vh; }
.legal-inner {
  max-width: 800px; margin: 0 auto; padding: 4rem 2rem;
}
.legal-inner h1 { color: var(--braun-dark); margin-bottom: 2rem; }
.legal-inner h2 { color: var(--braun); margin: 2rem 0 0.8rem; font-size: 1.2rem; }
.legal-inner p, .legal-inner li {
  font-family: Arial, sans-serif; font-size: 0.95rem;
  line-height: 1.8; color: var(--text-mid);
}
.legal-inner ul { padding-left: 1.5rem; margin: 0.5rem 0; }

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps-grid::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .demo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero-stats { flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
