/*
Theme Name: Digitale Hilfe KMU
Description: Theme für digitale-hilfe-kmu.de — konsolidierte Architektur
Version: 1.1
*/

/* ==========================================================================
   GRUND-VARIABLEN & RESET
   ========================================================================== */

:root {
  --green:       #1db388;
  --green-dark:  #159970;
  --green-faint: #e8f8f4;
  --ink:         #0d0d0d;
  --ink-soft:    #3a3a3a;
  --ink-muted:   #7a7a7a;
  --bg:          #f8f8f6;
  --white:       #ffffff;
  --border:      #e4e4e0;
  --radius:      8px;
  --radius-lg:   20px;
  --font-head:   'Montserrat', sans-serif;
  --font-body:   'Inter', sans-serif;
  --max:         1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ==========================================================================
   GENERISCHE UTILITY-KLASSEN
   ========================================================================== */

.eyebrow {
  font-size: .65rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--green);
  display: block; margin-bottom: 1.25rem;
}
.section-title {
  font-family: var(--font-head); font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 800; color: var(--ink);
  letter-spacing: -.025em; line-height: 1.15; margin-bottom: 1rem;
}
.section-sub {
  font-size: .95rem; color: var(--ink-soft);
  font-weight: 300; line-height: 1.75; max-width: 520px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--green); color: white;
  padding: .9rem 2rem; border-radius: var(--radius);
  font-size: .95rem; font-weight: 500;
  border: none; cursor: pointer; transition: background .2s;
}
.btn-primary:hover { background: var(--green-dark); color: white; }

.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: rgba(255,255,255,.7);
  padding: .9rem 2rem; border-radius: var(--radius);
  font-size: .95rem; border: 1.5px solid rgba(255,255,255,.15);
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

.btn-white {
  background: white; color: var(--green);
  padding: .9rem 2rem; border-radius: var(--radius);
  font-size: .95rem; font-weight: 600;
  display: inline-block; transition: transform .2s;
}
.btn-white:hover { transform: translateY(-2px); }

.btn-outline-white {
  background: transparent; color: white;
  padding: .9rem 2rem; border-radius: var(--radius);
  font-size: .95rem; border: 2px solid rgba(255,255,255,.4);
  transition: border-color .2s; display: inline-block;
}
.btn-outline-white:hover { border-color: white; color: white; }

/* ==========================================================================
   NAVIGATION (HEADER)
   ========================================================================== */

#site-header,
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px;
  background: rgba(13,13,13,.97);
  backdrop-filter: blur(16px);
  display: flex; align-items: center;
  padding: 0 5vw; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none;
}
.nav-logo img { height: 40px; width: auto; }
.nav-logo-text {
  font-family: var(--font-head); font-size: 1rem;
  font-weight: 700; color: white; letter-spacing: -.01em;
}

.nav-desktop-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-desktop-links a {
  font-size: .85rem; color: rgba(255,255,255,.55);
  transition: color .2s; text-decoration: none;
}
.nav-desktop-links a:hover { color: var(--green); }

.nav-cta {
  background: var(--green) !important; color: white !important;
  padding: .5rem 1.25rem; border-radius: var(--radius);
  font-weight: 500 !important; font-size: .85rem;
  transition: background .2s; text-decoration: none;
}
.nav-cta:hover { background: var(--green-dark) !important; }

.nav-back-desktop {
  font-size: .85rem; color: rgba(255,255,255,.55);
  transition: color .2s; text-decoration: none;
}
.nav-back-desktop:hover { color: var(--green); }

.nav-phone-btn {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--green); border-radius: var(--radius);
  text-decoration: none; flex-shrink: 0;
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px;
  background: var(--green); border-radius: var(--radius);
  border: none; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: white; border-radius: 2px;
}

.nav-mobile {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: rgba(13,13,13,.98); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  z-index: 99; padding: 1.5rem 5vw;
  flex-direction: column; gap: .25rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: .95rem; color: rgba(255,255,255,.65);
  padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s; text-decoration: none;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--green); }
.nav-mobile .nav-mobile-cta { color: var(--green); font-weight: 600; }

