/* =========================================================
   PPS PowerPooling Service GmbH — Stylesheet
   Markenfarben aus dem Logo: Blau / Grün / Orange
   ========================================================= */

:root {
  --pps-blue:       #1b4f9c;
  --pps-blue-dark:  #0f3a78;
  --pps-blue-deep:  #0a2a57;
  --pps-green:      #4ca72a;
  --pps-green-dark: #3d8f20;
  --pps-orange:     #ef7d00;
  --pps-orange-dark:#d96a00;

  --ink:    #1f2937;
  --ink-soft:#4b5563;
  --muted:  #6b7280;
  --line:   #e5e7eb;
  --bg:     #ffffff;
  --bg-soft:#f5f7fb;
  --bg-deep:#0a2a57;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 58, 120, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 42, 87, 0.15);
  --maxw: 1180px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--pps-blue-dark); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; letter-spacing: -.5px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0 0 1.1em; color: var(--ink-soft); }
a  { color: var(--pps-blue); text-decoration: none; }
a:hover { color: var(--pps-orange); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section.alt { background: var(--bg-soft); }
.section.deep { background: var(--bg-deep); color: #dce6f5; }
.section.deep h1, .section.deep h2, .section.deep h3 { color: #fff; }
.section.deep p { color: #b9c8e0; }

.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 760px; }
.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pps-orange);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--pps-orange); color: #fff; }
.btn-primary:hover { background: var(--pps-orange-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(239,125,0,.35); }
.btn-blue { background: var(--pps-blue); color: #fff; }
.btn-blue:hover { background: var(--pps-blue-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { background: transparent; color: var(--pps-blue); border-color: var(--pps-blue); }
.btn-outline:hover { background: var(--pps-blue); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.center .btn-row { justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; display: block; }
.brand .brand-fallback {
  display: flex; flex-direction: column; line-height: 1; text-decoration: none;
}
.brand .brand-fallback .bf-top { font-weight: 900; font-size: 1.7rem; letter-spacing: 1px;
  background: linear-gradient(90deg, var(--pps-blue) 40%, var(--pps-green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .brand-fallback .bf-sub { font-size: .72rem; font-weight: 700; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav-links a:hover, .nav-links a.active { color: var(--pps-orange); }
.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--pps-blue-dark); margin: 5px 0; border-radius: 3px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(76,167,42,.18), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(239,125,0,.14), transparent 55%),
    linear-gradient(160deg, var(--pps-blue-deep), var(--pps-blue));
  color: #fff;
  padding: 96px 0 104px;
  overflow: hidden;
}
.hero h1 { color: #fff; max-width: 14ch; }
.hero .lead { color: #cdddf5; }
.hero .eyebrow { color: #8fe06a; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-badges span {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: 8px 16px; border-radius: 50px; font-size: .85rem; font-weight: 600;
}
.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(4px);
}
.hero-card h3 { color: #fff; margin-bottom: 18px; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { background: rgba(255,255,255,.06); border-radius: var(--radius-sm); padding: 16px; }
.stat .num { font-size: 1.8rem; font-weight: 800; color: #8fe06a; }
.stat .lbl { font-size: .82rem; color: #c5d6f0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: .98rem; }
.card .ico {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  background: linear-gradient(135deg, var(--pps-blue), var(--pps-green)); color: #fff;
}
.card .ico.orange { background: linear-gradient(135deg, var(--pps-orange), var(--pps-orange-dark)); }
.card .ico.green  { background: linear-gradient(135deg, var(--pps-green), var(--pps-green-dark)); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step .n {
  flex: 0 0 auto; counter-increment: step;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--pps-orange); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.step .n::before { content: counter(step); }
.step h3 { margin-bottom: 4px; }
.step p { margin-bottom: 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table.data { width: 100%; border-collapse: collapse; background: #fff; min-width: 520px; }
table.data th, table.data td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .96rem; }
table.data thead th { background: var(--pps-blue); color: #fff; font-weight: 700; }
table.data tbody tr:nth-child(even) { background: var(--bg-soft); }
table.data td strong { color: var(--pps-blue-dark); }

/* ---------- Feature list ---------- */
.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check li { position: relative; padding-left: 34px; color: var(--ink-soft); }
.check li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--pps-green); color: #fff; font-size: .8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Split content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split.alt-order .split-text { order: 2; }
.media-box {
  border-radius: var(--radius); padding: 36px; color: #fff;
  background: linear-gradient(150deg, var(--pps-blue), var(--pps-blue-deep));
  box-shadow: var(--shadow-lg);
}
.media-box.green { background: linear-gradient(150deg, var(--pps-green), var(--pps-green-dark)); }
.media-box.orange{ background: linear-gradient(150deg, var(--pps-orange), var(--pps-orange-dark)); }
.media-box h3 { color: #fff; }
.media-box .big { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.media-box ul { margin: 16px 0 0; padding-left: 20px; }
.media-box ul li { margin-bottom: 8px; }

/* ---------- Partners ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.partner-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 50px;
  padding: 12px 24px; font-weight: 700; color: var(--pps-blue-dark); box-shadow: var(--shadow);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--pps-orange), var(--pps-orange-dark));
  color: #fff; border-radius: var(--radius); padding: 50px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem; background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--pps-blue); border-color: var(--pps-blue); }
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.info-row .ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 11px; background: linear-gradient(135deg, var(--pps-blue), var(--pps-green)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.info-row .info-t { font-weight: 700; color: var(--pps-blue-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); color: #aebfd9; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: #aebfd9; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-brand .bf-top { font-weight: 900; font-size: 1.6rem; color: #fff; letter-spacing: 1px; }
.footer-brand p { color: #8ea3c4; font-size: .92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: #7e93b5; }
.footer-bottom a { color: #7e93b5; }

/* ---------- Page hero (inner) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--pps-blue-deep), var(--pps-blue));
  color: #fff; padding: 70px 0;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #cdddf5; max-width: 720px; margin-bottom: 0; }
.breadcrumb { font-size: .85rem; color: #9fc; margin-bottom: 10px; }
.breadcrumb a { color: #b9d0f0; }

/* ---------- Misc ---------- */
.note { font-size: .82rem; color: var(--muted); font-style: italic; }
.divider { height: 1px; background: var(--line); margin: 40px 0; border: 0; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.alt-order .split-text { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    gap: 0; padding: 10px 24px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 12px 0 0; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .cta-band { padding: 36px 22px; }
}
