/* OptiApo GmbH – Nachbau der OnePage-Seite (Fonts: Albert Sans / Figtree, Navy #375686) */
:root{
  --navy:#375686;
  --ink:#191919;
  --grey:#f2f2f2;
  --white:#fff;
  --line:#dcdcdc;
  --head:'Albert Sans',-apple-system,system-ui,'Segoe UI',Roboto,sans-serif;
  --body:'Figtree',-apple-system,system-ui,'Segoe UI',Roboto,sans-serif;
  --wrap:1140px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--white);color:var(--ink);font:400 17px/1.5 var(--body);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4{font-family:var(--head);font-weight:600;line-height:1.3;letter-spacing:-.7px;margin:0}
p{margin:0}
a{color:inherit}
.skip{position:absolute;left:-999px;top:0}
.skip:focus{left:8px;top:8px;background:#fff;padding:8px;z-index:100}
.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:24px}
.center{text-align:center}
section{padding:48px 0}
.sec-xs{padding:24px 0}
.sec-m{padding:32px 0}
.sec-xl{padding:48px 0 40px}
.sec-xxl{padding:72px 0}

/* Logo */
.logo{display:block;margin:0 auto 22px;width:170px}
.logo img{width:100%}

/* Hero (Startseite) */
.hero h1{font-size:32px;max-width:900px;margin:0 auto}
.hero .kicker{font-style:italic;font-weight:500;margin-bottom:6px}
.hero u{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}
.hero .sub{max-width:860px;margin:18px auto 0}

/* Zwei Spalten: Karte + Bild */
.cols{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
.card{background:var(--white);border-radius:16px;box-shadow:0 2px 24px rgba(0,0,0,.08);padding:32px 30px}
.card h2{font-size:22px;margin-bottom:22px}
.checks{list-style:none;margin:0;padding:0}
.checks li{display:flex;gap:14px;align-items:flex-start;margin-bottom:18px;font-size:15px;line-height:1.5}
.checks li::before{content:"";flex:0 0 24px;height:24px;border-radius:4px;background:#191919 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7'/></svg>") center/16px no-repeat;margin-top:1px}
.btn{display:block;width:100%;background:var(--navy);color:#fff;text-decoration:none;font-weight:600;font-size:17px;line-height:1.3;text-align:center;border-radius:4px;padding:14px 24px;border:0;cursor:pointer;font-family:var(--body);transition:filter .15s}
.btn:hover{filter:brightness(1.1)}
.btn small{display:block;font-weight:400;font-size:13px;opacity:.9;margin-top:2px}
.btn.inline{display:inline-block;width:auto;min-width:520px;max-width:100%}
.next{text-align:center;margin-top:16px;font-size:14px;text-decoration:underline;text-underline-offset:3px}
figure{margin:0}
figure img{border-radius:4px;width:100%}
figcaption{text-align:center;font-size:15px;margin-top:14px}
.section-grey{background:var(--grey)}

/* Drei Vorteile */
.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;text-align:center}
.benefits img{width:112px;margin:0 auto 16px}
.benefits h3{font-size:22px;margin-bottom:8px}
.benefits p{font-size:15px}

/* Footer */
footer{background:var(--navy);color:#fff;padding:26px 0 30px;text-align:center;font-size:14px}
footer.light{background:transparent;color:var(--ink)}
footer .fnav{display:flex;justify-content:center;gap:22px;margin-bottom:18px}
footer .fnav a{text-decoration:underline;text-underline-offset:3px;font-weight:600}
footer .copy{font-weight:600;margin-bottom:14px}
footer .disc{max-width:760px;margin:0 auto}
footer .flogo{display:block;width:170px;margin:0 auto 18px}

/* Video-Seite */
.video-page h2{font-size:26px;margin-bottom:10px}
.video-page .narrow{max-width:900px;margin-inline:auto}
.video-page .hint{margin-bottom:28px}
.video-box{margin:0 auto 36px}
wistia-player[media-id='s6wws4xod8']:not(:defined){background:center/contain no-repeat url('https://fast.wistia.com/embed/medias/s6wws4xod8/swatch');display:block;filter:blur(5px);padding-top:56.25%}
.about{max-width:760px;margin:40px auto 0}
.about h2{font-size:26px;margin-bottom:24px}
.about img{border-radius:4px;margin-bottom:28px}
.about p{margin-bottom:18px}

/* Formular (Video anfordern) */
.form-page{max-width:560px;margin-inline:auto;padding-top:24px}
.form-page h1{font-size:24px;text-align:center;margin-bottom:34px}
.field{margin-bottom:22px}
.field label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}
.field input[type=text],.field input[type=email],.field input[type=tel]{width:100%;font:inherit;font-size:15px;padding:12px 14px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink)}
.field input:focus{outline:2px solid var(--navy);outline-offset:1px;border-color:var(--navy)}
.field .with-icon{position:relative}
.field .with-icon input{padding-left:42px}
.field .with-icon svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:16px;height:16px;fill:#191919}
.check{display:flex;gap:12px;align-items:flex-start;font-size:14px;margin:14px 0}
.check input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--navy);flex:0 0 18px}
.form-page .btn{margin-top:28px}
.form-msg{margin-top:16px;text-align:center;font-size:14px;display:none}

/* Impressum */
.imprint{display:grid;grid-template-columns:1fr 1.1fr;gap:60px;padding-top:40px}
.imprint h1{font-size:40px}
.imprint .body{border-top:1px solid var(--ink);padding-top:18px;font-size:15px;line-height:1.55}
.imprint .body p{margin-bottom:14px}

/* Datenschutzerklärung */
.legal{max-width:860px;margin-inline:auto;padding-top:40px}
.legal>h1.title{font-size:40px;margin-bottom:20px}
.legal .body{font-family:Georgia,'Times New Roman',serif;font-size:15px;line-height:1.55}
.legal .body h1{font-size:26px;margin:24px 0 10px}
.legal .body h2{font-size:22px;margin:30px 0 8px}
.legal .body h3{font-size:17px;margin:22px 0 6px}
.legal .body h4{font-size:15px;margin:16px 0 6px}
.legal .body p{margin:0 0 12px}
.legal .body a{word-break:break-all}

/* Calendly */
.calendly-inline-widget{min-width:320px;height:700px}

/* Cookie-Banner */
.cookie{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);width:min(880px,calc(100% - 32px));background:#fff;color:#191919;border-radius:8px;box-shadow:0 4px 30px rgba(0,0,0,.18);padding:22px 26px;display:none;z-index:50;font-size:13px;line-height:1.5}
.cookie.show{display:flex;gap:24px;align-items:center;justify-content:space-between}
.cookie h3{font-family:var(--body);font-size:15px;letter-spacing:0;margin-bottom:6px}
.cookie a{font-size:12px}
.cookie button{flex:0 0 auto;background:#fff;border:1px solid #c9c9c9;border-radius:4px;padding:8px 14px;font:600 12px var(--body);cursor:pointer}

@media (max-width:860px){
  .cols,.benefits,.imprint{grid-template-columns:1fr;gap:28px}
  .hero h1{font-size:26px}
  .btn.inline{min-width:0;width:100%}
  .imprint h1,.legal>h1.title{font-size:32px}
  .cookie.show{flex-direction:column;align-items:stretch}
}