@media (max-width: 900px) {
  .nav-desktop-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   FOOTER (zentrale Definition für ALLE Seiten — gilt überall)
   ========================================================================== */

#site-footer {
  background: #080808;
  padding: 4rem 5vw 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
#site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
#site-footer .footer-brand .footer-logo-link {
  display: inline-block;
  transition: opacity .2s;
}
#site-footer .footer-brand .footer-logo-link:hover { opacity: 0.7; }
#site-footer .footer-brand img {
  height: 38px; width: auto;
}
#site-footer .footer-brand-text {
  font-size: .8rem; color: rgba(255,255,255,0.55);
  margin-top: 1rem; line-height: 1.65;
}
#site-footer .footer-col h4 {
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,0.65); margin-bottom: 1rem;
  font-weight: 600; font-family: var(--font-body);
}
#site-footer .footer-col ul { list-style: none; }
#site-footer .footer-col ul li { margin-bottom: .4rem; }
#site-footer .footer-col ul a {
  font-size: .82rem; color: rgba(255,255,255,0.55);
  transition: color .2s; text-decoration: none;
}
#site-footer .footer-col ul a:hover { color: white; }

#site-footer .footer-bottom {
  padding: 1.5rem 0;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
  font-size: .75rem; color: rgba(255,255,255,0.6);
}
#site-footer .footer-bottom a {
  color: rgba(255,255,255,0.6);
  transition: color .2s; text-decoration: none;
}
#site-footer .footer-bottom a:hover { color: white; }

@media (max-width: 900px) {
  #site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }
  #site-footer { padding: 3rem 1.5rem 0; }
}

/* Sticky Mobile CTA */
.sticky-mobile {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--green); color: white;
  padding: 1rem; text-align: center;
  font-weight: 500; font-size: .95rem;
  z-index: 300; text-decoration: none;
}
@media (max-width: 900px) {
  .sticky-mobile { display: block; }
  body { padding-bottom: 56px; }
}

/* ==========================================================================
   STARTSEITE (index.php) — HERO, WEICHE, TESTIMONIALS, PREISE, ABOUT, KONTAKT
   ========================================================================== */

/* HERO Startseite (zentriert) */
.hero-home {
  min-height: 100vh; padding-top: 68px;
  background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding-left: 2rem; padding-right: 2rem;
  position: relative; overflow: hidden;
}
.hero-home::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(29,179,136,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(29,179,136,.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: .65rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--green);
  display: block; margin-bottom: 1.25rem;
  position: relative; z-index: 1;
}
.hero-home .hero-title {
  font-family: var(--font-head); font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -.03em;
  color: white; margin-bottom: 1.5rem;
  position: relative; z-index: 1; max-width: 820px;
}
.hero-home .hero-title em { font-style: italic; color: var(--green); display: block; }
.hero-home .hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.5);
  max-width: 520px; line-height: 1.8; font-weight: 300;
  margin-bottom: 3rem; position: relative; z-index: 1;
}

/* Weiche-Cards */
.weiche-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  max-width: 820px; width: 100%;
  position: relative; z-index: 1; margin-bottom: 4rem;
}
.weiche-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 2.5rem 2rem;
  transition: border-color .2s, background .2s, transform .2s;
  cursor: pointer; text-align: left; display: block;
}
.weiche-card:hover {
  border-color: var(--green); background: rgba(29,179,136,.06);
  transform: translateY(-4px);
}
.weiche-icon {
  font-size: 2.5rem; margin-bottom: 1.25rem;
  display: block; color: rgba(255,255,255,.5);
}
.weiche-card:hover .weiche-icon { color: var(--green); }
.weiche-card h2 {
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
  color: white; letter-spacing: -.02em;
  margin-bottom: .75rem; line-height: 1.2;
}
.weiche-card p {
  font-size: .85rem; color: rgba(255,255,255,.4);
  line-height: 1.65; margin-bottom: 1.5rem;
}
.weiche-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 600; color: var(--green);
}
.weiche-link::after { content: '→'; }

/* Sections */
.section { padding: 6rem 5vw; }
.section-white { background: var(--white); }
.section-bg { background: var(--bg); }
.section-dark { background: var(--ink); }
.section-inner { max-width: var(--max); margin: 0 auto; }

