/*
Theme Name: Hey Kreis Warendorf – Child
Theme URI: https://www.heykreiswarendorf.de/
Description: GeneratePress-Child-Theme, das das Design der Webflow-Seite heykreiswarendorf.de nachbildet (Fachkräfte-Kampagne Kreis Warendorf).
Author: Nachbau (GeneratePress)
Template: generatepress
Version: 0.6.8
Text Domain: hey-kreiswarendorf-child
*/

/* =========================================================
   Design-Tokens (aus der Webflow-Quelle)
   ========================================================= */
:root {
  --hkw-primary-050:#f1fcf4; --hkw-primary-100:#defae7; --hkw-primary-200:#bef4cf;
  --hkw-primary-300:#8ce9ab; --hkw-primary-400:#52d67e; --hkw-primary-500:#2bbc5b;
  --hkw-primary-600:#1e9b48; --hkw-primary-700:#1d8440; --hkw-primary-800:#1a6133;
  --hkw-primary-900:#17502c; --hkw-primary-950:#072c15;
  --hkw-secondary-400:#51d767; --hkw-secondary-500:#2ed149;
  --hkw-accent-purple:#7a3df5;
  --hkw-neutral-100:#ededed; --hkw-neutral-500:#999; --hkw-neutral-800:#676767; --hkw-neutral-950:#363636;
  --hkw-black:#0f0f0f; --hkw-white:#fff;
  --hkw-font-body:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --hkw-font-heading:"Nunito",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --hkw-radius:16px; --hkw-radius-lg:28px;
  --hkw-pad-x:clamp(1.25rem,5vw,6rem);
}

/* =========================================================
   Grundlagen
   ========================================================= */
body{font-family:var(--hkw-font-body);color:var(--hkw-neutral-950);}
h1,h2,h3,h4,h5,h6{font-family:var(--hkw-font-heading);font-weight:800;line-height:1.08;color:var(--hkw-neutral-950);}
h1{font-size:clamp(2.4rem,4.5vw,3.9rem);letter-spacing:-.01em;}
h2{font-size:clamp(2rem,3.5vw,3rem);}
h3{font-size:clamp(1.4rem,2.4vw,2rem);}
a{color:var(--hkw-primary-600);}
a:hover{color:var(--hkw-primary-700);}

/* =========================================================
   FULL-WIDTH: Seiten randlos wie im Original
   ========================================================= */
/* GeneratePress packt die GANZE Seite in .site.grid-container (max 1200px)
   -> das erzeugt die seitlichen Leisten. Hier vollständig aufheben. */
html,body{overflow-x:clip;}/* clip statt hidden: verhindert Querscroll, bricht aber position:sticky NICHT */
.site.grid-container,
#page.grid-container{max-width:100%!important;width:100%!important;margin:0!important;}
/* Header/Navigation IMMER volle Breite (auf allen Seiten gleich) */
.inside-header.grid-container,
.inside-navigation.grid-container{max-width:100%!important;padding-inline:var(--hkw-pad-x);}
.hkw-fullwidth .site-content{padding:0!important;}

.site-content .content-area,
.hkw-fullwidth .inside-article,
.hkw-fullwidth .entry-content{width:100%;max-width:100%;}
.hkw-fullwidth .site-content,
.hkw-fullwidth .content-area,
.hkw-fullwidth .inside-article,
.hkw-fullwidth .entry-content{padding:0!important;margin:0!important;}
.hkw-fullwidth .entry-content>*{max-width:100%;}
/* Blöcke, die volle Breite einnehmen */
.entry-content>.alignfull,.hkw-band{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);max-width:100vw;}
/* Innerer Inhaltsrahmen in Bändern */
.hkw-inner{max-width:1200px;margin-inline:auto;padding-inline:var(--hkw-pad-x);}

/* Normale Textseiten (kein Landing): Titel + Inhalt teilen EINE zentrierte,
   linksbündige Spalte (lesbare Breite trotz aufgehobenem Container) */
body:not(.hkw-fullwidth) .site-content{padding-block:3.5rem;}
body:not(.hkw-fullwidth) .content-area{max-width:1200px;margin-inline:auto;padding-inline:var(--hkw-pad-x);}
body:not(.hkw-fullwidth) .entry-content{max-width:100%;margin-inline:0;padding-inline:0;font-size:1.05rem;}
/* Lange Fließtexte auf angenehme Zeilenlänge begrenzen, Bilder/Listen dürfen breit sein */
body:not(.hkw-fullwidth) .entry-content > p,
body:not(.hkw-fullwidth) .entry-content > ul{max-width:75ch;}
body:not(.hkw-fullwidth) .entry-header{padding-inline:0;margin-bottom:1.5rem;}
body:not(.hkw-fullwidth) .entry-content h2{margin-top:2rem;}
body:not(.hkw-fullwidth) .entry-content h4{margin-top:1.5rem;color:var(--hkw-primary-700);}
.entry-header .entry-title{font-size:clamp(2rem,4vw,3rem);}
body:not(.hkw-fullwidth) .entry-content img{border-radius:16px;}
body:not(.hkw-fullwidth) .entry-content .wp-block-image{margin-block:1.5rem;}
body:not(.hkw-fullwidth) .entry-content h3{margin-top:1.75rem;color:var(--hkw-primary-700);}
body:not(.hkw-fullwidth) .entry-content .wp-block-buttons{margin-block:1rem;}
body:not(.hkw-fullwidth) .entry-content ul.wp-block-list{line-height:1.9;}
.hkw-note{background:var(--hkw-primary-050);border-left:4px solid var(--hkw-primary-500);
  padding:1rem 1.25rem;border-radius:8px;font-size:.95rem;color:var(--hkw-neutral-800);}
