/*
 Theme Name:   Zakra Child
 Theme URI:    https://zakratheme.com/
 Description:  Child theme for Zakra
 Author:       a11y design GmbH
 Author URI:   https://a11y-design.de/
 Template:     zakra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  zakra-child
*/

/* =====================================================================
   GLOBAL OVERFLOW FIX
   ===================================================================== */
body,
body:not(.tg-container--separate) #page,
.zak-content,
#content {
  overflow-x: hidden !important;
  background-color: var(--violet-light) !important;
  /* Unified brand background color - forced for Zakra */
}

body {
  min-width: 320px;
}

.zak-primary {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* =====================================================================
   SKIP LINK / ACCESSIBILITY
   ===================================================================== */

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--purple-deep);
  color: #fff !important;
  padding: 15px 30px;
  z-index: 9999;
  border-radius: 0 0 15px 15px;
  text-decoration: none;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: none;
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  height: auto;
  width: auto;
  z-index: 100000;
}

.entry-content a,
.entry-content a:visited {
  color: var(--Purple-Bright, #8517BC) !important;
  /* Text 28 Link */
  font-family: "Atkinson Hyperlegible";
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 42px;
  /* 150% */
  letter-spacing: 0.16px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: 25%;
  /* 7px */
  text-underline-position: from-font;
}



.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

#post-1432 hr,
#post-1432 .wp-block-separator {
  height: 5px;
}


#post-1513 hr,
#post-1513 .wp-block-separator {
  background-color: var(--mono-black);
}

/* =====================================================================
   DESIGN TOKENS — sourced from Figma Style Guide (node 631:3310)
   ===================================================================== */

:root {
  /* --- Brand Colors --- */
  --purple-bright: #8517bc;
  /* Purple Bright  */
  --purple-dark: #6a1296;
  /* Purple Dark    */
  --purple-deep: #5c1d7c;
  /* Purple Deep    */
  --violet-light: #faf2ff;
  /* Violet Light   */

  --orange-bright: #f15108;
  /* Orange Bright  */
  --orange-dark: #c14106;
  /* Orange Dark    */
  --orange-light: #ffc7ae;
  /* Orange Light   */

  --grey: #525252;
  /* Body text grey */
  --grey-light: #b5b5b5;
  /* Label grey     */
  --mono-black: #252525;
  /* Mono Black     */
  --error-red: #c83a3a;
  /* Error border   */
  --error-text: #c14106;
  /* Error text     */

  /* --- Typography --- */
  --font-primary: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', sans-serif;
  --font-secondary: 'Bould', sans-serif;
  --font-tertiary: 'Roboto', sans-serif;

  /* --- Font sizes (desktop) --- */
  --fs-h0: 110px;
  --lh-h0: 130px;
  --ls-h0: 0.16px;
  --fs-h0-m: 64px;
  --lh-h0-m: 80px;
  --ls-h0-m: 0.16px;
  --fs-h1: 76px;
  --lh-h1: 90px;
  --fs-h1-m: 64px;
  --lh-h1-m: 80px;
  --ls-h1-m: 0.16px;
  --fs-h2: 40px;
  --lh-h2: 58px;
  --fs-h2-m: 40px;
  --lh-h2-m: 52px;
  --fs-h3: 36px;
  --lh-h3: 52px;
  --fs-body: 28px;
  --lh-body: 42px;
  --ls-body: 0.16px;
  --fs-small: 20px;
  --lh-small: 34px;
  --ls-small: 0.16px;
  --fs-small-m: 24px;
  --lh-small-m: 42px;
  --ls-small-m: 0.16px;
  --fs-btn: 36px;
  --lh-btn: 42px;
  --fs-btn-sm: 32px;
  --lh-btn-sm: 52px;
  --fs-navi: 30px;
  --fs-navi-sm: 20px;
  --fs-tiny: 16px;
  --lh-tiny: 24px;

  /* --- Border radii --- */
  --radius-sm: 8px;
  --radius-md: 30px;
  --radius-lg: 40px;
  --radius-xl: 50px;

  /* --- Teaser / Card --- */
  --card-shadow-color: rgba(133, 23, 188, 0.10);
  --card-shadow-hover-color: rgba(133, 23, 188, 0.50);
}


/* =====================================================================
   FOCUS / ACCESSIBILITY
   ===================================================================== */

:focus-visible {
  outline: 3px solid var(--purple-deep) !important;
  outline-offset: 4px !important;
}

.site-footer *:focus-visible,
#colophon *:focus-visible {
  outline-color: #fff !important;
}


/* =====================================================================
   BASE / BODY
   ===================================================================== */

body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--mono-black);
}


/* =====================================================================
   TYPOGRAPHY — Headings
   ===================================================================== */

/* H0 Start (hero / start page large heading) */
h1.h0-start,
.h0-start {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: var(--fs-h0);
  line-height: var(--lh-h0);
  letter-spacing: var(--ls-h0);
  color: var(--purple-deep);
}

/* H1 */
h1,
.h1 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  color: var(--purple-deep);
}

/* H2 */
h2,
.h2 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  color: var(--purple-dark);
}

/* H3 */
h3,
.h3 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  color: var(--purple-dark);
}

/* H4 / H5 inherit brand colours */
h4,
.h4 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--purple-dark);
}

h5,
.h5 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--purple-deep);
}

/* Body paragraph */
p,
.text-body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--mono-black);
}

/* Small text */
.text-small {
  font-family: var(--font-primary);
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  letter-spacing: var(--ls-small);
}

/* Bold inline text */
strong,
b,
.text-bold {
  font-weight: 700;
}

/* Tiny / legal text */
.text-tiny {
  font-family: var(--font-primary);
  font-size: var(--fs-tiny);
  line-height: var(--lh-tiny);
}


/* =====================================================================
   DETAILS / ACCORDION (.wp-block-details)
   SOURCED FROM: Figma Node 509:4737
   ===================================================================== */

.wp-block-details {
  border-top: 0px solid var(--purple-bright);
  border-bottom: 2px solid var(--purple-bright);
  margin-bottom: 20px;
}

/* Ensure subsequent accordions don't double the top border */
.wp-block-details+.wp-block-details {
  border-top: none;
}

.wp-block-details summary {
  display: flex !important;
  align-items: center;
  gap: 30px;
  padding: 30px 0;
  cursor: pointer;
  list-style: none;
  /* Hide default triangle marker */
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: var(--fs-body);
  /* 46px */
  line-height: var(--lh-body);
  /* 58px */
  color: var(--purple-deep);
  outline: none;
  position: relative;
  transition: opacity 0.2s ease, color 0.2s ease;
}

/* Safari fix to hide the default marker */
.wp-block-details summary::-webkit-details-marker {
  display: none;
}

/* Custom Fat Chevron Arrow from Figma (pf_down_fat) */
.wp-block-details summary::before {
  content: '';
  display: block;
  width: 36px;
  height: 36px;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 18" fill="none" stroke="%238517bc" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"><path d="M2.5 2.5 L16 15.5 L29.5 2.5"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px auto;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
}

/* Open state: Flip chevron UP */
.wp-block-details[open] summary::before {
  transform: rotate(180deg);
}

.wp-block-details summary:hover {
  color: var(--purple-deep);
}

.wp-block-details summary:hover::before {
  filter: brightness(0.8);
}

/* Accessibility: focus ring on summary label */
.wp-block-details summary:focus-visible {
  outline: 3px solid var(--purple-deep) !important;
  outline-offset: 4px;
}