/* Kundenstimmen */
.testimonials-section { padding: 6rem 5vw; background: var(--white); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem;
  max-width: var(--max); margin-left: auto; margin-right: auto;
}
.testimonial-card,
.t-card {
  background: var(--bg); border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--border);
  display: flex; flex-direction: column;
  color: inherit; transition: border-color .2s;
}
.t-text-wrap { position: relative; }
.t-text-wrap.collapsed .t-text {
  display: -webkit-box; -webkit-line-clamp: 6;
  -webkit-box-orient: vertical; overflow: hidden;
}
.t-text-wrap.collapsed::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3rem; background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.t-readmore {
  display: none; background: none; border: none;
  color: var(--ink-muted); font-size: .78rem; font-weight: 500;
  cursor: pointer; padding: .25rem 0 .75rem;
  font-family: var(--font-body); margin-top: -.5rem;
}
.collapsed + .t-readmore { display: inline-block; }
.t-stars {
  color: #f5a623; font-size: .85rem;
  margin-bottom: 1rem; display: block;
}
.t-text {
  font-size: .875rem; color: var(--ink-soft);
  line-height: 1.75; font-style: italic;
  margin-bottom: 1.25rem; flex: 1;
}
.t-author { margin-top: auto; }
.t-name {
  font-size: .875rem; font-weight: 600;
  color: var(--ink); display: block;
}
.t-role { font-size: .72rem; color: var(--green); }
.t-company {
  color: var(--green); font-size: .72rem;
  display: block;
}

/* Preise */
.preise-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-top: 3rem;
}
.preis-card {
  background: white; border-radius: var(--radius-lg);
  padding: 2.5rem; border: 1px solid var(--border);
}
.preis-card.featured {
  border-color: var(--green);
  background: linear-gradient(135deg, rgba(29,179,136,.04) 0%, white 60%);
}
.preis-branche {
  font-size: .65rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--green);
  display: block; margin-bottom: 1rem;
}
.preis-card h3 {
  font-family: var(--font-head); font-size: 1.2rem;
  font-weight: 700; color: var(--ink); margin-bottom: .5rem;
}
.preis-card .preis-sub {
  font-size: .82rem; color: var(--ink-muted);
  line-height: 1.6; margin-bottom: 1.5rem;
}
.preis-features {
  list-style: none; display: flex; flex-direction: column; gap: .4rem;
}
.preis-features li {
  font-size: .82rem; color: var(--ink-soft);
  display: flex; align-items: flex-start; gap: .5rem; line-height: 1.5;
}
.preis-features li::before {
  content: '✓'; color: var(--green); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}
.preis-note {
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: .75rem; color: var(--green); font-weight: 500;
}

/* About / Team */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.team-card {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; aspect-ratio: 1/1.55; background: var(--ink);
}
.team-card img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.team-badge {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(13,13,13,.9); backdrop-filter: blur(8px);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: .75rem 1rem;
}
.team-badge strong {
  display: block; font-size: 1rem; font-weight: 700;
  color: white; margin-bottom: .2rem;
}
.team-badge span { font-size: .8rem; color: var(--green); display: block; }

/* Leistungen Cards */
.leistungen-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-top: 3rem;
}
.leistung-card {
  background: white; border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--border);
  transition: border-color .2s, transform .2s;
}
.leistung-card:hover { border-color: var(--green); transform: translateY(-2px); }
.leistung-num {
  font-family: var(--font-head); font-size: 2.5rem; font-weight: 800;
  color: var(--green); line-height: 1;
  margin-bottom: 1rem; display: block;
}
.leistung-card h3 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  color: var(--ink); margin-bottom: .75rem;
}
.leistung-card p {
  font-size: .85rem; color: var(--ink-soft); line-height: 1.65;
}
.leistung-note {
  margin-top: .75rem; padding-top: .75rem;
  border-top: 1px solid var(--border);
  font-size: .75rem; color: var(--green); font-weight: 500;
}
.leistung-card-wide {
  grid-column: 1 / -1;
  background: rgba(29,179,136,.05);
  border-color: rgba(29,179,136,.2);
}

