/* =========================================================
   comoco – Design System
   Markenfarben aus dem Original-Logo (210119-Logo-comoco)
   ========================================================= */
:root{
  --c-primary:#007898;        /* Petrol – Wortmarke / Headlines */
  --c-primary-dark:#005E78;   /* Hover / dunkle Flächen */
  --c-primary-deep:#08303B;   /* sehr dunkler Footer/Kontrast */
  --c-blue-mid:#4890B0;
  --c-blue-light:#78A8C0;
  --c-blue-pale:#A0C0D8;
  --c-accent:#E96C2D;         /* Orange – CTA */
  --c-accent-dark:#CE5A1E;
  --c-green:#73BE3F;
  --c-yellow:#ECE000;
  --c-grey:#A9ABAE;
  --c-ink:#1F1F1F;
  --c-muted:#5A6B72;
  --c-bg:#ffffff;
  --c-bg-alt:#F2F6F8;
  --c-line:#DCE5E9;

  --maxw:1140px;
  --radius:14px;
  --shadow:0 14px 40px -18px rgba(8,48,59,.35);
  --font:'Segoe UI',-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{
  font-family:var(--font);
  color:var(--c-ink);
  background:var(--c-bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--c-primary);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{line-height:1.18;font-weight:700;color:var(--c-primary-deep)}
h2{font-size:clamp(1.7rem,3.2vw,2.5rem)}
h3{font-size:1.15rem}
p{color:var(--c-ink)}

.container{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:clamp(1.1rem,4vw,2rem)}

/* Markenmotiv „//“ */
.slash{color:var(--c-accent);font-weight:800;letter-spacing:-.04em}

.eyebrow{
  text-transform:uppercase;letter-spacing:.16em;font-size:.78rem;
  font-weight:700;color:var(--c-muted);margin-bottom:.7rem
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:.5rem;font-weight:700;font-size:1rem;line-height:1;
  padding:.95rem 1.6rem;border-radius:999px;border:2px solid transparent;
  cursor:pointer;transition:transform .15s ease,background .15s ease,color .15s ease;
  text-decoration:none
}
.btn:hover{text-decoration:none;transform:translateY(-2px)}
.btn--primary{background:var(--c-primary);color:#fff}
.btn--primary:hover{background:var(--c-primary-dark);color:#fff}
.btn--accent{background:var(--c-accent);color:#fff}
.btn--accent:hover{background:var(--c-accent-dark);color:#fff}
.btn--ghost{background:transparent;border-color:var(--c-primary);color:var(--c-primary)}
.btn--ghost:hover{background:var(--c-primary);color:#fff}
.btn--lg{padding:1.05rem 2rem;font-size:1.05rem}
.btn--sm{padding:.6rem 1.1rem;font-size:.92rem}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);
  backdrop-filter:saturate(140%) blur(8px);border-bottom:1px solid var(--c-line)
}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;min-height:72px}
.brand__logo{height:46px;width:auto}
.nav{display:flex;align-items:center}
.nav__menu{list-style:none;display:flex;align-items:center;gap:1.6rem}
.nav__menu a{color:var(--c-primary-deep);font-weight:600;font-size:.98rem}
.nav__menu a.btn{color:#fff}
.nav__menu a.btn--primary:hover{color:#fff}
.nav__toggle{display:none;background:none;border:0;width:42px;height:42px;cursor:pointer}
.nav__toggle span{display:block;height:3px;width:24px;margin:4px auto;background:var(--c-primary-deep);border-radius:2px;transition:.25s}

/* ---------- Sections ---------- */
.section{padding:clamp(3.5rem,8vw,6rem) 0}
.section--alt{background:var(--c-bg-alt)}
.section__head{max-width:720px;margin:0 auto clamp(2rem,5vw,3rem);text-align:center}
.section__sub{color:var(--c-muted);margin-top:.6rem;font-size:1.05rem}

/* ---------- Hero ---------- */
.hero{
  position:relative;overflow:hidden;color:#fff;
  background:linear-gradient(135deg,var(--c-primary) 0%,var(--c-primary-dark) 55%,var(--c-primary-deep) 100%);
  padding:clamp(4rem,11vw,8rem) 0
}
.hero::after{ /* Pfeil-/„//“-Markenmotiv als dezente Grafik */
  content:"//";position:absolute;right:-1.5rem;bottom:-3rem;
  font-size:clamp(10rem,30vw,26rem);font-weight:800;color:rgba(255,255,255,.06);
  line-height:1;pointer-events:none
}
.hero__inner{position:relative;z-index:1;max-width:820px}
.hero .eyebrow{color:var(--c-blue-pale)}
.hero__title{color:#fff;font-size:clamp(2rem,5vw,3.4rem)}
.hero__claim{font-size:clamp(1.2rem,2.6vw,1.7rem);font-weight:700;margin:1rem 0 1.2rem}
.hero__claim .slash{color:var(--c-accent)}
.hero__lead{color:rgba(255,255,255,.9);font-size:1.1rem;max-width:620px}
.hero__cta{display:flex;flex-wrap:wrap;gap:1rem;margin-top:2rem}
.hero .btn--ghost{border-color:rgba(255,255,255,.7);color:#fff}
.hero .btn--ghost:hover{background:#fff;color:var(--c-primary)}

/* ---------- Grid / Cards ---------- */
.grid{display:grid;gap:1.4rem}
.grid--3{grid-template-columns:1fr}
.card{
  background:#fff;border:1px solid var(--c-line);border-radius:var(--radius);
  padding:1.7rem 1.5rem;transition:transform .18s ease,box-shadow .18s ease
}
.card::before{content:"//";color:var(--c-accent);font-weight:800;display:block;margin-bottom:.5rem}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.card h3{margin-bottom:.5rem}
.card p{color:var(--c-muted)}

/* ---------- Cases ---------- */
.cases .case{
  display:flex;flex-direction:column;
  background:#fff;border:1px solid var(--c-line);border-radius:var(--radius);
  padding:1.8rem 1.6rem
}
.section--alt .cases .case{background:#fff}
.case__tag{font-size:.75rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--c-accent);margin-bottom:.6rem}
.case__ausgangslage{margin:.2rem 0 .9rem}
.case__ausgangslage strong{color:var(--c-primary-deep)}
.case__wirkung{margin:1rem 0 .15rem;font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--c-accent)}
.case h3{margin-bottom:.6rem;color:var(--c-primary-deep)}
.case p{color:var(--c-muted)}
.case--feature{border-top:3px solid var(--c-accent)}
.note{color:var(--c-muted);font-size:.92rem;margin-top:1.4rem;text-align:center}

/* Weitere Mandate – leichte Liste, klar unter den Key Cases */
.more-cases{max-width:760px;margin:2.6rem auto 0}
.more-cases__head{font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--c-muted);text-align:center;margin-bottom:.4rem}
.more-list{list-style:none;margin:0;padding:0}
.more-item{padding:.95rem 0;border-top:1px solid var(--c-line)}
.more-item:first-child{border-top:0}
.more-item__title{position:relative;padding-left:1.7rem;font-weight:700;color:var(--c-primary-deep);margin:0}
.more-item__title::before{content:"//";position:absolute;left:0;color:var(--c-accent);font-weight:800}
.more-item__text{color:var(--c-muted);font-size:.95rem;margin:.25rem 0 0;padding-left:1.7rem}
.more-cases__foot{color:var(--c-muted);font-size:.85rem;text-align:center;margin-top:1.2rem}

/* ---------- Split layout ---------- */
.split{display:grid;gap:2.4rem;align-items:center}
.split__body h2{margin-bottom:1rem}
.split__body p+p{margin-top:1rem}
.portrait{border-radius:var(--radius);box-shadow:var(--shadow);width:100%;object-fit:cover}
.quote{font-size:1.25rem;font-weight:700;color:var(--c-primary);margin-bottom:1rem}
.ticks{list-style:none;margin:1.2rem 0}
.ticks li{position:relative;padding-left:1.7rem;margin:.5rem 0;color:var(--c-ink)}
.ticks li::before{content:"//";position:absolute;left:0;color:var(--c-accent);font-weight:800}

.badge-stack{
  background:linear-gradient(135deg,var(--c-primary),var(--c-primary-deep));
  border-radius:var(--radius);padding:3rem 2rem;text-align:center;color:#fff;
  display:flex;flex-direction:column;gap:1rem;align-items:center;min-height:240px;justify-content:center
}
.badge{
  display:inline-block;background:var(--c-accent);color:#fff;font-weight:700;
  font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;
  padding:.45rem 1rem;border-radius:999px
}
.logo-word{font-size:2rem;font-weight:300;color:#fff}
.logo-word strong{font-weight:800;color:var(--c-blue-pale)}

/* facts */
.facts{margin-top:1.8rem;gap:1rem}
.facts div{background:#fff;border:1px solid var(--c-line);border-radius:12px;padding:1rem;text-align:center}
.facts strong{display:block;font-size:1.3rem;color:var(--c-primary)}
.facts span{font-size:.85rem;color:var(--c-muted)}

/* ---------- Accent section (Hotellerie) ---------- */
.section--accent{
  background:linear-gradient(135deg,var(--c-primary-deep),var(--c-primary-dark));color:#fff
}
.section--accent h2,.section--accent .section__head{color:#fff}
.section--accent .eyebrow{color:var(--c-blue-pale)}
.lead-center{max-width:760px;margin:0 auto;text-align:center;font-size:1.15rem;color:rgba(255,255,255,.92)}
.lead-center strong{color:#fff}
.cta-center{text-align:center;margin-top:2rem}

/* ---------- Kontakt / Form ---------- */
.section--contact{background:var(--c-bg-alt)}
.form{background:#fff;border:1px solid var(--c-line);border-radius:var(--radius);padding:1.8rem}
.form__row{margin-bottom:1.1rem;display:flex;flex-direction:column;gap:.4rem}
.form__row label{font-weight:600;font-size:.95rem;color:var(--c-primary-deep)}
.form input,.form textarea{
  font:inherit;padding:.8rem .9rem;border:1px solid var(--c-line);
  border-radius:10px;background:#fbfdfe;color:var(--c-ink)
}
.form input:focus,.form textarea:focus{outline:2px solid var(--c-primary);border-color:var(--c-primary)}
.form__row--check{flex-direction:row;align-items:flex-start;gap:.6rem}
.form__row--check input{margin-top:.25rem}
.form__row--check label{font-weight:400;font-size:.9rem;color:var(--c-muted)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-status{border-radius:10px;padding:.9rem 1.1rem;margin-bottom:1.2rem;font-weight:600}
.form-status--ok{background:#e7f4ec;color:#1f6b3a;border:1px solid #b6dcc4}
.form-status--error{background:#fdeceA;color:#9a3417;border:1px solid #f3c7b8}
.contact-direct h3{color:var(--c-primary);margin-bottom:.8rem}
.contact-direct p+p{margin-top:1.1rem}
.contact-direct{color:var(--c-muted)}

/* ---------- Footer ---------- */
.site-footer{background:var(--c-primary-deep);color:rgba(255,255,255,.8);padding:2.4rem 0}
.site-footer__inner{display:flex;flex-wrap:wrap;gap:1rem 2rem;align-items:center;justify-content:space-between}
.site-footer__brand{color:#fff;font-weight:700}
.site-footer nav{display:flex;gap:1.4rem;flex-wrap:wrap}
.site-footer a,.site-footer .linklike{color:rgba(255,255,255,.82);font-size:.92rem}
.site-footer a:hover,.site-footer .linklike:hover{color:#fff}
.linklike{background:none;border:0;cursor:pointer;font:inherit;text-decoration:underline}
.site-footer__copy{font-size:.85rem;width:100%;border-top:1px solid rgba(255,255,255,.12);padding-top:1rem;margin-top:.4rem}

/* ---------- Consent banner ---------- */
.consent{position:fixed;left:0;right:0;bottom:0;z-index:100;background:var(--c-primary-deep);color:#fff;box-shadow:0 -10px 30px rgba(0,0,0,.25)}
.consent[hidden]{display:none}
.consent__inner{max-width:var(--maxw);margin-inline:auto;padding:1.2rem clamp(1.1rem,4vw,2rem);display:flex;flex-wrap:wrap;gap:1rem 2rem;align-items:center;justify-content:space-between}
.consent__text{font-size:.92rem;color:rgba(255,255,255,.9);max-width:680px}
.consent__text a{color:var(--c-blue-pale)}
.consent__actions{display:flex;gap:.8rem;flex-wrap:wrap}
.consent .btn--ghost{border-color:rgba(255,255,255,.6);color:#fff}
.consent .btn--ghost:hover{background:#fff;color:var(--c-primary-deep)}

/* ---------- Legal pages ---------- */
.legal{max-width:780px;margin-inline:auto}
.legal h1{font-size:clamp(1.9rem,4vw,2.6rem);margin:.4rem 0 1.6rem}
.legal h2{font-size:1.2rem;color:var(--c-primary);margin:2rem 0 .6rem}
.legal p{color:var(--c-ink);margin-bottom:.6rem}
.legal .ticks li{color:var(--c-ink)}

/* ---------- Responsive ---------- */
@media (min-width:720px){
  .grid--3{grid-template-columns:repeat(2,1fr)}
  .split{grid-template-columns:1fr 1fr}
  .split--reverse .split__media{order:2}
}
@media (min-width:980px){
  .grid--3{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:860px){
  .nav__toggle{display:block}
  .nav__menu{
    position:absolute;top:72px;left:0;right:0;flex-direction:column;
    background:#fff;border-bottom:1px solid var(--c-line);
    padding:1.2rem clamp(1.1rem,4vw,2rem);gap:1rem;
    transform:translateY(-130%);transition:transform .28s ease;z-index:-1
  }
  .nav__menu.is-open{transform:translateY(0)}
  .nav__menu li{width:100%}
  .nav__menu a{display:block;padding:.4rem 0}
  .nav__menu a.btn{display:inline-flex}
}

/* ====== Repositionierung 2026-05: Hero-Split, Cut-out, Cases, Accent ====== */

/* Hero als 2-Spalten-Layout mit freigestelltem Foto */
.hero--split{padding-bottom:0}
.hero__grid{
  position:relative;z-index:1;display:grid;gap:1.5rem;
  grid-template-columns:1fr;align-items:end
}
.hero--split .hero__inner{max-width:680px;padding-bottom:clamp(2.5rem,7vw,4.5rem)}
.hero__media{display:flex;justify-content:center;align-items:flex-end}
.hero__photo{
  display:block;width:auto;max-height:340px;
  filter:drop-shadow(0 18px 34px rgba(0,0,0,.35))
}
@media (min-width:880px){
  .hero__grid{grid-template-columns:1.15fr .85fr;gap:1rem}
  .hero__photo{max-height:540px}
}

/* Use Cases: zwei Karten, Feature breiter */
.cases--two{grid-template-columns:1fr}
@media (min-width:820px){
  .cases--two{grid-template-columns:1fr 1fr;align-items:stretch}
}

/* Heller Text auf dunklem Accent-Block (Arbeitsweise) */
.section--accent .split__body,
.section--accent .split__body p,
.section--accent .ticks li{color:rgba(255,255,255,.92)}
.section--accent .split__body h2,
.section--accent .split__body strong{color:#fff}

/* ====== Sektionen 2026-05 (Feedback-Schärfung): Problem, Klartext, Stat-Zeile, helloRobert ====== */

/* Problem-Band: grau mit Orange-Kante */
.section--problem{background:var(--c-bg-alt);border-left:6px solid var(--c-accent)}
.section--problem .lead-center,
.section--problem .lead-center strong{color:var(--c-ink)}
.section--problem .ticks li{color:var(--c-ink)}

/* Klartext-Thesen auf dunklem Band */
.klartext .quote{color:#fff;border-left:3px solid var(--c-accent);padding-left:1rem;font-size:clamp(1.1rem,1.9vw,1.4rem);margin:0}
.klartext .grid{gap:1.8rem}

/* Use-Cases: dominante Zahlen-Bühne vor den Karten */
.stat-row{display:grid;grid-template-columns:repeat(2,1fr);gap:1.2rem;margin-bottom:clamp(2rem,5vw,3rem);text-align:center;border-block:1px solid var(--c-line);padding-block:1.6rem}
.stat-row .stat strong{display:block;font-size:clamp(2.2rem,6vw,3.6rem);font-weight:800;color:var(--c-primary);line-height:1}
.stat-row .stat span{display:block;color:var(--c-muted);font-size:.95rem;margin-top:.4rem}
@media (min-width:720px){.stat-row{grid-template-columns:repeat(4,1fr)}}

/* helloRobert – eigenes Markenband (Steel Blue / Lavender / Pink, kein Orange) */
.section--robert{background:linear-gradient(135deg,#F4F2F9,#EAF0F5)}
.section--robert .eyebrow{color:#7a6a93}
.section--robert .eyebrow .slash{color:#F05089}
.section--robert h2,
.section--robert .robert-claim{color:#5B7C99}
.section--robert .robert-claim{font-weight:700;font-size:clamp(1.2rem,2.4vw,1.7rem);margin:.4rem 0 0}
.section--robert .ticks li::before{color:#F05089}
.section--robert .robert-segments{color:#5B7C99;font-weight:600;margin-top:1rem}
.robert-logo{height:auto;max-height:64px;width:auto;margin:0 auto 1rem}
.btn--robert{background:#F05089;color:#fff;border-color:#F05089}
.btn--robert:hover{background:#d8407a;color:#fff}

/* Problem: Kosten-Chips (wirtschaftlicher Druck) */
.cost-tags{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;margin:1.6rem 0 .4rem}
.cost-tags span{background:#fff;border:1px solid var(--c-line);border-left:3px solid var(--c-accent);border-radius:8px;padding:.45rem .9rem;font-weight:600;font-size:.9rem;color:var(--c-primary-deep)}

/* 4er-Karten 2×2 (Problem, Klartext) */
.grid--2{grid-template-columns:1fr}
@media (min-width:720px){.grid--2{grid-template-columns:repeat(2,1fr)}}

/* „Was Sie davon haben" – Ergebnis-Karten mit Symbolen */
.outcomes{display:grid;grid-template-columns:1fr;gap:1.1rem;margin-top:clamp(1.8rem,4vw,2.6rem)}
@media (min-width:720px){.outcomes{grid-template-columns:repeat(4,1fr);align-items:start}}
.outcome{background:#fff;border:1px solid var(--c-line);border-radius:var(--radius);padding:1.4rem 1.1rem;text-align:center}
.outcome svg{width:32px;height:32px;stroke:var(--c-accent);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;margin-bottom:.6rem}
.outcome strong{display:block;color:var(--c-primary-deep);font-size:1.05rem}
.outcome span{display:block;color:var(--c-muted);font-size:.88rem;margin-top:.35rem;line-height:1.45}

/* === Foto-Sektionen (robust) ===
   Bild + Verlauf liegen als gelayerter background DIREKT auf dem Element.
   KEINE Pseudo-Element-Bilder und KEIN mask-image -> iOS/WebKit malt das
   sonst nicht. (Hero hat das schon immer so gemacht und funktioniert.) */

/* Gemeinsame Basis (Hero + Seiten-Bänder) */
.hero--scene,.section--photo{
  position:relative;color:#fff;background-color:var(--c-primary-deep);
  background-repeat:no-repeat;background-size:cover;background-position:center}
.section--photo{min-height:62vh}
.section--photo > .container{position:relative;z-index:1}
.section--photo h2,.section--photo strong,.section--photo .quote{color:#fff}
.section--photo .eyebrow{color:var(--c-blue-pale)}
.section--photo p,.section--photo .ticks li{color:rgba(255,255,255,.92)}
.section--photo .ticks li::before{color:var(--c-accent)}
.section--photo .facts div{background:rgba(255,255,255,.96)}
.section--photo .facts strong{color:var(--c-primary)}
.section--photo .facts span{color:var(--c-muted)}

/* Hero: Foto + Verlauf von unten, Text unten */
.hero--scene{overflow:hidden;display:flex;align-items:flex-end;min-height:92vh;
  background-position:center 30%;
  background-image:linear-gradient(to top,rgba(8,48,59,.95) 0%,rgba(8,48,59,.7) 28%,rgba(8,48,59,.5) 54%,rgba(8,48,59,.5) 100%),url('/assets/img/hero-smart.jpg');
  padding-top:clamp(3rem,8vw,5rem);padding-bottom:clamp(5rem,10vh,8rem)}
.hero--scene::before,.hero--scene::after{display:none}
.hero--scene > .container{position:relative;z-index:1;width:100%}
.hero--scene .hero__inner{max-width:760px}

/* Arbeitsweise: vollflächig, Text unten */
.section--photo--cover{display:flex;align-items:flex-end;min-height:74vh}
.section--photo--cover > .container{width:100%}
.section--photo--cover .section-photo__text{max-width:820px;margin:0}
#arbeitsweise{background-position:center 48%;
  background-image:linear-gradient(to top,rgba(8,48,59,.96) 0%,rgba(8,48,59,.6) 55%,rgba(8,48,59,.28) 100%),url('/assets/img/workshop.jpg?v=2')}

/* Über: vollflächig, Text rechts, Verlauf dunkel rechts */
.section--photo--left .section-photo__text{max-width:600px;margin-left:auto}
#ueber{background-position:left center;
  background-image:linear-gradient(270deg,rgba(8,48,59,.95) 0%,rgba(8,48,59,.92) 46%,rgba(8,48,59,.5) 72%,rgba(8,48,59,.1) 100%),url('/assets/img/ronny-ansatz.jpg')}

/* Mobil: Verlauf vertikal, Text volle Breite */
@media (max-width:880px){
  .hero--scene{min-height:80vh;background-position:center 16%}
  .section--photo{min-height:0}
  .section--photo .section-photo__text{max-width:none;margin:0}
  #arbeitsweise{background-position:center 42%;
    background-image:linear-gradient(180deg,rgba(8,48,59,.5),rgba(8,48,59,.9)),url('/assets/img/workshop.jpg?v=2')}
  #ueber{background-position:center 18%;
    background-image:linear-gradient(180deg,rgba(8,48,59,.42),rgba(8,48,59,.78) 30%,rgba(8,48,59,.92)),url('/assets/img/ronny-ansatz.jpg')}
}

/* Use-Cases: Zahlen in den Ergebnislisten hervorheben */
.cases .ticks strong{color:var(--c-primary)}

/* ---------- Back-to-Top ---------- */
.to-top{position:fixed;right:clamp(1rem,3vw,1.6rem);bottom:clamp(1rem,3vw,1.6rem);z-index:90;
  width:46px;height:46px;border:0;border-radius:999px;cursor:pointer;background:var(--c-primary);color:#fff;
  display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px -8px rgba(8,48,59,.5);
  opacity:0;visibility:hidden;transform:translateY(12px);
  transition:opacity .25s ease,transform .25s ease,background .2s ease}
.to-top.is-visible{opacity:1;visibility:visible;transform:none}
.to-top:hover{background:var(--c-primary-dark)}
.to-top:focus-visible{outline:3px solid var(--c-accent);outline-offset:2px}
.to-top svg{width:22px;height:22px}
@media (prefers-reduced-motion:reduce){.to-top{transition:none}}