/* Content Area Styling */
.wp-block-details__content,
.wp-block-details>*:not(summary) {
  padding: 0 0 30px 66px;
  /* Align with text by indenting width of icon + gap (36 + 30) */
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

/* Small adjustments for mobile */
@media (max-width: 767px) {
  .wp-block-details summary {
    gap: 20px;
    padding: 20px 0;
  }

  .wp-block-details summary::before {
    width: 28px;
    height: 28px;
    background-size: 24px auto;
  }

  .wp-block-details__content,
  .wp-block-details>*:not(summary) {
    padding-left: 48px;
    /* 28 icon + 20 gap */
    padding-bottom: 30px;
  }
}


/* =====================================================================
   COLORS — utility classes (background)
   ===================================================================== */

.bg-purple-bright {
  background-color: var(--purple-deep);
}

.bg-purple-dark {
  background-color: var(--purple-dark);
}

.bg-purple-deep {
  background-color: var(--purple-deep);
}

.bg-violet-light {
  background-color: var(--violet-light);
}

.bg-orange-bright {
  background-color: var(--orange-bright);
}

.bg-orange-dark {
  background-color: var(--orange-dark);
}

.bg-orange-light {
  background-color: var(--orange-light);
}


/* =====================================================================
   BUTTONS
   ===================================================================== */

/* --- Shared base --- */
.wp-block-button__link,
.wp-element-button,
.editor-styles-wrapper .wp-block-button__link,
.btn-primary,
.btn-secondary,
.footer-support .btn-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: var(--fs-btn);
  line-height: var(--lh-btn);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
  padding: 10px 50px !important;
  border: none;
  box-sizing: border-box !important;
  color: #5c1d7c !important;
}

/* --- Primary Button (orange) --- */
.wp-block-button.is-style-primary .wp-block-button__link,
.editor-styles-wrapper .wp-block-button.is-style-primary .wp-block-button__link,
.btn-primary {
  background-color: var(--orange-bright) !important;
  color: #fff !important;
  border-radius: var(--radius-xl) !important;
  border: 3px solid transparent !important;
}

.wp-block-button.is-style-primary .wp-block-button__link:hover,
.wp-block-button.is-style-primary .wp-block-button__link:focus,
.btn-primary:hover,
.btn-primary:focus {
  background-color: #fff !important;
  border: solid 3px var(--orange-bright) !important;
  color: var(--orange-bright) !important;
}

/* --- Default WP button maps to primary --- */
.wp-block-button:not([class*="is-style"]) .wp-block-button__link {
  background-color: var(--orange-bright);
  color: #fff;
  border-radius: var(--radius-xl);
}

.wp-block-button:not([class*="is-style"]) .wp-block-button__link:hover,
.wp-block-button:not([class*="is-style"]) .wp-block-button__link:focus {
  background-color: var(--orange-dark);
  color: #fff;
}

/* --- Secondary Button (purple) --- */
.wp-block-button.is-style-secondary .wp-block-button__link,
.editor-styles-wrapper .wp-block-button.is-style-secondary .wp-block-button__link,
.btn-secondary {
  background-color: var(--purple-bright) !important;
  color: #fff !important;
  border-radius: var(--radius-lg) !important;
  border: 3px solid transparent !important;
}

.wp-block-button.is-style-secondary .wp-block-button__link:hover,
.wp-block-button.is-style-secondary .wp-block-button__link:focus,
.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #fff !important;
  color: var(--purple-dark) !important;
  border: solid 3px var(--purple-dark) !important;
}

/* --- Footer Button (peach / orange-light) --- */
.btn-footer {
  background-color: var(--orange-light);
  color: var(--purple-deep);
  border-radius: var(--radius-xl);
  font-size: var(--fs-btn-sm);
  line-height: var(--lh-btn-sm);
}

.footer-support .btn-footer:hover,
.footer-support .btn-footer:focus {
  background-color: var(--violet-light);
  color: #5c1d7c !important;
}


/* =====================================================================
   NAVIGATION
   ===================================================================== */

/* --- Main/Primary Nav (Hauptnavi) --- */
.hauptnavi ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
  align-items: center;
}

/* Base list item */
.hauptnavi ul li {
  position: relative;
  display: inline-block;
}

/* Main nav link */
.hauptnavi ul li a,
.link-navi,
.wp-block-navigation-item__content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  color: #fff;
  font-family: var(--font-primary);
  font-size: var(--fs-navi);
  /* 30px */
  font-weight: 400;
  letter-spacing: 0.3px;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.link-navi:hover,
.link-navi:focus,
.hauptnavi ul li a:hover,
.hauptnavi ul li a:focus,
.wp-block-navigation-item__content:hover,
.wp-block-navigation-item__content:focus {
  color: var(--orange-light);
}

/* Active state: bold + underline bar */
.link-navi.active,
.hauptnavi ul li.current-menu-item>a,
.hauptnavi ul li.current-menu-ancestor>a,
.current-menu-item>.wp-block-navigation-item__content {
  font-weight: 700;
  color: #fff;
}

.link-navi.active::after,
.hauptnavi ul li.current-menu-item>a::after,
.hauptnavi ul li.current-menu-ancestor>a::after,
.current-menu-item>.wp-block-navigation-item__content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 6px;
  background-color: #fff;
  border-radius: 3px;
}

/* --- Dropdown / Sub-menu --- */
.hauptnavi ul li ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--purple-deep);
  /* #5C1D7C matching Figma */
  min-width: 320px;
  flex-direction: column;
  gap: 0;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-radius: 0;
  display: none;
  /* Hidden by default */
  z-index: 1001;
}

/* Show on hover OR click (.is-open handled by JS) */
.hauptnavi ul li:hover>ul.sub-menu,
.hauptnavi ul li.is-open>ul.sub-menu,
.hauptnavi ul li:focus-within>ul.sub-menu {
  display: flex;
}

.hauptnavi ul li ul.sub-menu li {
  width: 100%;
}

.hauptnavi ul li ul.sub-menu li a {
  font-family: var(--font-primary);
  font-size: 30px;
  /* Match Figma */
  line-height: 1;
  padding: 20px 30px;
  width: 100%;
  justify-content: flex-start;
  border-bottom: none;
  font-weight: 400;
  color: #fff;
  letter-spacing: 1px;
  transition: background-color 0.2s ease;
}

/* Regular Hover */
.hauptnavi ul li ul.sub-menu li a:hover,
.hauptnavi ul li ul.sub-menu li a:focus {
  background-color: var(--purple-bright);
  /* #8517BC */
}

/* Active item in dropdown */
.hauptnavi ul li ul.sub-menu li.current-menu-item>a,
.hauptnavi ul li ul.sub-menu li.current-page-ancestor>a {
  background-color: var(--purple-bright);
  /* #8517BC */
  font-weight: 700;
  letter-spacing: 0;
}

.hauptnavi ul li ul.sub-menu li:last-child a {
  border-bottom: none;
}

/* Align the last dropdown to the right to prevent clipping on the screen edge */
.hauptnavi ul li:last-child ul.sub-menu {
  left: auto;
  right: 0;
}

/* Arrow indicator for parents */
.hauptnavi ul li.menu-item-has-children>a {
  padding-right: 45px;
  /* Space for arrow */
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 20px;
}

/* Hide theme's default submenu toggle to avoid double arrows */
.hauptnavi .zak-submenu-toggle {
  display: none !important;
}

