/* ==========================================================================
   Klukas Concent Versicherungsmakler GmbH – statischer Nachbau
   Layout-Maße nach Original-Template (Strato/CM4all "cm_dux_092")
   ========================================================================== */

/* ---------- Fonts (lokal gehostet, keine Google-Verbindung) ---------- */
@font-face{font-family:"Cairo";font-style:normal;font-weight:300;font-display:swap;src:url(../fonts/cairo-latin-ext-300-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Cairo";font-style:normal;font-weight:300;font-display:swap;src:url(../fonts/cairo-latin-300-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Cairo";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/cairo-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Cairo";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/cairo-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Cairo";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/cairo-latin-ext-600-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Cairo";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/cairo-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Cairo";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/cairo-latin-ext-700-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Cairo";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/cairo-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Questrial";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/questrial-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Questrial";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/questrial-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- Variablen ---------- */
:root{
  --blue:#013d79;
  --grey-nav:#b6b6b6;
  --text:#333;
  --muted:#727272;
  --line:#d9d9d9;
  --white:#fff;
  --tri:144px;              /* Höhe der schrägen Kanten */
  --col-gap:25px;
  --font-head:"Cairo",Arial,sans-serif;
  --font-body:"Questrial",Arial,sans-serif;
}
@media (min-width:768px) and (max-width:1024px){:root{--tri:65.4px}}
@media (max-width:767px){:root{--tri:39.7px}}

/* ---------- Basis ---------- */
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0;overflow-x:hidden}
body{font-family:var(--font-body);font-size:16px;line-height:28px;color:var(--text);background:#fff;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:underline}
a:hover{text-decoration:none}
p{margin:0}
ul{margin:0;padding-left:20px}
main ul:not(.raquo) li{margin:0 0 9px 10px}
h1,h2,h3,h4{font-family:var(--font-head);color:var(--blue);margin:0}
h1{font-size:36px;line-height:36px;font-weight:700;margin-bottom:25.2px}
h2{font-size:26px;line-height:32.5px;font-weight:700;margin-bottom:18.2px}
h3{font-size:20px;line-height:25px;font-weight:600;margin-bottom:14px}
h1 span,h2 span{line-height:1}
.w300{font-weight:300}.w400{font-weight:400}.w600{font-weight:600}
.center{text-align:center}.justify{text-align:justify}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.spacer{height:28px}

.container{width:90%;margin:0 auto}
@media (min-width:768px){.container{width:80%}}
@media (min-width:1920px){.container{width:1536px}}

/* Fixierter Hintergrund (Kompass) – sichtbar in den transparenten Abschnitten */
.bg-fixed{position:fixed;inset:0;z-index:-1;background:#013d79 url(../img/hintergrund-kompass.jpg) center/cover no-repeat}
@media (max-width:1200px){.bg-fixed{background-image:url(../img/hintergrund-kompass-1200.jpg)}}

/* ---------- Schräge Kanten ---------- */
.section{position:relative}
.section::before{content:"";position:absolute;left:0;right:0;height:var(--tri);top:calc(var(--tri) * -1);pointer-events:none}
/* Kante steigt nach rechts an (wie triangleTop im Original) */
.slope-up::before{clip-path:polygon(0 100%,100% 0,100% 100%)}
.slope-up.bg-blue::before{background:var(--blue)}
.slope-up.bg-white::before{background:#fff}
/* Weiße Unterkante des Inhaltsbereichs */
.content-wrap::after{content:"";position:absolute;left:0;right:0;bottom:calc(var(--tri) * -1);height:var(--tri);background:#fff;clip-path:polygon(0 0,100% 0,0 100%);z-index:1;pointer-events:none}
.bg-blue{background:var(--blue);color:#fff}
.bg-white{background:#fff}
.bg-blue h1,.bg-blue h2,.bg-blue h3{color:#fff}

/* ---------- Header ---------- */
.site-header{position:absolute;top:0;left:0;width:100%;height:80px;background:#fff;z-index:300}
.site-header .container{position:relative;height:80px;display:flex;align-items:flex-start;padding:18px 0}
.logo{position:absolute;top:0;left:0;width:350px;height:140px;z-index:10;display:block}
.logo img{position:absolute;top:9px;left:0;width:251px;height:60px}
.main-nav{margin-left:410px;width:100%}
.main-nav>ul{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;list-style:none;margin:0;padding:0}
.main-nav>ul>li{position:relative;margin:0}
.main-nav a{font-family:var(--font-head);font-size:20px;font-weight:600;line-height:20px;color:var(--blue);text-decoration:none}
.main-nav>ul>li>a{display:flex;align-items:center;margin:0 1.5px;padding:12px 18px;transition:color .3s}
.main-nav>ul>li>a:hover,.main-nav>ul>li>a:focus-visible,.main-nav>ul>li.current>a{color:var(--grey-nav)}
.main-nav .chev{width:14px;height:14px;margin-left:7px;flex:none}
.main-nav .sub{position:absolute;left:0;top:100%;margin:0 0 0 1.5px;padding:0;list-style:none;background:#fff;min-width:100%;visibility:hidden;opacity:0;transition:opacity .2s linear,visibility .2s}
.main-nav li:hover>.sub,.main-nav li:focus-within>.sub{visibility:visible;opacity:1}
.main-nav .sub a{display:block;padding:12px 18px;white-space:nowrap;transition:color .3s}
.main-nav .sub a:hover,.main-nav .sub li.current>a{color:var(--grey-nav)}

/* Mobile Navigation */
.nav-toggle{display:none;position:fixed;top:3px;left:3px;z-index:301;background:transparent;border:0;padding:3px 14px 0;cursor:pointer}
.nav-toggle .box{position:relative;display:block;width:52px;height:52px}
.nav-toggle .bar,.nav-toggle .bar::before,.nav-toggle .bar::after{position:absolute;left:0;width:52px;height:4px;border-radius:4px;background:var(--blue);transition:transform .15s ease,top .075s ease,bottom .075s ease,opacity .075s ease}
.nav-toggle .bar{top:50%;margin-top:-2px}
.nav-toggle .bar::before{content:"";top:-14px}
.nav-toggle .bar::after{content:"";bottom:-14px}
.nav-open .nav-toggle .bar{transform:rotate(45deg)}
.nav-open .nav-toggle .bar::before{top:0;opacity:0}
.nav-open .nav-toggle .bar::after{bottom:0;transform:rotate(-90deg)}
.mobile-nav{position:fixed;top:0;left:-100%;width:100%;height:100%;overflow-y:auto;background:#fff;z-index:300;padding:80px 10px 60px;opacity:0;visibility:hidden;transition:all .6s ease-in-out}
.nav-open .mobile-nav{left:0;opacity:1;visibility:visible}
.nav-open{overflow:hidden}
.mobile-nav ul{list-style:none;margin:0;padding:0}
.mobile-nav li{position:relative;border-bottom:2px solid transparent}
.mobile-nav li.current,.mobile-nav li:hover{border-bottom-color:var(--blue)}
.mobile-nav a{display:block;padding:14px 10px;font-family:var(--font-head);font-size:20px;font-weight:600;line-height:1;color:var(--blue);text-decoration:none}
.mobile-nav a:hover{color:var(--grey-nav)}
.mobile-nav .sub{display:none;padding-left:15px}
.mobile-nav li.open>.sub{display:block}
.mobile-nav .sub li{border-bottom:0}
.mobile-nav .sub-toggle{position:absolute;top:4px;right:2px;width:44px;height:44px;border:0;background:transparent;color:var(--blue);cursor:pointer;transform:rotate(-90deg);transition:transform .25s ease-in-out}
.mobile-nav li.open>.sub-toggle{transform:rotate(0)}
.mobile-nav .sub-toggle svg{width:18px;height:18px}

@media (max-width:1200px){
  .main-nav{display:none}
  .nav-toggle{display:inline-block}
  .site-header .container{justify-content:center}
  .logo{position:relative;width:175px;height:70px;margin:-13px auto 0}
  .logo img{position:static;width:175px;height:auto;margin:16px auto 0}
}

/* ---------- Keyvisual (nur Startseite) ---------- */
.keyvisual{height:1100px;background:#fff url(../img/keyvisual-berlin.jpg) center/auto 100% no-repeat}
@media (min-width:768px) and (max-width:1200px){.keyvisual{height:800px;background-image:url(../img/keyvisual-berlin-1200.jpg)}}
@media (max-width:767px){.keyvisual{height:600px;background-image:url(../img/keyvisual-berlin-1200.jpg)}}
.no-keyvisual{height:80px}

/* ---------- Abschnitte ---------- */
.topbar{padding:40px 0 184px}
.topbar h1{color:#fff}
.topbar .lead{font-size:20px;line-height:35px}
.topbar .contact-item img{width:64.4%;max-width:110px;margin:0 auto}
.topbar .contact-item img{margin-top:5px;margin-bottom:5px}
.topbar .contact-item p{text-align:center;font-size:18px;line-height:31.5px;margin-top:0}
.topbar .contact-item a{color:#fff}

.content-wrap{padding:0}
.content-wrap .inner{padding:40px 0}
.gap-section{height:610px}
.faq{padding:40px 0 184px}
.faq ul.raquo{font-size:18px;line-height:31.5px}
.faq .divider{margin:5px 0}
.faq .phone{font-size:26px;line-height:45.5px;font-weight:700;text-align:center}
.site-footer{padding:40px 0}

/* ---------- Spalten ---------- */
.cols{display:flex;gap:var(--col-gap);align-items:stretch}
.cols>.col{flex:var(--w,1) 1 0;min-width:0}
.cols.mt{margin-top:28px}
@media (max-width:1023px){
  .cols{flex-direction:column;gap:0}
  .cols>.col.empty{display:none}
  .cols>.col+.col{margin-top:28px}
}

/* Trennlinie (Logo-Linie) */
.divider{margin:5px 0;display:block;width:100%}
.sep{border:0;height:8px;margin:0 0 5px;background:linear-gradient(var(--line),var(--line)) center/100% 1px no-repeat}
.sep-blank{height:8px;margin:5px 0}

/* Inhalt */
.text-block p+p{margin-top:28px}
.phone-big{color:var(--blue);font-size:24px;font-weight:700}
.vorteil img{width:167px;margin:5px auto}
.vorteil h3{text-align:center}
.vorteil p{text-align:center}
.teaser figure{margin:5px 0}
.teaser h3{margin:0 0 14px}
.teaser img{width:100%}
ul.raquo,.raquo{list-style:none;padding:0;margin:0}
ul.raquo li::before{content:"»\00a0 "}

/* Slideshow */
.slideshow{position:relative;overflow:hidden;margin:5px 0}
.slideshow img{width:100%;aspect-ratio:913/609;object-fit:cover}
.slideshow .slide{position:absolute;inset:0;opacity:0;transition:opacity 1s ease}
.slideshow .slide:first-child{position:relative}
.slideshow .slide.active{opacity:1}
.slideshow .arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.75);color:var(--blue);cursor:pointer;opacity:0;transition:opacity .3s;display:flex;align-items:center;justify-content:center;z-index:2}
.slideshow:hover .arrow,.slideshow .arrow:focus-visible{opacity:1}
.slideshow .prev{left:10px}.slideshow .next{right:10px}
.slideshow .arrow svg{width:18px;height:18px}

/* Unterseiten */
.page-image img{width:100%;margin:5px 0}
.legal h1{margin-bottom:25.2px}
.legal h2{margin-top:28px}
.legal h3{margin-top:0}

/* Karte (Kontakt) – wird erst nach Einwilligung "Drittanbieter-Inhalte" geladen */
.map-wrap{margin:5px 0;height:400px}
.map-frame{width:100%;height:400px;border:0;display:block}

/* ---------- Footer ---------- */
.site-footer h3{font-size:16px;font-weight:600;color:var(--blue);margin-bottom:14px}

.site-footer .note{color:var(--muted)}
.site-footer .partner{margin:0;width:100%}
.site-footer .tab{display:inline-block;width:70px}
.footer-links{text-align:center;font-size:14px;font-weight:600;line-height:28px}
.footer-links .pipe{color:var(--grey-nav);margin:0 6px}
.copyright{font-weight:700;font-size:10px}
.copyright span{color:var(--blue)}
.site-footer .h3-gap{height:25px;margin-bottom:14px}
a[href^="mailto"]{overflow-wrap:anywhere}
.footer-links a{white-space:nowrap}

/* ==========================================================================
   Cookie-Einstellungen (Nachbau des Original-Dialogs)
   ========================================================================== */
.ck-dialog,.wp-container{font-family:Roboto,-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",sans-serif;font-size:14px;font-weight:300;color:#424242}
.ck-dialog{position:fixed;left:0;right:0;bottom:0;z-index:1026;max-height:100vh;overflow-y:auto;background:#fafafa;box-shadow:0 -1px 5px 0 rgba(0,0,0,.55);padding:16px 32px;line-height:19.6px}
.ck-dialog[hidden]{display:none}
.ck-header{display:flex;align-items:center;justify-content:space-between}
.ck-header h4{font-family:inherit;font-size:18px;line-height:22.5px;font-weight:500;color:#424242;margin:0}
.ck-close{position:relative;left:18px;width:25px;height:25px;flex:none;border:0;padding:0;cursor:pointer;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/></svg>") center/contain no-repeat}
.ck-content{margin-top:16px}
.ck-text{margin:0}
.ck-controls{margin-top:20px;padding-left:8px;display:flex;flex-direction:column}
.ck-ctrl{display:flex;flex-direction:column}
.ck-row{display:flex;width:100%;align-items:center}
.ck-expand{display:flex;align-items:center;justify-content:space-between;width:100%;cursor:pointer;user-select:none}
.ck-exp-btn{width:20px;height:20px;flex:none;border:0;padding:0;cursor:pointer;transition:transform .6s;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z'/></svg>") center/contain no-repeat}
.ck-exp-btn[aria-expanded="true"]{transform:rotate(180deg)}
.ck-exp-text{margin:8px 0;max-height:0;opacity:0;visibility:hidden;overflow:hidden;transition:margin .2s .4s,max-height .6s,opacity .6s,visibility .6s}
.ck-exp-text.open{max-height:500px;margin:8px 0 16px;opacity:1;visibility:visible;transition:margin .6s,max-height .6s,opacity .6s,visibility .6s}
/* Schalter */
.ck-switch{position:relative;display:inline-flex;align-items:center;cursor:pointer;outline-offset:3px}
.ck-switch input{position:absolute;z-index:-1;width:40px;height:40px;margin:0;opacity:0;pointer-events:none}
.ck-switch span{position:relative;display:block}
.ck-switch span::before{content:"";display:block;width:36px;height:14px;margin:0 8px 0 0;border-radius:7px;background:#c6c6c6}
.ck-switch span::after{content:"";position:absolute;top:-3px;left:0;width:20px;height:20px;border-radius:100%;background:#fafafa;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);transition:background-color .2s,left .2s}
.ck-switch input:checked+span::before{background:#b4b4b4}
.ck-switch input:checked+span::after{left:16px;background:#424242}
.ck-switch input:disabled+span::before{background:#e3e3e3}
.ck-switch input:disabled+span::after{background:#b4b4b4}
.ck-switch[aria-disabled="true"]{cursor:default}
/* Buttons */
.ck-buttons{display:flex;flex-direction:column;align-items:center;margin-top:16px}
.ck-btn{display:block;width:100%;max-width:230px;padding:8px;font:inherit;line-height:19.6px;text-align:center;text-transform:uppercase;background:#424242;color:#fafafa;border:1px solid #424242;border-radius:4px;cursor:pointer}
.ck-btn+.ck-btn{margin-top:8px}
.ck-btn:hover,.ck-btn:focus-visible{background:#2f2f2f}
@media (min-width:768px){
  .ck-buttons{flex-direction:row;justify-content:center;align-items:flex-end}
  .ck-btn+.ck-btn{margin:0 0 0 8px}
}
@media (min-width:1024px){
  .ck-header,.ck-content{max-width:1024px;margin-left:auto;margin-right:auto}
  .ck-close{position:absolute;right:32px;left:auto;top:15px}
}
/* Platzhalter für externe Inhalte (Karte) */
.wp-container{height:100%;background:#fafafa;border:1px solid #e0e0e0;border-radius:2px;padding:32px 24px;line-height:21px;overflow:auto}
.wp-header{margin-bottom:16px}
.wp-header h4{font-family:inherit;font-size:24px;line-height:30px;font-weight:500;color:#424242;margin:0 0 16px}
.wp-header p,.wp-content p{margin:0}
.wp-header a{color:inherit}
.wp-control{margin-bottom:16px}
.wp-switch em{font-style:normal}
