/* koko-custom.css - added for the 2026 home page restructure (staging) */
.kk-blogcard__date{position:absolute;top:0;right:1.875rem;background:var(--color-primary,#bc0606);color:#fff;padding:1.125rem .5rem;min-width:5.875rem;text-align:center;line-height:1.05}
.kk-blogcard__date strong{display:block;font-size:1.75rem;font-weight:600}
.kk-blogcard__date em{display:block;font-style:normal;font-size:1.05rem;text-transform:uppercase}
.kk-video{position:relative;max-width:56rem;margin-inline:auto}
.kk-video__el{display:block;width:100%;height:auto}
.kk-video__placeholder{position:relative;width:100%;aspect-ratio:16/9;background-size:cover;background-position:center;background-repeat:no-repeat}
.kk-video__play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:5rem;height:5rem;border-radius:9999px;border:3px solid #fff;background:rgba(0,0,0,.35)}
.kk-video__play:after{content:"";position:absolute;top:50%;left:56%;transform:translate(-50%,-50%);border-style:solid;border-width:.9rem 0 .9rem 1.5rem;border-color:transparent transparent transparent #fff}
@media (max-width:767px){.kk-video__play{width:3.5rem;height:3.5rem}.kk-video__play:after{border-width:.65rem 0 .65rem 1.05rem}}

.kk-videosection{background-color:#eff1f4}
.kk-blogsection{background-image:linear-gradient(#fff,#fff 32%,#e0e5ea 32%,#e0e5ea)}
@media (max-width:1023px){.kk-blogcard__date{right:1rem;min-width:4.25rem;padding:.75rem .5rem}.kk-blogcard__date strong{font-size:1.375rem}.kk-blogcard__date em{font-size:.8125rem}}

@media (min-width:768px){.kk-intro-wide{grid-column:1 / -1;max-width:48rem;margin-left:auto;margin-right:auto}}

.kk-intro-wide h1{font-size:1.375rem;line-height:1.3;padding-bottom:2.25rem}
.kk-intro-wide h1 + p{color:var(--color-primary,#bc0606);font-size:1.25rem;line-height:1.35;font-weight:300;padding-bottom:1.75rem}
@media (max-width:767px){.kk-intro-wide h1{font-size:1.25rem}.kk-intro-wide h1 + p{font-size:1.125rem}}

/* --- Blog (PDF S.3 + S.4) --- */
.kk-blogcard{transition:transform .2s ease,box-shadow .2s ease}
.kk-blogcard:hover{transform:translateY(-4px)}
.kk-blogdetail{background-image:linear-gradient(#e0e5ea,#e0e5ea 70%,#fff 70%,#fff)}
.kk-blogdetail__title{padding-top:3.5rem;line-height:1.25}
.kk-blogdetail__byline{padding:.75rem 0 2.5rem}
.kk-blogdetail__sub{font-weight:600;font-size:1.25rem;line-height:1.45;padding-bottom:1.5rem}
.kk-blogdetail__lead{color:var(--color-primary,#bc0606);font-size:1.25rem;line-height:1.45;font-weight:300;padding-bottom:1.5rem}
.kk-pager{display:flex;align-items:center;justify-content:center;gap:1.5rem}
.kk-pager__link{color:var(--color-primary,#bc0606);font-weight:600}
.kk-pager__state{font-size:.9375rem}
@media (max-width:767px){
.kk-blogdetail{background-image:linear-gradient(#e0e5ea,#e0e5ea 82%,#fff 82%,#fff)}
.kk-blogdetail__title{padding-top:2rem}
.kk-blogdetail__byline{padding:.5rem 0 1.5rem}
.kk-blogdetail__sub,.kk-blogdetail__lead{font-size:1.125rem}
}

/* Blogcard: CTA auf gleicher Hoehe in jeder Reihe */
.kk-blogcard{display:flex;flex-direction:column}
.kk-blogcard > div:last-child{display:flex;flex-direction:column;flex:1 1 auto}
.kk-blogcard > div:last-child > p{flex:1 1 auto}

/* --- Landing-Seiten / Seiten-Abschnitte (PDF S.5/6) --- */
.kk-landing{padding-top:4rem}
.kk-landing .max-w-screen-md{max-width:48.75rem}
.kk-landing .kk-sec + .kk-person{margin-top:2rem}
.kk-sec{padding-bottom:3.75rem}
.kk-sec--divider{border-bottom:1px solid #d7dbe0;padding-bottom:2.75rem;margin-bottom:3.5rem}
.kk-sec--faq{padding-top:0;padding-bottom:1.25rem}
.kk-lvideosec + .kk-sec,.kk-videosection + .kk-sec,.teasers + .kk-sec,.kk-person + .kk-sec{padding-top:4rem}
.kk-person + .kk-sec--faq{padding-top:3rem}
.kk-tb__h{font-size:1.5rem;font-weight:600;line-height:1.3;padding-bottom:1.75rem}
.kk-tb__lead{color:var(--color-primary,#bc0606);font-size:1.375rem;line-height:1.45;font-weight:300;padding-bottom:1rem}
.kk-tb__body p{padding-bottom:1.25rem}
.kk-tb__body p:last-child{padding-bottom:0}
.kk-tb__cta{padding-top:2.5rem}

/* Vertrauens-Banner */
.kk-trust{position:relative;overflow:hidden;background-color:#eceef1;min-height:12.3125rem;display:flex;align-items:center;padding:2rem 11rem 2rem 2.25rem}
.kk-trust__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.kk-trust__text{position:relative;z-index:1;color:#9aa1a9;font-size:1.375rem;line-height:1.5;font-weight:300;max-width:24rem}
.kk-trust__badge{position:absolute;z-index:2;right:1.25rem;top:50%;transform:translateY(-50%);width:9rem;height:auto}

/* Video / Interview */
.kk-lvideosec{background-color:#eff1f4;padding:2.5rem 0 3rem}
.kk-lvideosec__ttl{font-size:1.375rem;line-height:1.35;text-align:center}
.kk-lvideosec__sub{font-size:1.375rem;line-height:1.35;font-weight:300;text-align:center;padding-bottom:1.625rem}
.kk-lvideo{max-width:48.75rem;margin:0 auto;aspect-ratio:780/412;position:relative;overflow:hidden}
.kk-lvideo__el{display:block;width:100%;height:100%;object-fit:cover}
.kk-lvideo__ph{width:100%;height:100%;background-size:cover;background-position:center 20%;display:flex;align-items:center;justify-content:center}

/* Angebote-Slider */
.kk-lslider{padding-top:1.5rem;padding-bottom:3.25rem}
.kk-lslider__ttl{font-size:1.375rem;line-height:1.35;text-align:center;padding-bottom:2.5rem}

/* Tabelle */
.kk-table{width:100%;border-collapse:collapse;margin:2.25rem 0 0;line-height:1.3}
.kk-table th,.kk-table td{text-align:left;vertical-align:top;padding:.1875rem .75rem .1875rem 0}
.kk-table thead th{font-weight:600;padding-bottom:2.125rem}
.kk-table tbody th{font-weight:600;width:48%}
.kk-table tbody tr{border-bottom:1px solid #d7dbe0}
.kk-table tbody tr:first-child{border-top:1px solid #d7dbe0}
.kk-table__note{padding-top:3.5rem}

/* Link-Liste */
.kk-linklist{list-style:none;margin:0;padding:0}
.kk-linklist__item{display:flex;align-items:flex-start;gap:1.125rem;padding-bottom:1.5rem}
.kk-linklist__arrow{display:block;width:2rem;height:auto;flex:0 0 auto;margin-top:.3rem}
.kk-linklist__body{flex:1 1 auto}
.kk-linklist__link{display:block;color:var(--color-primary,#bc0606);font-weight:600;text-decoration:none}
.kk-linklist__link:hover{text-decoration:underline}
.kk-linklist__desc{display:block;padding-top:.125rem}
.kk-linklist__note{padding-left:3.125rem;padding-top:.25rem}

/* Ansprechpartner */
.kk-person{background-color:#eff1f4}
.kk-person__inner{padding-top:3.5rem;padding-bottom:3.25rem}
.kk-person__grid{display:grid;grid-template-columns:1fr;gap:2rem}
.kk-person__media{position:relative}
.kk-person__logo{position:absolute;top:0;right:24px;width:72px;height:95px;object-fit:cover;object-position:top}
.kk-person__name{font-size:1.375rem;font-weight:600;line-height:1.3}
.kk-person__role{padding-bottom:1.75rem}
.kk-person__addr{padding-bottom:1.25rem}
.kk-person__phone{display:flex;align-items:center;gap:1.3125rem;padding-bottom:0}
.kk-person__plus{flex:0 0 auto;width:36px;height:34px;background-image:linear-gradient(var(--color-primary,#bc0606),var(--color-primary,#bc0606)),linear-gradient(var(--color-primary,#bc0606),var(--color-primary,#bc0606));background-size:100% 1.5px,1.5px 100%;background-position:center center;background-repeat:no-repeat}
.kk-person__phone a{color:var(--color-primary,#bc0606);font-size:1.375rem;font-weight:600;text-decoration:none}
.kk-person__body{padding-top:1.0625rem}
.kk-person__cta{padding-top:6.5rem}

/* FAQ */
.kk-faq{border-top:1px solid #d7dbe0}
.kk-faq__item{border-bottom:1px solid #d7dbe0}
.kk-faq__q{list-style:none;cursor:pointer;display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;font-weight:600;padding:.9375rem 0;position:relative}
.kk-faq__q::-webkit-details-marker{display:none}
.kk-faq__q::after{content:"";flex:0 0 auto;width:1.125rem;height:1.125rem;margin-top:.2rem;background-image:linear-gradient(var(--color-primary,#bc0606),var(--color-primary,#bc0606)),linear-gradient(var(--color-primary,#bc0606),var(--color-primary,#bc0606));background-size:100% 2px,2px 100%;background-position:center center,center center;background-repeat:no-repeat}
.kk-faq__item[open] .kk-faq__q::after{background-size:100% 2px,0 0}
.kk-faq__a{padding:0 0 1.25rem}
.kk-faq__a p{padding-bottom:.75rem}
.kk-faq__a p:last-child{padding-bottom:0}

@media (min-width:768px){
.kk-person__grid{grid-template-columns:381px minmax(0,1fr);gap:39px;align-items:start}
}
@media (max-width:767px){
.kk-landing{padding-top:2rem}
.kk-sec{padding-bottom:2.5rem}
.kk-sec--divider{padding-bottom:2rem;margin-bottom:2.25rem}
.kk-lvideosec + .kk-sec,.kk-videosection + .kk-sec,.teasers + .kk-sec,.kk-person + .kk-sec{padding-top:2.5rem}
.kk-tb__h{font-size:1.25rem}
.kk-tb__lead{font-size:1.1875rem}
.kk-lvideosec__ttl,.kk-lvideosec__sub,.kk-lslider__ttl{font-size:1.1875rem}
.kk-trust{padding:1.5rem;min-height:0;flex-direction:column;align-items:flex-start;gap:1.25rem}
.kk-trust__text{max-width:none;font-size:1.125rem}
.kk-trust__badge{position:static;transform:none;width:7.5rem}
.kk-table,.kk-table tbody,.kk-table tr,.kk-table th,.kk-table td{display:block;width:auto}
.kk-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.kk-table tbody tr{padding:.75rem 0}
.kk-table tbody th{width:auto;padding:0 0 .125rem}
.kk-table th,.kk-table td{padding:0}
.kk-linklist__note{padding-left:0}
.kk-person__name,.kk-person__phone a{font-size:1.25rem}.kk-person__cta{padding-top:2.5rem}.kk-person__body{padding-top:0}
}

/* --- Bewertungs-Kacheln (PDF S.7) --- */
.kk-tb__lead{white-space:pre-line}
.kk-tiles__ttl{font-size:1.375rem;line-height:1.35;font-weight:600;text-align:center;padding-bottom:.25rem}
.kk-tiles__sub{font-size:1.375rem;line-height:1.35;font-weight:300;text-align:center;padding-bottom:3.375rem}
.kk-tiles__cta{padding-left:0}
.kk-tiles__label{font-size:1.25rem}
@media (max-width:767px){
.kk-tiles__ttl,.kk-tiles__sub{font-size:1.1875rem}
.kk-tiles__sub{padding-bottom:2.5rem}
.kk-tiles__label{font-size:1.125rem}
}

.kk-tiles{padding-bottom:5.25rem}
.kk-tiles__grid .flex-1 img{max-width:157px}
.kk-tiles__cta img{width:48px;margin-bottom:.375rem}
h1.kk-tb__lead{font-weight:300}

/* Tablet: lange Labels (z.B. Marktpreiseinschaetzung) sprengen sonst die Spalte */
.bg-light .grid span.text-2xl,.kk-tiles__label{hyphens:auto}
@media (min-width:768px) and (max-width:1023px){
.bg-light .grid .pl-16{padding-left:1.25rem}
.bg-light .grid span.text-2xl,.kk-tiles__label{font-size:1.1875rem;line-height:1.3}
}

/* --- Container auf Designbreite (PDF: 1133px Inhalt bei 1440px Viewport) --- */
@media (min-width:1280px){.container{max-width:1165px}}

/* --- Feinabgleich auf das PDF-Layout (Oktober 2026) --- */
/* Header 96 -> 72 wie im Layout */
header.fixed .container.h-24{height:4.5rem}
main.pt-24{padding-top:4.5rem}

/* Blog-Sektion: Ueberschrift, Unterzeile, Abstaende */
.kk-blogsection h2{font-size:1.5rem;line-height:1.3}
.kk-blogsection p.text-xl{font-size:1.375rem;line-height:1.35}

/* Blog-Karte: Innenabstand, Textgroessen, Pfeil */
.kk-blogcard p{font-size:.875rem;line-height:1.45}
.kk-blogcard img[src*="arrow_right"]{width:48px;margin-bottom:.625rem}
.kk-blogcard .text-2xl{font-size:1rem}

/* Blog-Detail: Titelgroesse */
.kk-blogdetail__title{font-size:2.125rem}

@media (min-width:768px){
.kk-blogsection .container{padding-top:2.5rem}
.kk-blogsection p.text-xl{padding-bottom:2.5rem}
.kk-blogsection{background-image:linear-gradient(#fff,#fff 217px,#e0e5ea 217px,#e0e5ea)}
.kk-blogcard > div:last-child{padding:1.25rem 2rem 2rem}
.kk-blogdetail{background-image:linear-gradient(#e0e5ea,#e0e5ea 547px,#fff 547px,#fff)}
.kk-blogdetail__title{padding-top:4.75rem}
.teasers{background-image:linear-gradient(#fff,#fff 227px,#e0e5ea 227px,#e0e5ea)}
}
@media (max-width:767px){
.kk-blogsection h2{font-size:1.25rem}
.kk-blogsection p.text-xl{font-size:1.125rem}
.kk-blogdetail__title{font-size:1.5rem}
}

/* --- Feinabgleich 2: Blog-Detail und Objekt-Karten --- */
.kk-blogdetail__sub{padding-bottom:2.5rem}
.kk-blogdetail__lead{padding-bottom:1.75rem}
.kk-blogdetail__body{padding-top:2.75rem;padding-bottom:1.75rem}
.kk-blogdetail__back{padding-top:3.75rem}
.teasers .splide__slide img[src*="arrow_right"]{width:48px;margin-bottom:.5rem}
.teasers .splide__slide .text-2xl{font-size:1rem}
@media (max-width:767px){
.kk-blogdetail__body{padding-top:1.75rem;padding-bottom:1.25rem}
.kk-blogdetail__back{padding-top:2rem}
}

/* Fliesstext-Zeilenhoehe wie im Layout (24px bei 16px Schrift) */
.kk-landing .rte-content p,.kk-tb__body p,.kk-blogdetail__body .rte-content p,.kk-faq__a p,.kk-table__note p,.kk-linklist__desc{line-height:1.375}

/* Hero: Logo-Wasserzeichen wie auf PDF S.2 und S.3 */
.kk-hero__wm{position:absolute;right:91px;bottom:58px;width:166px;height:auto;z-index:5;pointer-events:none}
@media (max-width:1023px){.kk-hero__wm{display:none}}

/* --- Hero-Textkarte exakt nach Layout (PDF S.2/S.3/S.7: Karte 432px breit) --- */
@media (min-width:1024px){
.kk-hero__card--fixed{width:27rem}
.kk-hero__card{padding-top:3rem;padding-bottom:2rem}
.kk-hero__head{font-size:1.875rem;line-height:2.125rem;padding-bottom:2.75rem}
.kk-hero__btn{font-size:.875rem;padding-top:.3125rem;padding-bottom:.3125rem}
}

/* --- Trennlinien zwischen den Spalten: nur neben den Icons, nicht durch die Beschriftung --- */
@media (min-width:768px){
.kk-col{position:relative}
.kk-col > .flex-1{position:relative}
.kk-col > .flex-1::after{content:"";position:absolute;top:50%;transform:translateY(-50%);right:.5rem;width:1px;height:calc(100% - 2.5rem);background:#cccccc}
.kk-col:last-child > .flex-1::after{content:none}
}

/* --- FAQ: Abstand unten wie oben --- */
.kk-sec--faq{padding-bottom:3rem}

/* Pfeil + Label der Bewertungs-Kacheln eingerueckt wie im Layout */
@media (min-width:1024px){.kk-tiles__cta{padding-left:3rem}}

/* Slider-Pagination auf Mobil: eine Zeile als Segmentleiste statt umbrechender Striche */
@media (max-width:767px){
.splide__pagination{flex-wrap:nowrap;column-gap:.375rem;padding-top:.875rem;width:100%}
.splide__pagination li{flex:1 1 0;min-width:0;display:block}
.splide__pagination__page{width:100%;height:1.25rem;display:flex;align-items:center;padding:0}
.splide__pagination__page:after{width:100%;height:2px}
.splide__pagination__page.is-active:after{height:3px}
}
