/*
Theme Name: CCO Onepager v3
Description: One-pager for joergdenniskrueger.de / .com. Variable fonts: Space Grotesk + Inter. Palette: ink, warm white, signal red.
Author: JDKRUEGER GmbH
Version: 3.0.0
Text Domain: cco-onepager
*/

:root{
  --ink:#0a0b0f;
  --charcoal:#14161d;
  --charcoal-border:#1e2029;
  --warm:#f4f2ed;
  --cream:#eae7e0;
  --cream-border:#ddd9d0;
  --red:#e63946;
  --rust:#c1121f;
  --ash:#8a8e96;
  --stone:#5c5f66;
  --white:#ffffff;
}

@font-face{
  font-family:'Space Grotesk';
  src:url('assets/fonts/space-grotesk-var.woff2') format('woff2');
  font-weight:300 700;
  font-display:swap;
}
@font-face{
  font-family:'Inter';
  src:url('assets/fonts/inter-var.woff2') format('woff2');
  font-weight:100 900;
  font-display:swap;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,sans-serif;font-size:1rem;line-height:1.6;color:var(--stone);background:var(--warm)}
img,video{max-width:100%;height:auto;display:block}
a{color:inherit}

h1,h2,h3{font-family:'Space Grotesk',sans-serif;font-weight:700;line-height:1.1;letter-spacing:-0.02em;color:var(--ink)}
.is-dark h1,.is-dark h2,.is-dark h3{color:var(--white)}
h1{font-size:clamp(2.6rem,6vw,4.2rem)}
h2{font-size:clamp(1.6rem,3.4vw,2.4rem);margin-bottom:1.2rem}
h3{font-size:1.15rem;margin-bottom:.5rem}

.section{padding:clamp(4rem,8vw,7rem) 1.4rem}
.wrap{max-width:1100px;margin:0 auto}

.is-dark{background:var(--ink);color:var(--white)}
.is-dark p{color:var(--ash)}
.is-light{background:var(--warm);color:var(--stone)}
.is-light p{color:var(--stone)}

.eyebrow{display:inline-block;font-family:'Inter',sans-serif;font-size:.72rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--red);margin-bottom:1rem}
.accent{color:var(--red)}

.btn{display:inline-block;font-family:'Inter',sans-serif;font-weight:600;text-decoration:none;border-radius:2px;padding:1rem 2.2rem;font-size:1rem;background:var(--red);color:var(--white);transition:background .15s ease}
.btn:hover{background:var(--rust)}
.cta-note{font-size:.84rem;margin-top:.7rem;color:var(--ash)}
.is-light .cta-note{color:var(--stone)}
.cta-note-inline{font-size:.84rem;color:var(--ash);margin-left:1rem}
.is-light .cta-note-inline{color:var(--stone)}

/* hero */
.hero{padding-top:clamp(3.5rem,7vw,6rem)}
.hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,4vw,4rem);align-items:center}
.hero-text{max-width:36rem}
.hero-sub{margin:1.4rem 0 1.8rem;font-size:1.1rem;line-height:1.55;color:var(--ash);max-width:32em}
.hero-portrait{border-radius:4px;width:100%}
.statline{display:grid;grid-template-columns:repeat(3,auto);justify-content:start;gap:clamp(1.4rem,3vw,2.8rem);margin:1.8rem 0 2.2rem}
.stat b{display:block;font-family:'Space Grotesk',sans-serif;font-size:clamp(1.5rem,2.4vw,2rem);color:var(--white);line-height:1.05;font-weight:700;white-space:nowrap}
.stat span{font-size:.8rem;color:var(--ash);text-transform:uppercase;letter-spacing:.06em}
.badge{display:inline-block;background:var(--red);color:var(--white);border-radius:99px;padding:.35rem 1.1rem;font-size:.8rem;font-weight:600;margin-top:1.4rem}

/* video */
.video-section{padding-top:1rem}
.video-wrap{max-width:360px;margin:1.4rem auto 0}
.video-wrap video{width:100%;border-radius:4px;border:1px solid var(--charcoal-border)}
.video-caption{text-align:center;font-size:.9rem;margin-bottom:.4rem;color:var(--ash)}
.is-light .video-caption{color:var(--stone)}

/* problem / situations */
.problem-lead{max-width:44em;font-size:1.05rem;margin-bottom:2.5rem}
.situations{display:grid;grid-template-columns:repeat(2,1fr);gap:1.2rem 2rem;margin-top:2rem}
.situation{background:var(--cream);border:1px solid var(--cream-border);border-radius:2px;padding:1.5rem}
.situation h3{font-size:1.05rem;margin-bottom:.4rem;color:var(--ink)}
.situation p{font-size:.92rem;line-height:1.5;color:var(--stone)}
.problem-cta{margin-top:2.5rem}