/* Rotate arrow when open or hovered */
.hauptnavi ul li.menu-item-has-children.is-open>a,
.hauptnavi ul li.menu-item-has-children:hover>a {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"/></svg>');
}

.link-navi.active::after,
.current-menu-item>.wp-block-navigation-item__content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 6px;
  background-color: #fff;
  border-radius: 3px;
}

/* --- Functional/Small Nav Links (pill with border) --- */
/*  e.g. Gebärden / Kontakt pill buttons in the header */
.link-navi-kl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 30px;
  border-radius: var(--radius-md);
  /* 30px */
  border: 1px solid #fff;
  color: #fff;
  min-height: 50px;
  text-decoration: none;
  font-family: var(--font-primary);
  font-size: var(--fs-navi-sm);
  /* 20px */
  font-weight: 400;
  transition: background-color 0.2s ease;
}

.link-navi-kl:hover,
.link-navi-kl:focus {
  background-color: #fff;
  color: var(--purple-deep);
}

.link-navi-kl:hover .icon img,
.link-navi-kl:focus .icon img,
.link-navi-kl.active .icon img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(85%) saturate(3665%) hue-rotate(269deg) brightness(96%) contrast(95%);
}

.link-navi-kl.active {
  background-color: #fff;
  font-weight: 700;
  color: var(--purple-deep);
}


/* =====================================================================
   LINKS (body text links)
   ===================================================================== */

a,
.text-link {
  color: var(--purple-deep);
  /* #8517BC */
  text-decoration: underline;
  font-family: var(--font-primary);
  transition: color 0.2s ease;
}

a:hover,
a:focus,
.text-link:hover,
.text-link:focus {
  color: var(--purple-deep);
  /* #5C1D7C */
}

/* Link with icon (e.g. email link in footer) */
.link-icon {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: var(--purple-deep);
  text-decoration: underline;
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  transition: color 0.2s ease;
}

.link-icon:hover,
.link-icon:focus {
  color: var(--purple-deep);
}


/* =====================================================================
   ICONS
   ===================================================================== */

/* Standard icon (24 × 24) */
.icon,
.icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Large icon (36 × 36 — used in navigation pills) */
.icon-large,
.icon-large svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Medium icon (32 × 32) */
.icon-medium,
.icon-medium svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Download icon (18.7 × 20) */
.icon-download,
.icon-download svg {
  width: 20px;
  height: 18.7px;
  fill: currentColor;
}


/* =====================================================================
   FORM ELEMENTS — Inputs
   ===================================================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
input[type="password"],
input[type="number"],
textarea,
select,
.wp-block-search__input,
.form-eingabefeld {
  display: flex;
  align-items: center;
  height: 80px;
  padding: 5px 30px;
  background-color: #fff;
  color: var(--grey);
  /* #525252 */
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  /* 28px */
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  width: 100%;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  /* 8px */
  opacity: 0.8;
  transition: outline 0.15s ease, border-color 0.15s ease;
}

textarea {
  height: auto;
  min-height: 160px;
  resize: vertical;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus,
.wp-block-search__input:focus,
.form-eingabefeld:focus {
  outline: 3px solid var(--purple-bright);
  outline-offset: -3px;
  border-color: transparent;
}

/* Error state */
input.error,
textarea.error,
select.error,
.form-eingabefeld.error,
.wpcf7-not-valid {
  border-color: var(--error-red);
  color: var(--error-text);
}


/* =====================================================================
   FORM ELEMENTS — Checkboxes & Radios
   ===================================================================== */

/* Visually styled checkbox (Checkmark component — 60 × 60 white box) */
input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 60px;
  height: 60px;
  background-color: #fff;
  border: 1px solid var(--grey-light);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.15s ease;
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="checkbox"]:checked {
  border-color: var(--purple-deep);
}

/* Purple check mark via pseudo-element */
input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  inset: 29% 17% 29% 21%;
  /* mirrors icon/check proportions */
  background-color: var(--purple-deep);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpolyline points='1,5 5,9 13,1' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpolyline points='1,5 5,9 13,1' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

input[type="checkbox"]:disabled,
input[type="radio"]:disabled {
  opacity: 0.5;
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 3px solid var(--purple-deep);
  outline-offset: 4px;
}

/* Label next to checkbox/radio */
.wp-block-form label,
label {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--mono-black);
}


/* =====================================================================
   CARDS (Teaser — "Beratung", "Kalender", etc.)
   ===================================================================== */

/*
 * Card structure:
 *   .teaser-card           — outer wrapper, creates the offset shadow block
 *   .teaser-card__inner    — white content box
 *   .teaser-card__image    — image / logo area
 *   .teaser-card__title    — heading text
 *
 * The Figma design shows a coloured square offset 10px right/down behind
 * the white card — achieved here with a box-shadow.
 */

/* Columns containing teaser cards: stretch so all cards share equal height */
.wp-block-columns:has(.teaser-card) {
  align-items: stretch;
}

/* Each wp-block-column must fill the full row height */
.wp-block-columns:has(.teaser-card)>.wp-block-column {
  display: flex;
  flex-direction: column;
}

.teaser-card,
.wp-block-group.teaser-card {
  position: relative;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 55px 35px;
  width: 100%;
  aspect-ratio: 1 / 1;
  /* Enforce square shape */
  box-sizing: border-box;
  overflow: hidden;
  /* Prevent content overflow from expanding the square */
  /* Offset shadow simulates the purple background block */
  box-shadow: 20px 20px 0 0 var(--card-shadow-color);
  /* Matches Figma's layer offset visually */
  transition: box-shadow 0.25s ease;
}

/* =====================================================================
   HEADER / SITE HEADER
   ===================================================================== */

.site-header.custom-header {
  position: relative;
  width: 100%;
  z-index: 100;
  background-color: transparent;
  /* Removed overflow: hidden to allow dropdown visibility */
}

/* Graphic pattern overlay on the right half - REMOVED from header, moved to header-right */
.site-header.custom-header::before {
  display: none;
}

.header-inner {
  position: relative;
  z-index: 2;
  /* Bring content above the pattern */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1512px;
  margin: 0 auto;
  padding: 0;
}

.logo {
  padding: 40px 60px;
}

.logo a {
  display: inline-block;
  text-decoration: none;
}

.logo img {
  width: 480px;
  height: 68px;
  display: block;
  object-fit: contain;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 30px;
  flex: 1;
  position: relative;
  padding: 40px 60px;
}

/* Purple background bleed to the right */
.header-right::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  /* Bleed color precisely to the screen edge on large displays */
  right: min(0px, 756px - 50vw);
  background-color: var(--purple-deep);
  z-index: -1;
  pointer-events: none;
}

/* Graphic pattern overlay - contained within the header area to be visible */
.header-right::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  /* Expand to screen edge to keep image on the right */
  right: min(0px, 756px - 50vw);
  background-image: url('/wp-content/uploads/2026/03/header_schmuckgrafik.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  /* Deeply fade the graphic to remove any visible hard edges or borders */
  /* Fade the graphic more steeply from right (opaque) to left (transparent) over a shorter 550px area */
  /* This ensures the left edge of the graphic hits 0% opacity faster, hiding the border completely */
  -webkit-mask-image: linear-gradient(to left, black 0%, transparent 550px);
  mask-image: linear-gradient(to left, black 0%, transparent 550px);
  z-index: -1;
  pointer-events: none;
  border: none;
}

.funktionale-navi {
  display: flex;
  gap: 20px;
}

.funktionale-navi .icon {
  position: relative;
  width: 36px;
  height: 36px;
  margin-right: 10px;
}

