/*
Theme Name: Pohl Klar Block
Theme URI: https://www.pohl-ki.de/
Author: Christian Pohl
Description: Schwarz-rotes Block-Theme mit nativer WordPress-Navigation, editierbaren Block-Templates und breiten Lernseiten.
Version: 2.0.3
Requires at least: 6.6
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: pohl-klar-block
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, wide-blocks
*/
:root{--pohl-ink:#17191c;--pohl-red:#c71919;--pohl-signal:#ff3333;--pohl-paper:#f6f5f2;--pohl-muted:#555b64;--pohl-line:#deded9}
html{scroll-padding-top:30px}body{margin:0}.wp-site-blocks{padding:0}.wp-site-blocks>*,.wp-site-blocks>.wp-block-template-part{margin-block:0}
:where(a,button,input,textarea,select):focus-visible{outline:3px solid #226bd1;outline-offset:4px}
.pohl-shell{width:calc(100% - 80px);max-width:1200px;margin-inline:auto;box-sizing:border-box}
:where(.pohl-header,.pohl-footer,.pohl-designed-home) :where(h1,h2,h3,p){margin-block-start:0}
.pohl-header{background:#141618;color:#fff;border-bottom:1px solid #343638;padding-block:22px}
.pohl-header-row{display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.pohl-brand{display:flex;align-items:center;gap:15px;flex-shrink:0}.pohl-brand .wp-block-site-title{font-size:clamp(1.2rem,2vw,1.6rem);font-weight:800;letter-spacing:-.04em;line-height:1.2;margin:0}.pohl-header a{color:inherit}.pohl-brand .wp-block-site-title a{text-decoration:none}.pohl-brand .wp-block-site-logo img{max-height:64px;object-fit:contain;width:auto;max-width:150px}.pohl-brand .wp-block-site-tagline{font-size:.68rem;color:#d0d1d4;line-height:1.6;letter-spacing:.08em;margin:4px 0 0}
.pohl-navigation{font-size:.88rem;flex:1;min-width:0;max-width:100%;margin-block:0!important}.pohl-navigation .wp-block-navigation__container{gap:10px 22px;justify-content:flex-end;flex-wrap:wrap}.pohl-navigation .wp-block-navigation-item__content{text-decoration:none;padding-block:8px}.pohl-navigation .wp-block-navigation-item__content:hover{text-decoration:underline;text-underline-offset:.25em}.pohl-navigation .wp-block-navigation__submenu-container{background:#212326;color:white;border-color:#45474c;min-width:240px}.pohl-navigation .wp-block-navigation__responsive-container.is-menu-open{background:#141618;color:#fff;padding:32px}.pohl-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{align-items:flex-start;gap:12px}.pohl-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{align-items:flex-start}.pohl-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container{background:transparent;color:inherit;min-width:0}.pohl-navigation .wp-block-navigation__responsive-container-close,.pohl-navigation .wp-block-navigation__responsive-container-open{color:inherit}
.pohl-hero{background:#141618;color:#fff;padding-block:74px 88px}.pohl-hero-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;align-items:center}.pohl-eyebrow{font-size:.72rem;letter-spacing:.15em;text-transform:uppercase;font-weight:750;color:var(--pohl-red);margin:0 0 16px}.pohl-eyebrow:before{content:"";display:inline-block;width:25px;height:2px;background:currentColor;vertical-align:middle;margin-right:12px}.pohl-hero .pohl-eyebrow,.pohl-workshop .pohl-eyebrow{color:var(--pohl-signal)}.pohl-hero-title{font-size:clamp(2.8rem,5.2vw,4.6rem);font-weight:750;line-height:1.08;letter-spacing:-.045em;margin:20px 0}.pohl-signal{color:var(--pohl-signal)}.pohl-lead{font-size:1.08rem;color:#c5c7cc;line-height:1.75;max-width:510px}.pohl-actions{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin-top:30px}.pohl-actions>*{margin-block:0}.pohl-actions a:not(.wp-block-button__link){color:white;font-size:.92rem}.pohl-note{font-size:.75rem;color:#aeb1b7;margin:28px 0 0}.pohl-buttons{margin-block:0!important}.pohl-buttons .wp-block-button__link{padding:13px 23px;border-radius:4px;font-weight:650;font-size:.91rem;line-height:1.6;background:var(--pohl-red);color:white;text-decoration:none;border:1px solid var(--pohl-red)}.pohl-buttons .wp-block-button__link:hover{background:#a31414}
.pohl-map{padding:24px;background:#202225;border:1px solid #414347;border-radius:12px;box-shadow:22px 22px 0 #181a1c;transform:rotate(-2deg);box-sizing:border-box}.pohl-map-top{font-size:.69rem;color:#d0d1d4;border-bottom:1px solid #424448;padding-bottom:18px;letter-spacing:.08em;text-transform:uppercase}.pohl-map-title{font-size:1.65rem;line-height:1.25;font-weight:650;margin:26px 0;letter-spacing:-.03em}.pohl-map-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pohl-map-tile{padding:20px 16px;background:#2a2c30;border:1px solid #45474c;border-radius:5px}.pohl-map-tile p{font-size:.86rem;margin:0;line-height:1.5}.pohl-map-tile .pohl-map-number{font-size:1.2rem;font-weight:750;color:var(--pohl-signal);margin-bottom:9px}.pohl-map-tile.is-accent{background:#b71919;border-color:#e32626}.pohl-map-tile.is-accent .pohl-map-number{color:white}.pohl-map-note{color:#c0c3c9;font-size:.72rem;margin:24px 0 0}
.pohl-audience{background:var(--pohl-paper);border-bottom:1px solid var(--pohl-line);padding-block:23px}.pohl-audience-row{display:flex;gap:12px 28px;flex-wrap:wrap;align-items:center}.pohl-audience-row p{margin:0;font-size:.88rem;font-weight:650}.pohl-audience-row a{color:var(--pohl-ink);text-decoration:none}.pohl-audience-row a:hover{color:var(--pohl-red);text-decoration:underline}.pohl-audience-row .pohl-audience-label{font-size:.7rem;letter-spacing:.12em;color:var(--pohl-muted);text-transform:uppercase}
.pohl-section{padding-block:84px}.pohl-section-title{font-size:clamp(2rem,3.3vw,2.9rem);line-height:1.13;letter-spacing:-.04em;margin:12px 0 22px}.pohl-section-head{display:flex;justify-content:space-between;gap:36px;align-items:flex-end;margin-bottom:30px}.pohl-section-head>.pohl-intro{max-width:370px;font-size:.97rem;color:var(--pohl-muted);margin:0 0 8px}.pohl-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.pohl-cards>.pohl-card{margin-block:0}.pohl-card{padding:28px;border:1px solid var(--pohl-line);border-radius:6px;background:#fff;display:flex;flex-direction:column;box-sizing:border-box}.pohl-card .pohl-card-index{font-size:.75rem;letter-spacing:.1em;color:var(--pohl-red);font-weight:750;margin:0 0 20px}.pohl-card h3{font-size:1.35rem;line-height:1.2;letter-spacing:-.025em;margin:0 0 12px}.pohl-card h3 a{color:var(--pohl-ink);text-decoration:none}.pohl-card h3 a:hover{text-decoration:underline}.pohl-card p{color:var(--pohl-muted);font-size:.95rem;line-height:1.65}.pohl-card .pohl-card-link{font-size:.85rem;font-weight:700;margin-top:auto;margin-bottom:0;padding-top:15px}.pohl-card-link a{color:var(--pohl-red)}
.pohl-tools-section{background:var(--pohl-paper)}.pohl-tools-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:80px;align-items:start}.pohl-tools-copy>p:not(.pohl-eyebrow){color:var(--pohl-muted)}.pohl-tool-list{border-top:1px solid #c9cac5}.pohl-tool{padding:24px 0;border-bottom:1px solid #c9cac5}.pohl-tool h3{font-size:1.08rem;line-height:1.4;margin:0 0 5px}.pohl-tool a{color:var(--pohl-ink);text-decoration:none}.pohl-tool a:hover{text-decoration:underline}.pohl-tool p{font-size:.85rem;color:var(--pohl-muted);margin:0}.pohl-workshop{background:var(--pohl-ink);color:white;padding:44px 46px;display:flex;justify-content:space-between;align-items:center;gap:35px;border-radius:7px;border-left:5px solid var(--pohl-red)}.pohl-workshop h2{font-size:2rem;line-height:1.2;letter-spacing:-.04em;margin:15px 0}.pohl-workshop p:not(.pohl-eyebrow){color:#c5c7cc;max-width:650px;margin:0}.pohl-workshop .pohl-buttons{flex-shrink:0}
.pohl-footer{background:var(--pohl-paper);border-top:1px solid var(--pohl-line);padding-block:30px}.pohl-footer-row{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}.pohl-footer-title{font-weight:750;font-size:.94rem;margin:0}.pohl-footer-sub{font-size:.78rem;color:var(--pohl-muted);margin:3px 0 0}.pohl-footer-links{display:flex;gap:15px 24px;flex-wrap:wrap}.pohl-footer-links p{margin:0;font-size:.8rem}.pohl-footer-links a{color:var(--pohl-muted)}
.pohl-reading{padding:58px 20px 72px;box-sizing:border-box}.pohl-reading>.wp-block-post-title{font-size:clamp(2.3rem,5vw,3.6rem);line-height:1.15;letter-spacing:-.04em;overflow-wrap:anywhere}.pohl-reading-wide{max-width:1200px;margin-inline:auto}.pohl-entry{overflow-wrap:anywhere}.pohl-entry :where(img,video){max-width:100%;height:auto}.pohl-entry iframe{max-width:100%}.pohl-entry :where(input,textarea,select){max-width:100%;box-sizing:border-box}.pohl-entry table{max-width:100%}.pohl-entry>.alignwide{max-width:1200px}.pohl-entry>.alignfull{max-width:none}.pohl-posts{list-style:none;padding:0}.pohl-posts>li{padding-block:26px;border-bottom:1px solid var(--pohl-line)}.pohl-posts .wp-block-post-title{font-size:1.8rem;line-height:1.2}.pohl-posts .wp-block-post-title a{color:var(--pohl-ink)}.pohl-posts .wp-block-post-date{font-size:.8rem;color:var(--pohl-muted)}.pohl-comments{margin-top:45px}.pohl-comments .wp-block-comment-template{padding-left:0}.pohl-comments .wp-block-comment-template ol{padding-left:24px}.pohl-entry .wp-block-table{overflow:auto}
@media(min-width:1500px){.pohl-hero{padding-block:100px}}
@media(min-width:600px) and (max-width:1000px){.pohl-navigation .wp-block-navigation__responsive-container-open:not(.always-shown){display:flex}.pohl-navigation .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}}
@media(max-width:1000px){.pohl-navigation{flex:0 0 auto}.pohl-hero-grid{gap:40px}.pohl-tools-grid{gap:40px}}
@media(max-width:760px){.pohl-shell{width:calc(100% - 40px)}.pohl-header{padding-block:18px}.pohl-header-row{gap:15px}.pohl-brand .wp-block-site-logo img{max-width:65px;max-height:45px}.pohl-brand .wp-block-site-title{font-size:1.2rem}.pohl-brand .wp-block-site-tagline{font-size:.6rem}.pohl-hero{padding-block:42px 58px}.pohl-hero-grid{grid-template-columns:1fr;gap:38px}.pohl-map{transform:none;max-width:500px;box-shadow:none}.pohl-audience-label{width:100%}.pohl-section{padding-block:55px}.pohl-section-head{display:block}.pohl-section-head>.pohl-intro{max-width:none}.pohl-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.pohl-tools-grid{grid-template-columns:1fr;gap:26px}.pohl-workshop{padding:30px 26px;display:block}.pohl-workshop .pohl-buttons{margin-top:24px!important}.pohl-footer-row{align-items:flex-start}.pohl-reading{padding-block:36px 55px}}
@media(max-width:480px){.pohl-cards{grid-template-columns:1fr}.pohl-hero-title{font-size:2.8rem}.pohl-card{padding:25px}.pohl-map-tile{padding:15px 12px}.pohl-actions{gap:18px}}
@media(prefers-reduced-motion:reduce){.pohl-designed-home *{animation:none!important;transition:none!important}}

/* Touch-friendly overlay at tablet widths and on touch-first devices in landscape. */
@media (max-width:1100px), (hover:none), (pointer:coarse) {
    .pohl-header-row { flex-wrap:nowrap; }
    .pohl-navigation { flex:0 0 auto; }
    .pohl-navigation .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display:flex !important;
        align-items:center;
        justify-content:center;
        min-width:48px;
        min-height:48px;
    }
    .pohl-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) {
        display:none !important;
    }
}

.pohl-navigation .wp-block-navigation__responsive-container.is-menu-open {
    overflow-y:auto;
    overscroll-behavior:contain;
    padding:24px;
}
.pohl-navigation .is-menu-open .wp-block-navigation__responsive-container-close {
    min-width:48px;
    min-height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.pohl-navigation .is-menu-open .wp-block-navigation__responsive-container-content {
    padding-top:64px;
    align-items:stretch;
}
.pohl-navigation .is-menu-open .wp-block-navigation__container {
    width:100%;
    align-items:stretch !important;
    gap:4px !important;
}
.pohl-navigation .is-menu-open .wp-block-navigation-item {
    width:100%;
    flex-direction:column;
    align-items:stretch !important;
    background:transparent !important;
    color:inherit !important;
}
.pohl-navigation .is-menu-open .wp-block-navigation-item__content {
    box-sizing:border-box;
    min-height:48px;
    padding:12px 14px;
    width:100%;
    text-align:left;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    line-height:1.5;
    touch-action:manipulation;
}
.pohl-navigation .is-menu-open button.wp-block-navigation-submenu__toggle {
    border:0;
    border-bottom:1px solid #414347;
    background:transparent;
    color:inherit;
    font:inherit;
    cursor:pointer;
}
.pohl-navigation .is-menu-open .wp-block-navigation__submenu-container {
    position:static !important;
    inset:auto !important;
    width:100% !important;
    min-width:0 !important;
    height:auto !important;
    padding:0 0 0 16px !important;
    margin:0 !important;
    border:0 !important;
    border-left:1px solid #414347 !important;
    box-sizing:border-box;
    overflow:visible !important;
    opacity:1 !important;
    visibility:visible !important;
    transition:none !important;
    align-items:stretch !important;
    gap:2px !important;
}
/* WordPress 6.8 normally exposes every level in the overlay. Keep it tappable
   and collapsed until the native trigger's actual state is expanded instead. */
.pohl-navigation .is-menu-open .has-child > button[aria-expanded="false"] ~ .wp-block-navigation__submenu-container {
    display:none !important;
}
.pohl-navigation .is-menu-open .has-child > button[aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
    display:flex !important;
}

.pohl-eduki{background:#c71919;color:#fff;padding-block:38px}.pohl-eduki-row{display:flex;align-items:center;justify-content:space-between;gap:32px}.pohl-eduki .pohl-eyebrow{color:#fff;margin-bottom:12px}.pohl-eduki-title{font-size:clamp(1.7rem,3vw,2.35rem);line-height:1.2;letter-spacing:-.035em;margin:0 0 12px}.pohl-eduki p:not(.pohl-eyebrow){margin:0;max-width:650px;font-size:1rem}.pohl-eduki .pohl-buttons{flex-shrink:0}.pohl-eduki .wp-block-button__link{background:#fff;color:#a31414;border-color:#fff}.pohl-eduki .wp-block-button__link:hover{background:#f6f5f2;color:#a31414}@media(max-width:760px){.pohl-eduki-row{display:block}.pohl-eduki .pohl-buttons{margin-top:24px!important}}
