/* GEO-optimierte Homepage CSS – Mieterverwaltung by fangox */
:root {
  --hp-primary: #1e3a5f;
  --hp-primary-light: #2952cc;
  --hp-accent: #e97132;
  --hp-bg: #ffffff;
  --hp-bg-alt: #f4f7fb;
  --hp-text: #1f2430;
  --hp-text-light: #5b6778;
  --hp-border: #e2e7ef;
  --hp-radius: 12px;
}

.hp-header {
  background: var(--hp-bg);
  border-bottom: 1px solid var(--hp-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.hp-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.hp-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--hp-primary);
  font-weight: 700;
  font-size: 18px;
}
.hp-nav {
  display: flex;
  gap: 8px;
  flex: 1;
}
.hp-nav a {
  color: var(--hp-text-light);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  transition: background 0.2s;
}
.hp-nav a:hover {
  background: var(--hp-bg-alt);
  color: var(--hp-primary);
}
.hp-nav-cta {
  display: flex;
  gap: 10px;
}
.btn-outline {
  color: var(--hp-primary-light);
  background: transparent;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--hp-primary-light);
  transition: all 0.2s;
}
.btn-outline:hover {
  background: var(--hp-primary-light);
  color: #fff;
}
.btn-primary {
  display: inline-block;
  background: var(--hp-accent);
  color: #fff !important;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
  border: none;
}
.btn-primary:hover {
  background: #d45a1c;
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-content { flex: 1; }
.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  color: var(--hp-primary);
  margin: 0 0 16px;
  font-weight: 800;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--hp-text-light);
  margin: 0 0 28px;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.btn-hero-primary {
  display: inline-block;
  background: var(--hp-accent);
  color: #fff;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  transition: background 0.2s;
}
.btn-hero-primary:hover {
  background: #d45a1c;
}
.btn-hero-secondary {
  display: inline-block;
  background: transparent;
  color: var(--hp-primary-light);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  border: 1.5px solid var(--hp-primary-light);
  transition: all 0.2s;
}
.btn-hero-secondary:hover {
  background: var(--hp-primary-light);
  color: #fff;
}
.hero-meta {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--hp-text-light);
}

.hero-visual { flex: 0 0 340px; }
.hero-card {
  background: var(--hp-bg);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.hero-card-header {
  font-size: 14px;
  font-weight: 700;
  color: var(--hp-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hp-border);
}
.hero-card-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: var(--hp-text);
}
.hero-card-row .ok { color: #1f9d55; font-weight: 600; }
.hero-card-row .warn { color: #c0392b; font-weight: 600; }
.hero-card-total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--hp-border);
  font-size: 13px;
  color: var(--hp-text-light);
}

/* Stats */
.stats {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.stat-item {
  background: var(--hp-bg-alt);
  border-radius: var(--hp-radius);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--hp-border);
}
.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--hp-primary-light);
  margin-bottom: 4px;
}
.stat-item span:not(.stat-num) {
  display: block;
  font-size: 14px;
  color: var(--hp-text-light);
}

/* Features */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.features h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--hp-primary);
  text-align: center;
  margin: 0 0 8px;
  font-weight: 800;
}
.section-sub {
  text-align: center;
  color: var(--hp-text-light);
  font-size: 16px;
  margin: 0 0 40px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--hp-bg);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 28px;
  transition: box-shadow 0.2s;
}
.feature-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.feature-icon {
  font-size: 24px;
  margin-bottom: 12px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--hp-primary);
  margin: 0 0 10px;
  line-height: 1.4;
}
.feature-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--hp-text);
  margin: 0;
}
.feature-card .ok { color: #1f9d55; }
.feature-card .warn { color: #c0392b; }
.feature-card .teil { color: #b7791f; }

/* Comparison Table */
.comparison {
  background: var(--hp-bg-alt);
  padding: 60px 24px;
}
.comparison h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--hp-primary);
  text-align: center;
  margin: 0 0 8px;
  font-weight: 800;
}
.table-wrap {
  max-width: 1200px;
  margin: 0 auto 32px;
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--hp-bg);
  border-radius: var(--hp-radius);
  overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--hp-border);
}
.compare-table th {
  background: var(--hp-primary);
  color: #fff;
  font-weight: 600;
}
.compare-table td.highlight {
  background: #eef4ff;
  font-weight: 600;
}
.compare-table th.highlight {
  background: var(--hp-primary-light);
}
.compare-table tr:last-child td {
  border-bottom: none;
}
.compare-table tr:hover td {
  background: #f8faff;
}
.compare-table tr:hover td.highlight {
  background: #e8f0ff;
}

.cta-block {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.cta-block p {
  font-size: 16px;
  color: var(--hp-text);
  margin: 0 0 20px;
}

/* Demo Steps */
.demo-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}
.demo-section h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--hp-primary);
  text-align: center;
  margin: 0 0 40px;
  font-weight: 800;
}
.demo-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.demo-step {
  background: var(--hp-bg-alt);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 24px;
  position: relative;
}
.demo-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--hp-primary-light);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}
.demo-step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--hp-primary);
  margin: 0 0 8px;
}
.demo-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--hp-text-light);
  margin: 0;
}

/* FAQ */
.faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}
.faq h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--hp-primary);
  text-align: center;
  margin: 0 0 40px;
  font-weight: 800;
}
.faq-item {
  border-bottom: 1px solid var(--hp-border);
  padding: 20px 0;
}
.faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--hp-primary);
  margin: 0 0 8px;
}
.faq-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--hp-text);
  margin: 0;
}

/* Contact */
.contact {
  background: var(--hp-primary);
  color: #fff;
  padding: 60px 24px;
  text-align: center;
}
.contact h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 12px;
  font-weight: 800;
}
.contact p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 32px;
  opacity: 0.9;
}
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.contact-item {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 16px;
}
.contact-item strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 4px;
}
.contact-item a {
  color: #fff;
  text-decoration: underline;
}
.contact-item span {
  font-size: 14px;
}

/* Footer */
.hp-footer {
  background: #152b45;
  color: rgba(255,255,255,0.7);
  padding: 48px 24px 24px;
}
.hp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hp-footer-col strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
}
.hp-footer-col p, .hp-footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 6px;
}
.hp-footer-col a:hover {
  color: #fff;
}
.hp-footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* Mobile */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding: 40px 20px; gap: 32px; }
  .hero-visual { flex: 0 0 auto; width: 100%; max-width: 340px; }
  .hp-nav-cta { display: none; }
  .hp-nav { display: none; }
}
@media (max-width: 600px) {
  .hp-header-inner { height: 56px; padding: 0 16px; }
  .hero { padding: 32px 16px; }
  .stats { padding: 0 16px 40px; grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-item { padding: 16px; }
  .stat-num { font-size: 22px; }
  .features { padding: 0 16px 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 20px; }
  .faq { padding: 40px 16px; }
  .demo-steps { grid-template-columns: 1fr; }
  .comparison { padding: 40px 16px; }
  .hp-footer { padding: 32px 16px 16px; }
  .hp-footer-inner { grid-template-columns: 1fr; }
}
