/* ============================================================
   IPOL Konzept C — Problem Site
   Problemorientiertes Storytelling. Navigation nach Kundenproblemen.
   Ausgangssituation → Transformation → Ergebnis.
   CI: Blau #0069b3 · Anthrazit #22282b · Montserrat
   ============================================================ */

:root {
  --blau: #0069b3;
  --blau-dunkel: #004d83;
  --blau-zart: #e8f2f9;
  --anthrazit: #22282b;
  --grau: #66747c;
  --fond: #f0f3f5;
  --karte: #ffffff;
  --linie: #dde4e8;
  --font: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --max: 1200px;
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--fond);
  color: var(--anthrazit);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--linie);
}
.nav { display: flex; align-items: center; gap: 36px; height: 74px; }
.nav .logo img { height: 32px; width: auto; }
.nav ul { display: flex; gap: 8px; list-style: none; margin-left: auto; align-items: center; }
.nav ul a {
  font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 100px; transition: .18s;
}
.nav ul a:hover { background: var(--blau-zart); color: var(--blau); }
.nav ul a.aktiv { background: var(--blau); color: #fff; }
.nav .cta {
  background: var(--anthrazit); color: #fff; font-size: 13.5px; font-weight: 600;
  padding: 12px 24px; border-radius: 100px; white-space: nowrap; transition: .18s;
}
.nav .cta:hover { background: var(--blau); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.burger span { display: block; width: 24px; height: 2px; background: var(--anthrazit); margin: 5px 0; transition: .2s; }

/* ---------- Hero (Problem-Auswahl) ---------- */
.hero { padding: 76px 0 40px; text-align: center; }
.hero .eyebrow {
  display: inline-block; background: var(--blau-zart); color: var(--blau);
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 100px; margin-bottom: 26px;
}
.hero h1 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; max-width: 22ch; margin: 0 auto 20px; }
.hero h1 em { font-style: normal; color: var(--blau); }
.hero p.lead { font-size: 17.5px; color: var(--grau); max-width: 58ch; margin: 0 auto; }

/* Problemkarten */
.probleme { padding: 50px 0 90px; }
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.prob-karte {
  background: var(--karte); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 10px rgba(34,40,43,.05);
  transition: .22s; display: flex; flex-direction: column;
}
.prob-karte:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(34,40,43,.13); }
.prob-karte figure { position: relative; }
.prob-karte img { aspect-ratio: 16/9.6; object-fit: cover; }
.prob-karte figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34,40,43,0) 50%, rgba(34,40,43,.45)); }
.prob-karte .frage {
  position: absolute; left: 22px; bottom: 18px; right: 22px; z-index: 2;
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.prob-body { padding: 28px 28px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.prob-body h2 { font-size: 20.5px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.prob-body p { font-size: 14.5px; color: var(--grau); flex: 1; }
.prob-body .symptome { list-style: none; display: flex; flex-direction: column; gap: 7px; margin: 4px 0 10px; }
.prob-body .symptome li { font-size: 13.5px; color: var(--anthrazit); padding-left: 24px; position: relative; }
.prob-body .symptome li::before { content: ''; position: absolute; left: 0; top: 7px; width: 12px; height: 2.5px; background: var(--blau); border-radius: 2px; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 700; transition: .18s; cursor: pointer; border: 0;
  font-family: var(--font); text-align: center;
}
.btn-blau { background: var(--blau); color: #fff; }
.btn-blau:hover { background: var(--blau-dunkel); }
.btn-dunkel { background: var(--anthrazit); color: #fff; }
.btn-dunkel:hover { background: var(--blau); }
.btn-hell { background: var(--blau-zart); color: var(--blau); }
.btn-hell:hover { background: #d8e9f5; }

/* ---------- Interaktive Fabrik ---------- */
.fabrik { background: #fff; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); padding: 80px 0; }
.fabrik .s-kopf { margin-bottom: 40px; }
.fabrik-grid { display: grid; grid-template-columns: 1.55fr .95fr; gap: 44px; align-items: center; }
.fabrik-svg-wrap svg { width: 100%; height: auto; display: block; }

.hotspot { cursor: pointer; }
.hotspot .kern { fill: var(--blau); stroke: #fff; stroke-width: 2.5; transition: .2s; }
.hotspot .plus { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; fill: none; pointer-events: none; }
.hotspot .puls { fill: var(--blau); opacity: .4; transform-box: fill-box; transform-origin: center; animation: fpuls 2.2s ease-out infinite; pointer-events: none; }
@keyframes fpuls { 0% { transform: scale(1); opacity: .4; } 70%, 100% { transform: scale(2.2); opacity: 0; } }
.hotspot:hover .kern { fill: var(--blau-dunkel); }
.hotspot.aktiv .kern { fill: var(--anthrazit); }
.hotspot.aktiv .puls { opacity: 0; animation: none; }

.fabrik-panel {
  background: var(--fond); border-radius: var(--radius); padding: 34px 32px;
  border: 1px solid var(--linie);
}
.fabrik-panel .kicker { display: inline-block; background: var(--blau-zart); color: var(--blau); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 16px; }
.fabrik-panel h3 { font-size: 21px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; margin-bottom: 12px; }
.fabrik-panel p { font-size: 14.5px; color: var(--grau); margin-bottom: 22px; min-height: 92px; }
.fabrik-panel .inhalt { transition: opacity .18s; }
.fabrik-panel .inhalt.wechsel { opacity: 0; }
.fabrik-tipp { font-size: 12.5px; color: var(--grau); margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.fabrik-tipp svg { color: var(--blau); flex-shrink: 0; }

.fabrik-liste { display: none; }
.fl-item {
  background: var(--fond); border: 1px solid var(--linie); border-radius: 10px;
  padding: 16px 18px; display: flex; gap: 14px; align-items: center; transition: .18s;
}
.fl-item:hover { border-color: var(--blau); }
.fl-item .fl-punkt { width: 30px; height: 30px; border-radius: 50%; background: var(--blau); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 800; font-size: 15px; }
.fl-item .fl-text { flex: 1; }
.fl-item b { display: block; font-size: 14.5px; line-height: 1.3; }
.fl-item span { font-size: 12.5px; color: var(--grau); }
.fl-item svg { color: var(--blau); flex-shrink: 0; }

@media (max-width: 1000px) {
  .fabrik-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .fabrik { padding: 56px 0; }
  .fabrik-svg-wrap, .fabrik-panel { display: none; }
  .fabrik-liste { display: flex; flex-direction: column; gap: 12px; }
}

/* Vertrauen / Klammer */
.klammer { background: var(--anthrazit); color: #fff; padding: 80px 0; }
.klammer .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.klammer h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; margin-bottom: 18px; }
.klammer h2 em { font-style: normal; color: #6db5e8; }
.klammer p { color: #aeb8bd; font-size: 15.5px; }
.klammer .mini-zahlen { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.klammer .mz { border-left: 3px solid var(--blau); padding-left: 18px; }
.klammer .mz b { font-size: 30px; font-weight: 800; display: block; line-height: 1.1; }
.klammer .mz span { font-size: 12.5px; color: #aeb8bd; }

/* Wie wir arbeiten strip */
.arbeitsweise { padding: 90px 0; }
.s-kopf { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.s-kopf .eyebrow { display: inline-block; background: var(--blau-zart); color: var(--blau); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 7px 16px; border-radius: 100px; margin-bottom: 18px; }
.s-kopf h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.018em; line-height: 1.15; margin-bottom: 14px; }
.s-kopf p { color: var(--grau); font-size: 16px; }
.ablauf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ablauf .schritt { background: var(--karte); border-radius: var(--radius); padding: 34px 30px; box-shadow: 0 2px 10px rgba(34,40,43,.05); position: relative; }
.ablauf .schritt .nr {
  width: 44px; height: 44px; border-radius: 50%; background: var(--blau); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; margin-bottom: 20px;
}
.ablauf .schritt h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 10px; }
.ablauf .schritt p { font-size: 14px; color: var(--grau); }

/* Kontakt-Streifen */
.kontakt-streifen { padding: 0 0 90px; }
.ks-karte {
  background: linear-gradient(120deg, var(--blau) 0%, var(--blau-dunkel) 100%);
  border-radius: var(--radius); color: #fff; padding: 56px 60px;
  display: flex; align-items: center; gap: 50px; flex-wrap: wrap;
  box-shadow: 0 24px 60px rgba(0,105,179,.28);
}
.ks-karte .text { flex: 1; min-width: 280px; }
.ks-karte h2 { font-size: clamp(24px, 3vw, 33px); font-weight: 800; letter-spacing: -.015em; line-height: 1.2; margin-bottom: 12px; }
.ks-karte p { opacity: .88; font-size: 15.5px; max-width: 52ch; }
.ks-karte .btn { background: #fff; color: var(--blau); padding: 17px 36px; font-size: 15px; }
.ks-karte .btn:hover { background: var(--blau-zart); }

/* ---------- Footer ---------- */
footer.site { background: #fff; border-top: 1px solid var(--linie); padding: 54px 0 32px; font-size: 13.5px; color: var(--grau); }
.fuss-grid { display: flex; justify-content: space-between; gap: 44px; flex-wrap: wrap; margin-bottom: 40px; }
.fuss-grid img { height: 28px; width: auto; margin-bottom: 14px; }
.fuss-grid h4 { color: var(--anthrazit); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.fuss-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fuss-grid a:hover { color: var(--blau); }
.fuss-unten { border-top: 1px solid var(--linie); padding-top: 24px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 12.5px; }
.fuss-unten a { margin-left: 20px; }
.fuss-unten a:hover { color: var(--blau); }

/* ---------- Problem-Detailseite ---------- */
.p-hero { background: var(--anthrazit); color: #fff; position: relative; overflow: hidden; }
.p-hero .bild { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .25; }
.p-hero .verlauf { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(34,40,43,.96) 30%, rgba(34,40,43,.6)); }
.p-hero .wrap { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.p-hero .zurueck { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #aeb8bd; margin-bottom: 30px; transition: .18s; }
.p-hero .zurueck:hover { color: #fff; }
.p-hero .eyebrow { display: inline-block; background: rgba(0,105,179,.25); border: 1px solid rgba(109,181,232,.4); color: #6db5e8; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 7px 16px; border-radius: 100px; margin-bottom: 22px; }
.p-hero h1 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; max-width: 20ch; margin-bottom: 20px; }
.p-hero p.lead { font-size: 17px; color: #c4cdd2; max-width: 56ch; }

/* Symptom-Check */
.check { padding: 80px 0 30px; }
.check-karte { background: var(--karte); border-radius: var(--radius); padding: 44px 48px; box-shadow: 0 2px 10px rgba(34,40,43,.05); max-width: 880px; margin: 0 auto; }
.check-karte h2 { font-size: 21px; font-weight: 700; margin-bottom: 24px; }
.check-karte ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; }
.check-karte li { display: flex; gap: 13px; font-size: 14.5px; align-items: flex-start; }
.check-karte li svg { flex-shrink: 0; color: var(--blau); margin-top: 3px; }
.check-karte .fazit { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--linie); font-size: 14.5px; color: var(--grau); }
.check-karte .fazit b { color: var(--anthrazit); }

/* Transformation Stepper */
.story { padding: 70px 0; }
.story-fluss { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 26px; position: relative; counter-reset: phase; }
.story-stufe { background: var(--karte); border-radius: var(--radius); padding: 36px 32px; box-shadow: 0 2px 10px rgba(34,40,43,.05); position: relative; }
.story-stufe .tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 18px; }
.story-stufe:nth-child(1) .tag { background: #fdeeee; color: #b3494e; }
.story-stufe:nth-child(2) .tag { background: var(--blau-zart); color: var(--blau); }
.story-stufe:nth-child(3) .tag { background: #e7f5ec; color: #1d7a42; }
.story-stufe h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.story-stufe p, .story-stufe li { font-size: 14px; color: var(--grau); }
.story-stufe ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.story-stufe li { padding-left: 20px; position: relative; }
.story-stufe li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--blau); opacity: .55; }
.story-stufe .kpi { margin-top: 16px; background: var(--fond); border-radius: 8px; padding: 14px 18px; }
.story-stufe .kpi b { font-size: 22px; font-weight: 800; color: var(--blau); display: block; line-height: 1.15; }
.story-stufe .kpi span { font-size: 12px; color: var(--grau); }

/* Leistungen zum Problem */
.l-zum-problem { padding: 30px 0 80px; }
.l-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 860px; margin: 0 auto; }
.l-chips a {
  background: var(--karte); border: 1.5px solid var(--linie); border-radius: 100px;
  padding: 12px 24px; font-size: 14px; font-weight: 600; transition: .18s;
}
.l-chips a:hover { border-color: var(--blau); color: var(--blau); background: var(--blau-zart); }

/* Ansprechpartner-Block */
.ansprech { padding: 0 0 90px; }
.an-karte {
  background: var(--karte); border-radius: var(--radius); box-shadow: 0 2px 10px rgba(34,40,43,.05);
  display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; max-width: 980px; margin: 0 auto;
}
.an-links { background: var(--anthrazit); color: #fff; padding: 44px 42px; display: flex; flex-direction: column; justify-content: center; }
.an-links .avatar { width: 74px; height: 74px; border-radius: 50%; background: var(--blau); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; margin-bottom: 20px; }
.an-links b { font-size: 18px; display: block; }
.an-links .rolle { font-size: 13px; color: #6db5e8; font-weight: 600; margin-bottom: 14px; display: block; }
.an-links p { font-size: 13.5px; color: #aeb8bd; }
.an-rechts { padding: 44px 42px; }
.an-rechts h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.an-rechts > p { font-size: 14px; color: var(--grau); margin-bottom: 24px; }
.f-feld { margin-bottom: 16px; }
.f-feld label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; }
.f-feld input, .f-feld textarea, .f-feld select {
  width: 100%; font-family: var(--font); font-size: 14.5px; color: var(--anthrazit);
  border: 1.5px solid var(--linie); border-radius: 8px; padding: 12px 14px; background: var(--fond); transition: .15s;
}
.f-feld input:focus, .f-feld textarea:focus, .f-feld select:focus { outline: none; border-color: var(--blau); background: #fff; box-shadow: 0 0 0 3px rgba(0,105,179,.1); }
.f-zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-hinweis { font-size: 11.5px; color: var(--grau); margin: 12px 0 18px; }
.f-erfolg { display: none; background: #e7f5ec; border: 1px solid #bfe3cc; color: #1d6e3a; border-radius: 8px; padding: 16px 20px; font-size: 14px; font-weight: 500; margin-top: 16px; }

/* Andere Probleme */
.andere { padding: 0 0 90px; }
.andere .prob-grid { grid-template-columns: 1fr 1fr; max-width: 880px; margin: 0 auto; }

/* Klickdummy-Hinweis */
.dummy-hinweis {
  position: fixed; bottom: 18px; left: 18px; z-index: 200;
  background: var(--anthrazit); color: #fff; font-size: 11.5px; letter-spacing: .03em;
  padding: 8px 14px; border-radius: 100px; opacity: .85; pointer-events: none;
}

/* ---------- Mobile ---------- */
@media (max-width: 1000px) {
  .prob-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .klammer .wrap { grid-template-columns: 1fr; gap: 40px; }
  .ablauf { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .story-fluss { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .an-karte { grid-template-columns: 1fr; }
  .andere .prob-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav { height: 64px; }
  .nav ul {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 4px; padding: 14px 24px 20px;
    border-bottom: 1px solid var(--linie); box-shadow: 0 18px 30px rgba(34,40,43,.08);
    align-items: stretch;
  }
  .nav ul.offen { display: flex; }
  .nav ul a { display: block; padding: 12px 16px; font-size: 15px; }
  .nav .cta { display: none; }
  .burger { display: block; }
  .nav.menue-offen .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.menue-offen .burger span:nth-child(2) { opacity: 0; }
  .nav.menue-offen .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 50px 0 26px; }
  .probleme { padding: 30px 0 60px; }
  .check-karte { padding: 30px 26px; }
  .check-karte ul { grid-template-columns: 1fr; }
  .ks-karte { padding: 38px 30px; }
  .an-links, .an-rechts { padding: 32px 28px; }
  .f-zeile { grid-template-columns: 1fr; }
  .p-hero .wrap { padding-top: 56px; padding-bottom: 56px; }
  .arbeitsweise { padding: 60px 0; }
  .dummy-hinweis { display: none; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .klammer .mini-zahlen { grid-template-columns: 1fr; }
}
