/* ==========================================================================
   Hintze & Reinholz IT UG — Website
   Forge-Farbpalette (identisch zu FinOps Forge):
   Forge Steel #1C1F26 (Hintergrund) · Weiß #FFFFFF (Text)
   Azure Steel #2F6FED (CTAs/Links) · Cold Steel #C9CED6 (Sekundärtext)
   Forge Ember #F97316 (Akzent)
   ========================================================================== */

:root {
  --forge-steel: #1c1f26;
  --forge-steel-alt: #21252e;
  --white: #ffffff;
  --azure-steel: #2f6fed;
  --azure-steel-light: #7aa8f5;
  --cold-steel: #c9ced6;
  --forge-ember: #f97316;
  --border-soft: rgba(201, 206, 214, 0.14);
  --radius-lg: 16px;
  --radius-md: 10px;
  --max-width: 1120px;
  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--forge-steel);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--azure-steel-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.6vw, 38px); }
h3 { font-size: 20px; }

p { margin: 0 0 16px; }

ul { margin: 0; padding: 0; list-style: none; }

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

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
  position: relative;
}

.bg-alt {
  background: var(--forge-steel-alt);
}

.bg-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(47, 111, 237, 0.16) 0%, rgba(47, 111, 237, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 206, 214, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 206, 214, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.section-label {
  display: inline-block;
  color: var(--forge-ember);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-description {
  color: var(--cold-steel);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 8px;
}

.highlight {
  color: var(--forge-ember);
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28, 31, 38, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-logo:hover { text-decoration: none; }

.brand-amp {
  color: var(--forge-ember);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-soft);
  color: var(--white);
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
}

.nav-links li { list-style: none; }

.nav-links a {
  color: var(--cold-steel);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--white);
  text-decoration: none;
}

.nav-cta {
  background: var(--azure-steel);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
}
.nav-cta:hover { background: #2559c9; text-decoration: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
}

.btn-secondary {
  background: var(--azure-steel);
  color: var(--white);
}
.btn-secondary:hover { background: #2559c9; text-decoration: none; }

.btn-whatsapp {
  background: #25d366;
  color: #06210f;
}
.btn-whatsapp:hover { background: #1fb959; text-decoration: none; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-soft);
}
.btn-outline:hover { border-color: var(--azure-steel); text-decoration: none; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 120px 0 96px;
  text-align: center;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cold-steel);
  margin-bottom: 24px;
}

.hero h1 {
  max-width: 860px;
  margin: 0 auto 20px;
}

.subheadline {
  color: var(--cold-steel);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero .btn-row {
  justify-content: center;
}

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--cold-steel);
  opacity: 0.7;
}

/* ---------- Stat / problem cards ---------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.stat-card {
  background: rgba(47, 111, 237, 0.07);
  border: 1px solid rgba(47, 111, 237, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: left;
}

.stat-number {
  font-size: 30px;
  font-weight: 700;
  color: var(--forge-ember);
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  color: var(--cold-steel);
  font-size: 14px;
}

/* ---------- Pillars / feature grid ---------- */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  text-align: left;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.pillar-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.pillar-title { margin-bottom: 10px; }

.pillar-description {
  color: var(--cold-steel);
  font-size: 14.5px;
  margin-bottom: 0;
}

/* ---------- Process steps ---------- */

.process-step {
  display: flex;
  gap: 28px;
  max-width: 720px;
  margin: 0 auto 48px;
}
.process-step:last-child { margin-bottom: 0; }

.step-number {
  font-size: 32px;
  font-weight: 700;
  color: rgba(201, 206, 214, 0.35);
  flex-shrink: 0;
  width: 56px;
}

.step-title { margin-bottom: 8px; }

.step-description {
  color: var(--cold-steel);
  font-size: 14.5px;
  margin-bottom: 0;
}

/* ---------- Who grid ---------- */

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
  text-align: left;
}

.who-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-soft);
}

.who-not {
  background: rgba(249, 115, 22, 0.05);
  border-color: rgba(249, 115, 22, 0.2);
}

.who-yes {
  background: rgba(47, 111, 237, 0.07);
  border-color: rgba(47, 111, 237, 0.25);
}

.who-card h3 { margin-bottom: 18px; }

.who-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--cold-steel);
  font-size: 14.5px;
  margin-bottom: 12px;
}

.who-not li span { color: var(--forge-ember); font-weight: 700; flex-shrink: 0; }
.who-yes li span { color: var(--azure-steel-light); font-weight: 700; flex-shrink: 0; }

