/* =========================================================
   Promovemus GmbH — Geschäftskunden / Gewerbeenergie
   Helles, freundliches Schwester-Theme der Auftraggeber-Seite
   ========================================================= */

:root {
  /* Marke */
  --green: #1B4533;          /* Marken-Grün */
  --green-soft: #2E5C4A;     /* weicheres Grün */
  --green-hover: #143729;
  --mint: #00C896;           /* freundliches Mint (etwas gedeckter fürs Helle) */
  --mint-bright: #00FEB3;    /* helles Mint, sparsam */
  --mint-tint: #E8FAF3;      /* zarter Mint-Hintergrund */
  --cream: #F6F5EF;
  --paper: #FFFFFF;
  --ink: #14241C;            /* dunkle grün-tinte Headlines */
  --text: #51605A;           /* Fließtext grün-grau */
  --muted: #8A958F;
  --gold: #EBB13D;
  --hairline: #E8E6DD;

  --shadow-sm: 0 2px 10px rgba(27, 69, 51, 0.05);
  --shadow-md: 0 14px 36px rgba(27, 69, 51, 0.09);
  --shadow-lg: 0 28px 64px rgba(27, 69, 51, 0.12);
  --shadow-mint: 0 16px 40px rgba(0, 200, 150, 0.16);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --maxw: 1180px;
  --pad-x: clamp(20px, 5vw, 60px);
  --section-y: clamp(68px, 9vw, 116px);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-pill: 999px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--paper);
  font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--section-y); }
.section--cream { background: var(--cream); }
.section--mint { background: var(--mint-tint); }
.section--green { background: var(--green); color: rgba(255,255,255,0.85); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green);
  background: var(--mint-tint); padding: 7px 14px; border-radius: var(--radius-pill);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.section--green .eyebrow { color: var(--green); background: var(--mint-bright); }

