/*
Theme Name: ratio CRM Ultra Premium
Theme URI: https://ratio-crm.com
Author: ratio CRM
Description: Ultra Premium WordPress Theme für ratio CRM mit SEO-Seiten, Blog, Footer, Cookie-Vorbereitung und Conversion-Struktur.
Version: 1.0.0
Text Domain: ratio-crm-ultra
*/

:root{
  --blue:#0b2a4a;
  --blue2:#071f38;
  --red:#e00022;
  --red2:#b8001c;
  --text:#172535;
  --muted:#637184;
  --light:#f4f7fb;
  --white:#fff;
}
*{box-sizing:border-box}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#fff;line-height:1.65}
a{color:var(--blue);text-decoration:none;font-weight:700}
a:hover{color:var(--red)}
.container{max-width:1180px;margin:0 auto;padding:0 22px}
.site-header{position:sticky;top:0;z-index:9999;background:rgba(255,255,255,.9);backdrop-filter:blur(14px);box-shadow:0 8px 30px rgba(11,42,74,.08)}
.header-inner{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:26px}
.logo{font-size:26px;font-weight:900;color:var(--blue);white-space:nowrap}
.logo span{color:var(--red)}
.nav ul{display:flex;gap:8px;list-style:none;margin:0;padding:0;align-items:center}
.nav a{display:block;padding:11px 14px;border-radius:999px;color:var(--blue)}
.nav a:hover{background:var(--light);color:var(--red)}
.nav .cta a{background:var(--red);color:#fff;box-shadow:0 12px 28px rgba(224,0,34,.25)}
.nav .cta a:hover{background:var(--red2);color:#fff}
.hero{background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center;padding:86px 22px}
.eyebrow{color:#ffb3bf;font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:13px}
h1{font-size:clamp(38px,5vw,64px);line-height:1.05;margin:0 0 20px;letter-spacing:-.04em}
h2{font-size:clamp(28px,3.4vw,44px);line-height:1.16;margin:0 0 18px;letter-spacing:-.03em}
h3{font-size:22px;margin:0 0 10px}
.lead{font-size:20px;color:rgba(255,255,255,.84);max-width:650px}
.hero img,.page-hero img{width:100%;border-radius:28px;box-shadow:0 30px 80px rgba(0,0,0,.32)}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 25px;border-radius:999px;font-weight:900;margin:8px 10px 8px 0}
.btn-primary{background:var(--red);color:#fff!important;box-shadow:0 14px 34px rgba(224,0,34,.32)}
.btn-secondary{border:2px solid rgba(255,255,255,.7);color:#fff!important}
section{padding:74px 0}
.light{background:var(--light)}
.grid{display:grid;gap:24px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.card{background:#fff;border-radius:24px;padding:28px;box-shadow:0 18px 50px rgba(11,42,74,.10);border:1px solid rgba(11,42,74,.07)}
.card img{width:64px;height:64px;border-radius:16px;margin-bottom:15px}
.trust{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.trust div{background:#fff;border-radius:18px;padding:18px;font-weight:800;color:var(--blue);box-shadow:0 10px 30px rgba(11,42,74,.08)}
.page-hero{background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;padding:64px 0}
.page-hero .wrap{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center}
.content{max-width:980px}
.content h1,.content h2,.content h3{color:var(--blue)}
.content ul{padding-left:22px}
.cta-panel{background:linear-gradient(135deg,var(--blue),var(--blue2));color:#fff;border-radius:30px;padding:44px;text-align:center;box-shadow:0 30px 70px rgba(11,42,74,.22)}
.cta-panel h2{color:#fff}
.footer{background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;padding:50px 0 24px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px}
.footer a{color:#fff}
.footer ul{list-style:none;padding:0;margin:0}
.footer li{margin:0 0 10px;color:rgba(255,255,255,.78)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.18);margin-top:34px;padding-top:20px;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;color:rgba(255,255,255,.75);font-size:14px}
@media(max-width:900px){
 .header-inner,.nav ul{flex-direction:column;align-items:flex-start}
 .hero-grid,.page-hero .wrap,.grid-3,.grid-2,.trust,.footer-grid{grid-template-columns:1fr}
 .nav ul{width:100%}
}

/* Premium Icon + Bild Korrektur */
.card img{
  width:72px;
  height:72px;
  object-fit:contain;
  border-radius:18px;
  box-shadow:0 14px 34px rgba(11,42,74,.18);
}
.page-hero img,
.hero img{
  object-fit:cover;
}

/* Premium Logo Integration */
.logo.logo-image-link{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  min-width:220px;
}
.logo.logo-image-link img,
.logo.logo-image-link .custom-logo,
.ratio-header-logo{
  height:58px !important;
  width:auto !important;
  max-width:260px !important;
  object-fit:contain !important;
  display:block !important;
}
.site-header .custom-logo-link{
  display:flex !important;
  align-items:center !important;
}
@media(max-width:900px){
  .logo.logo-image-link img,
  .logo.logo-image-link .custom-logo,
  .ratio-header-logo{
    height:50px !important;
    max-width:220px !important;
  }
}

/* Original ratio CRM Logo Integration */
.logo.logo-image-link{
  display:flex !important;
  align-items:center !important;
  min-width:92px !important;
}
.logo.logo-image-link img,
.logo.logo-image-link .custom-logo,
.ratio-header-logo{
  height:68px !important;
  width:auto !important;
  max-width:170px !important;
  object-fit:contain !important;
  display:block !important;
}
.site-header .custom-logo-link{
  display:flex !important;
  align-items:center !important;
}
.ratio-footer-logo-img{
  height:86px !important;
  width:auto !important;
  max-width:180px !important;
  display:block !important;
  margin:0 0 12px 0 !important;
  object-fit:contain !important;
}
@media(max-width:900px){
  .logo.logo-image-link img,
  .logo.logo-image-link .custom-logo,
  .ratio-header-logo{
    height:58px !important;
    max-width:145px !important;
  }
  .ratio-footer-logo-img{
    height:74px !important;
  }
}