/* ---------- Pricing / Leistungen ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  text-align: left;
  align-items: stretch;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: rgba(47, 111, 237, 0.35);
}

.pricing-card.top-offer {
  border-color: rgba(249, 115, 22, 0.4);
  background: rgba(249, 115, 22, 0.05);
}

.pricing-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.badge-entry { background: rgba(47, 111, 237, 0.18); color: var(--azure-steel-light); }
.badge-core { background: rgba(47, 111, 237, 0.28); color: var(--azure-steel-light); }
.badge-premium { background: rgba(249, 115, 22, 0.2); color: var(--forge-ember); }

.pricing-tier-name {
  color: var(--cold-steel);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.pricing-title {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-promise {
  color: var(--cold-steel);
  font-size: 14.5px;
  margin-bottom: 24px;
}

.pricing-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 14px;
  color: var(--cold-steel);
  font-weight: 500;
}

.pricing-note {
  font-size: 12.5px;
  color: var(--cold-steel);
  opacity: 0.7;
  margin-bottom: 24px;
}

.pricing-features {
  flex-grow: 1;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--cold-steel);
  margin-bottom: 12px;
}

.pricing-features .check { color: var(--azure-steel-light); font-weight: 700; flex-shrink: 0; }
.pricing-features .check-ember { color: var(--forge-ember); font-weight: 700; flex-shrink: 0; }

.pricing-cta {
  display: block;
  text-align: center;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14.5px;
}

.pricing-cta-primary { background: var(--azure-steel); color: var(--white); }
.pricing-cta-primary:hover { background: #2559c9; text-decoration: none; }

.pricing-cta-ember { background: var(--forge-ember); color: #1c1f26; }
.pricing-cta-ember:hover { background: #e0650f; text-decoration: none; }

/* ---------- Referenz / Testimonial ---------- */

.testimonial-card {
  background: rgba(47, 111, 237, 0.07);
  border: 1px solid rgba(47, 111, 237, 0.2);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 760px;
  margin: 56px auto 0;
  text-align: left;
}

.testimonial-quote {
  font-size: 18px;
  line-height: 1.65;
  color: var(--white);
  margin-bottom: 24px;
}

.testimonial-author {
  color: var(--forge-ember);
  font-weight: 700;
  font-size: 14px;
}

.testimonial-context {
  color: var(--cold-steel);
  font-size: 13px;
  margin-top: 4px;
}

/* ---------- Contact ---------- */

.contact-section {
  text-align: center;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 640px;
  margin: 48px auto 0;
  text-align: left;
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-card h3 { margin-bottom: 8px; font-size: 17px; }

.contact-card p {
  color: var(--cold-steel);
  font-size: 14px;
  margin-bottom: 16px;
}

/* ---------- FAQ ---------- */

.faq-list {
  margin-top: 48px;
  text-align: left;
}

.faq-list details {
  border-bottom: 1px solid var(--border-soft);
  padding: 20px 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--forge-ember);
  font-weight: 700;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  color: var(--cold-steel);
  font-size: 14.5px;
  margin-top: 14px;
  margin-bottom: 0;
}

/* ---------- Legal pages ---------- */

.legal-section {
  padding-top: 64px;
}

.legal-section h2 { margin-bottom: 32px; }

.legal-h3-major {
  margin-top: 40px;
  color: var(--forge-ember);
}

.legal-section h3 {
  margin-top: 28px;
  font-size: 17px;
}

.legal-section p, .legal-section li {
  color: var(--cold-steel);
  font-size: 14.5px;
}

.legal-section li {
  margin-bottom: 6px;
  padding-left: 4px;
}

.back-to-top {
  margin-top: 48px;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border-soft);
  padding: 48px 24px;
  text-align: center;
  color: var(--cold-steel);
  font-size: 13.5px;
}

footer a {
  color: var(--cold-steel);
  margin: 0 8px;
}
footer a:hover { color: var(--white); }

/* ---------- WhatsApp floating button ---------- */

.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #06210f !important;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  text-decoration: none !important;
}

.whatsapp-fab:hover {
  background: #1fb959;
}

.whatsapp-fab svg { width: 22px; height: 22px; flex-shrink: 0; }

.whatsapp-fab-text { white-space: nowrap; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .stats-grid,
  .pillars-grid,
  .pricing-grid,
  .who-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--forge-steel);
    border-bottom: 1px solid var(--border-soft);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-links li:last-child { border-bottom: none; padding-bottom: 4px; }

  .nav-cta {
    display: inline-block;
    margin-top: 8px;
  }

  section { padding: 64px 0; }

  .whatsapp-fab-text { display: none; }
  .whatsapp-fab { padding: 14px; }
}