/* results */
.cases{display:grid;grid-template-columns:1fr 1fr;gap:1.8rem;margin-top:2rem}
.case-img{border-radius:2px;margin-bottom:1.2rem;width:100%;aspect-ratio:16/10;object-fit:cover}
.case b{font-family:'Space Grotesk',sans-serif;font-size:1.15rem;display:block;margin-bottom:.5rem;color:var(--white)}
.case p{font-size:.95rem;line-height:1.55;color:var(--ash)}
.logoline{margin-top:3.5rem;padding-top:2rem;border-top:1px solid var(--charcoal-border);text-align:center}
.logoline .label{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ash);margin-bottom:1rem}
.logoline .names{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem 1.8rem;font-family:'Space Grotesk',sans-serif;font-size:1.05rem;color:var(--ash)}
.logoline small{display:block;margin-top:1rem;font-size:.75rem;color:var(--ash);max-width:56em;margin-left:auto;margin-right:auto;line-height:1.5}
.results-cta{margin-top:2.5rem}

/* packages */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;margin-top:2rem}
.card{background:var(--charcoal);border:1px solid var(--charcoal-border);border-radius:2px;padding:1.8rem 1.5rem;position:relative}
.card h3{color:var(--white);font-size:1.1rem;margin-bottom:.6rem}
.card p{font-size:.92rem;line-height:1.5;color:var(--ash)}
.card.recommended{border-left:3px solid var(--red)}
.card .flag{position:absolute;top:0;right:0;background:var(--red);color:var(--white);font-size:.65rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:.2rem .7rem;border-radius:0 0 0 2px}
.packages-note{margin-top:2rem;max-width:52em;font-size:.95rem;color:var(--ash)}
.packages-cta{margin-top:2rem}

/* about */
.about .wrap{display:grid;grid-template-columns:.85fr 1.15fr;gap:3.5rem;align-items:center}
.about-visuals{display:grid;gap:1.2rem}
.about-photo{border-radius:2px}
.award-row{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.award-row img{height:72px;width:auto;border-radius:2px}
.about-text p{font-size:1.05rem;line-height:1.6}

/* steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;margin-top:2rem;counter-reset:step}
.step{position:relative;padding:1.8rem 1.5rem;border:1px solid var(--charcoal-border);border-radius:2px;background:var(--charcoal)}
.step::before{counter-increment:step;content:counter(step);font-family:'Space Grotesk',sans-serif;font-size:2rem;color:var(--red);display:block;margin-bottom:.6rem;font-weight:700}
.step h3{color:var(--white);font-size:1.05rem;margin-bottom:.4rem}
.step p{font-size:.92rem;line-height:1.5;color:var(--ash)}

/* faq */
.faq{max-width:780px;margin:2rem auto 0}
.faq details{border-bottom:1px solid var(--cream-border);padding:1rem 0}
.faq summary{font-weight:600;cursor:pointer;list-style:none;position:relative;padding-right:2rem;color:var(--ink)}
.faq summary::after{content:"+";position:absolute;right:0;top:.05rem;color:var(--red);font-size:1.2rem;font-weight:700}
.faq details[open] summary::after{content:"-"}
.faq p{margin-top:.7rem;font-size:.95rem;line-height:1.55}

/* final cta */
.final{text-align:center}
.final p{max-width:44em;margin:1.2rem auto 2rem;font-size:1.05rem}

/* footer */
.site-footer{background:var(--ink);color:var(--ash);font-size:.8rem;padding:2.5rem 1.4rem;border-top:1px solid var(--charcoal-border)}
.site-footer .wrap{display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;align-items:center}
.site-footer a{color:var(--ash);text-decoration:none;margin-left:1.2rem}
.site-footer a:hover{color:var(--red)}
.footnote{max-width:1100px;margin:0 auto 1.6rem;color:var(--ash);font-size:.75rem;line-height:1.5}

/* legal pages */
.legal{max-width:760px;margin:0 auto;padding:3.5rem 1.4rem}
.legal h1{font-size:2.2rem;margin-bottom:1.5rem}
.legal h2{font-size:1.3rem;margin:1.8rem 0 .6rem}
.legal p{margin-bottom:.9rem;color:var(--stone)}
.legal a.back{display:inline-block;margin-bottom:2rem;color:var(--red);text-decoration:none;font-weight:600}

/* responsive */
@media(max-width:860px){
  .hero .wrap{grid-template-columns:1fr}
  .hero-visual{order:-1;max-width:320px;margin:0 auto 2rem}
  .hero-portrait{width:100%}
  .about .wrap{grid-template-columns:1fr}
  .about-visuals{order:1;margin-top:2rem}
  .cards,.steps,.situations{grid-template-columns:1fr}
  .cases{grid-template-columns:1fr}
  .statline{grid-template-columns:repeat(3,auto);gap:1.2rem}
  .stat b{font-size:1.6rem}
}

@media(max-width:390px){
  body{font-size:.95rem}
  h1{font-size:2.2rem}
  h2{font-size:1.4rem}
  .section{padding:3rem 1rem}
  .btn{padding:.9rem 1.6rem;font-size:.95rem}
  .award-row img{height:56px}
  .video-wrap{max-width:280px}
}
