/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/* Highfive: leere Portfolio-Slots ausblenden, bis weitere Cases angelegt sind */
.row-child:has(.tmb > p.t-entry-title:first-child), .row-container:not(:has(.tmb > *:not(p.t-entry-title))):has(.tmb > p.t-entry-title:first-child) { display: none !important; }

/* Highfive: Lesbarkeit – Fließtext dunkler, Text auf Mint in Ink */
.style-light p, .style-light li { color: #2b302e; }
.style-color-210407-bg, .style-color-210407-bg p, .style-color-210407-bg li, .style-color-210407-bg a:not(.btn), .style-color-210407-bg .heading-text * { color: #0B0F0E !important; }

/* Highfive: Bildnachweis */
.hf-credit { font-size: 12px !important; letter-spacing: .02em; color: #5c6461 !important; margin-top: 8px; }

/* Highfive: Startseite – Kontrast & Hintergrund */
body.style-color-lxmt-bg { background-color: #ffffff; }
.style-color-xsdn-bg .text-accent-color, .style-light:not(.style-color-210407-bg) > * .text-accent-color { color: #74BC9C !important; }
.style-color-210407-bg .text-accent-color { color: #0B0F0E !important; }
.style-color-210407-bg .btn, .style-color-210407-bg .btn-container .btn, .style-color-210407-bg a.btn-text-skin { color: #0B0F0E !important; border-color: #0B0F0E !important; }
.style-color-210407-bg a.btn-advanced, .style-color-210407-bg a.btn-advanced * { color: #0B0F0E !important; --underline-color: #0B0F0E; }
.style-color-210407-bg a.btn-advanced:hover, .style-color-210407-bg a.btn-advanced:hover * { color: #ffffff !important; }
.btn-underline-out::after, .btn-underline-out .b::after { background-color: currentColor; }
.style-color-xsdn-bg a.btn-advanced, .style-color-xsdn-bg a.btn-advanced * { color: #74BC9C !important; }
a.btn-advanced, a.btn-advanced * { color: #74BC9C !important; }
.style-color-210407-bg a.btn-advanced, .style-color-210407-bg a.btn-advanced *, .style-color-210407-bg .heading-text a, .style-color-210407-bg .menu-smart a, .style-color-210407-bg .uncode-menu-block a { color: #0B0F0E !important; }
/* Highfive: Links & Overlay-Menü */
.style-light a:not(.btn):not(.btn-advanced) { color: #0B0F0E; }
.style-light a:not(.btn):not(.btn-advanced):hover { color: #74BC9C; }
.style-light .unmenu-block a, .style-color-xsdn-bg .unmenu-block a { color: #74BC9C !important; }
.style-light .unmenu-block a:hover { color: #0B0F0E !important; }
.style-color-xsdn-bg a:not(.btn):not(.btn-advanced), .heading-text a { color: #0B0F0E; }
.style-color-xsdn-bg a:not(.btn):not(.btn-advanced):hover, .heading-text a:hover { color: #74BC9C; }
/* Kontaktformular */
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 select, .wpcf7 textarea { width: 100%; max-width: 100%; border: 1px solid #0B0F0E; border-radius: 0; background: #fff; }
.wpcf7 input[type=submit] { background: #0B0F0E !important; color: #fff !important; border: 0 !important; padding: 18px 36px !important; letter-spacing: .04em; }
.wpcf7 input[type=submit]:hover { background: #74BC9C !important; color: #0B0F0E !important; }
.style-accent-bg a.btn-advanced, .style-accent-bg a.btn-advanced *, .style-accent-bg .heading-text a { color: #0B0F0E !important; }
.hf-legal h2 { font-size: 1.4rem; font-weight: 400; margin-top: 2.2em; }
.wpcf7 select { background-repeat: no-repeat !important; background-position: right 14px center !important; }
.hf-kicker, .hf-kicker * { font-size: 14px !important; letter-spacing: .12em !important; line-height: 1.4 !important; }

@media (max-width: 959px) { .column_child:has(.hf-kicker) { padding-left: 36px !important; padding-right: 36px !important; } }
/* Highfive: Riesenwort im Hero komplett im ersten Bild */
.row-header.no-bottom-padding { padding-bottom: 5vh !important; }
body.admin-bar .row-header.no-bottom-padding { padding-bottom: calc(5vh + 32px) !important; }
.hf-hero-word .heading-text > * { font-size: min(clamp(4.5rem, -0.5rem + 14vw, 14rem), 27vh) !important; }
@media (min-width: 960px) and (max-height: 860px) {
  .row-header.triple-top-padding { padding-top: 84px !important; }
  .hf-kicker ~ .vc_custom_heading_wrap .heading-text > p { font-size: 1.4rem !important; line-height: 1.3 !important; }
  .hf-hero-word .heading-text > * { font-size: min(clamp(4.5rem, -0.5rem + 14vw, 14rem), 25vh) !important; }
}

/* Mint-Fläche nicht doppelt multiplizieren (sonst dunkleres Grün) */
.style-accent-bg .block-bg-overlay.block-bg-blend-mode, .style-color-210407-bg .block-bg-overlay.block-bg-blend-mode { mix-blend-mode: normal !important; opacity: 1 !important; }

/* Hero-Lead auf Mobil ohne Einzug */
@media (max-width: 959px) { .row-next-to-blend .row-inner > .column_child:not(:has(h1, h2, h3, p, a, img)) { display: none !important; } .row-next-to-blend .row-inner > .column_child.col-md-66 { width: 100% !important; } }

/* Highfive: Blogbeitrag im Look der Website */
body.single-post .col-widgets-sidebar{display:none!important}
body.single-post .post-content .row-parent.un-sidebar-layout{max-width:820px!important;margin-left:auto!important;margin-right:auto!important}
body.single-post .post-content .col-lg-8{flex:0 0 100%!important;max-width:100%!important;width:100%!important}
body.single-post #page-header,body.single-post #page-header .header-bg,body.single-post #page-header .header-wrapper{background-color:#74bc9c!important}
body.single-post #page-header .header-title,body.single-post #page-header .header-title *{color:#fff!important;font-weight:200!important;letter-spacing:-.05em!important;text-align:left!important;font-size:clamp(2.25rem,1.2rem + 3.2vw,4.25rem)!important;line-height:1.05!important}
body.single-post #page-header .post-info,body.single-post #page-header .post-info *{color:#0B0F0E!important;text-align:left!important;justify-content:flex-start!important}
body.single-post #page-header .header-content-inner{text-align:left!important;max-width:1100px;margin:0 auto}
body.single-post article .post-content h2,body.single-post article h2{font-weight:200!important;letter-spacing:-.04em!important;font-size:clamp(1.7rem,1.2rem + 1.6vw,2.4rem)!important;margin-top:2.2em!important}
body.single-post article h3{font-weight:300!important;letter-spacing:-.03em!important}
body.single-post article p,body.single-post article li{font-size:18px;line-height:1.7;font-weight:300}
body.single-post article a:not(.btn){text-decoration:underline;text-decoration-color:#74bc9c;text-underline-offset:3px;text-decoration-thickness:2px}
body.single-post .post-content .row.row-parent,body.single-post .post-content .row.limit-width{max-width:820px!important;margin-left:auto!important;margin-right:auto!important;width:100%!important}
body.single-post .post-content .row-inner{max-width:100%!important}

/* Highfive: Seitenmodule (Karten, Preise, Schritte, FAQ) */
.hfb{font-family:"Libre Franklin",sans-serif;color:#1a1a1a;max-width:1400px}
.hfb *{box-sizing:border-box}
.hfb-bc{font-size:.8rem;letter-spacing:.04em;text-transform:uppercase;margin:0 0 1.5rem;font-weight:300}
.hfb-bc a{color:inherit;text-decoration:none;border-bottom:1px solid #74bc9c}
.hfb-bc span.sep{margin:0 .5em;color:#74bc9c}
.hfb h1{font-weight:200;letter-spacing:-.05em;line-height:1;color:#74bc9c;font-size:clamp(2.25rem,1.2rem + 3.5vw,5rem);margin:0 0 1.5rem;max-width:20em}
.hfb-lead{font-size:clamp(1.15rem,1rem + .6vw,1.6rem);font-weight:300;line-height:1.45;max-width:44rem;margin:0}
.hfb-sec{border-top:1px solid #74bc9c;padding-top:2rem;margin-top:4.5rem}
.hfb h2{font-weight:200;letter-spacing:-.04em;line-height:1.05;font-size:clamp(1.7rem,1.2rem + 1.6vw,2.8rem);margin:0 0 2rem}
.hfb-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2.5rem 2rem}
.hfb-grid h3,.hfb-steps h3{font-size:1.15rem;font-weight:500;letter-spacing:-.01em;margin:0 0 .5rem}
.hfb p{font-weight:300;line-height:1.6;margin:0 0 1rem}
.hfb-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;counter-reset:s}
.hfb-steps>div:before{counter-increment:s;content:"0" counter(s);display:block;color:#74bc9c;font-weight:200;font-size:2.4rem;letter-spacing:-.05em;margin-bottom:.5rem}
.hfb-price{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem}
.hfb-price>div{border:1px solid #74bc9c;padding:2rem}
.hfb-price .p{font-size:clamp(1.8rem,1.2rem + 1.5vw,2.6rem);font-weight:200;letter-spacing:-.04em;color:#74bc9c;margin:0 0 .5rem}
.hfb-note{font-size:.9rem;opacity:.8;margin-top:1.5rem}
.hfb details{border-bottom:1px solid #ddd;padding:1.1rem 0}
.hfb details:first-of-type{border-top:1px solid #ddd}
.hfb summary{cursor:pointer;font-weight:400;font-size:1.15rem;list-style:none;display:flex;justify-content:space-between;gap:1rem}
.hfb summary::-webkit-details-marker{display:none}
.hfb summary:after{content:"+";color:#74bc9c;font-size:1.5rem;line-height:1;font-weight:200}
.hfb details[open] summary:after{content:"–"}
.hfb details p{margin:.9rem 0 0;max-width:46rem}
.hfb a.hfb-btn{display:inline-block;color:#1a1a1a;text-decoration:none;border-bottom:2px solid #74bc9c;font-weight:300;font-size:clamp(1.3rem,1rem + 1vw,2rem);letter-spacing:-.03em;padding-bottom:.2rem}
.hfb a.hfb-btn:hover{color:#74bc9c}
.hfb-links{display:flex;flex-wrap:wrap;gap:.6rem 2rem;margin:0;padding:0;list-style:none}
.hfb-links a{color:inherit;border-bottom:1px solid #74bc9c;text-decoration:none;font-weight:300}
.hfb-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem}
.hfb-cards a{display:block;border:1px solid #74bc9c;padding:2rem;color:inherit;text-decoration:none;transition:background .3s}
.hfb-cards a:hover{background:rgba(116,188,156,.1)}
.hfb-cards h3{font-weight:200;letter-spacing:-.04em;font-size:clamp(1.5rem,1.1rem + 1.2vw,2.2rem);margin:0 0 .75rem;color:#74bc9c}
.hfb.hfb-js .hfb-r{opacity:0;transform:translateY(32px);transition:opacity .9s ease,transform .9s cubic-bezier(.2,.7,.2,1)}
.hfb.hfb-js .hfb-r.hfb-in{opacity:1;transform:none}
@media(max-width:959px){.hfb-grid,.hfb-steps,.hfb-price,.hfb-cards{grid-template-columns:1fr}
.hfb-sec{margin-top:3rem}
}
@media(prefers-reduced-motion:reduce){.hfb.hfb-js .hfb-r{opacity:1;transform:none;transition:none}
}
html,body{overflow-x:clip}
.hfb{max-width:none}
.hfb>*:not(.hfb-hero){max-width:1400px}
.hfb .hfb-hero{width:100vw;margin-left:calc(50% - 50vw);background:#74bc9c;color:#fff;padding:9.5rem 36px 4rem}
.hfb-hin{max-width:1400px;margin:0 auto}
.hfb .hfb-hero .hfb-bc,.hfb .hfb-hero .hfb-bc a{color:#fff}
.hfb-hero .hfb-bc a{border-bottom-color:#fff}
.hfb-hero .hfb-bc span.sep{color:#fff}
.hfb .hfb-hero h1{color:#fff;font-size:clamp(2.6rem,1rem + 6.2vw,7.5rem)!important;line-height:.98!important;max-width:13em;margin:0}
.hfb .hfb-hero p.hfb-lead{color:#fff;margin:3rem 0 0 auto;max-width:30rem;font-size:clamp(1.1rem,1rem + .4vw,1.35rem)}
.hfb .hfb-hero a.hfb-cta{color:#fff;display:inline-block;margin-top:1.5rem;color:#fff;text-decoration:none;text-transform:uppercase;letter-spacing:.02em;font-weight:300;font-size:1.05rem;border-bottom:1px solid #fff;padding-bottom:.15rem}
.hfb-hl{max-width:30rem;margin-left:auto}
.hfb-hero+.hfb-fig{margin-top:3rem}
@media(max-width:768px){.hfb-hero{padding:7rem 20px 2.5rem}
.hfb-hl{margin-left:0}
.hfb-hero .hfb-lead{margin-top:2rem}
}
.hfb-fig{margin:2.5rem 0 0;overflow:hidden}
.hfb-fig img{width:100%;height:100%;object-fit:cover;display:block}
.hfb-trio{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-top:4.5rem}
.hfb-trio .hfb-fig{margin:0}
@media(max-width:959px){.hfb-trio{grid-template-columns:1fr;gap:1rem;margin-top:3rem}
}
.hfb-quad{grid-template-columns:repeat(4,1fr);gap:1.25rem}
@media(max-width:959px){.hfb-quad{grid-template-columns:1fr 1fr;gap:.75rem}
}
.hfb-grid8{grid-template-columns:repeat(4,1fr)}
@media(max-width:1100px){.hfb-grid8{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){.hfb-grid8{grid-template-columns:1fr}
}
.hfb-ref{display:grid;grid-template-columns:5fr 7fr;gap:3rem;align-items:center}
.hfb-mock{max-width:760px;width:100%;margin:0 auto}
.hfb-mock .scr{border:10px solid #1a1a1a;border-bottom-width:12px;border-radius:14px 14px 0 0;background:#1a1a1a;overflow:hidden;aspect-ratio:1280/625}
.hfb-mock .scr img{width:100%;height:100%;object-fit:cover;display:block}
.hfb-mock .base{height:14px;background:linear-gradient(#e4e4e4,#b9b9b9);border-radius:0 0 16px 16px;width:108%;margin-left:-4%;position:relative}
.hfb-mock .base:before{content:"";position:absolute;left:50%;top:0;width:18%;height:5px;background:#9d9d9d;border-radius:0 0 8px 8px;transform:translateX(-50%)}
.hfb-duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;max-width:760px;margin:3rem 0 0 auto}
.hfb-duo figure{margin:0}
.hfb-duo img{width:100%;height:auto;display:block;box-shadow:0 8px 28px rgba(0,0,0,.14)}
@media(max-width:959px){.hfb-duo{margin:2rem 0 0;gap:1rem}
}

/* Highfive: Case-Module */
.hfc-g{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(10px,1.5vw,20px)}
.hfc-g .hfc-f:first-child{grid-column:1/-1}
.hfc-f{margin:0}
.hfc-f img{width:100%;height:auto;display:block;border-radius:6px}
.hfc-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem 2rem;margin:2rem 0 0}
.hfc-meta b{display:block;font-weight:300;text-transform:uppercase;letter-spacing:-.02em;font-size:.95rem;color:#74bc9c}
.hfc-meta span{font-weight:200;font-size:1.4rem;letter-spacing:-.05em}
.hfc-cap{font-size:13px!important;opacity:.7;margin-top:12px}
@media(max-width:640px){.hfc-g{grid-template-columns:1fr}
}


/* Highfive: Hero hell auf Mint */
.style-dark .hfb-bc,.style-dark .hfb-bc a,.style-dark .hfb-bc span,.style-dark .hfc-meta span,.style-dark .hfc-meta b,.style-dark .hfb-lead,.style-dark .hfb .hfb-hl p{color:#fff!important}
.style-dark .hfc-meta b{opacity:.85}


/* Highfive: Lesbare Beitragsbreite */
.single-post .post-content{max-width:820px;margin-left:auto;margin-right:auto}
.single-post .post-content p,.single-post .post-content li{font-size:1.15rem;line-height:1.7}
.single-post .post-content img{height:auto;max-width:100%}


/* Highfive: Browser-Rahmen fuer Website-Screenshots, Kundenlogo */
.hfc-browser{max-width:960px;margin:0 auto;border-radius:10px;overflow:hidden;background:#fff;border:1px solid rgba(0,0,0,.08);box-shadow:0 20px 60px rgba(0,0,0,.12)}
.hfc-browser .hfc-bar{display:flex;gap:6px;padding:10px 14px;background:#f1f1f1}
.hfc-browser .hfc-bar i{width:10px;height:10px;border-radius:50%;background:#d0d0d0;display:block}
.hfc-browser img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top}
.hfc-logo{display:block;height:44px;width:auto;max-width:100%;margin:0 0 1.2rem}
.hfc-wordmark{font-weight:200;font-size:clamp(1.6rem,1.2rem+1.4vw,2.6rem);letter-spacing:-.02em;margin:0 0 1.2rem}
.single-portfolio .hfc-meta b,.single-portfolio .hfc-meta span{color:#fff!important}
.single-portfolio .hfc-meta b{opacity:.85}
.hfc-pdf{width:100%;height:min(80vh,720px);border:0;border-radius:6px;background:#f4f4f4}
.hfc-fikt{font-size:14px!important;opacity:.75}


/* Highfive: Footer kompakter */
.hff2{gap:18px 40px!important;padding:4px 0 16px!important}
.hff2 a{line-height:1.55!important;font-size:1rem!important}
.hff2b{padding-top:12px!important}


/* Highfive: Hero-Wort hell statt grau */
.hf-hero-word p,.hf-hero-word span{color:rgba(255,255,255,.5)!important}


/* Highfive: Hero-Lead und Button weiss */
.skin-links .heading-text p,.skin-links .heading-text span,.skin-links .btn,.skin-links .btn span,.skin-links a{color:#fff!important}
.skin-links .btn-underline-out:after,.skin-links .btn:after{background-color:#fff!important}


/* Highfive: Ueberschriften Unterseiten deutlich groesser */
body:not(.home):not(.single-post) h1.font-787672{font-size:clamp(2.6rem,1.2rem + 3.8vw,5.25rem)!important;line-height:1.02!important;letter-spacing:-.05em}
body:not(.home):not(.single-post) h2.font-787672{font-size:clamp(2rem,1.2rem + 2.4vw,3.75rem)!important;line-height:1.05!important;margin-top:.5rem}
body:not(.home) .hfb-lead{font-size:clamp(1.3rem,1rem + 1vw,2rem)!important;line-height:1.3}