.icon-gebaerden-1 {
  position: absolute;
  inset: 9.37% 48.41% 32.82% 3.15%;
  width: auto;
  height: auto;
  max-width: none;
  object-fit: contain;
}

.icon-gebaerden-2 {
  position: absolute;
  inset: 28.12% 1.54% 12.5% 51.59%;
  width: auto;
  height: auto;
  max-width: none;
  object-fit: contain;
}

.icon-kontakt-svg {
  position: absolute;
  inset: 33.33% 20.83%;
  width: auto;
  height: auto;
  max-width: none;
  object-fit: contain;
}

.hauptnavi {
  display: flex;
  gap: 15px;
}

/* Navigation bar was previously purple-deep */
#masthead,
.wp-block-navigation {
  background-color: transparent;
}


/* =====================================================================
   FOOTER
   ===================================================================== */

.site-footer,
#colophon {
  background-color: var(--purple-deep);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 20px !important;
  line-height: var(--lh-small);
  letter-spacing: var(--ls-small);
  padding: 80px 40px 60px;
  position: relative;
  margin-top: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 330px 1fr 300px;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
  align-items: start;
}

.footer-logo a {
  display: block;
  text-decoration: none;
}

.footer-logo img {
  width: 240px;
  height: 34px;
  object-fit: contain;
}

.footer-middle {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-info {
  font-size: 20px !important;
  line-height: 1.7;
}

.footer-info p {
  margin: 0;
}

.footer-email-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}

.footer-bottom {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 150px;
  font-size: 20px !important;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  gap: 40px;
}

.footer-support {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}

.footer-support h2 {
  font-size: 20px !important;
  /* Enforced 20px */
  font-weight: bold;
  margin: 0;
  color: #fff !important;
}

.footer-arrow {
  position: absolute;
  top: -60px;
  right: -85px;
  width: 86px;
  height: 85px;
}

.footer-arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Force ALL text elements inside the footer to white and 20px,
   overriding any Zakra parent-theme rules. */
.site-footer *,
.site-footer p,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer li,
.site-footer span,
.site-footer address,
#colophon *,
#colophon p,
#colophon h1,
#colophon h2,
#colophon h3,
#colophon h4,
#colophon h5,
#colophon h6,
#colophon li,
#colophon span,
#colophon address {
  color: #fff !important;
  font-size: 20px !important;
}

.site-footer a,
#colophon a {
  color: #fff !important;
  text-decoration: underline;
}

.site-footer a:hover,
.site-footer a:focus,
#colophon a:hover,
#colophon a:focus {
  color: var(--orange-light) !important;
}

/* Responsive Footer BREAKPOINTS */
@media (max-width: 1100px) {

  .site-footer,
  #colophon {
    padding: 30px 20px 40px;
    text-align: left;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .footer-info>p {
    text-align: center;
  }

  .footer-email-row {
    justify-content: center;
  }

  .footer-logo {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .footer-middle {
    order: 2;
    align-items: flex-start;
    width: 100%;
  }

  .footer-info {
    text-align: center;
    width: 100%;
  }

  /* Note: .footer-email-row centering is applied above this block */

  .footer-email-row .icon {
    width: 32px;
    height: 32px;
  }

  .footer-support {
    order: 3;
    width: 100%;
    align-items: center;
    position: relative;
    margin-top: 10px;
  }

  .footer-support h2 {
    font-size: 24px !important;
    margin-bottom: 10px;
  }

  .btn-footer {
    width: 220px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
  }

  .footer-arrow {
    display: block;
    position: absolute;
    top: -55px;
    right: 15px;
    width: 56px;
    height: 55px;
  }

  .footer-bottom {
    order: 4;
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    gap: 20px;
    width: 100%;
    align-items: center;
  }

  .footer-bottom nav {
    order: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    width: 100%;
  }

  .footer-bottom nav a {
    text-decoration: underline;
  }

  .footer-bottom p {
    order: 2;
    text-align: center;
    font-size: 16px !important;
  }
}


/* =====================================================================
   PAGINATION
   ===================================================================== */

.pagination .page-numbers,
.wp-block-query-pagination-numbers .page-numbers,
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--purple-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers:focus,
.wp-block-query-pagination-numbers .page-numbers:hover,
.nav-links a:hover,
.nav-links a:focus {
  color: var(--purple-deep);
}

.pagination .page-numbers.current,
.wp-block-query-pagination-numbers .page-numbers.current {
  color: var(--purple-deep);
  font-weight: 700;
}

/* Prev / Next arrows */
.pagination .prev,
.pagination .next,
.nav-links .nav-previous a,
.nav-links .nav-next a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}


/* =====================================================================
   TEASER GRID (6-up desktop layout)
   ===================================================================== */

@media (min-width: 768px) {

  /* Enforce horizontal Flexbox for standard column blocks on home */
  body.home .wp-block-columns {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 40px;
    align-items: center;
    padding-top: 3em;
    padding-bottom: 3em;
  }

  body.home .wp-block-column {
    flex-basis: 0;
    flex-grow: 1;
    min-width: 0;
  }

  /* 6-cell teaser grid (3 cols × 2 rows) */
  body.home .wp-block-columns.teaser-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
    width: 100%;
    max-width: 1400px;
    /* 3 * 450px + 2 * 25px = 1400px */
  }

  body.home .teaser-grid .wp-block-column {
    margin: 0 !important;
    width: 100% !important;
    max-width: 450px;
    height: auto;
  }

  body.home .teaser-grid .wp-block-group {
    height: auto;
  }

  body.home .teaser-grid .wp-block-group p {
    line-height: 58px;
    color: var(--purple-deep);
    font-weight: 700;
    margin: 0;
  }
}


/* =====================================================================
   RESPONSIVE TYPOGRAPHY
   ===================================================================== */