/* Warum (dark grid) */
.warum-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg); overflow: hidden;
  margin-top: 3rem;
}
.warum-item {
  background: var(--ink); padding: 2rem;
  transition: background .2s;
}
.warum-item:hover { background: rgba(29,179,136,.05); }
.warum-item h3 {
  font-family: var(--font-head); font-size: .95rem; font-weight: 700;
  color: white; margin-bottom: .5rem;
}
.warum-item p {
  font-size: .82rem; color: rgba(255,255,255,.4); line-height: 1.65;
}

/* Kontakt-Formular (auf dunklem Background) */
.contact-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem; text-align: left;
  max-width: 600px; margin: 0 auto;
}
.form-group { margin-bottom: .875rem; }
.form-group label {
  display: block; font-size: .62rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: .3rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: .7rem .875rem; color: white;
  font-family: var(--font-body); font-size: .875rem;
  outline: none; transition: border-color .2s; resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); }
.form-group select option { background: #1a1a1a; }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.form-submit {
  width: 100%;
  background: var(--green); color: white;
  border: none; border-radius: var(--radius);
  padding: .9rem; font-family: var(--font-body);
  font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: background .2s; margin-top: .5rem;
}
.form-submit:hover { background: var(--green-dark); }
.form-note {
  font-size: .68rem; color: rgba(255,255,255,.55);
  text-align: center; margin-top: .75rem; line-height: 1.5;
}
.danke-box {
  background: rgba(29,179,136,.1);
  border: 1px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 2rem; text-align: center; color: white;
}
.danke-box h3 {
  font-family: var(--font-head); font-size: 1.2rem;
  margin-bottom: .5rem; color: white;
}
.danke-box p { font-size: .875rem; color: rgba(255,255,255,.6); }

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .weiche-grid { grid-template-columns: 1fr; max-width: 440px; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .preise-grid { grid-template-columns: 1fr; }
  .leistungen-grid-2 { grid-template-columns: 1fr; }
  .warum-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 4rem 1.5rem; }
  .testimonials-section { padding: 4rem 1.5rem; }
}

/* ==========================================================================
   ZIELGRUPPEN-/UNTERSEITEN — Hero mit Split-Layout
   ========================================================================== */

.hero-split {
  min-height: 100vh; padding-top: 68px;
  background: var(--ink);
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
}
.hero-split .hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 3rem 5rem max(2rem, 5vw);
  position: relative; z-index: 2;
}
.hero-split .hero-left::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 0% 50%, rgba(29,179,136,.1) 0%, transparent 60%);
  pointer-events: none;
}
.hero-split .hero-title {
  font-family: var(--font-head); font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
  color: white; margin-bottom: 1.5rem;
  position: relative; z-index: 1;
}
.hero-split .hero-title em { font-style: italic; color: var(--green); }
.hero-split .hero-sub {
  font-size: .95rem; color: rgba(255,255,255,.5);
  line-height: 1.8; max-width: 440px;
  margin-bottom: 2.5rem; font-weight: 300;
  position: relative; z-index: 1;
}
.hero-split .hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  position: relative; z-index: 1; margin-bottom: 3rem;
}
.hero-split .hero-trust {
  display: flex; gap: 2rem; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.trust-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .9rem; color: rgba(255,255,255,.55);
}
.trust-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}
.hero-split .hero-right {
  background: rgba(255,255,255,.02);
  display: flex; align-items: center; justify-content: center;
  padding: 4rem 3rem;
  border-left: 1px solid rgba(255,255,255,.06);
}

/* Lead-Form (kleines Formular im Hero) */
.lead-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem; width: 100%; max-width: 380px;
}
.form-header { margin-bottom: 2rem; }
.form-header p {
  font-size: .65rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--green); margin-bottom: .5rem;
}
.form-header h2 {
  font-family: var(--font-head); font-size: 1.3rem;
  font-weight: 700; color: white; line-height: 1.25;
}
.danke-msg { text-align: center; padding: 2rem 0; }
.danke-msg h3 {
  font-family: var(--font-head); color: white;
  font-size: 1.2rem; margin-bottom: .5rem;
}
.danke-msg p { font-size: .85rem; color: rgba(255,255,255,.5); }