.section-head { max-width: 700px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(29px, 4.2vw, 44px); margin-top: 18px; }
.section-head p { margin-top: 16px; font-size: clamp(17px, 2vw, 19px); }
.lead { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.7; color: #3c4843; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: var(--radius-pill); font-size: 16px; font-weight: 600;
  border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--mint { background: var(--mint); color: var(--green); box-shadow: var(--shadow-mint); }
.btn--mint:hover { transform: translateY(-2px); box-shadow: 0 20px 48px rgba(0,200,150,0.26); }
.btn--ghost { background: var(--paper); color: var(--green); border-color: var(--hairline); }
.btn--ghost:hover { border-color: var(--green); transform: translateY(-2px); }
.btn--on-green { background: #fff; color: var(--green); }
.btn--on-green:hover { background: var(--cream); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background-color .35s ease, box-shadow .35s ease, border-color .35s ease; border-bottom: 1px solid transparent; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav__logo { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.nav__logo span { color: var(--mint); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 15px; font-weight: 500; color: #3a463f; transition: color .25s ease; }
.nav__links a:hover { color: var(--green); }
.nav__cta { padding: 11px 22px; font-size: 14px; }
.nav__links a.nav__cta { color: #fff; }
.nav__burger { display: none; background: none; border: none; padding: 8px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s ease, opacity .3s ease; }
.nav.is-solid { background: rgba(255,255,255,0.9); backdrop-filter: saturate(180%) blur(12px); box-shadow: var(--shadow-sm); border-color: var(--hairline); }

/* ---------- Hero (hell, Split) ---------- */
.hero { position: relative; padding-top: 74px; overflow: hidden; background: linear-gradient(170deg, var(--mint-tint) 0%, var(--cream) 55%, var(--paper) 100%); }
.hero::before { content:""; position:absolute; top:-180px; right:-160px; width:560px; height:560px; border-radius:50%; background: radial-gradient(circle, rgba(0,200,150,0.18), transparent 70%); z-index:0; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.hero h1 { font-size: clamp(36px, 5.6vw, 60px); margin: 20px 0 0; }
.hero h1 .accent { color: var(--green); position: relative; z-index: 0; white-space: nowrap; }
.hero h1 .accent::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 6px; height: 12px; background: rgba(0,200,150,0.30); border-radius: 5px; z-index: -1; }
.hero__sub { margin: 22px 0 30px; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.6; color: #3c4843; max-width: 540px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.badge { display: inline-flex; align-items: center; gap: 9px; background: var(--paper); border: 1px solid var(--hairline); padding: 10px 16px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }
.badge svg { width: 16px; height: 16px; color: var(--mint); }
.hero__visual { position: relative; }
.hero__visual img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero__visual::after { content:""; position:absolute; inset:0; border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(27,69,51,0.05); }
.hero__float { position: absolute; left: -22px; bottom: 28px; background: #fff; border-radius: var(--radius-sm); padding: 16px 20px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px; }
.hero__float strong { display: block; font-size: 26px; font-weight: 800; color: var(--green); line-height: 1; letter-spacing: -0.02em; }
.hero__float span { font-size: 13px; color: var(--muted); }
.hero__float .dot { width: 42px; height: 42px; border-radius: 12px; background: var(--mint-tint); display: grid; place-items: center; color: var(--green); }

/* ---------- Schnell-Kennzahlen ---------- */
.quickstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -36px; position: relative; z-index: 3; }
.quickstat { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 28px 28px; box-shadow: var(--shadow-md); text-align: center; }
.quickstat .num { font-size: clamp(32px, 4vw, 42px); font-weight: 800; color: var(--green); letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.quickstat .num em { font-style: normal; color: var(--mint); }
.quickstat .lbl { margin-top: 10px; font-size: 15px; color: var(--text); }

/* ---------- Problem (2-Spalten Text) ---------- */
.twocol { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.twocol p { margin: 0 0 18px; }

/* ---------- Cards / Vorteile ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.fcard { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 32px 28px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.fcard__icon { width: 54px; height: 54px; border-radius: 16px; background: var(--mint-tint); display: grid; place-items: center; color: var(--green); margin-bottom: 18px; }
.fcard__icon svg { width: 26px; height: 26px; }
.fcard h3 { font-size: 20px; margin-bottom: 10px; }
.fcard p { margin: 0; font-size: 16px; line-height: 1.65; }

/* ---------- So funktioniert's (Steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step__no { width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.step:not(:last-child)::after { content:""; position:absolute; top: 26px; left: 60px; right: -10px; height: 2px; background: repeating-linear-gradient(90deg, var(--hairline) 0 8px, transparent 8px 14px); }

/* ---------- Lösung mit 4-Schritt-Vorschau ---------- */
.solution { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.miniflow { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-md); }
.miniflow li { display: flex; gap: 14px; align-items: center; padding: 16px 14px; border-radius: var(--radius-sm); }
.miniflow li + li { border-top: 1px solid var(--hairline); }
.miniflow .mn { width: 34px; height: 34px; border-radius: 50%; background: var(--mint-tint); color: var(--green); font-weight: 800; font-size: 14px; display: grid; place-items: center; flex: 0 0 auto; }
.miniflow span { font-size: 15.5px; color: var(--ink); font-weight: 500; }
.accent-box { margin-top: 26px; padding: 22px 26px; border-radius: var(--radius); background: var(--green); color: #fff; font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; line-height: 1.45; box-shadow: var(--shadow-md); }
.accent-box span { color: var(--mint-bright); }

/* ---------- Branchen-Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.chip { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-pill); padding: 12px 22px; font-size: 16px; font-weight: 600; color: var(--ink); transition: transform .25s ease, border-color .25s ease, background-color .25s ease; }
.chip:hover { transform: translateY(-3px); border-color: var(--mint); background: var(--mint-tint); }

/* ---------- Ergebnis (grünes Band) ---------- */
.result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.result .rnum { font-size: clamp(40px, 5.5vw, 58px); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.result .rnum em { font-style: normal; color: var(--mint-bright); }
.result .rlbl { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,0.78); max-width: 260px; }

/* ---------- FAQ-Akkordeon ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; transition: box-shadow .25s ease, border-color .25s ease; }
.faq__item.is-open { box-shadow: var(--shadow-md); border-color: transparent; }
.faq__q { width: 100%; text-align: left; background: none; border: none; padding: 22px 24px; font-size: 17px; font-weight: 600; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq__q .icon { width: 26px; height: 26px; border-radius: 50%; background: var(--mint-tint); color: var(--green); display: grid; place-items: center; flex: 0 0 auto; transition: transform .3s ease, background-color .3s ease; font-size: 18px; line-height: 1; }
.faq__item.is-open .faq__q .icon { transform: rotate(45deg); background: var(--green); color: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a p { margin: 0; padding: 0 24px 24px; font-size: 16px; line-height: 1.7; color: var(--text); }

/* ---------- Kontaktformular ---------- */
.contact { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-md); }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input { width: 100%; padding: 14px 16px; font-family: inherit; font-size: 16px; color: var(--ink); background: var(--cream); border: 1.5px solid transparent; border-radius: var(--radius-sm); transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.field input::placeholder { color: var(--muted); }
.field input:focus { outline: none; background: #fff; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(0,200,150,0.12); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form button[type="submit"] { width: 100%; padding: 17px; font-size: 16px; margin-top: 4px; }
.form button[disabled] { opacity: .6; cursor: not-allowed; }
.form__note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.form__note a { color: var(--green); text-decoration: underline; }
.form__trust { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; font-weight: 600; color: var(--green); }
.form__trust span { display: inline-flex; align-items: center; gap: 6px; }
.form__error { display: none; color: #b3261e; font-size: 14px; }
.form__success { display: none; padding: 30px; border-radius: var(--radius); background: var(--mint-tint); border: 1px solid rgba(0,200,150,0.3); color: var(--green); font-weight: 600; font-size: 18px; text-align: center; }
.is-sent .form { display: none; }
.is-sent .form__success { display: block; }
.contact__side h3 { font-size: 22px; margin-bottom: 14px; }
.contact__side .lead { margin-bottom: 26px; }
.info-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.info-row:last-of-type { border-bottom: none; }
.info-row svg { width: 20px; height: 20px; color: var(--green); flex: 0 0 auto; margin-top: 2px; }
.info-row strong { display: block; color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.info-row span { font-size: 15px; line-height: 1.5; }

/* ---------- Footer ---------- */
.footer { background: var(--green); color: rgba(255,255,255,0.66); padding-block: 64px 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 38px; }
.footer__brand .logo { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.footer__brand .logo span { color: var(--mint-bright); }
.footer__brand p { margin-top: 12px; font-size: 15px; max-width: 240px; }
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a, .footer ul li { font-size: 15px; color: rgba(255,255,255,0.66); transition: color .2s ease; }
.footer ul a:hover { color: #fff; }
.footer__bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }

/* ---------- Glow-Rahmen + Motion für alle Boxen ---------- */
.quickstat, .fcard, .miniflow, .faq__item, .form, .flow__card, .hero__float {
  border: 1.5px solid rgba(27,69,51,0.20);
  box-shadow: 0 0 0 1px rgba(0,200,150,0.10), 0 0 26px rgba(0,200,150,0.16), 0 12px 30px rgba(27,69,51,0.07);
}
.quickstat, .fcard, .miniflow, .flow__card { transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease; }
.quickstat:hover, .fcard:hover, .miniflow:hover, .flow__card:hover {
  transform: translateY(-8px); border-color: var(--mint);
  box-shadow: 0 0 0 1px var(--mint), 0 0 40px rgba(0,200,150,0.34), 0 22px 50px rgba(27,69,51,0.13);
}
.faq__item:hover { border-color: var(--mint); box-shadow: 0 0 0 1px rgba(0,200,150,0.35), 0 0 28px rgba(0,200,150,0.18), 0 12px 30px rgba(27,69,51,0.08); }
.fcard__icon { transition: transform .4s cubic-bezier(.34,1.56,.64,1), background-color .3s ease, color .3s ease; }
.fcard:hover .fcard__icon { transform: translateY(-3px) scale(1.12) rotate(-5deg); background: var(--green); color: #fff; }

/* ---------- Vertikaler Slide-Flow (So funktioniert's) ---------- */
.flow { position: relative; max-width: 860px; margin-inline: auto; }
.flow__track { position: absolute; left: 35px; top: 36px; bottom: 36px; width: 3px; background: var(--hairline); border-radius: 3px; }
.flow__fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(180deg, var(--green), var(--mint)); border-radius: 3px; box-shadow: 0 0 14px rgba(0,200,150,0.5); }
.flowstep { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 28px; align-items: center; }
.flowstep + .flowstep { margin-top: 20px; }
.flow__node { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 21px; box-shadow: 0 0 0 7px var(--paper), var(--shadow-sm); z-index: 2; position: relative; transition: transform .4s cubic-bezier(.34,1.56,.64,1), background-color .4s ease, box-shadow .4s ease; }
.flowstep.is-in .flow__node { animation: nodepop .55s cubic-bezier(.34,1.56,.64,1); }
.flowstep.is-active .flow__node { background: var(--mint); color: var(--green); box-shadow: 0 0 0 7px var(--paper), 0 0 26px rgba(0,200,150,0.5); }
.flow__card { background: #fff; border-radius: var(--radius); padding: 26px 30px; position: relative; }
.flow__card::before { content: ""; position: absolute; left: -28px; top: 50%; width: 28px; height: 2px; background: var(--hairline); transform: translateY(-50%); }
.flow__card h3 { font-size: 21px; margin-bottom: 8px; }
.flow__card p { margin: 0; font-size: 16px; line-height: 1.65; }
.js .flowstep.reveal { opacity: 0; transform: translateX(36px); }
.js .flowstep.reveal.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
@keyframes nodepop { 0% { transform: scale(0.6); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* ---------- Sanfte Schwebe-Animation ---------- */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero__float { animation: floaty 4.5s ease-in-out infinite; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__visual img { max-height: 320px; }
  .quickstats { grid-template-columns: 1fr; margin-top: 24px; }
  .twocol, .solution, .contact { grid-template-columns: 1fr; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .result { grid-template-columns: 1fr; gap: 30px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 620px) {
  .nav__links { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 10px var(--pad-x) 22px; box-shadow: var(--shadow-md); transform: translateY(-135%); transition: transform .35s ease; }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--hairline); }
  .nav__links a.nav__cta { color: #fff; margin-top: 12px; }
  .nav__burger { display: block; }
  .field--row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } .js .reveal, .js .flowstep.reveal { opacity: 1; transform: none; transition: none; } .hero__float { animation: none; } }