@media (max-width: 400px) {

  .teaser-card p,
  .wp-block-group.teaser-card p {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 767px) {


  .ordered-column {
    display: flex;
    flex-direction: column;
  }

  .ordered-column>.wp-block-column:nth-child(1) {
    order: 2;
    padding: 0px 20px 20px 20px !important;
  }

  .ordered-column>.wp-block-column:nth-child(2) {
    order: 1;
    padding: 0 !important;
  }

  .ordered-column>.wp-block-column p,
  .ordered-column>.wp-block-column h1 {
    /* Provide the specific mobile pixel size, or use em/rem/vw */
    font-size: 1.5em !important;
    line-height: 0.5em !important;
    /*line-height: 1.2 !important;*/
  }

  .zak-site-layout--centered .zak-primary .entry-content>.alignwide {
    margin-left: 0;
    margin-right: 0;
  }

  .wp-block-image img {
    margin-bottom: 0;
  }

  .zak-content .zak-row {
    padding-top: 0;
  }

  h1,
  .h1 {
    font-size: var(--fs-h0-m);
    /* 64px on mobile */
    line-height: var(--lh-h0-m);
    letter-spacing: var(--ls-h0-m);
  }

  h2,
  .h2 {
    font-size: var(--fs-h2-m);
    /* 40px */
    line-height: var(--lh-h2-m);
  }

  h3,
  .h3 {
    font-size: var(--fs-h2-m);
    /* 40px — same as h2 on mobile */
    line-height: var(--lh-h2-m);
  }

  p,
  .text-body {
    font-size: var(--fs-body);
    /* 28px stays */
  }

  .text-small {
    font-size: var(--fs-small);
    /* 20px stays */
  }

  /* Buttons scale down slightly */
  .wp-block-button__link,
  .btn-primary,
  .btn-secondary {
    font-size: var(--fs-btn-sm);
    line-height: var(--lh-btn-sm);
    min-height: 70px;
  }
}

.footer-email-row .icon img {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
  justify-content: left;
}

/* =====================================================================
   RESPONSIVE HEADER & NAVIGATION (MOBILE)
   ===================================================================== */

@media (max-width: 1380px) {

  .footer-email-row .icon {
    width: 56px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-email-row .icon img {
    width: 20px;
    height: 15px;
    object-fit: contain;
  }

  .hide-mobile {
    display: none !important;
  }

  .header-inner {
    padding: 20px 40px;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    padding: 0;
    max-width: 60%;
  }

  .logo img {
    width: auto !important;
    max-width: 155px !important;
    max-height: 25px !important;
    /* Force correct aspect ratio for the wide brand logo */
    height: auto !important;
    display: block;
    object-fit: contain;
  }

  /* Hamburger Toggle Display */
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    /* Above mobile menu overlay */
    outline: none;
  }

  .hamburger-box {
    width: 30px;
    height: 18px;
    /* Slightly shorter for tighter look */
    display: block;
    position: relative;
  }

  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--purple-deep);
    border-radius: 4px;
    position: absolute;
    left: 0 !important;
    /* Override potential parent theme offsets */
    transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
  }

  .hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
  }

  .hamburger-inner::before {
    content: '';
    top: -8px;
    /* Balanced spacing */
  }

  .hamburger-inner::after {
    content: '';
    top: 8px;
    /* Balanced spacing */
  }

  /* When menu is active (transforms to X) */
  .menu-toggle.is-active .hamburger-inner {
    background-color: transparent !important;
  }

  .menu-toggle.is-active .hamburger-inner::before {
    transform: translateY(8px) rotate(45deg);
    background-color: #fff;
  }

  .menu-toggle.is-active .hamburger-inner::after {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #fff;
  }

  /* Mobile Content Overlay Styles */
  .header-right {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--purple-deep);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 120px 40px 40px;
    gap: 50px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
    box-sizing: border-box;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  }

  .header-right.is-open {
    transform: translateX(0);
  }

  .header-right::before,
  .header-right::after {
    display: none;
  }

  .funktionale-navi {
    flex-direction: column;
    width: 100%;
    gap: 15px;
    order: 2;
    margin-top: 20px;
  }

  .link-navi-kl {
    width: 100%;
    justify-content: flex-start;
    padding: 15px 25px;
    font-size: 24px;
    border: 1px solid #fff;
    border-radius: 50px;
  }

  .hauptnavi {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0 !important;
    order: 1;
  }

  .hauptnavi>ul {
    border-top: 1px solid #fff;
  }

  .hauptnavi ul {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .hauptnavi ul li {
    width: 100% !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .hauptnavi>ul>li {
    border-bottom: 1px solid #fff;
  }

  .hauptnavi ul li a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 0;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background-image: none !important;
    /* Hide Zakra's default background chevron arrows */
  }

  .hauptnavi .menu-item-has-children>a::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
    margin-right: 20px;
    margin-left: 5px;
    margin-bottom: 5px;
    /* Vertically center the V shape */
    transition: transform 0.2s ease;
  }

  .hauptnavi .menu-item-has-children.is-open>a::before {
    transform: rotate(225deg);
    margin-bottom: -5px;
    /* Shift up slightly when inverted */
  }

  .zak-submenu-toggle {
    /* Visually hide but keep for screen readers and keyboard */
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    word-wrap: normal !important;
  }

  /* Mobile Sub-menus (Accordion behavior) */
  .hauptnavi .sub-menu {
    display: none !important;
    position: static !important;
    /* Force into flow to push elements down */
    padding: 0 0 10px 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    list-style: none !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .hauptnavi .is-open>.sub-menu {
    display: block !important;
  }

  .hauptnavi ul li.is-open {
    height: auto !important;
    overflow: visible !important;
    background-color: rgba(255, 255, 255, 0.05);
    /* Subtle highlight when category is active */
  }

  /* Dividers between sub-menu items */
  .hauptnavi .sub-menu li {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    /* Small white line dividers */
    padding: 0 30px;
    /* Aligned with parent padding minus indent */
  }

  .hauptnavi .sub-menu li a,
  .hauptnavi ul li ul.sub-menu li a {
    padding: 15px 0;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    opacity: 0.9;
    justify-content: flex-start;
    border: none !important;
  }
}

/* Hide mobile toggle on desktop screens */
@media (min-width: 1381px) {
  .menu-toggle {
    display: none !important;
  }
}

/* Base Body lock when menu open */
body.menu-open {
  overflow: hidden;
}

/* =====================================================================
   HERO / START PAGE
   ===================================================================== */

/* Split-background for hero section (violet left / white right) */
body.home {
  background: linear-gradient(90deg, var(--violet-light) 50%, #fff 50%);
}

.teaser-card {
  cursor: pointer;
}

.teaser-card a {
  text-decoration: none !important;
  color: inherit !important;
}

/* Make entire block clickable using link pseudo-element overlay */
.teaser-card a::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.teaser-card__image,
.wp-block-group.teaser-card figure.wp-block-image {
  margin: 0 auto 15px auto !important;
  width: 65% !important;
  /* Made smaller to allow more space for text */
  max-width: 300px;
}

.teaser-card p,
.wp-block-group.teaser-card p {
  text-align: center;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 0;
  color: #5c1d7c;
  line-height: 1.2;
}

/* Responsive Grid BREAKPOINTS */
.wp-block-columns.teaser-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 25px !important;
  width: 100%;
}

@media (max-width: 1100px) {
  .wp-block-columns.teaser-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 767px) {
  .wp-block-columns.teaser-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    /* More space between vertical items */
  }

  .teaser-card {
    max-width: 450px;
    /* Keep them from getting too huge on wide mobile */
    margin-left: auto;
    margin-right: auto;
  }
}

/* Ensure hover shadow is still active after cleanup */
.teaser-card:hover,
.wp-block-group.teaser-card:hover {
  box-shadow: 20px 20px 0 0 var(--card-shadow-hover-color);
}

/* 
 * Ensure the Cover block is a flex container and allows its inner container to fill 100% height.
 * We override 'is-position-top-left' alignment to allow stretching.
 */
.wp-block-cover:has(.align-bottom) {
  display: flex !important;
  align-items: stretch !important;
}

.wp-block-cover:has(.align-bottom) .wp-block-cover__inner-container {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  margin: 0 !important;
  padding: 60px !important;
  width: 100% !important;
}

.align-bottom {
  margin-top: auto !important;
  margin-bottom: 0 !important;
}

/* parent element for text */
.startpage-selbstbestimmt-background {
  display: flex;
  height: 100%;
  align-items: flex-end;
}

/* text is positioned at the bottom of its parent (.startpage-selbstbestimmt-background) */
.startpage-selbstbestimmt-text {
  display: block;
}

/* inlcude elements somewhere under wp-block-details */
.wp-block-details .entry-content p,
.wp-block-details :where(.is-layout-flow)>* {
  margin-top: 0;
  margin-bottom: 0;
}

.wp-block-details :where(.is-layout-flow)>* {
  margin-bottom: 10px;
}

/* =====================================================================
   LIST ALIGNMENT FIX
   Aligns bullet points vertically with normal text/paragraph start.
   ===================================================================== */