/* Proof Bar */
.proof-bar {
  background: white; border-bottom: 1px solid var(--border);
  padding: 2rem 5vw;
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 0;
}
.proof-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 1rem;
  border-right: 1px solid var(--border);
}
.proof-item:last-child { border-right: none; }
.proof-num {
  font-family: var(--font-head); font-size: 3rem; font-weight: 800;
  color: var(--green); line-height: 1; margin-bottom: .5rem;
}
.proof-label {
  font-size: .72rem; color: var(--ink-soft);
  line-height: 1.5; font-weight: 500;
  text-align: center; max-width: 110px;
}

/* Pain / Liefern / ROI / Prozess / Miguel / Final */
.pain-section, .liefern-section, .roi-section,
.prozess-section, .miguel-section { padding: 5rem 5vw; }
.pain-section { background: var(--bg); }
.liefern-section { background: white; }
.roi-section { background: var(--ink); }
.prozess-section { background: var(--bg); }
.miguel-section { background: white; }

.pain-inner, .liefern-inner, .roi-inner,
.prozess-inner, .miguel-inner { max-width: var(--max); margin: 0 auto; }

.pain-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem; margin-top: 3rem;
}
.pain-card {
  background: white; border-radius: var(--radius-lg);
  padding: 1.75rem; border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.pain-icon { font-size: 1.75rem; margin-bottom: 1rem; display: block; }
.pain-card h3 {
  font-family: var(--font-head); font-size: .95rem; font-weight: 700;
  color: var(--ink); margin-bottom: .5rem;
}
.pain-card p {
  font-size: .82rem; color: var(--ink-soft); line-height: 1.65; flex: 1;
}
.pain-solution {
  margin-top: auto; padding-top: .875rem;
  border-top: 1px solid var(--border);
  font-size: .78rem; color: var(--green); font-weight: 500;
}

.liefern-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  margin-top: 3rem;
}
.liefern-item { background: white; padding: 2rem; transition: background .2s; }
.liefern-item:hover { background: #f0faf7; }
.liefern-item h3 {
  font-family: var(--font-head); font-size: .95rem; font-weight: 700;
  color: var(--ink); margin-bottom: .5rem;
}
.liefern-item p {
  font-size: .82rem; color: var(--ink-soft); line-height: 1.65;
}

.roi-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.roi-calc {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 2rem;
}
.roi-calc h3 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  color: white; margin-bottom: 1.5rem;
}
.roi-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: .85rem;
}
.roi-row:last-child { border-bottom: none; }
.roi-label { color: rgba(255,255,255,.45); }
.roi-value { font-weight: 600; color: white; }
.roi-value.green { color: var(--green); font-size: 1.1rem; }
.roi-note {
  margin-top: 1.25rem; font-size: .72rem;
  color: rgba(255,255,255,.25); line-height: 1.6;
}

.prozess-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 3rem; position: relative;
}
.prozess-steps::before {
  content: ''; position: absolute; top: 24px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--green), var(--green), transparent);
  z-index: 0;
}
.prozess-step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: white; border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-head); font-size: .9rem; font-weight: 700;
  color: var(--green);
}
.prozess-step h3 {
  font-family: var(--font-head); font-size: .85rem; font-weight: 700;
  color: var(--ink); margin-bottom: .4rem;
}
.prozess-step p {
  font-size: .75rem; color: var(--ink-muted); line-height: 1.55;
}

.miguel-inner {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 4rem; align-items: center;
}
.miguel-img {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 1; background: var(--ink);
}
.miguel-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}

.final-section {
  padding: 5rem 5vw;
  background: var(--green);
  text-align: center;
}
.final-inner { max-width: 580px; margin: 0 auto; }
.final-section h2 {
  font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800; color: white;
  letter-spacing: -.025em; margin-bottom: 1rem; line-height: 1.15;
}
.final-section p {
  font-size: .95rem; color: rgba(255,255,255,.75);
  line-height: 1.75; font-weight: 300; margin-bottom: 2.5rem;
}
.final-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