body:not(.hkw-fullwidth) .hkw-lead{font-size:1.2rem;font-weight:600;color:var(--hkw-neutral-950);line-height:1.5;}

/* =========================================================
   Header / Navigation (weiß, Logo grün)
   ========================================================= */
.site-header{background:#fff;border-bottom:1px solid var(--hkw-neutral-100);position:sticky;top:0;z-index:100;transition:box-shadow .3s ease;}
.main-navigation .main-nav ul li a{font-family:var(--hkw-font-heading);font-weight:700;color:var(--hkw-neutral-950);}
.main-navigation .main-nav ul li a:hover{color:var(--hkw-primary-600);}
.site-logo img,.header-image{max-height:64px;width:auto;}
.hkw-logo{display:inline-block;line-height:0;}
.hkw-logo img{height:84px;width:auto;display:block;}
.hkw-gfw{display:inline-flex;align-items:center;margin-left:1.5rem;}
.hkw-gfw img{height:60px;width:auto;}
/* Sprachumschalter DE | EN */
.hkw-langswitch{display:inline-flex;align-items:center;margin-left:1.25rem;}
.hkw-langswitch ul{display:flex;gap:.15rem;list-style:none;margin:0;padding:0;align-items:center;}
.hkw-langswitch li{margin:0;display:flex;align-items:center;}
.hkw-langswitch li:not(:last-child)::after{content:"|";margin-left:.55rem;color:var(--hkw-neutral-300);}
.hkw-langswitch a,.hkw-langswitch span{text-transform:uppercase;font-family:var(--hkw-font-heading);font-weight:800;font-size:.85rem;color:var(--hkw-neutral-950);text-decoration:none;padding:.15rem .1rem;}
.hkw-langswitch .current-lang a,.hkw-langswitch .current-lang span{color:var(--hkw-primary-600);}
.hkw-langswitch a:hover{color:var(--hkw-primary-600);}
.site-header .inside-header{padding-block:.75rem;transition:padding-block .3s ease;}

/* Sticky-Header: Schatten + kompakter beim Scrollen */
html.hkw-scrolled .site-header{box-shadow:0 6px 24px rgba(7,44,21,.10);border-bottom-color:transparent;}
html.hkw-scrolled .site-header .inside-header{padding-block:.35rem;}
html.hkw-scrolled .hkw-logo img{height:64px;transition:height .3s ease;}
html.hkw-scrolled .hkw-gfw img{height:48px;transition:height .3s ease;}
.hkw-logo img,.hkw-gfw img{transition:height .3s ease;}

/* Dropdown-Untermenüs: volle Kontrolle, überschreibt GP's -99999px/pointer-events.
   Sichtbar+klickbar NUR bei Hover/Fokus; keine überlappende Brücke. */
.main-navigation .main-nav ul ul.sub-menu{
  position:absolute;top:100%;left:0 !important;right:auto !important;
  min-width:250px;width:auto;
  background:#fff;box-shadow:0 14px 34px rgba(0,0,0,.14);
  border-radius:14px;padding:.5rem 0;margin:0;
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(3px);transition:opacity .12s ease,transform .12s ease;
}
.main-navigation .main-nav ul li.menu-item-has-children:hover > ul.sub-menu,
.main-navigation .main-nav ul li.menu-item-has-children.sfHover > ul.sub-menu,
.main-navigation .main-nav ul li.menu-item-has-children:focus-within > ul.sub-menu{
  opacity:1 !important;visibility:visible !important;pointer-events:auto !important;
  transform:translateY(0);
}
.main-navigation .main-nav ul ul.sub-menu li{width:100%;}
.main-navigation .main-nav ul ul.sub-menu li a{
  display:block;padding:.6rem 1.25rem;white-space:nowrap;
  font-size:.98rem;color:var(--hkw-neutral-950);line-height:1.3;
}
.main-navigation .main-nav ul ul.sub-menu li a:hover{
  background:var(--hkw-primary-050);color:var(--hkw-primary-700);
}

/* =========================================================
   Buttons – grüner Pill-Stil mit Pfeil
   ========================================================= */
.wp-block-button__link,.hkw-btn{
  display:inline-flex;align-items:center;gap:.6rem;
  background:var(--hkw-primary-500)!important;background-color:var(--hkw-primary-500)!important;
  color:#fff!important;
  font-family:var(--hkw-font-heading);font-weight:800;
  padding:.9rem 1.6rem;border-radius:999px!important;text-decoration:none;
  transition:background .15s ease,transform .15s ease;
}
.wp-block-button__link::after,.hkw-btn::after{content:"→";font-weight:700;}
.wp-block-button__link:hover,.hkw-btn:hover{background:var(--hkw-primary-600)!important;background-color:var(--hkw-primary-600)!important;transform:translateY(-1px);}
.is-style-outline .wp-block-button__link{background:transparent!important;background-color:transparent!important;}
.is-style-outline .wp-block-button__link{background:transparent;color:var(--hkw-primary-700)!important;border:2px solid var(--hkw-primary-500);}
.hkw-btn--light{background:#fff;color:var(--hkw-primary-700)!important;}

/* =========================================================
   Farbbänder (volle Breite)
   ========================================================= */
.hkw-band{padding-block:clamp(3.5rem,7vw,6.5rem);}
.hkw-band--black{background:var(--hkw-black);color:#fff;}
.hkw-band--purple{background:var(--hkw-accent-purple);color:#fff;}
.hkw-band--green{background:var(--hkw-primary-500);color:#fff;}
.hkw-band--light{background:var(--hkw-primary-050);}
.hkw-band--black h2,.hkw-band--purple h2,.hkw-band--green h2{color:#fff;}
.hkw-band--dark{background:var(--hkw-primary-950);color:#fff;}
.hkw-band--dark h1,.hkw-band--dark h2,.hkw-band--dark h3{color:#fff;}
.hkw-statement{font-family:var(--hkw-font-heading);font-weight:800;font-size:clamp(1.4rem,2.6vw,2.1rem);line-height:1.3;max-width:60ch;}
.hkw-intro p{font-size:clamp(1.05rem,1.6vw,1.25rem);line-height:1.6;max-width:70ch;}

/* Landing-Kopfzeile */
.hkw-pagehero{padding-block:clamp(3rem,6vw,5.5rem);}
.hkw-pagehero .hkw-hero-subhead{color:#fff;font-size:clamp(1.4rem,2.4vw,2rem);margin:.5rem 0 1.25rem;max-width:26ch;}
.hkw-pagehero h1{max-width:20ch;margin:.3rem 0;}
.hkw-eyebrow{font-family:var(--hkw-font-heading);font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:.85rem;color:var(--hkw-primary-600);}
.hkw-eyebrow--light{color:var(--hkw-primary-300);}
.hkw-hero-sub{font-size:clamp(1.05rem,1.6vw,1.25rem);color:var(--hkw-primary-100);max-width:64ch;margin-top:1rem;}

/* =========================================================
   HERO-SLIDER
   ========================================================= */
.hkw-hero{position:relative;overflow:hidden;background:var(--hkw-primary-950);}
.hkw-hero__track{display:flex;transition:transform .6s cubic-bezier(.4,0,.2,1);}
.hkw-hero__slide{position:relative;flex:0 0 100%;min-height:clamp(520px,80vh,760px);
  background-size:cover;background-position:center;display:flex;align-items:center;overflow:hidden;}
/* Echtes Bild-Block als Slide-Hintergrund (per Klick tauschbar) */
.hkw-hero__img{position:absolute;inset:0;z-index:0;margin:0;width:100%;height:100%;}
.hkw-hero__img img{width:100%;height:100%;object-fit:cover;display:block;border-radius:0;}
.hkw-hero__slide::before{content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,rgba(7,44,21,.35) 0%,rgba(7,44,21,0) 55%);}
.hkw-hero__panel{position:relative;z-index:2;margin:0 0 0 var(--hkw-pad-x);
  background:var(--hkw-primary-600);color:#fff;border-radius:var(--hkw-radius-lg);
  padding:clamp(1.5rem,3vw,2.75rem);max-width:min(560px,46vw);box-shadow:0 20px 50px rgba(0,0,0,.25);}
.hkw-hero__badge{display:inline-block;background:var(--hkw-secondary-500);color:#08331b;
  font-family:var(--hkw-font-heading);font-weight:800;font-size:.95rem;
  padding:.45rem 1rem;border-radius:999px;margin-bottom:1.1rem;}
.hkw-hero__quote{font-family:var(--hkw-font-heading);font-weight:800;color:#fff;
  font-size:clamp(1.5rem,2.5vw,2.4rem);line-height:1.18;margin:0 0 1rem;}
.hkw-hero__name{color:var(--hkw-primary-100);font-size:1rem;font-weight:600;}
/* Steuerung */
.hkw-hero__nav{position:absolute;z-index:3;bottom:1.25rem;left:50%;transform:translateX(-50%);
  display:flex;gap:.6rem;align-items:center;}
.hkw-hero__arrow,.hkw-slider__arrow{width:44px;height:44px;border-radius:999px;border:none;cursor:pointer;
  background:#fff;color:var(--hkw-primary-700);font-size:1.2rem;font-weight:700;
  display:grid;place-items:center;box-shadow:0 6px 18px rgba(0,0,0,.2);transition:transform .15s;}
.hkw-hero__arrow:hover,.hkw-slider__arrow:hover{transform:scale(1.08);}
.hkw-hero__dots{position:absolute;z-index:3;bottom:1.6rem;right:var(--hkw-pad-x);display:flex;gap:.4rem;}
.hkw-hero__dot{width:10px;height:10px;border-radius:999px;border:none;background:rgba(255,255,255,.5);cursor:pointer;}
.hkw-hero__dot.is-active{background:#fff;}

/* =========================================================
   Feature-Reihen (Text | randloses Bild mit Bubble-Label)
   ========================================================= */
.hkw-feature{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:clamp(440px,60vh,620px);}
.hkw-feature__text{padding:clamp(2rem,5vw,5rem) var(--hkw-pad-x);}
.hkw-feature__eyebrow{color:var(--hkw-primary-600);}
.hkw-feature__media{position:relative;align-self:stretch;min-height:340px;
  background-size:cover;background-position:center;overflow:hidden;}
/* Editierbares core/image im Media-Bereich füllt die Fläche randlos */
.hkw-feature__media .wp-block-image,
.hkw-feature__media figure{margin:0;height:100%;}
.hkw-feature__media img{width:100%;height:100%;object-fit:cover;display:block;}
.hkw-feature--reverse .hkw-feature__media{order:-1;}
.hkw-feature__title{color:var(--hkw-primary-600);margin:0 0 .75rem;}
.hkw-feature__lead{font-weight:700;font-size:1.15rem;margin:0 0 .75rem;}
.hkw-feature__text p{color:var(--hkw-neutral-800);line-height:1.6;}
.hkw-bubble{position:absolute;top:1.5rem;left:1.5rem;z-index:2;
  background:var(--hkw-primary-500);color:#fff;font-family:var(--hkw-font-heading);font-weight:800;
  padding:.55rem 1.1rem;border-radius:14px 14px 14px 0;box-shadow:0 8px 20px rgba(0,0,0,.15);}
.hkw-feature--reverse .hkw-bubble{left:auto;right:1.5rem;border-radius:14px 14px 0 14px;}
/* Landing-Sektionen (Startseiten-Stil für Unterseiten) */
.hkw-band--textblock{padding-block:clamp(2.5rem,5vw,4.5rem);}
.hkw-band--textblock h2{color:var(--hkw-primary-700);margin-bottom:1rem;}
.hkw-band--textblock h3{color:var(--hkw-primary-700);margin-top:1.5rem;}
.hkw-band--textblock p{max-width:75ch;line-height:1.7;color:var(--hkw-neutral-800);}
.hkw-band--textblock .hkw-lead{color:var(--hkw-neutral-950);font-size:1.2rem;font-weight:600;max-width:70ch;}
.hkw-band--textblock ul.wp-block-list{line-height:1.9;}
.hkw-imgcenter img{max-width:1000px;width:100%;border-radius:var(--hkw-radius-lg);margin-inline:auto;display:block;}
/* Anklickbare Karte (inline-SVG) */
.hkw-map{margin:0;display:grid;place-items:center;}
.hkw-map svg{width:100% !important;height:auto !important;max-width:560px;}
.hkw-feature__media .hkw-map{height:100%;padding:clamp(1rem,3vw,2.5rem);}
.hkw-map a{cursor:pointer;transition:opacity .15s;}
.hkw-map a:hover{opacity:.82;}

/* Grüne Karten-Sektion (Der Kreis von Ahlen bis Warendorf) */
.hkw-mapsection{color:#fff;}
.hkw-mapsection h2{color:#fff;margin-bottom:1.25rem;}
.hkw-mapsection .hkw-mapcols{gap:3rem;align-items:center;}
.hkw-mapsection .hkw-map{background:#fff;border-radius:var(--hkw-radius-lg);padding:clamp(1rem,2.5vw,2rem);box-shadow:0 18px 44px rgba(0,0,0,.18);}
.hkw-mapsection .hkw-map svg{max-width:100%;}
/* Städte als Chips, zweispaltig */
.hkw-mapsection ul.wp-block-list{list-style:none;margin:0;padding:0;max-width:none;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem .7rem;}
.hkw-mapsection ul.wp-block-list li{margin:0;}
.hkw-mapsection ul.wp-block-list li a{
  display:flex;align-items:center;gap:.4rem;background:rgba(255,255,255,.14);
  color:#fff;padding:.5rem .95rem;border-radius:999px;text-decoration:none;
  font-family:var(--hkw-font-heading);font-weight:700;font-size:.95rem;
  border:1px solid rgba(255,255,255,.2);transition:background .15s,transform .15s;}
.hkw-mapsection ul.wp-block-list li a::before{content:"›";font-weight:800;opacity:.8;}
.hkw-mapsection ul.wp-block-list li a:hover{background:rgba(255,255,255,.28);transform:translateY(-1px);}
@media (max-width:600px){ .hkw-mapsection ul.wp-block-list{grid-template-columns:1fr;} }
.hkw-feature__text h2,.hkw-feature__text h3{color:var(--hkw-primary-600);margin:0 0 .75rem;}
.hkw-feature__text p{color:var(--hkw-neutral-800);line-height:1.6;}
.hkw-feature__text .hkw-lead{color:var(--hkw-neutral-950);font-weight:700;font-size:1.15rem;}
.hkw-feature__text .wp-block-buttons{margin-top:1.25rem;}

/* Bild-Hero mit grüner Sprechblase (Karten-Seiten) */
.hkw-pagehead{position:relative;}
.hkw-pagehead .wp-block-image,.hkw-pagehead figure{margin:0;line-height:0;}
.hkw-pagehead__img img{width:100%;height:clamp(260px,38vw,440px);object-fit:cover;display:block;border-radius:0 !important;}
.hkw-pagehead__bubble{position:absolute;left:var(--hkw-pad-x);bottom:-26px;
  background:var(--hkw-primary-500);color:var(--hkw-primary-950);
  font-family:var(--hkw-font-heading);font-weight:800;font-size:clamp(1.6rem,3.5vw,2.8rem);line-height:1.1;
  padding:.5rem 1.4rem;border-radius:20px 20px 20px 0;box-shadow:0 12px 30px rgba(0,0,0,.18);max-width:80%;}
.hkw-pagehead__intro{padding-top:3.75rem !important;}
.hkw-pagehead__sub{color:var(--hkw-primary-700);}

/* Karten-Grid */
.hkw-section-title{text-align:center;color:var(--hkw-primary-700);margin-bottom:.5rem;}
.hkw-cardgrid{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;margin-top:2rem;}
.hkw-card{background:#fff;border:1px solid var(--hkw-neutral-100);border-radius:var(--hkw-radius-lg);
  padding:1.5rem;box-shadow:0 10px 28px rgba(0,0,0,.05);display:flex;flex-direction:column;}
.hkw-card h3{color:var(--hkw-primary-700);margin:.25rem 0 .5rem;font-size:1.2rem;}
.hkw-card p{color:var(--hkw-neutral-800);line-height:1.55;font-size:.96rem;}
.hkw-card p a{word-break:break-word;}
.hkw-card__media{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin-bottom:1rem;}
.hkw-card__media img{max-height:76px;width:auto;max-width:100%;object-fit:contain;}
.hkw-card__map svg{max-width:120px;height:auto;}
.hkw-card .wp-block-buttons{margin-top:auto;padding-top:1rem;}
/* Foto-Karten (Geheimtipps): großes Bild oben, randlos in der Karte */
.hkw-page-geheimtipps .hkw-card{padding:0;overflow:hidden;}
.hkw-page-geheimtipps .hkw-card > :not(.hkw-card__media){padding-inline:1.5rem;}
.hkw-page-geheimtipps .hkw-card > :last-child{padding-bottom:1.5rem;}
.hkw-page-geheimtipps .hkw-card h3{margin-top:1.25rem;}
.hkw-page-geheimtipps .hkw-card__media{margin:0 0 .5rem;display:block;}
.hkw-page-geheimtipps .hkw-card__media img{max-height:none;width:100%;height:220px;object-fit:cover;border-radius:0;}

/* Der Kreis – „Digitaler Landkreis" hervorgehobenes Band */
.hkw-digital{background:linear-gradient(135deg,var(--hkw-primary-100),var(--hkw-primary-050)) !important;border-block:1px solid var(--hkw-primary-200);}
.hkw-digital .hkw-inner{text-align:center;}
.hkw-digital h2{color:var(--hkw-primary-800);}
.hkw-digital p{max-width:70ch;margin-inline:auto;color:var(--hkw-neutral-800);}

/* Mediacenter – Download-Grid */
.hkw-dlgrid{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.25rem;margin-top:2.5rem;}
.hkw-dlcard{background:#fff;border:1px solid var(--hkw-neutral-100);border-radius:var(--hkw-radius-lg);padding:1.5rem 1rem;box-shadow:0 8px 22px rgba(0,0,0,.05);display:flex;flex-direction:column;align-items:center;gap:1rem;}
.hkw-dlcard__logo{margin:0 !important;}
.hkw-dlcard__logo img{height:80px;width:auto;object-fit:contain;}
.hkw-dlcard__name{font-family:var(--hkw-font-heading);font-weight:800;font-size:1.15rem !important;color:var(--hkw-neutral-950);margin:0 !important;text-align:center;}
.hkw-dlcard .wp-block-buttons{margin:0 !important;width:100%;justify-content:center;}
.hkw-dlcard .wp-block-button__link{font-size:.9rem;padding:.6rem 1.2rem !important;}
.hkw-dlcard .wp-block-button__link::after{content:"↓";}
.hkw-dloverall__logo{margin:1.25rem auto !important;}
.hkw-dloverall__logo img{height:120px;width:auto;background:#fff;border-radius:16px;padding:1rem;}

/* Internationale Fachkräfte – Integreat-Highlight + Ansprechpartner */
.hkw-integreat{color:#fff;}
.hkw-integreat h2{color:#fff;}
.hkw-integreat p{color:#eafff0;}
.hkw-integreat__cols{gap:2.5rem;align-items:center;}
.hkw-integreat__logo img{background:#fff;border-radius:20px;padding:1.25rem;max-width:220px;width:100%;}
.hkw-btn--onlight .wp-block-button__link{background:#fff !important;color:var(--hkw-primary-700) !important;}
/* Webseiten/Anlaufstellen im Querformat (breite Zeilen) */
.hkw-weblist{display:flex !important;flex-direction:column;gap:1.25rem;margin-top:2.5rem;max-width:1000px;margin-inline:auto;}
.hkw-webitem{background:#fff;border:1px solid var(--hkw-neutral-100);border-radius:var(--hkw-radius-lg);padding:1.5rem 1.75rem;box-shadow:0 6px 18px rgba(0,0,0,.05);display:flex;flex-direction:row;align-items:center;gap:2rem;}
.hkw-webitem__text{flex:1;min-width:0;}
.hkw-webitem__text h3{color:var(--hkw-primary-700);margin:0 0 .5rem;font-size:1.2rem;}
.hkw-webitem__text p{color:var(--hkw-neutral-800);line-height:1.55;margin:0;font-size:.95rem;}
.hkw-webitem .wp-block-buttons{flex-shrink:0;margin:0 !important;}
@media(max-width:760px){.hkw-webitem{flex-direction:column;align-items:flex-start;}}
.hkw-contactgrid{display:grid !important;grid-template-columns:repeat(2,1fr);gap:1.75rem;margin-top:2rem;max-width:820px;margin-inline:auto;}
.hkw-contact{background:#fff;border:1px solid var(--hkw-neutral-100);border-radius:var(--hkw-radius-lg);padding:1.75rem;box-shadow:0 10px 28px rgba(0,0,0,.05);text-align:center;display:flex;flex-direction:column;align-items:center;}
.hkw-contact__img{margin:0 auto 1rem !important;}
.hkw-contact__img img{border-radius:999px;object-fit:cover;width:150px;height:150px;}
.hkw-contact__name{margin:.25rem 0 1rem !important;color:var(--hkw-neutral-950);}
.hkw-contact__btns{justify-content:center;flex-direction:column;align-items:center;gap:.5rem;width:100%;}
.hkw-contact__btns .wp-block-button__link{font-size:.9rem;}
.hkw-contact__btns .wp-block-button__link::after{content:"";}
.hkw-contactgrid--3{grid-template-columns:repeat(3,1fr);max-width:1000px;}
@media(max-width:900px){.hkw-contactgrid--3{grid-template-columns:1fr 1fr;}}
@media(max-width:700px){.hkw-contactgrid{grid-template-columns:1fr;}.hkw-contactgrid--3{grid-template-columns:1fr;}}

/* Der Kreis – Split-Hero */
.hkw-splithero{padding-block:clamp(2rem,4vw,3.5rem);}
.hkw-splithero__cols{gap:3rem;align-items:center;padding-inline:var(--hkw-pad-x);}
.hkw-splithero__title{display:inline-block;background:var(--hkw-primary-500);color:#fff !important;font-size:clamp(2rem,4vw,3.4rem);padding:.4rem 1.2rem;border-radius:22px 22px 22px 0;margin:0 0 1rem;line-height:1.1;}
.hkw-splithero__sub{color:var(--hkw-primary-700);font-size:clamp(1.6rem,3vw,2.4rem);margin:0;}
.hkw-splithero__img img{width:100%;border-radius:var(--hkw-radius-lg);object-fit:cover;aspect-ratio:4/3;}

/* Der Kreis – Flip-Karten (Freizeit & Kultur) */
.hkw-flipgrid{display:grid !important;grid-template-columns:repeat(2,1fr);gap:1.75rem;margin-top:2.5rem;}
.hkw-flip{perspective:1400px;}
.hkw-flip__inner{position:relative;width:100%;min-height:360px;transition:transform .6s cubic-bezier(.4,0,.2,1);transform-style:preserve-3d;}
.hkw-flip:hover .hkw-flip__inner,.hkw-flip:focus-within .hkw-flip__inner{transform:rotateY(180deg);}
.hkw-flip__front,.hkw-flip__back{position:absolute;inset:0;-webkit-backface-visibility:hidden;backface-visibility:hidden;border-radius:var(--hkw-radius-lg);overflow:hidden;}
.hkw-flip__front{background:var(--hkw-primary-950);}
.hkw-flip__front .wp-block-image,.hkw-flip__front figure{margin:0;height:100%;}
.hkw-flip__front img{width:100%;height:100%;object-fit:cover;border-radius:var(--hkw-radius-lg) !important;}
.hkw-flip__hint{position:absolute;bottom:1rem;right:1rem;width:44px;height:44px;border-radius:999px;background:var(--hkw-primary-500);color:#fff;display:grid;place-items:center;font-size:1.3rem;box-shadow:0 6px 16px rgba(0,0,0,.25);}
.hkw-flip__back{transform:rotateY(180deg);background:var(--hkw-primary-600);color:#fff;padding:1.75rem;display:flex;flex-direction:column;justify-content:center;overflow:auto;}
.hkw-flip__back h3{color:#fff !important;margin:0 0 .6rem;}
.hkw-flip__back p{color:#eafff0;font-size:.95rem;line-height:1.5;margin:0;}
@media(max-width:800px){.hkw-flipgrid{grid-template-columns:1fr;}}

/* Unternehmen – Auszeichnungen / Fokus / Verzeichnis */
.hkw-cardgrid--3{grid-template-columns:repeat(3,minmax(0,1fr));}
.hkw-cardgrid--2{grid-template-columns:repeat(2,minmax(0,1fr));}
@media(max-width:900px){.hkw-cardgrid--3,.hkw-cardgrid--2{grid-template-columns:1fr;}}
.hkw-award{background:#fff;border:1px solid var(--hkw-neutral-100);border-radius:var(--hkw-radius-lg);padding:1.75rem;box-shadow:0 10px 28px rgba(0,0,0,.05);display:flex;flex-direction:column;}
.hkw-award__logos{display:flex;gap:1rem;align-items:center;margin-bottom:1rem;flex-wrap:wrap;}
.hkw-award__logos .wp-block-image{margin:0;}
.hkw-award__logo img{height:70px;width:auto;object-fit:contain;}
.hkw-award h3{color:var(--hkw-primary-700);margin:.25rem 0 .6rem;}
.hkw-award p{color:var(--hkw-neutral-800);line-height:1.55;font-size:.96rem;}
.hkw-award .hkw-cardbtns{margin-top:auto;padding-top:1rem;}
.hkw-fokus{background:#fff;border:1px solid var(--hkw-neutral-100);border-radius:var(--hkw-radius-lg);padding:1.75rem;box-shadow:0 10px 28px rgba(0,0,0,.05);}
.hkw-fokus h3{color:var(--hkw-primary-700);margin:0 0 .75rem;}
.hkw-fokus p{color:var(--hkw-neutral-800);line-height:1.6;}
.hkw-fokus__map{margin:1rem 0 0 !important;}
.hkw-fokus__map img{width:100px;height:auto;}
.hkw-badges{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;margin:.25rem 0 .75rem;}
.hkw-badges img{height:44px;width:auto;object-fit:contain;}
/* Querformat: eine Firma = eine breite Zeile (Name links, Badges rechts) */
.hkw-firmengrid{display:flex !important;flex-direction:column;gap:1rem;margin-top:2.5rem;max-width:1000px;margin-inline:auto;}
.hkw-firma{background:#fff;border:1px solid var(--hkw-neutral-100);border-radius:var(--hkw-radius-lg);
  padding:1.25rem 1.75rem;box-shadow:0 6px 18px rgba(0,0,0,.05);
  display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:1.5rem;}
.hkw-firma__info{flex:1;min-width:0;}
.hkw-firma__name{font-size:1.25rem !important;margin:0 !important;color:var(--hkw-neutral-950);line-height:1.25;}
.hkw-firma__url{margin:.35rem 0 0 !important;font-size:.92rem;}
.hkw-firma__url a{color:var(--hkw-primary-600);text-decoration:none;word-break:break-word;}
.hkw-firma__url a:hover{color:var(--hkw-primary-700);}
.hkw-firma .hkw-badges{margin:0;flex-shrink:0;justify-content:flex-end;}
.hkw-firma .hkw-badges img{height:52px;}
@media(max-width:600px){.hkw-firma{flex-direction:column;align-items:flex-start;}.hkw-firma .hkw-badges{justify-content:flex-start;}}
.hkw-cardbtns{gap:.6rem;flex-wrap:wrap;}

/* Geheimtipps – Foto-Karten-Grid (handgemacht) */
.hkw-tipgrid{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:1.75rem;margin-top:2.5rem;}
.hkw-tip{background:#fff;border:1px solid var(--hkw-neutral-100);border-radius:var(--hkw-radius-lg);overflow:hidden;box-shadow:0 12px 30px rgba(0,0,0,.06);display:flex;flex-direction:column;}
.hkw-tip__media{position:relative;line-height:0;background-color:var(--hkw-primary-950);}
.hkw-tip__media .wp-block-image,.hkw-tip__media figure{margin:0;}
.hkw-tip__media img{width:100%;height:250px;object-fit:cover;display:block;border-radius:0 !important;}
.hkw-tip__bubble{position:absolute;left:1rem;bottom:1rem;z-index:2;background:var(--hkw-primary-500);color:#fff;font-family:var(--hkw-font-heading);font-weight:800;font-size:1.2rem;line-height:1.15;padding:.5rem 1rem;border-radius:14px 14px 14px 0;margin:0;max-width:calc(100% - 2rem);box-shadow:0 8px 20px rgba(0,0,0,.25);}
.hkw-tip__body{padding:1.4rem 1.5rem 1.5rem;display:flex;flex-direction:column;flex:1;}
.hkw-tip__sub{font-family:var(--hkw-font-heading);font-weight:700;color:var(--hkw-primary-700);font-size:1.02rem;margin:0 0 .6rem !important;}
.hkw-tip__body > p:not(.hkw-tip__sub){color:var(--hkw-neutral-800);line-height:1.55;font-size:.95rem;
  display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden;}
.hkw-tip__btns{margin-top:auto !important;padding-top:1.1rem;gap:.6rem;flex-wrap:wrap;}
.hkw-tip__btns .wp-block-button__link{padding:.6rem 1.1rem !important;font-size:.9rem;}

/* Dunkle Variante (z. B. Internationale Fachkräfte) */
.hkw-feature--dark{background:var(--hkw-primary-950);}
.hkw-feature--dark .hkw-feature__title,
.hkw-feature--dark .hkw-feature__text p{color:#fff;}
.hkw-feature--dark .hkw-feature__text p{color:#cfe9d6;}
/* Button-Absatz ohne zusätzlichen Abstand */
.hkw-feature__text .wp-block-buttons{margin-top:1.25rem;}

/* =========================================================
   NEWS-KARUSSELL (grünes Band, weiße Karte)
   ========================================================= */
.hkw-news__head{text-align:left;margin-bottom:2rem!important;color:#fff;}
.hkw-news__viewport{position:relative;overflow:hidden;}
.hkw-news__track{display:flex;transition:transform .5s ease;}
.hkw-news__slide{flex:0 0 100%;}
.hkw-news__card{background:#fff;border-radius:var(--hkw-radius-lg);overflow:hidden;
  max-width:1000px;margin-inline:auto;gap:0!important;align-items:stretch;}
.hkw-news__col-img{padding:0!important;}
.hkw-news__col-img .wp-block-image,.hkw-news__col-img figure{margin:0;height:100%;}
.hkw-news__col-img img{width:100%;height:100%;object-fit:cover;display:block;min-height:300px;}
.hkw-news__col-body{padding:clamp(1.5rem,3vw,2.5rem)!important;}
.hkw-news__col-body h3{color:var(--hkw-primary-700);margin:0 0 1rem;}
.hkw-news__col-body p{color:var(--hkw-neutral-800);line-height:1.55;}
.hkw-news__link a{font-weight:800;color:var(--hkw-primary-600);}
.hkw-slider__arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;}
.hkw-slider__arrow--prev{left:-8px;}
.hkw-slider__arrow--next{right:-8px;}

/* =========================================================
   CTA / Kontakt
   ========================================================= */
.hkw-cta{text-align:center;}
.hkw-cta .wp-block-buttons{justify-content:center;display:flex;}

/* =========================================================
   Footer
   ========================================================= */
.hkw-footer{background:var(--hkw-primary-950);color:#cfe9d6;}
.hkw-footer a{color:#cfe9d6;text-decoration:none;}
.hkw-footer a:hover{color:#fff;}
.hkw-footer__cols{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;padding-block:3.5rem;}
.hkw-footer__col h4{color:#fff;font-size:1rem;margin:0 0 1rem;}
.hkw-footer__col ul{list-style:none;margin:0;padding:0;display:grid;gap:.5rem;}
.hkw-footer__partners{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:center;
  padding-block:2rem;border-top:1px solid rgba(255,255,255,.12);}
.hkw-footer__partners img{height:52px;width:auto;background:#fff;border-radius:8px;padding:6px 10px;}
.hkw-footer__address{padding-block:1.5rem;border-top:1px solid rgba(255,255,255,.12);
  font-size:.92rem;line-height:1.7;color:#cfe9d6;}
.hkw-footer__address strong{color:#fff;font-family:var(--hkw-font-heading);}
.hkw-footer__bottom{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;
  padding-block:1.5rem;border-top:1px solid rgba(255,255,255,.12);font-size:.9rem;}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:900px){
  .hkw-feature{grid-template-columns:1fr;}
  .hkw-feature--reverse .hkw-feature__media{order:0;}
  .hkw-feature__media{min-height:300px;}
  .hkw-hero__panel{max-width:none;margin-inline:var(--hkw-pad-x);}
  .hkw-news__card{grid-template-columns:1fr;}
  .hkw-footer__cols{grid-template-columns:1fr 1fr;}
}
@media (max-width:560px){
  .hkw-footer__cols{grid-template-columns:1fr;}
}

/* =========================================================
   Scroll-Effekte: Reveal + Parallax (assets/scroll-fx.js)
   ========================================================= */
.hkw-reveal{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .8s cubic-bezier(.22,.61,.36,1);}
.hkw-reveal.is-inview{opacity:1;transform:none;}
.hkw-parallax{will-change:transform;}
@media (prefers-reduced-motion: reduce){
  .hkw-reveal{opacity:1!important;transform:none!important;transition:none!important;}
  .hkw-parallax{transform:none!important;}
}

/* =========================================================
   News-Beitragsraster (Query-Loop, WordPress-Beiträge)
   ========================================================= */
.hkw-newsgrid{margin-top:1.75rem;}
.hkw-newsgrid .wp-block-post-template{gap:1.5rem;}
.hkw-newscard{background:#fff;border:1px solid var(--hkw-neutral-100);border-radius:16px;
  overflow:hidden;box-shadow:0 12px 30px rgba(7,44,21,.06);display:flex;flex-direction:column;height:100%;
  transition:transform .25s ease,box-shadow .25s ease;}
.hkw-newscard:hover{transform:translateY(-4px);box-shadow:0 20px 44px rgba(7,44,21,.12);}
.hkw-newscard .wp-block-post-featured-image{margin:0;}
.hkw-newscard .wp-block-post-featured-image img{width:100%;height:200px;object-fit:cover;display:block;}
/* Beiträge ohne Bild: schmaler grüner Balken als Akzent oben */
.hkw-newscard:not(:has(.wp-block-post-featured-image img)) .hkw-newscard__body{border-top:4px solid var(--hkw-primary-500);}
.hkw-newscard__body{padding:1.3rem 1.4rem 1.5rem;display:flex;flex-direction:column;gap:.55rem;flex:1;}
.hkw-newscard__date{font-size:.82rem;color:var(--hkw-primary-700);font-weight:700;text-transform:uppercase;letter-spacing:.02em;}
.hkw-newscard h3{font-size:1.18rem;line-height:1.28;margin:0;}
.hkw-newscard h3 a{color:var(--hkw-neutral-950);text-decoration:none;}
.hkw-newscard h3 a:hover{color:var(--hkw-primary-600);}
.hkw-newscard .wp-block-post-excerpt{margin:0;}
.hkw-newscard .wp-block-post-excerpt__excerpt{color:var(--hkw-neutral-800);font-size:.97rem;line-height:1.55;}
.hkw-newscard .wp-block-post-excerpt__more-link{display:inline-block;margin-top:.4rem;color:var(--hkw-primary-600);font-weight:700;text-decoration:none;}
.hkw-newscard .wp-block-post-excerpt__more-link:hover{color:var(--hkw-primary-700);}
.hkw-newspag{margin-top:2.5rem;}
.hkw-newspag .wp-block-query-pagination-numbers a,.hkw-newspag .wp-block-query-pagination-numbers .current{padding:.35rem .7rem;border-radius:8px;text-decoration:none;}
.hkw-newspag .wp-block-query-pagination-numbers .current{background:var(--hkw-primary-500);color:#fff;}
.hkw-newspag a{color:var(--hkw-primary-700);font-weight:700;text-decoration:none;}
/* News-Raster: 3 Spalten (responsiv) erzwingen */
.hkw-newsgrid .wp-block-post-template.is-layout-grid{grid-template-columns:repeat(3,1fr);}
@media(max-width:900px){.hkw-newsgrid .wp-block-post-template.is-layout-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.hkw-newsgrid .wp-block-post-template.is-layout-grid{grid-template-columns:1fr;}}

/* =========================================================
   Einzelbeitrag (single.php) – gebrandet
   ========================================================= */
.hkw-single__article{margin:0;}
.hkw-single__hero .hkw-inner{max-width:1200px;}
.hkw-single__title{color:#fff;max-width:24ch;}
.hkw-single__meta{color:var(--hkw-primary-200);font-weight:700;text-transform:uppercase;letter-spacing:.03em;font-size:.9rem;margin-top:.9rem;}
.hkw-single__body .hkw-inner{padding-block:clamp(2.5rem,5vw,4rem);}
.hkw-single__content{max-width:820px;font-size:1.09rem;line-height:1.75;color:var(--hkw-neutral-950);}
.hkw-single__content > *{margin-block:1.1rem;}
.hkw-single__content > *:first-child{margin-top:0;}
.hkw-single__content h2{font-size:clamp(1.5rem,2.4vw,2rem);margin-top:2.2rem;}
.hkw-single__content h3{font-size:1.35rem;margin-top:1.8rem;color:var(--hkw-primary-700);}
.hkw-single__content a{color:var(--hkw-primary-600);font-weight:600;}
.hkw-single__content a:hover{color:var(--hkw-primary-700);}
.hkw-single__content ul,.hkw-single__content ol{padding-left:1.3rem;line-height:1.9;}
.hkw-single__content img{max-width:100%;height:auto;border-radius:12px;}
.hkw-single__content blockquote{border-left:4px solid var(--hkw-primary-500);margin:1.5rem 0;padding:.4rem 0 .4rem 1.2rem;color:var(--hkw-neutral-800);font-style:italic;}
.hkw-single__back{max-width:820px;margin-top:2.5rem;}
.hkw-single__back a{display:inline-block;font-family:var(--hkw-font-heading);font-weight:800;color:var(--hkw-primary-700);text-decoration:none;}
.hkw-single__back a:hover{color:var(--hkw-primary-600);}
/* Einzelbeitrag: Haupt-Spalte immer volle Breite (kein Sidebar-Rest) */
.single-post #primary.hkw-single{width:100%!important;max-width:100%!important;float:none!important;padding:0!important;margin:0!important;}
.single-post .site-content{padding:0!important;}