.entry-content ul,
.entry-content ol,
.wp-block-post-content ul,
.wp-block-post-content ol {
  padding-left: 1.5em !important;
}

.entry-content li {
  margin-bottom: 5px;
}



h2,
h3,
h4,
h5,
h6 {
  margin: 20px 0 20px 0;
  hyphens: auto;
}

h1 {
  margin-top: 40px !important;
  hyphens: auto;
}

.wp-block-columns {
  padding: 0;
  margin-bottom: 1.75em;
}


.wp-block-details p {
  margin: 0;
}

.wp-block-details .wp-block-list {
  margin-top: 0;
  padding-left: 2.5em !important;
}

.wp-block-details .wp-block-list li {
  margin-bottom: 5px;
}

/* Download Section Styling */
.download-section {
  max-width: 984px;
  margin-bottom: 30px;
}

.download-section .wp-block-columns {
  align-items: center;
  margin-bottom: 1em !important;
  gap: 0 !important;
}

.download-section .wp-block-column:first-child {
  position: relative;
  min-height: 42px;
  flex-basis: 60px !important;
}

/* Download Icon (Figma node 344:2110) */
.download-section .wp-block-column:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22.6667 14.6667L16 21.3333L9.33333 14.6667' stroke='%238517bc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16 4V21.3333' stroke='%238517bc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M26.6667 28H5.33333' stroke='%238517bc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.download-section p {
  font-family: var(--font-primary);
  font-size: 28px !important;
  line-height: 42px !important;
  color: #8517bc !important;
  margin: 0 !important;
}

.download-section p a,
.entry-content .download-section p a {
  color: #8517bc !important;
  text-decoration: underline !important;
  font-weight: 400 !important;
}

.download-section hr.wp-block-separator {
  margin: 0;
  padding: 0;
  border: none;
  border-top: 1px solid rgba(133, 23, 188, 0.3);
  /* Subtle purple line */
  opacity: 1;
  width: 100% !important;
}

@media (max-width: 767px) {
  .download-section p {
    font-size: 20px !important;
    line-height: 30px !important;
  }
}

/* Specific styling for the Wanderausstellung email link */
a[href^="mailto:ausstellung@lebendiger-leben-ev.de"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 20px !important;
  font-family: var(--font-primary) !important;
  font-size: 28px !important;
  line-height: 42px !important;
  color: #8517bc !important;
  text-decoration: underline !important;
  margin: 1.5em 0 !important;
  font-weight: 400 !important;
}

/* Mail icon (envelope) from Figma node 513:6210 - Outlined version */
a[href^="mailto:ausstellung@lebendiger-leben-ev.de"]::before {
  content: "";
  display: block;
  width: 56px;
  height: 56px;
  background-image: url("data:image/svg+xml,%3Csvg width='56' height='56' viewBox='0 0 24 24' fill='none' stroke='%238517bc' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'%3E%3C/rect%3E%3Cpath d='M22 7l-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  a[href^="mailto:ausstellung@lebendiger-leben-ev.de"] {
    font-size: 20px !important;
    line-height: 28px !important;
    gap: 15px !important;
  }

  a[href^="mailto:ausstellung@lebendiger-leben-ev.de"]::before {
    width: 40px;
    height: 40px;
  }
}

/* Brochure Page Styling */
.broschueren-download a {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: #8517bc !important;
  text-decoration: underline !important;
  font-family: 'Atkinson Hyperlegible', sans-serif !important;
  font-weight: 400;
  line-height: normal;
}

