/* Rhenus Immobewertungen — Basis-Stylesheet */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f3f6fa;
  --color-primary: #123452;
  --color-primary-dark: #0a2138;
  --color-primary-light: #1f4e79;
  --color-primary-lighter: #e8f0f8;
  --color-text: #1a1f26;
  --color-text-muted: #57616e;
  --color-border: #e1e6ec;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(18, 52, 82, 0.06);
  --shadow-md: 0 10px 28px rgba(18, 52, 82, 0.10);
  --shadow-lg: 0 24px 56px rgba(18, 52, 82, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max-width: 1160px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Platzhalter-Kennzeichnung: bewusst auffällig, damit nichts unbemerkt live geht */
.placeholder {
  border: 1px dashed #c98a1f;
  background: #fff8ec;
  color: #8a5a10;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.9em;
}

/* --- Baustellen-Banner --- */
.build-banner {
  background: #dc2626;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 16px;
  letter-spacing: 0.01em;
}
.build-banner strong { font-weight: 800; margin-right: 2px; }
.build-banner svg { flex-shrink: 0; }

/* --- Scroll-Reveal --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* --- Nav --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.site-nav.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--color-border);
  background: rgba(255, 255, 255, 0.98);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  transition: color 0.15s ease;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--color-primary-light);
  transition: width 0.2s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-links a:hover { color: var(--color-primary-light); }

.nav-cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.nav-cta:hover { background: var(--color-primary-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 104px 0 100px;
  overflow: hidden;
  text-align: center;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-blob-a {
  width: 620px; height: 620px;
  top: -260px; right: -180px;
  background: radial-gradient(circle, rgba(31, 78, 121, 0.22), transparent 70%);
}
.hero-blob-b {
  width: 520px; height: 520px;
  bottom: -260px; left: -200px;
  background: radial-gradient(circle, rgba(18, 52, 82, 0.14), transparent 70%);
}

.hero .container { position: relative; z-index: 1; }

.hero-inner { max-width: 720px; margin: 0 auto; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  background: var(--color-primary-lighter);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  color: var(--color-primary);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.hero p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 34px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.trust-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.chip svg { color: #1c9a5b; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 26px rgba(18, 52, 82, 0.28);
}
.btn-primary:hover { background: var(--color-primary-light); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(18, 52, 82, 0.34); }

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}
.btn-secondary:hover { border-color: var(--color-primary-light); transform: translateY(-2px); }

/* --- Section base --- */
.section { padding: 88px 0; }
.section-alt { background: var(--color-bg-alt); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-header h2 {
  color: var(--color-primary);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.section-header p { color: var(--color-text-muted); margin: 0; font-size: 1.05rem; }

/* --- Kurzerklärung --- */
.intro-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.intro-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.intro-icon {
  width: 48px; height: 48px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-lighter), #ffffff);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
}

.intro-text {
  font-size: 1.08rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* --- KPI band --- */
.kpi-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.kpi-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.kpi-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.kpi-icon {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-lighter), #ffffff);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
}

.kpi-item .kpi-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
}

.kpi-item .kpi-label {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-top: 8px;
  line-height: 1.55;
}

@media (max-width: 700px) {
  .kpi-band { grid-template-columns: 1fr; }
}

/* --- Prozess --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 38px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-border) 0 8px, transparent 8px 16px);
}

.process-step {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.process-step .step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(18, 52, 82, 0.25);
}

.process-step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.process-step p { margin: 0; color: var(--color-text-muted); font-size: 0.92rem; }

@media (max-width: 900px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}
@media (max-width: 560px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* --- Fragen CTA --- */
.faq-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary) 60%, var(--color-primary-light));
  color: #fff;
  border-radius: 28px;
  padding: 64px 32px;
}
.faq-cta::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 65%);
  top: -160px; right: -120px;
}

.faq-cta h2 { margin: 0 0 12px; position: relative; }
.faq-cta p { color: #cfe0ef; margin: 0 0 28px; position: relative; }

.faq-cta .btn-primary { background: #fff; color: var(--color-primary); position: relative; }
.faq-cta .btn-primary:hover { background: #eaf1f8; }

/* --- Preise --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 26px;
  text-align: center;
  background: #fff;
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.price-card--featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: scale(1.03);
}
.price-card--featured:hover { transform: scale(1.03) translateY(-6px); }

.price-card-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.price-card h3 { margin: 0 0 8px; color: var(--color-primary); }
.price-card .price { font-size: 1.9rem; font-weight: 700; margin: 12px 0; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0; color: var(--color-text-muted); font-size: 0.92rem; }
.price-card li { padding: 6px 0; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card--featured { transform: none; }
}

/* --- Footer --- */
.site-footer {
  background: var(--color-primary-dark);
  color: #cfe0ef;
  padding: 56px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 { color: #fff; margin: 0 0 14px; font-size: 0.95rem; }

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 0.85rem;
  color: #a9c1d6;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Generic subpage content --- */
.page-header {
  background: radial-gradient(900px 360px at 20% -20%, var(--color-primary-lighter) 0%, var(--color-bg) 65%);
  padding: 72px 0 52px;
  text-align: center;
}

.page-header h1 { color: var(--color-primary); margin: 0; letter-spacing: -0.01em; }

.prose { max-width: 760px; margin: 0 auto; padding: 56px 24px; }
.prose h2 { color: var(--color-primary); margin-top: 40px; }

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 22px 0;
  transition: padding-left 0.2s var(--ease);
}
.faq-item:hover { padding-left: 6px; }
.faq-item h3 { margin: 0 0 8px; font-size: 1.05rem; }
.faq-item p { margin: 0; color: var(--color-text-muted); }

/* --- Störer-Badge (z.B. "wird noch präzisiert") --- */
.corner-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, #e8590c, #d9480f);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(217, 72, 12, 0.35);
  transform: rotate(-3deg);
  white-space: nowrap;
}
