/*
Theme Name: DT Partners
Description: Block-Theme für dt-partners.com (Interim Management und Beratung). Gestaltung und Seitenmuster aus dem Design-Entwurf.
Author: DT Partners
Version: 0.4.3
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dt-partners
*/
:root{--dt-hero-image:url("assets/images/dt-partners-hero-2000.webp")}
@media (max-width:700px){:root{--dt-hero-image:url("assets/images/dt-partners-hero-1000.webp")}}
.wp-site-blocks>*{margin-block-start:0}
.wp-block-post-content>.alignfull,.wp-site-blocks>.alignfull{margin-block-start:0;margin-block-end:0}
.dt-header{background:var(--wp--preset--color--ink);padding:1.25rem 1.5rem;color:#fff}
.dt-header a,.dt-header .wp-block-site-title a{color:#fff;text-decoration:none;font-weight:600}
.dt-header .wp-block-site-title a{font-family:var(--wp--preset--font-family--heading);font-size:1.5rem;font-weight:700}
.dt-header .dt-nav-cta a{background:var(--wp--preset--color--pink);padding:.5rem 1.2rem;border-radius:999px}
.dt-footer{background:var(--wp--preset--color--ink);color:#d3e0d9;padding:2.5rem 1.5rem;font-size:.9rem}
.dt-footer a{color:#d3e0d9}
.dt-hero h1{color:#fff}
.dt-hero p:not(.dt-tag){font-size:1.25rem}
.dt-hero .is-style-outline .wp-block-button__link{border:1.5px solid #fff;color:#fff;background:transparent}
.dt-section{padding:5rem 1.5rem}
.dt-light{background:var(--wp--preset--color--sage)}
.dt-dark{background:var(--wp--preset--color--ink);color:#d3e0d9;padding:5rem 1.5rem}
.dt-dark h2,.dt-dark h3{color:#fff}
.dt-cta{background:var(--wp--preset--color--green);color:var(--wp--preset--color--ink);padding:4.5rem 1.5rem}
.dt-cta .wp-block-button__link{background:var(--wp--preset--color--ink);color:#fff}
.dt-tag{font-size:.8125rem;letter-spacing:.1em;text-transform:uppercase;color:var(--wp--preset--color--pink);font-weight:600;margin-bottom:0}
.dt-card{background:#fff;border:1px solid var(--wp--preset--color--line);border-radius:20px;padding:2rem}
.dt-line{border-top:2px solid var(--wp--preset--color--green);padding-top:1.25rem}
.dt-step{font-family:var(--wp--preset--font-family--heading);font-size:3.5rem;font-weight:700;color:var(--wp--preset--color--green);line-height:1;margin:0}
.dt-quote{background:#fff;border-left:4px solid var(--wp--preset--color--pink);border-radius:0 16px 16px 0;padding:1.75rem 2rem;margin:0}
.dt-quote cite{display:block;font-style:normal;font-weight:600;font-size:.9rem;margin-top:1rem}
.dt-article{padding:4rem 1.5rem}
.wp-block-details{border-bottom:1px solid var(--wp--preset--color--line);padding:1rem 0}
.wp-block-details summary{font-weight:600;font-size:1.125rem;cursor:pointer}
.dt-hero{position:relative;background-color:var(--wp--preset--color--ink);background-image:var(--dt-hero-image);background-size:cover;background-position:center;color:#e3efe8;padding:7rem 1.5rem 6rem}
.dt-hero::before{content:"";position:absolute;inset:0;opacity:var(--dt-hero-overlay,1);background:linear-gradient(90deg,rgba(6,24,16,.92),rgba(6,24,16,.4));pointer-events:none}
.dt-hero>*{position:relative}
.dt-hero-small{padding:5rem 1.5rem 4rem}
.dt-header .wp-block-navigation__submenu-icon svg{stroke:#fff}
.dt-logos img{mix-blend-mode:multiply;max-width:100%;height:auto}
.dt-footer h4{color:#fff;font-size:1rem;margin-bottom:.75rem}
.dt-footer .wp-block-navigation a{color:#d3e0d9;text-decoration:none}
.dt-footer .wp-block-navigation a:hover,.dt-footer a:hover{color:var(--wp--preset--color--pink)}
.dt-footer .wp-block-site-title a{color:#fff;font-family:var(--wp--preset--font-family--heading);font-size:1.5rem;font-weight:700;text-decoration:none}
.dt-footer .dt-sep{border-color:#1e3a2d;margin:2rem 0 1.25rem}
.dt-logo{font-family:var(--wp--preset--font-family--heading);font-size:1.5rem;font-weight:700;letter-spacing:-.02em;color:#fff;text-decoration:none;line-height:1}
.dt-logo span{color:var(--wp--preset--color--green)}
.dt-logo:hover{color:#fff}
/* ---- 0.3.0: Bildvarianten ---- */
.dt-hero-split{background:var(--wp--preset--color--ink);color:#e3efe8;padding:5rem 1.5rem}
.dt-hero-split h1{color:#fff}
.dt-hero-split p:not(.dt-tag){font-size:1.25rem}
.dt-hero-split .is-style-outline .wp-block-button__link{border:1.5px solid #fff;color:#fff;background:transparent}
.dt-hero-split-light{background:var(--wp--preset--color--sage);color:var(--wp--preset--color--text)}
.dt-hero-split-light h1{color:var(--wp--preset--color--ink)}
.dt-split{align-items:center;gap:3rem}
.dt-img-hero,.dt-img-text{margin:0}
.dt-img-hero img,.dt-img-text img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:20px;display:block}
.dt-card-img{padding:0;overflow:hidden}
.dt-card-img .wp-block-image{margin:0}
.dt-card-img .dt-img-card img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}
.dt-card-body{padding:1.5rem 1.75rem 1.75rem}
/* ---- 0.3.0: Karussell Kundenstimmen ---- */
.dt-carousel{display:flex;flex-wrap:wrap;gap:1.5rem;--dt-visible:3}
.dt-carousel>.dt-quote{flex:1 1 300px;margin:0}
.dt-carousel .dt-quote{display:flex;flex-direction:column}
.dt-carousel .dt-quote cite{margin-top:auto;padding-top:1rem}
.dt-carousel.dt-carousel-js{display:block;overflow:hidden}
.dt-carousel-track{display:flex;gap:1.5rem;will-change:transform}
.dt-carousel-js .dt-quote{flex:0 0 calc((100% - (var(--dt-visible) - 1) * 1.5rem) / var(--dt-visible));margin:0;box-sizing:border-box}
@media (max-width:1000px){.dt-carousel{--dt-visible:2}}
@media (max-width:640px){.dt-carousel{--dt-visible:1}}
/* ---- 0.3.1: Logoleiste ---- */
.dt-logo-grid{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:2rem 3.5rem;margin-top:2rem}
.dt-logo-grid>.wp-block-image{margin:0;flex:0 0 auto}
.dt-logo img{height:44px;width:auto;max-width:170px;object-fit:contain;display:block;filter:grayscale(1) contrast(1.05);opacity:.85}
.dt-logo-enbw img{width:170px;height:auto}
.dt-logo-ewe img{width:123px;height:auto}
.dt-logo-yello img{width:55px;height:auto}
.dt-logo-badenova img{width:136px;height:auto}
.dt-logo-senec img{width:145px;height:auto}
.dt-logo-enercity img{width:119px;height:auto}
.dt-logo-ugg img{width:134px;height:auto}
.dt-logo-cornelsen img{width:134px;height:auto}
.dt-logo-1und1 img{width:53px;height:auto}
.dt-logo-holidaycheck img{width:119px;height:auto}
.dt-logo-lastminute img{width:170px;height:auto}
@media (max-width:640px){.dt-logo-grid{gap:1.5rem 2rem;zoom:.8}}
/* ---- 0.3.3: Navigation gut lesbar (Header und Footer, Desktop und Mobil) ---- */
:root{--dt-nav-text:#ffffff;--dt-nav-hover:#2BA859}
.dt-header .wp-block-navigation .wp-block-navigation-item a,
.dt-header .wp-block-navigation .wp-block-navigation-item__label,
.dt-footer .wp-block-navigation .wp-block-navigation-item a{color:var(--dt-nav-text)}
.dt-header .wp-block-navigation .wp-block-navigation__submenu-container{background:var(--wp--preset--color--ink);border:1px solid #1e3a2d;border-radius:12px;padding:.5rem;min-width:280px}
.dt-header .wp-block-navigation .wp-block-navigation-item a:hover,
.dt-header .wp-block-navigation .wp-block-navigation-item a:hover .wp-block-navigation-item__label,
.dt-header .wp-block-navigation .wp-block-navigation-item:hover>a,
.dt-footer .wp-block-navigation .wp-block-navigation-item a:hover{color:var(--dt-nav-hover)}
.dt-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container{background:transparent;border:0;padding:.25rem 0 .25rem 1rem;min-width:0}
.dt-header .dt-nav-cta a,.dt-header .dt-nav-cta a:hover{color:var(--wp--preset--color--white)}
.dt-header .dt-nav-cta a:hover{background:var(--wp--preset--color--link);color:var(--wp--preset--color--white)}
/* ---- 0.3.4: Hover-Zustände der Buttons ---- */
.wp-block-button__link,.dt-header .dt-nav-cta a{transition:background-color .2s ease,color .2s ease,border-color .2s ease}
.dt-hero .is-style-outline .wp-block-button__link:hover,
.dt-hero-split:not(.dt-hero-split-light) .is-style-outline .wp-block-button__link:hover{background:var(--wp--preset--color--white);border-color:var(--wp--preset--color--white);color:var(--wp--preset--color--ink)}
.dt-cta .wp-block-button__link:hover{background:var(--wp--preset--color--white);color:var(--wp--preset--color--ink)}
/* ---- 0.4.0: Wissen und Beiträge ---- */
.dt-chips{gap:.6rem;margin-bottom:2rem}
.dt-chips p{margin:0}
.dt-chips a{display:inline-block;border:1.5px solid var(--wp--preset--color--green);border-radius:999px;padding:.45rem 1.1rem;font-weight:600;text-decoration:none;color:var(--wp--preset--color--ink);transition:background-color .2s}
.dt-chips a:hover{background:var(--wp--preset--color--green);color:var(--wp--preset--color--ink)}
.dt-post-thumb{aspect-ratio:3/2;background:linear-gradient(135deg,var(--wp--preset--color--ink),var(--wp--preset--color--forest));overflow:hidden}
.dt-post-thumb .wp-block-post-featured-image{margin:0;height:100%}
.dt-post-thumb .wp-block-post-featured-image a{display:block;height:100%}
.dt-post-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.dt-card-img .wp-block-post-title{font-size:1.375rem;margin:.5rem 0}
.dt-card-img .wp-block-post-title a{color:var(--wp--preset--color--ink);text-decoration:none}
.dt-card-img .wp-block-post-title a:hover{color:var(--wp--preset--color--link)}
.dt-card-img .wp-block-post-date{font-size:.875rem;opacity:.7;margin-top:.5rem}
.dt-tag a{color:inherit;text-decoration:none}
.dt-meta{gap:1rem;color:#e3efe8;font-size:.95rem;margin-top:1rem}
.dt-meta p{margin:0}
.dt-hero .wp-block-post-terms a,.dt-hero .wp-block-post-date,.dt-hero .wp-block-term-description{color:#e3efe8}
.dt-article-img{margin-bottom:2rem}
.dt-article-img img{border-radius:20px;width:100%;height:auto;display:block}
.dt-article .wp-block-post-content h2{margin-top:2.5rem}
.dt-keypoints{background:var(--wp--preset--color--sage);border-radius:16px;padding:1.5rem 1.75rem}
.dt-keypoints h3{margin-top:0}
/* ---- 0.4.1: Beitragsvorlagen ---- */
.dt-hero-split .wp-block-post-terms a,.dt-hero-split .dt-meta{color:#e3efe8}
.dt-hero-split .wp-block-post-title{color:#fff}
.dt-post-thumb-round{border-radius:20px}
.dt-light-head{background:var(--wp--preset--color--sage);padding:4.5rem 1.5rem 3rem}
.dt-light-head .dt-meta,.dt-essay-head .dt-meta{color:var(--wp--preset--color--text);opacity:.75}
.dt-article-top{padding-bottom:0}
.dt-cols-top{align-items:flex-start;gap:3rem}
.dt-sticky{position:sticky;top:2rem;display:grid;gap:1.5rem}
.dt-essay-head{background:var(--wp--preset--color--mist);padding:5rem 1.5rem 1rem;text-align:center}
.dt-essay-head .dt-meta{justify-content:center}
.dt-essay .wp-block-post-content>p:first-of-type{font-size:1.3rem;line-height:1.6}
.dt-byline{border-top:1px solid var(--wp--preset--color--line);padding-top:1.5rem}
/* ---- 0.4.3: Filter-Chips (dynamisch) ---- */
.dt-chips-live{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:2rem}
.dt-chips-live .dt-chip{display:inline-block;border:1.5px solid var(--wp--preset--color--green);border-radius:999px;padding:.45rem 1.1rem;font-weight:600;text-decoration:none;color:var(--wp--preset--color--ink);transition:background-color .2s}
.dt-chips-live .dt-chip:hover,.dt-chips-live .dt-chip.is-active{background:var(--wp--preset--color--green);color:var(--wp--preset--color--ink)}
.dt-card-img .wp-block-post-excerpt__more-link{font-weight:600;text-decoration:none}