.broschueren-download a::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%238517bc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='7 10 12 15 17 10'%3E%3C/polyline%3E%3Cline x1='12' y1='15' x2='12' y2='3'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Ensure brochure titles don't break awkwardly */
.broschueren-page h2 {
  hyphens: none !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

/* =====================================================================
   OFFENE ANGEBOTE (Angebote Page)
   ===================================================================== */

.angebot-section {
  padding: 80px 0;
}

.angebot-section.has-white-bg {
  background-color: #fff;
  /* Bleed background to screen edge using extreme margin hack for full-width blocks */
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
  position: relative;
  z-index: 1;
}

/* Info Box Styled like Figma Design */
.angebot-info-box {
  background-color: transparent;
  padding: 20px 0;
  max-width: 540px;
}

.angebot-info-box p {
  font-size: var(--fs-body);
  /* 28px */
  line-height: var(--lh-body);
  /* 42px */
  margin: 10px 0;
  color: var(--mono-black);
}

.angebot-info-box strong {
  display: inline-block;
  color: var(--mono-black);
}

.angebot-info-box hr {
  border: none;
  border-top: 1px solid var(--purple-bright);
  opacity: 1;
  margin: 15px 0;
}

.angebot-info-box a {
  color: var(--purple-deep);
  text-decoration: underline;
}

/* Image styling in columns */
.angebot-section .wp-block-image {
  margin-bottom: 30px;
}

.angebot-section .wp-block-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Desktop spacing adjustment for columns */
@media (min-width: 1512px) {
  .angebot-section .wp-block-columns {
    gap: 80px;
  }
}

/* =====================================================================
   KONTAKT — Form Styling (Everest Forms)
   ===================================================================== */

/* Container and spacing */
.everest-forms {
  max-width: 1153px;
  margin: 0;
}

.everest-forms form .evf-field-container .evf-field {
  margin-bottom: 40px;
}

/* Labels */
.everest-forms label.evf-label {
  display: block;
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 400;
  line-height: 42px;
  color: var(--mono-black) !important;
  margin-bottom: 20px !important;
  letter-spacing: 0.16px;
}

/* Input & Textarea Fields */
.everest-forms input[type="text"],
.everest-forms input[type="email"],
.everest-forms input[type="url"],
.everest-forms input[type="password"],
.everest-forms input[type="search"],
.everest-forms input[type="number"],
.everest-forms input[type="tel"],
.everest-forms textarea {
  background-color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: var(--font-primary) !important;
  font-size: 28px !important;
  line-height: 42px !important;
  color: var(--grey) !important;
  padding: 19px 30px !important;
  /* Total height: 42 (line) + 38 (padding) = 80px */
  width: 100% !important;
  height: 80px !important;
  box-shadow: none !important;
  opacity: 0.8;
}

.everest-forms textarea {
  height: 318px !important;
  padding: 20px 30px !important;
}

/* Placeholder opacity */
.everest-forms input::placeholder,
.everest-forms textarea::placeholder {
  opacity: 0.8;
  color: var(--grey);
}

/* Columns for First/Last name (Everest forms specific row/column nesting) */
@media (min-width: 768px) {
  .everest-forms .evf-field-row {
    display: flex;
    gap: 30px;
  }

  .everest-forms .evf-field-row .evf-1-2 {
    flex: 1;
  }
}

/* Custom Checkbox (Privacy) */
.everest-forms .evf-field-checkbox ul li {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* We hide the default checkbox and style the label for a 60px box if everest forms permits, 
   otherwise just scale it. */
.everest-forms input[type="checkbox"] {
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  background-color: #fff !important;
  border: none !important;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
}

.everest-forms input[type="checkbox"]:checked {
  background-color: var(--purple-deep) !important;
}

.everest-forms input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: #fff !important;
}

/* Submit Button styling: Rounded Orange Capsule */
.everest-forms button.evf-submit {
  background-color: var(--orange-bright) !important;
  color: #fff !important;
  font-family: var(--font-primary) !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  padding: 15px 60px !important;
  border-radius: 100px !important;
  border: none !important;
  cursor: pointer;
  text-transform: none !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease;
  margin-top: 40px;
  float: right;
  box-sizing: border-box;
  border: 2px solid transparent !important;
  /* Matching bottom right in screenshot */
}

.everest-forms button.evf-submit:hover {
  background-color: #fff !important;
  color: var(--orange-bright) !important;
  border: 2px solid var(--orange-bright) !important;
}

.everest-forms button.evf-submit:hover::after {
  color: var(--orange-bright) !important;
}

/* "Required" indicator */
.everest-forms span.required {
  color: var(--mono-black) !important;
  margin-left: 5px;
}

/* Footer / Disclaimer text */
.everest-forms .evf-field-description {
  font-size: 28px;
  line-height: 42px;
  color: var(--mono-black);
}

/* REFINEMENTS FOR KONTAKT FORM */

/* Ensure everything in the form is 28px */
.everest-forms,
.everest-forms * {
  font-size: 28px !important;
  font-weight: 400 !important;
  color: var(--mono-black);
}

/* Force asterisk to be deep black */
.everest-forms span.required {
  color: #000 !important;
}

/* Fix alignment for Datenschutz Checkbox and Text */
.everest-forms .evf-field-checkbox ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.everest-forms .evf-field-checkbox ul li {
  display: flex !important;
  align-items: flex-start !important;
  /* Align to top because text can wrap */
  gap: 30px !important;
  margin-bottom: 20px !important;
}

.everest-forms .evf-field-checkbox ul li input[type="checkbox"] {
  margin-top: 0 !important;
  /* Remove any default margins */
  flex-shrink: 0;
}

/* Ensure the label text doesn't have an extra margin */
.everest-forms .evf-field-checkbox ul li label {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 42px !important;
  display: inline-block !important;
}

/* Specific fix for the "Ich habe die Datenschutzerklärung..." label */
.everest-forms .evf-field-checkbox label.evf-checkbox-label {
  font-size: 28px !important;
  font-weight: 400 !important;
  color: var(--mono-black) !important;
}

/* FURTHER REFINEMENTS FOR KONTAKT FORM */

/* Ensure labels and instructions are NOT bold */
.everest-forms label.evf-label,
.everest-forms .evf-field-description,
.everest-forms .evf-checkbox-label {
  font-weight: 400 !important;
}

/* Force asterisk to black using extremely high specificity for Everest Forms */
div.everest-forms form.everest-form .evf-field-container .evf-field label span.required,
.everest-forms .evf-label .required,
.everest-forms .required,
.everest-forms .evf-required {
  color: #000000 !important;
}

/* Remove bold from all input texts */
.everest-forms input[type="text"],
.everest-forms input[type="email"],
.everest-forms textarea {
  font-weight: 400 !important;
}

/* FORCE CHECKBOX AND LABEL ON THE SAME LINE */
.everest-forms .evf-field-checkbox ul li,
.everest-forms .evf-field-checkbox .evf-field-checkbox-li {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  flex-wrap: nowrap !important;
}

.everest-forms .evf-field-checkbox li input[type="checkbox"] {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  flex-shrink: 0 !important;
}

.everest-forms .evf-field-checkbox li label.evf-checkbox-label {
  display: inline-block !important;
  margin: 0 !important;
  padding-left: 0 !important;
  /* Gap handled by parent */
  width: auto !important;
  flex: 1 !important;
  line-height: normal !important;
  vertical-align: middle !important;
}

/* FINAL FORCE FOR PURPLE CHECKBOX BACKGROUND */
div.everest-forms form.everest-form .evf-field-container .evf-field input[type="checkbox"]:checked,
.everest-forms input[type="checkbox"]:checked {
  background-color: var(--purple-deep) !important;
  background: var(--purple-deep) !important;
  /* redundant but forcing */
  border: none !important;
}

/* EXPLICITLY ELIMINATING BLUE ON HOVER/ACTIVE/FOCUS */
.everest-forms input[type="checkbox"]:checked:hover,
.everest-forms input[type="checkbox"]:checked:active,
.everest-forms input[type="checkbox"]:checked:focus {
  background-color: var(--purple-deep) !important;
}

/* CSS TRICK TO CHANGE SUBMIT BUTTON TEXT WITHOUT BREAKING FORM CONFIG */
.everest-forms button.evf-submit {
  font-size: 0 !important;
}

.everest-forms button.evf-submit::after {
  content: "Absenden";
  font-size: 28px !important;
  font-family: var(--font-primary) !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: normal !important;
}

/* Smooth transition for the submit button text color change */
.everest-forms button.evf-submit::after {
  transition: color 0.2s ease;
}


/* =====================================================================
   KALENDER PAGE — Event List Layout
   Matches Figma design node 458-3723
   ===================================================================== */

/* Page wrapper — light purple background from design */
.kalender-main {
  background-color: var(--purple-light, #faf2ff);
  min-height: 60vh;
}

.kalender-page-inner {
  max-width: 1263px;
  margin: 0 auto;
  padding: 60px 40px 100px;
}

/* Page Heading */
.kalender-heading {
  font-family: var(--font-primary);
  font-size: var(--fs-h1);
  /* 76px */
  line-height: var(--lh-h1);
  /* 90px */
  font-weight: 700;
  color: var(--purple-bright);
  /* #8517bc */
  margin-bottom: 60px;
}

/* -----------------------------------------------------------------------
   Event List
   ----------------------------------------------------------------------- */
.kalender-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* -----------------------------------------------------------------------
   Individual Event Card
   Two-column horizontal layout:
   - Left: 500px image block (white background behind it)
   - Right: text content (title, meta, description)
   ----------------------------------------------------------------------- */
.kalender-item {
  display: flex;
  flex-direction: row;
  gap: 90px;
  align-items: flex-start;
  padding-bottom: 60px;
  border-bottom: none;
}

/* Image column */
.kalender-item__image-wrap {
  flex: 0 0 500px;
  width: 500px;
  height: auto;
  min-height: 300px;
  /* Fixed height as requested */
  background-color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kalender-item__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* Ensures the image is fully visible without cropping */
  display: block;
  margin: auto;
  /* Extra centering insurance */
}

.kalender-item__image-placeholder {
  width: 100%;
  height: 400px;
  background-color: #fff;
}

/* Content column */
.kalender-item__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* Event title — H3 style (40px bold, purple-dark) */
.kalender-item__title {
  font-family: var(--font-primary);
  font-size: var(--fs-h3);
  /* 40px */
  line-height: var(--lh-h3);
  /* 52px */
  font-weight: 700;
  color: var(--purple-dark);
  /* #6a1296 */
  margin: 0;
}

/* Meta block (date + time/location) */
.kalender-item__meta {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  /* 28px */
  line-height: var(--lh-body);
  /* 42px */
  color: var(--purple-deep);
  /* #5c1d7c */
  letter-spacing: var(--ls-body);
}

/* Date — bold */
.kalender-item__datum {
  font-weight: 700;
  margin: 0 0 0 0;
}

/* Time + Location — regular */
.kalender-item__details {
  font-weight: 400;
  margin: 0;
}

/* Description text */
.kalender-item__description {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  color: var(--purple-deep);
  letter-spacing: var(--ls-body);
}

.kalender-item__description p {
  margin: 0;
}

/* -----------------------------------------------------------------------
   Empty state
   ----------------------------------------------------------------------- */
.kalender-empty {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--purple-deep);
  padding: 60px 0;
}

/* -----------------------------------------------------------------------
   Pagination
   ----------------------------------------------------------------------- */
.kalender-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 80px;
}