/* Generic content/cards layout (Immobilien etc.) */
.content-section { padding: 5rem 5vw; }
.content-section.alt { background: var(--bg); }
.content-inner { max-width: var(--max); margin: 0 auto; }
.content-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.content-text p {
  font-size: .9rem; color: var(--ink-soft);
  line-height: 1.75; margin-bottom: 1rem;
}
.cards-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.card {
  background: white; border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--border);
}
.card h3 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  color: var(--ink); margin-bottom: .5rem;
}
.card p {
  font-size: .85rem; color: var(--ink-soft); line-height: 1.65;
}
.checklist { list-style: none; margin-top: 1.25rem; }
.checklist li {
  display: flex; gap: .75rem; padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .875rem; color: var(--ink);
}
.checklist li::before {
  content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0;
}

/* Page-Hero (für Zielgruppen ohne Split-Layout) */
.page-hero {
  background: var(--ink); padding: 8rem 5vw 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-hero h1 { color: white; margin-bottom: 1rem; }
.page-hero h1 em { font-style: italic; color: var(--green); }
.page-hero .lead {
  font-size: 1.05rem; color: rgba(255,255,255,0.45);
  max-width: 600px; line-height: 1.75;
}
.breadcrumb {
  display: flex; gap: .5rem; align-items: center;
  font-size: .72rem; color: rgba(255,255,255,0.25);
  margin-bottom: 1.5rem; flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.25); transition: color .2s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb-sep { opacity: 0.3; }

/* Section-Eyebrow */
.section-eyebrow {
  display: inline-block;
  font-size: .65rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: .75rem;
}

@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split .hero-right {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.06);
    min-height: auto;
  }
  .hero-split .hero-left { padding: 3rem 1.5rem 2rem; }
  .hero-split .hero-trust { flex-direction: column; gap: .75rem; }
  .pain-grid { grid-template-columns: 1fr; }
  .liefern-grid { grid-template-columns: 1fr; }
  .roi-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .prozess-steps { grid-template-columns: 1fr 1fr; }
  .prozess-steps::before { display: none; }
  .miguel-inner { grid-template-columns: 1fr; gap: 2rem; }
  .miguel-img { max-width: 280px; }
  .pain-section, .liefern-section, .roi-section,
  .prozess-section, .miguel-section, .final-section,
  .content-section { padding: 3.5rem 1.25rem; }
  .proof-bar { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .proof-item { border-right: none !important; border-top: none !important; }
  .cards-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ==========================================================================
   LEGAL-SEITEN (Impressum, Datenschutz, AGB)
   ========================================================================== */

.legal-section,
.page-wrap {
  max-width: 760px; margin: 0 auto;
  padding: 8rem 2rem 5rem;
}
.legal-section h1,
.page-wrap h1 {
  font-family: var(--font-head); font-size: 2rem; font-weight: 800;
  color: var(--ink); letter-spacing: -.025em;
  margin-bottom: 2.5rem;
}
.legal-section h2,
.page-wrap h2 {
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 700;
  color: var(--ink); margin: 2.5rem 0 .75rem;
}
.legal-section h3,
.page-wrap h3 {
  font-size: 1rem; font-weight: 600;
  color: var(--ink); margin: 1.5rem 0 .5rem;
}
.legal-section p, .legal-section li,
.page-wrap p, .page-wrap li {
  font-size: .9rem; color: var(--ink-soft);
  margin-bottom: .75rem; line-height: 1.75;
}
.legal-section strong,
.page-wrap strong { color: var(--ink); font-weight: 600; }
.legal-section a,
.page-wrap a {
  color: var(--green); text-decoration: underline;
}
.divider {
  border: none; border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ==========================================================================
   PAGE.PHP (generischer Fallback)
   ========================================================================== */

.page-content {
  max-width: 760px; margin: 0 auto;
  padding: 8rem 2rem 5rem;
}
.page-content h1 {
  font-family: var(--font-head); font-size: 2rem; font-weight: 800;
  color: var(--ink); letter-spacing: -.025em; margin-bottom: 2rem;
}
.page-content h2 {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
  margin: 2rem 0 .75rem; color: var(--ink);
}
.page-content p {
  font-size: .9rem; color: var(--ink-soft);
  line-height: 1.75; margin-bottom: .75rem;
}