.kalender-pagination .page-numbers {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--purple-bright);
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.kalender-pagination .page-numbers.current {
  background-color: var(--purple-bright);
  color: #fff;
  font-weight: 700;
}

.kalender-pagination .page-numbers:hover:not(.current) {
  background-color: var(--purple-light, #faf2ff);
  text-decoration: underline;
}

.kalender-pagination .page-numbers.dots {
  background: transparent;
}

/* -----------------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .kalender-item {
    gap: 50px;
  }

  .kalender-item__image-wrap {
    flex: 0 0 380px;
    width: 380px;
    height: 320px;
  }

  /* No explicit height on image here as it will inherit contain rules */
}

@media (max-width: 768px) {
  .kalender-page-inner {
    padding: 40px 24px 80px;
  }

  .kalender-heading {
    font-size: var(--fs-h1-m, 64px);
    line-height: var(--lh-h1-m, 80px);
    margin-bottom: 40px;
  }

  .kalender-item {
    flex-direction: column;
    gap: 30px;
  }

  .kalender-item__image-wrap {
    flex: none;
    width: 100%;
    height: 280px;
  }

  /* Image will be centered by container flex rules */

  .kalender-item__title {
    font-size: var(--fs-h3);
  }
}

.visually-hidden {
  opacity: 0;
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* =====================================================================
   COOKIE CONSENT BANNER — Figma Node 432:2075
   ===================================================================== */

/* Backdrop overlay */
#ll-cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none; /* Hidden by default to prevent flash, JS will show if no consent */
  align-items: center;
  justify-content: center;
  background-color: rgba(133, 23, 188, 0.50);
  padding: 20px;
}

/* Dialog box */
#ll-cookie-banner {
  background-color: #fff;
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 60px 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
  outline: none;
}

/* Logo inside banner */
.ll-cookie-banner__logo {
  position: absolute;
  top: 30px;
  right: 50px;
}

.ll-cookie-banner__logo img {
  height: 42px;
  width: auto;
}

/* Content area */
.ll-cookie-banner__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Heading */
.ll-cookie-banner__heading {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 46px;
  line-height: 58px;
  color: var(--purple-bright);
  margin: 0;
}

/* Body copy */
.ll-cookie-banner__text {
  font-family: var(--font-primary);
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  letter-spacing: var(--ls-small);
  color: var(--purple-deep);
  margin: 0;
}

/* Anpassen panel */
#ll-cookie-details {
  display: none;
  border-top: 2px solid var(--purple-bright);
  padding-top: 30px;
}

.ll-cookie-details__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(133, 23, 188, 0.20);
}

.ll-cookie-details__item:last-child {
  border-bottom: none;
}

.ll-cookie-details__item input[type="checkbox"] {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-top: 4px;
}

.ll-cookie-details__label-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  color: var(--purple-deep);
  display: block;
}

.ll-cookie-details__label-desc {
  font-family: var(--font-primary);
  font-size: var(--fs-tiny);
  line-height: var(--lh-tiny);
  color: var(--grey);
  display: block;
  margin-top: 4px;
}

/* Privacy link */
.ll-cookie-banner__link {
  color: var(--purple-bright) !important;
  text-decoration: underline;
  font-family: var(--font-primary);
  font-size: var(--fs-small);
  line-height: var(--lh-small);
}

/* Button row */
.ll-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

/* Shared button base */
.ll-cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  padding: 16px 44px;
  border: 3px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  background: none;
}

.ll-cookie-btn:focus-visible {
  outline: 3px solid var(--purple-deep) !important;
  outline-offset: 4px !important;
}

/* Ablehnen — secondary purple */
#ll-cookie-btn-ablehnen {
  background-color: var(--purple-bright);
  color: #fff;
  border-radius: var(--radius-lg);
}

#ll-cookie-btn-ablehnen:hover,
#ll-cookie-btn-ablehnen:focus-visible {
  background-color: #fff;
  color: var(--purple-dark);
  border-color: var(--purple-dark);
}

/* Anpassen — deep purple */
#ll-cookie-btn-anpassen {
  background-color: var(--purple-deep);
  color: #fff;
  border-radius: var(--radius-lg);
}

#ll-cookie-btn-anpassen:hover,
#ll-cookie-btn-anpassen:focus-visible {
  background-color: #fff;
  color: var(--purple-deep);
  border-color: var(--purple-deep);
}

/* Annehmen — primary orange */
#ll-cookie-overlay #ll-cookie-btn-annehmen,
#ll-cookie-btn-annehmen {
  background-color: var(--orange-bright) !important;
  color: #fff !important;
  border-color: transparent !important;
  border-radius: var(--radius-xl);
}

#ll-cookie-overlay #ll-cookie-btn-annehmen:hover,
#ll-cookie-overlay #ll-cookie-btn-annehmen:focus-visible,
#ll-cookie-btn-annehmen:hover,
#ll-cookie-btn-annehmen:focus-visible {
  background-color: #fff !important;
  color: var(--orange-bright) !important;
  border-color: var(--orange-bright) !important;
}

/* Auswahl speichern */
#ll-cookie-btn-save {
  background-color: var(--purple-deep);
  color: #fff;
  border-radius: var(--radius-lg);
  margin-top: 10px;
}

#ll-cookie-btn-save:hover,
#ll-cookie-btn-save:focus-visible {
  background-color: #fff;
  color: var(--purple-deep);
  border-color: var(--purple-deep);
}

/* Responsive */
@media (max-width: 900px) {
  #ll-cookie-banner {
    padding: 40px 30px;
    gap: 28px;
  }

  .ll-cookie-banner__heading {
    font-size: 32px;
    line-height: 42px;
  }

  .ll-cookie-banner__logo {
    position: static;
    margin-bottom: -10px;
  }
}

@media (max-width: 600px) {
  #ll-cookie-banner {
    padding: 30px 20px;
    max-height: 95vh;
  }

  .ll-cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ll-cookie-btn {
    width: 100%;
    font-size: 22px;
    padding: 14px 24px;
    justify-content: center;
  }
}


/* =====================================================================
   CONSENT PLACEHOLDER — blocked iframes
   Replaces iframes (YouTube, Vimeo, Maps, etc.) until consent is given.
   ===================================================================== */

.ll-consent-placeholder {
  display: block;
  width: 100%;
  /* Maintain a 16:9 aspect ratio by default */
  aspect-ratio: 16 / 9;
  background-color: var(--violet-light);
  border: 2px solid rgba(133, 23, 188, 0.20);
  position: relative;
  box-sizing: border-box;
}

.ll-consent-placeholder__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 30px;
  text-align: center;
}

.ll-consent-placeholder__label {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  color: var(--purple-bright);
  margin: 0;
}

.ll-consent-placeholder__text {
  font-family: var(--font-primary);
  font-size: var(--fs-tiny);
  line-height: var(--lh-tiny);
  color: var(--grey);
  margin: 0;
  max-width: 480px;
}

.ll-consent-placeholder__btn {
  background-color: var(--purple-bright) !important;
  color: #fff !important;
  border-color: transparent !important;
  border-radius: var(--radius-lg);
  font-size: 20px;
  padding: 12px 36px;
}

.ll-consent-placeholder__btn:hover,
.ll-consent-placeholder__btn:focus-visible {
  background-color: #fff !important;
  color: var(--purple-dark) !important;
  border-color: var(--purple-dark) !important;
}