/*
 Theme Name:   MeetingHive Child
 Theme URI:    https://example.com/
 Description:  Child-Theme für MeetingHive
 Author:       Dein Name
 Author URI:   https://example.com/
 Template:     meetinghive
 Version:      1.0.0
 Text Domain:  meetinghive-child
*/

/* ============================================================
   Toucan-Do-It — Cleaned style.css (proposed)
   Notes:
   - Keep this file as your only custom CSS override.
   - Namespaced where helpful, reduced duplicates, tightened selectors.
   - Variables allow quick theme tweaks.
   - Minimal use of !important (only where WP/HivePress inline styles fight back).
   ============================================================ */

/* ------------------------------------------------------------
   CSS Variables (colors, spacing)
   ------------------------------------------------------------ */
:root {
  --tcd-gold: #F4A261;
  --tcd-gold-dark: #d68f54;
  --tcd-cream: #fff8f0;
  --tcd-cream-dark: #ffebd5;
  --tcd-cream-light: #fffbf6;
  --tcd-text: #333;
  --tcd-muted: #818078;
  --tcd-green: #A3B18A;
  --tcd-coinblue: #1ba8e7;;
  --tcd-shadow: rgba(0,0,0,0.3);
  --tcd-shadow-strong: rgba(19, 12, 12, 0.5);
}

/* =========================
   Quicksand VariableFont
   ========================= */
@font-face {
  font-family: "Quicksand" !important;
  src: url("/wp-content/uploads/fonts/Quicksand-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700; /* deckt alle Schnitte von Light bis Bold */
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Pacifico";
  src: url("/wp-content/uploads/fonts/Pacifico-Regular.woff2") format("woff2"),
       url("/wp-content/uploads/fonts/Pacifico-Regular.ttf") format("truetype");
  font-weight: 400;            /* Pacifico hat regulär nur 400 */
  font-style: normal;
  font-display: swap;
}



/* Globale Definitionen */
:root {
  --tcd-font-body: "Quicksand", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
                   Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif !important;
  --tcd-font-heading: "Quicksand", var(--tcd-font-body) !important;
}

/* Body */
body, .content-section {
  font-family: var(--tcd-font-body);
}




/* ------------------------------------------------------------
   Base / Resets
   ------------------------------------------------------------ */
body,
.content-section {
  background-color: var(--tcd-cream) !important;
  color: var(--tcd-text) !important;
  font-family: var(--tcd-font-body) !important;
}

h1,h2,h3,h4,h5,h6,fieldset legend,.header-logo__name,.comment__author,.hp-review__author,.hp-message--view-block hp-message__sender,.woocommerce ul.product_list_widget li .product-title,.editor-post-title__block,.editor-post-title__input {
  font-family: var(--tcd-font-body) !important;
  font-weight: 700;
}



html {
    font-size: 14px !important;
}

a {
    text-decoration: none !important;
    color: var(--tcd-gold) !important;
}

#wpadminbar .ab-empty-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon {
    color: #f0f0f1 !important;
}

/* a:hover {
    color: var(--tcd-gold) !important;
} */


#start:hover {
    background-color: var(--tcd-cream-dark) !important; 
}

/* Basis-Style (für Desktop & Tablet) */
#section {
  max-width: 780px;
  margin: 0 auto 3rem auto;
  text-align: left;
  padding: 1rem;
  color: #2D2D2D;
}

/* Beispiel-Verwendung – NICHT bolden */
.pacifico {
  font-family: "Pacifico", cursive;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.1;            /* Script-Fonts wirken knapper */
}

/* Tablet und kleiner */
@media (max-width: 991px) {
  #section {
    max-width: 90%;      /* passt sich dynamisch an */
    padding: 0.75rem;
  }
}

/* Smartphone */
@media (max-width: 576px) {
  #section {
    max-width: 100%;
    margin: 0 0 2rem 0;
    padding: 0.5rem;
  }
}

/* Button */
.button {
    background-color: rgb(242 242 243) !important;
}

/* Filter */
.wp-block-button.is-style-secondary .wp-block-button__link,button[type="submit"].button--secondary,.button--secondary {
    background-color: var(--tcd-cream) !important;
}

.button--secondary,.wp-block-file .wp-block-file__button,.hp-field--number-range .ui-slider-range,.hp-field input[type=checkbox]:checked + span::before,.hp-field input[type=radio]:checked + span::after,.woocommerce a.button--secondary,.woocommerce button.button--secondary,.woocommerce input.button--secondary,.woocommerce a.button--secondary:hover,.woocommerce button.button--secondary:hover,.woocommerce input.button--secondary:hover,.woocommerce span.onsale,.woocommerce .widget_price_filter .price_slider_wrapper .ui-slider-range {
    background-color: var(--tcd-gold) !important;
}

.hp-field input[type=radio]:checked + span::before,.hp-field input[type=checkbox]:checked + span::before {
    border-color: var(--tcd-gold) !important;
}

.wp-block-button.is-style-primary .wp-block-button__link,.hp-vendor--view-block .hp-vendor__actions--primary .hp-vendor__action--message,.hp-listing--view-block .hp-listing__actions--primary .hp-listing__action--message,.post__readmore {
    background-color: var(--tcd-gold) !important;
}

.hp-listing--view-page .hp-listing__images-carousel .slick-current img {
    border-color: var(--tcd-gold) !important;
}

.hp-field input[type=checkbox]:checked+span::before,.hp-field input[type=radio]:checked+span::before {
    border-color: var(--tcd-gold) !important;
}
.hp-field input[type=checkbox]:checked+span::before {
    background-color: var(--tcd-gold) !important;
}

.hp-field input[type=radio]+span::after {
    background-color: var(--tcd-gold) !important;
}


.wp-block-button.is-style-secondary .wp-block-button__link,button[type="submit"].button--secondary,.button--secondary {
    background-color: var(--tcd-cream)!important;
}

body.customize-support,.content-section {
    background-color: #fff8f0 !important;
}

/* Make <hr> transparent globally and within HivePress */
hr,
.hivepress hr,
.hp-hr {
  background-color: transparent !important;
  margin: 3rem 0;
}

/* Utility headline rule with faded line */
.hr-text {
  line-height: 1em;
  position: relative;
  outline: 0;
  border: 0;
  color: black;
  text-align: center;
  height: 1.5em;
  opacity: .5;
  font-weight: 600;
}
.hr-text:before {
  content: "";
  background: linear-gradient(to right, transparent, var(--tcd-gold), transparent);
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
}
.hr-text:after {
  content: attr(data-content);
  position: relative;
  display: inline-block;
  color: var(--tcd-muted);
  background-color: #fcfcfa;
  padding: 0 .5em;
  line-height: 1.5em;
}

/* ------------------------------------------------------------
   Thickbox / WP media modal tweaks
   ------------------------------------------------------------ */
#TB_overlay { background-color: rgba(0, 0, 0, 0.5) !important; }
#TB_window { box-shadow: 0 0 15px var(--tcd-shadow-strong); border: 3px solid #fff; background: #fff; }
#TB_ajaxContent { padding: 1em; }
#TB_closeWindowButton {
  top: 10px !important; right: 10px !important;
  width: 30px; height: 30px; background-size: cover;
}

/* ------------------------------------------------------------
   Modal (custom)
   ------------------------------------------------------------ */
.toucandoit-modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 999;
}
.toucandoit-modal-content {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: #ffffff; padding: 1.5em; max-width: 500px; width: 90%;
  box-shadow: 0 2px 10px var(--tcd-shadow); border-radius: 8px; z-index: 1000;
  max-height: 90vh; overflow-y: auto;
}

/* HivePress-like modal look for confirm dialog */
#toucandoit-confirm-modal.hp-modal { max-width: 400px; padding: 0 !important; border-radius: 8px; overflow: hidden; }
#toucandoit-confirm-modal .hp-modal__title { margin: 0; padding: 16px; font-size: 1.2rem; background: var(--tcd-cream); color: #333; border-bottom: 1px solid #e0e0e0; }
#toucandoit-confirm-modal .hp-modal__content { padding: 16px; font-size: 0.9rem; color: var(--tcd-text); }
#toucandoit-confirm-modal .hp-modal__footer { padding: 12px 16px; background: #fff; border-top: 1px solid #e0e0e0; text-align: right; }
#toucandoit-confirm-modal .hp-modal__content p,
#toucandoit-confirm-modal .hp-modal__content .hp-listing__attribute { margin-bottom: 12px; }
#toucandoit-confirm-modal .hp-icon { color: var(--tcd-gold) !important; }

#toucandoit-confirm-modal .toucandoit-modal-confirm {
  margin-left: 8px; min-width: 80px; font-size: 0.85rem; padding: 0.35rem 1.05rem;
  background-color: var(--tcd-gold); border: none; border-radius: 4px; color: #fff;
  transition: background-color 0.2s ease;
}
#toucandoit-confirm-modal .toucandoit-modal-confirm:hover { background-color: var(--tcd-gold-dark); }

#toucandoit-confirm-modal .toucandoit-modal-cancel {
  margin-left: 8px; min-width: 80px; font-size: 0.85rem; padding: 0.35rem 1.05rem;
  background: transparent; border: 0; border-radius: 4px; color: var(--tcd-text);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
#toucandoit-confirm-modal .toucandoit-modal-cancel:hover { background-color: rgba(0,0,0,0.05); }

/* Available coins block inside confirm modal */
#toucandoit-confirm-modal .toucandoit-available-coins { display: flex; align-items: center; margin-top: 30px; }
#toucandoit-confirm-modal .toucandoit-available-coins img { width: 50px; height: 50px; margin-right: 8px; }
#toucandoit-confirm-modal .toucandoit-available-text { font-size: 0.6rem; line-height: 1.2; color: var(--tcd-text); font-weight: bold; }
#toucandoit-confirm-modal .toucandoit-available-text::first-line { font-size: 1.2rem !important; font-weight: bold; }

/* ------------------------------------------------------------
   Listing cards / actions
   ------------------------------------------------------------ */
/* Diagonal corner ribbon */
article.hp-listing--view-block { position: relative !important; overflow: hidden !important; }
.hp-listing--view-block .diagonal-text { position: absolute; top: 0; right: 0; transform: translate(50%, -50%) rotate(45deg); transform-origin: center; z-index: 10; }
.hp-listing--view-block .diagonal-text::before { content: ""; display: block; padding-top: 100%; }
.hp-listing--view-block .diagonal-text > span { display: inline-block; padding: 6px 45px; transform: translateY(-50%); font-size: 14px; text-align: center; color: #fff; white-space: nowrap; background: var(--tcd-coinblue) !important; }
.hp-listing--view-block .diagonal-text.purchased > span { background: var(--tcd-green) !important; }

/* Primary action buttons sizing */
.hp-listing--view-block .hp-listing__actions--primary .hp-listing__action {
  width: 3.8rem !important; height: 3.8rem !important; border-radius: 30% !important;
}

/* Unlock button tweaks */
.hp-listing__action.unlock-request {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 60px; height: 60px; padding: 4px; box-sizing: border-box;
  background: #fff; border: 1px solid #ccc; border-radius: 4px;
}
.hp-listing__action.unlock-request .toucandoit-unlock-label {
  font-size: 0.55rem; color: #000000b1; text-align: center; line-height: 1.2em; margin-top: 3px;
}
.hp-listing__action.unlock-request:hover i.hp-icon,
.unlock-request:hover i.hp-icon { color: var(--tcd-gold) !important; }

/* Listing footer attribute typography */
.hp-listing__footer .hp-listing__attributes--primary,
.hp-listing__footer .hp-listing__attributes--primary .hp-listing__attribute,
.hp-listing__footer .hp-listing__attributes--primary .hp-listing__attribute strong,
.hp-listing__footer .hp-listing__attributes--primary .hp-listing__attribute i,
.hp-listing__footer .hp-listing__attributes--primary .hp-listing__attribute a {
  font-size: clamp(10px, 2vw, 14px) !important; line-height: 1.3 !important;
}

/* Secondary attributes increased line-height */
.hp-listing__attributes--secondary .hp-listing__attribute { line-height: 2 !important; }

/* Trim inner content width to avoid overlapping ribbons/buttons */
.hp-listing--view-block .hp-listing__content:not(:last-child),
.hp-listing--view-block .hp-listing__footer:not(:last-child),
.hp-listing--view-block .hp-listing__header:not(:last-child) { max-width: 89% !important;padding-left: 3rem; }

/* ------------------------------------------------------------
   Header / Navigation
   ------------------------------------------------------------ */
/* Logo */
.header-logo .custom-logo { max-height: 40px; height: auto; width: auto; }

/* Active menu item pill background */
.header-navbar__menu > ul > li.current-menu-item {
  background-color: rgb(255, 236, 215) !important; border-radius: 9999px;
}

/* Horizontal padding */
.header-navbar__menu > ul > li { padding: 0 1rem !important; }



.header-hero {
    background-color: #f6f9fc;
    padding: 3rem 0
}

@media only screen and (min-width: 48em) {
    .header-hero--large {
        padding:6rem 0
    }
}

@media only screen and (min-width: 75em) {
    .header-hero--large {
        padding:9rem 0
    }
}

.header-hero--title {
    padding: 0
}

.header-hero--title h1 {
    margin: 3rem 0
}

.header-hero__content {
    position: relative;
    z-index: 1
}

@media only screen and (min-width: 48em) {
    .header-hero__content h1 {
        font-size:2.625rem
    }
}

@media only screen and (min-width: 75em) {
    .header-hero__content h1 {
        font-size:3rem
    }
}


/* Place coins menu item to the far right in header menu */
.header-navbar__menu > ul > li.toucandoit-coins-menu-item { margin-left: auto; right: -7rem; }

/* Coins block styles in header */
.header-navbar__menu .toucandoit-available-coins { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.header-navbar__menu .toucandoit-available-coins img { width: 2.5rem; height: auto; }
.header-navbar__menu .toucandoit-available-text { line-height: 1.2; font-weight: bold; }



/* ------------------------------------------------------------
   Forms
   ------------------------------------------------------------ */
/* Bold labels on the event create form */
form[action*="/event-erstellen/"] label { font-weight: bold; }

/* Full-width inputs for event create and your register form */
form[action*="/event-erstellen/"] input[type="text"],
form[action*="/event-erstellen/"] input[type="email"],
form[action*="/event-erstellen/"] input[type="url"],
form[action*="/event-erstellen/"] input[type="tel"],
form[action*="/event-erstellen/"] textarea,
#toucandoit-register-form input[type="text"],
#toucandoit-register-form input[type="email"],
#toucandoit-register-form input[type="password"],
#toucandoit-register-form input[type="tel"],
#toucandoit-register-form input[type="url"],
#toucandoit-register-form select {
  width: 100%; max-width: 100%; box-sizing: border-box; padding: 0.5em; margin-top: 0.3em; font-size: 1rem;
  background-color: #fbfbfb;
}

/* BUTTON & INPUT */
/* Ändert die Hintergrundfarbe für alle Text-Input-Felder */
/* input[type="text"] {
    background-color: var(--tcd-cream-light) !important; 
} */

/* Ändert die Hintergrundfarbe, wenn das Feld aktiv ist */
#contact_name:focus {
    background-color: #f7f7f7 !important; 
}

.js-focus-visible :focus:not(.focus-visible) {
    background-color: #f7f7f7 ;
}

/* Stylt das sichtbare Kalenderfeld beim Fokus */
.flatpickr-calendar:focus {
    background-color: #fbfbfb !important;
}

.flatpickr-calendar.open {
    background-color: white !important;
}

button[type=submit],input[type=submit] {
    background-color: var(--tcd-cream) !important;
    width: 300px !important;
    margin-bottom: 2rem !important;
}

button[type=submit]:hover,input[type=submit]:hover {
    background-color: var(--tcd-cream-dark) !important;
}



/*
 * Wendet die Stile für Autofill auf alle
 * Eingabefelder mit dem Typ "text", "email" und "password" an.
 */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--tcd-cream-light) inset !important; /* Gewünschte Hintergrundfarbe */
    -webkit-text-fill-color: #000 !important; /* Textfarbe */
    transition: background-color 5000s ease-in-out 0s;
}

.select2-container--default .select2-selection .select2-selection__rendered {
	background-color: #fbfbfb !important
}

input[type='color'],
input[type='date'],
input[type='datetime'],
input[type='datetime-local'],
input[type='email'],
input[type='month'],
input[type='number'],
input[type='password'],
input[type='range'],
input[type='min'],
input[type='max'],
input[type='value'],
input[type='step'],
input[type='search'],
input[type='tel'],
input[type='text'],
input[type='time'],
input[type='url'],
select,
textarea {
	background-color: #fbfbfb !important;
}




.select2-container--default .select2-selection--inline .select2-selection__arrow {
	top: 0rem !important;

}

.select2-container .select2-selection--single .select2-selection__arrow b {
    margin: 0px !important;
    top: 15% !important;
}

.hp-template--request-submit-details-page .hp-page {
    margin-bottom: 10vw !important;
    max-width: 780px;
    margin: 0 auto 3rem auto;
    text-align: left;
    padding: 1rem;
}



/* Custom description helper */
.custom-hp-message { margin-top: 1rem; padding: 1rem; background: #f9f9f9; border-radius: 4px; }

/* ------------------------------------------------------------
   HivePress menu item removal (request submit)
   ------------------------------------------------------------ */
.hp-menu__item.hp-menu__item--request-submit { display: none; }

/* Gemeinsames Styling für beide Menüs, unabhängig von theme_location */
.tcd-menu { list-style: none; margin: 0; padding: 0; }

/* Items & Links (greift zusätzlich zu deinem bestehenden MeetingHive-CSS) */
.tcd-menu > li { display: inline-block; }
.tcd-menu__item--current > a.tcd-menu__link {
  background-color: rgb(255, 236, 215);
  border-radius: 9999px;
}





/* EVENT BOX Styling */
/* ==== Left Category Ribbon (static: "Kategorie") ==== */
article.hp-listing--view-block {
  position: relative;
  overflow: visible; /* Ribbon darf überstehen */
}

/* Platz für den Balken schaffen */
.hp-listing--view-block .hp-listing__content,
.hp-listing--view-block .hp-listing__footer {
  padding-left: 48px;  /* Breite des Ribbons + etwas Luft */
}

/* Balken-Körper */


.hp-listing--view-block .hp-listing__content {
  position: relative; /* nötig, damit ::before sich daran orientiert */
}

.hp-listing--view-block .hp-listing__content::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0;
  bottom: 0;
  width: 36px;
  background: #f2f2f3;
  border: 1px solid #eeeeef;
  border-right: 0;
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
  z-index: 1;
}

/* Vertikaler Text */
/* Label per data-Attribut (gilt für Listing UND Request) */
.hp-listing--view-block .hp-listing__content::after,
.hp-request--view-block .hp-listing__content::after {
  content: attr(data-category);
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center center;
  text-align: center;
  font: 700 14px/1 Figtree, system-ui, sans-serif;
  color: #fff;
  letter-spacing: .12em;
  z-index: 2;
  pointer-events: none;
  white-space: nowrap;
}

/* Mobile: Balken ausblenden, Platz zurückgeben */
@media (max-width: 640px) {
  .hp-listing--view-block::before,
  .hp-listing--view-block::after { display: none; }
  .hp-listing--view-block .hp-listing__content,
  .hp-listing--view-block .hp-listing__footer { padding-left: 0; }
}


/* Secondary Box - Event Übersicht  */
/* Secondary-Box: 2 Spalten, lückenlos mit dense packing */
.hp-listing--view-block .hp-listing__attributes--secondary,
.hp-listing--view-page  .hp-listing__attributes--secondary {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  grid-auto-flow: row dense;           /* <-- füllt Lücken */
  gap: 12px 20px;
  margin: 0;                           /* evtl. altes -margin entfernen */
}



/* Default: alles in rechte Spalte */
.hp-listing__attributes--secondary .hp-listing__attribute {
  grid-column: 2;
  order: 100; /* hoher Standardwert, damit wir gezielt überschreiben können */
}

/* Linke Pflicht-Spalte */
.hp-listing__attributes--secondary .hp-listing__attribute--state,
.hp-listing__attributes--secondary .hp-listing__attribute--location,
.hp-listing__attributes--secondary .hp-listing__attribute--starttime,
.hp-listing__attributes--secondary .hp-listing__attribute--budget {
  grid-column: 1;
  order: initial; /* behält normale Reihenfolge */
}

/* Gästeanzahl immer erste in rechter Spalte */
.hp-listing__attributes--secondary .hp-listing__attribute--guests {
  grid-column: 2 !important;
  order: 1; /* kleiner Wert = ganz vorne in der Spalte */
}


/* Reihenfolge (optional, hilft wenn DOM mal mischt) */
.hp-listing__attributes--secondary .hp-listing__attribute--state      { order: 10; }
.hp-listing__attributes--secondary .hp-listing__attribute--location   { order: 20; }
.hp-listing__attributes--secondary .hp-listing__attribute--starttime  { order: 30; }
.hp-listing__attributes--secondary .hp-listing__attribute--budget     { order: 40; }
.hp-listing__attributes--secondary .hp-listing__attribute--guests     { order: 50; }

/* Mobile: einspaltig, Trenner aus */
@media (max-width: 680px) {
  .hp-listing--view-block .hp-listing__attributes--secondary,
  .hp-listing--view-page  .hp-listing__attributes--secondary {
    grid-template-columns: 1fr;
  }
  .hp-listing--view-block .hp-listing__attributes--secondary::before,
  .hp-listing--view-page  .hp-listing__attributes--secondary::before {
    display: none;
  }
}

/* =========================
   ≤ 797px: Separator nur so hoch wie .hp-listing__content
   ========================= */
/* Mobile (≤768px): alte Linie AUS, neue Linie AN NUR am Content */
@media screen and (max-width: 768px) {

 

  /* Header vollbreit */
  /* gleiche Selektorenliste wie die Desktop-Regel, aber später + !important */
  .hp-listing--view-block .hp-listing__content:not(:last-child),
  .hp-listing--view-block .hp-listing__footer:not(:last-child),
  .hp-listing--view-block .hp-listing__header:not(:last-child) {
    max-width: 100% !important;
    padding-left: 3rem; /* bleibt gleich */
  }

  /* Falls oben trotzdem nicht zieht, erhöhe Spezifizität mit dem article-Prefix: */
  article.hp-listing.hp-listing--view-block .hp-listing__content:not(:last-child),
  article.hp-listing.hp-listing--view-block .hp-listing__footer:not(:last-child),
  article.hp-listing.hp-listing--view-block .hp-listing__header:not(:last-child) {
    max-width: 100% !important;
    padding-left: 3rem !important;
  }

  /* Test Styling - Event Page */
  .hp-listing--view-block .hp-listing__attributes--secondary .hp-listing__attribute,
  .hp-listing--view-page .hp-listing__attributes--secondary .hp-listing__attribute {
    font-size: 0.75rem !important;
  }
}


/* =========================
   ≤ 635px: nur noch 1 Spalte
   ========================= */
@media screen and (max-width: 600px) {
  /* Flex/Grid komplett aus, 1 Spalte erzwingen */
  .hp-listing--view-block .hp-listing__attributes--secondary,
  .hp-listing--view-page  .hp-listing__attributes--secondary {
    display: block !important;      /* killt display:flex/grid */
    flex-wrap: nowrap !important;   /* falls ein späteres CSS wieder flex erzwingt */
  }

  /* Jedes Attribut volle Breite */
  .hp-listing__attributes--secondary .hp-listing__attribute {
    width: 100% !important;
    grid-column: auto !important;   /* alle Grid-Zuweisungen neutralisieren */
  }

  /* Abstände zwischen den Zeilen */
  .hp-listing__attributes--secondary .hp-listing__attribute + .hp-listing__attribute {
    margin-top: 10px;
  }

  /* Mittellinie/Separator mobil ausblenden */
  .hp-listing--view-block .hp-listing__attributes--secondary::before,
  .hp-listing--view-page  .hp-listing__attributes--secondary::before,
  .hp-listing--view-block .hp-listing__content::before {
    display: none !important;
    content: none !important;
  }

  /* Falls oben trotzdem nicht zieht, erhöhe Spezifizität mit dem article-Prefix: */
  article.hp-listing.hp-listing--view-block .hp-listing__content:not(:last-child),
  article.hp-listing.hp-listing--view-block .hp-listing__footer:not(:last-child),
  article.hp-listing.hp-listing--view-block .hp-listing__header:not(:last-child) {
    max-width: 100% !important;
    padding-left: 1.5rem !important;
  }

  .hp-listing--view-block .hp-listing__title {
	  font-size: 1.3rem !important;
  }

  /* Test Styling - Event Page */
  .hp-listing--view-block .hp-listing__attributes--secondary .hp-listing__attribute,
  .hp-listing--view-page .hp-listing__attributes--secondary .hp-listing__attribute {
    font-size: 0.6rem !important;
  }
}


/* Test Styling - Event Page */
  /* Test Styling - Event Page */
  .hp-listing--view-block .hp-listing__attributes--secondary .hp-listing__attribute,
  .hp-listing--view-page .hp-listing__attributes--secondary .hp-listing__attribute {
    font-size: 0.8rem !important;
  }


  /* ===========================
   Toucan Coins — Pricing Grid
   - Nutzt .tcd-pricing (alias: .pricing)
   - Entfernt Ghost-<p>/<br> aus dem WP-Editor
   - Layout: 2×3 (oben 2, Mitte 1 über volle Breite, unten 2)
   - Mobile stacked, Tablet/Desk mit Seitenrändern
   =========================== */

body.page-id-679 a {
    color: var(--tcd-text)  !important; 
}

body.page-id-679 a:hover {
    color: var(--tcd-coinblue) !important; /* Setzt die Linkfarbe auf Rot, aber nur auf Seite 123 */
    background-color: var(--tcd-cream) !important;
}

/* Ghost-Absätze/BR direkt im Grid killen */
.tcd-pricing > p,
.tcd-pricing > br,
.pricing > p,
.pricing > br {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Container – Mobile default */
.tcd-pricing,
.pricing {
  display: grid;
  grid-template-columns: 1fr;        /* Mobile: 1 Spalte */
  gap: 1.25rem;
  margin-inline: 0;                  /* keine Außenabstände auf Mobile */
  padding-inline: 1rem;              /* etwas Luft zu den Kanten */
  max-width: 1400px;                 /* Option: Obergrenze */
  margin-left: auto;
  margin-right: auto;
}

/* 2×3 Layout ab Tablet (>=768px) */
@media (min-width: 768px) {
  .tcd-pricing,
  .pricing {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    margin-inline: 2rem;             /* moderate Seitenränder */
    padding-inline: 0;
  }
  /* Anordnung (5 Cards erwartet):
     1: oben links, 2: oben rechts, 3: mittig über 2 Spalten, 4: unten links, 5: unten rechts */
  .tcd-pricing > article:nth-of-type(1),
  .pricing > article:nth-of-type(1) { grid-column: 1; grid-row: 1; }

  .tcd-pricing > article:nth-of-type(2),
  .pricing > article:nth-of-type(2) { grid-column: 2; grid-row: 1; }

  .tcd-pricing > article:nth-of-type(3),
  .pricing > article:nth-of-type(3) { grid-column: 1 / span 2; grid-row: 2; }

  .tcd-pricing > article:nth-of-type(4),
  .pricing > article:nth-of-type(4) { grid-column: 1; grid-row: 3; }

  .tcd-pricing > article:nth-of-type(5),
  .pricing > article:nth-of-type(5) { grid-column: 2; grid-row: 3; }
}

/* Große Seitenränder auf Desktop (>=1200px) */
@media (min-width: 1200px) {
  .tcd-pricing,
  .pricing {
    margin-inline: 8rem;
  }
}

/* Mobile fallback: 1 Spalte, keine erzwungene Platzierung */
@media (max-width: 560px) {
  .tcd-pricing,
  .pricing {
    grid-template-columns: 1fr;
  }
  .tcd-pricing > article,
  .pricing > article {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

/* ================
   Card – Grundlayout
   ================ */

.tcd-card {
  background: #fff;
  border: 1px solid #eef1f4;
  border-radius: 20px;
  box-shadow: 0 6px 22px rgba(0,0,0,.06);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;

  /* Button fix an den Bottom */
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tcd-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
}

/* Media / Bildbereich */
.tcd-card__media {
  position: relative;         /* Anker für Badges & Bild */
  background: #f8fafc;
  height: 210px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.tcd-card__img {
  position: absolute;
  bottom: 0;                  /* bündig unten */
  left: 50%;
  transform: translateX(-50%);
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* Badges
.tcd-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  background: var(--tcd-cream);
  color: #111;
  font-weight: 700;
  font-size: .9rem;
  padding: .35rem .7rem;
  border-radius: 999px;
} */

/* Base-Badge (immer zentriert, nie 100% breit) */
.tcd-badge{
  background: var(--tcd-cream);
  color:#111;
  font-weight:700;
  font-size:.9rem;
  padding:.35rem .7rem;
  border-radius:999px;

  /* zentrieren ohne Wrapper */
  display:block;
  /* Safari/iOS: shrink-to-fit statt 100%-Blockbreite */
  width:-webkit-fit-content;
  width:fit-content;
  margin:0 auto 2rem;       /* mittig + 2rem bottom */
  text-align:center;        /* falls Text umbrechen sollte */
  max-width:100%;           /* Sicherheitsnetz bei langem Text */
}

/* Fallback (falls ein Browser fit-content nicht kann) */
@supports not (width: fit-content){
  .tcd-badge{
    display:inline-block;   /* schrumpft auf Inhaltsbreite */
    margin:0 0 2rem;        /* Auto-Margins greifen bei inline-block nicht */
    position:relative;      /* daher zentrieren per transform */
    left:50%;
    transform:translateX(-50%);
  }
}

/* Optional: falls Elterncontainer ein Flex/Grid ist – zusätzlich absichern */
.tcd-badge{
  align-self:center;   /* greift in Flex/Grid, ignoriert sonst */
  justify-self:center; /* greift in Grid, ignoriert sonst     */
}

/* Mobile-spezifische Top-Margin per Zusatzklasse */
@media (max-width:640px){
  .tcd-badge--mobile{
    margin-top:2rem !important;
  }
}

/* Mobile: mittig unter dem Content */
@media (max-width: 640px) {
  .tcd-badge.tcd-badge--mobile {
    margin-top: 2rem !important;   /* oder dein Wunschwert */
  }
}

.tcd-badgeRight {
  position: absolute;
  right: 12px;
  top: 14px;
  background: #ff9800;        /* zweite Farbe z.B. für „Meistgewählt“ */
  color: #111;
  font-weight: 700;
  font-size: .9rem;
  padding: .35rem .7rem;
  border-radius: 999px;
}

/* Body / Texte */
.tcd-card__body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;                    /* füllt Höhe -> Button klebt unten */
}
.tcd-card__title {
  margin: 0;
  font-weight: 800;
  font-size: 1.25rem;
  color: #1f2937;
}
.tcd-card__desc {
  margin: 0;
  color: #4b5563;
  /* font-size: .95rem; */
  line-height: 1.6;
}

/* Meta-Zeilen */
.tcd-meta {
  margin: .2rem 0 0;
  color: #555;
  font-size: .95rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}
.tcd-meta b { color: #222; }

/* Optional: Preiszeile (falls benötigt) */
.tcd-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 0;
}
.tcd-price__now { font-size: 1.6rem; font-weight: 800; color: #111; }
.tcd-price__old { color: #9aa1ac; text-decoration: line-through; }
.tcd-price__note { color: #16a34a; font-weight: 600; font-size: .9rem; }

/* CTA – immer unten mit fixem Abstand */
.tcd-btn {
    display: flex;                 /* Flex aktivieren */
    align-items: center;           /* vertikal zentrieren */
    justify-content: center;       /* horizontal zentrieren */
    width: 100%;
    height: 35px;                   /* feste Höhe */
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    background: #fff8f0;
    color: var(--tcd-text) !important;
    box-shadow: 0 2px 10px #cfc8d8;
    margin-top: 2rem;
    margin-bottom: 1rem;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.tcd-btn:hover  { transform: translateY(-2px); filter: saturate(1.05); background: var(--tcd-cream-dark); color: var(--tcd-text) !important; }
.tcd-btn:active { transform: translateY(0); box-shadow: none; }

/* Divider Coin Page */

  .tcd-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.5rem; /* Abstand zwischen Linien und Punkt */
        margin: 5rem 0; /* Abstand nach oben/unten */
    }

    .tcd-divider__line {
        flex: 1;
        max-width: 200px; /* entspricht max-w-xs aus Tailwind */
        height: 1px;
        background-color: var(--tcd-coinblue);
    }

    .tcd-divider__dot {
        width: 12px;
        height: 12px;
        background-color: var(--tcd-coinblue);
        border-radius: 50%;
    }

  /* ---- Reasons Section (Toucan-Do-It) ---- */
  .tcd-reasons__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      max-width: 1200px;
      margin: 0 auto;
  }

  .tcd-reason-card {
      background: white;
      border-radius: 1rem;
      padding: 2rem;
      box-shadow: 0 5px 3px var(--tcd-shadow);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: left;
  }

  .tcd-reason-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 10px 25px var(--tcd-shadow-strong);
  }

  .tcd-reason-card__icon {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--tcd-cream), var(--tcd-gold));
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
  }

  .tcd-reason-card__icon .icon {
      width: 28px;
      height: 28px;
      color: white;
  }

  .tcd-reason-card__heading {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--tcd-text);
      margin-bottom: 0.75rem;
  }

  .tcd-reason-card__text {
      font-size: 1rem;
      color: var(--tcd-muted);
      line-height: 1.5;
  }

  .tcd-reasons-header {
        text-align: center;
        margin-bottom: 2.5rem;
    }

    .tcd-reasons-title {
        font-size: 2rem;
        font-weight: 700;
        color: var(--tcd-text);
        margin-bottom: 0.5rem;
    }

    .tcd-reasons-subtitle {
        font-size: 1.1rem;
        color: var(--tcd-muted);
        max-width: 650px;
        margin: 0 auto;
    }
  
  /* Desktop */
  .tcd-reasons__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
  }

  /* Tablet */
  @media (max-width: 1024px) {
      .tcd-reasons__grid {
          grid-template-columns: repeat(2, 1fr);
      }

      
  }

  /* Mobile */
  @media (max-width: 640px) {
      .tcd-reasons__grid {
          grid-template-columns: 1fr;
      }
  }

  /* Tablet: ab 768px */
  @media (min-width: 768px) {
    .tcd-pricing {
      grid-template-columns: repeat(2, minmax(260px, 1fr)); /* 2 Spalten */
      margin-inline: 2rem;               /* moderater Rand */
      padding-inline: 0;
    }
  }

  /* Desktop: ab 1200px */
  @media (min-width: 1200px) {
    .tcd-pricing {
      margin-inline: 15rem;               /* dein gewünschter 8rem‑Abstand */
    }
  }


/* ================
   Woocommerce Shop
   ================ */

.woocommerce-message {
    display: none !important;
}

/* Blendet die zweite Spalte vollständig aus */
.woocommerce-checkout .col2-set .col-2 {
    display: none;
}

/* Setzt die erste Spalte auf 100% Breite */
.woocommerce-checkout .col2-set .col-1 {
    width: 100%;
    float: none; /* Stellt sicher, dass keine Ausrichtung das Layout stört */
}

/* Passt den Container an, damit er sich korrekt verhält */
.woocommerce-checkout .col2-set {
    max-width: 100%;
}

@media only screen and (min-width: 75em) {
    .container {
        margin-right: auto !important;
        margin-left: auto !important;
        padding-right: 5rem !important;
        padding-left: 5rem !important;
        width: 100% !important;
    }
}

/* Blendet den "Zurück zum Warenkorb"-Link auf der Checkout-Seite aus */
.woocommerce-checkout .mfn-woo-cart-link {
    display: none !important;
}

#payment {
    background-color: var(--tcd-cream, #fff8f0);
}

/* Ändert die Rahmenfarbe der Info-Box */
.woocommerce-info {
    border-top-color: var(--tcd-gold, #F4A261);
}

/* Ändert die Farbe der Icons (falls z.B. bei Zahlungsarten) */
/* Dies ist ein genereller Selektor, der eventuell nicht alle Icons erfasst. */
#payment .wc_payment_methods li::before,
#payment .wc_payment_methods li::after {
    color: var(--tcd-gold, #F4A261);
}

/* Falls dein "Kostenpflichtig bestellen"-Button auch die Highlight-Farbe hat */
.woocommerce-checkout #place_order.alt {
    background-color: var(--tcd-gold, #F4A261);
    border-color: var(--tcd-gold, #F4A261);
}

.woocommerce-checkout #place_order.alt:hover {
    background-color: var(--tcd-gold-dark, #d68f54);
    border-color: var(--tcd-gold-dark, #d68f54);
}

.woocommerce-info::before {
    color: var(--tcd-gold, #d68f54);
}

.woocommerce-info {
    border-top-color: var(--tcd-gold, #F4A261);
    background-color: rgb(252 252 252) !important;
}

.woocommerce #add_payment_method #payment ul.payment_methods, .woocommerce-cart #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods {
    background-color: rgb(252 252 252) !important;
}

.woocommerce-cart #payment div.form-row, .woocommerce-checkout #payment div.form-row {
    background-color: rgb(252 252 252) !important;
}

.woocommerce #add_payment_method #payment ul.payment_methods, .woocommerce-cart #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods {
    border-color: #ffcd4d;
    background-color: rgb(252 252 252) !important;
}

/* Submit Button */
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    background-color: var(--tcd-cream) !important;
    height: 35px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-radius: 12px !important;
    color: rgba(15, 23, 39, 0.85) !important;
    box-shadow: 0 2px 10px #cfc8d8 !important;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Submit Button - Hover-Zustand */
.woocommerce #payment #place_order:hover {
    background-color: var(--tcd-cream-dark) !important; 
    transform: translateY(-2px);
    filter: saturate(1.05);
}

/* ===========================
Login Dialog
=========================== */

   /* Erhöht die Breite des Anmelde-Eingabefeldes auf 100 % */
.hp-field {
    width: 100% !important;
}

/* ===========================
Unlock Section
=========================== */
#toucandoit-confirm-modal .hp-modal__content .hp-listing__attribute {
    display: flex;
    align-items: center; /* vertikal zentrieren */
    gap: 6px; /* Abstand zwischen Icon und Text */
}







/* ===========================
   Event-Übersicht (globale Basics)
=========================== */
.hp-template--listing-tag-view-page .header-navbar:last-child,
.hp-template--listings-view-page .header-navbar:last-child,
.hp-template--requests-view-page .header-navbar:last-child,
.hp-template--vendors-view-page .header-navbar:last-child {
	padding-bottom: 1rem !important;
}

/* Badge: "Noch X Tage verfügbar" */
.hp-listing__category.tcd-availability {
  background-color: var(--tcd-cream-light) !important;
  display: inline-block;
  border-radius: 9999px;
  border: none;
  color: #c9c8c2 !important;
  font-size: 0.75rem;
  white-space: nowrap;
  padding: 0.4375rem 0.75rem;
  transition: background-color 0.25s;
}
/* Badge-Position */
.hp-listing__content .hp-listing__category.tcd-availability {
  position: absolute; top: 1.5rem; right: 1.5rem; z-index: 10;
}
@media (min-width: 40.62em) and (max-width: 47.99em) {
  .hp-listing__content .hp-listing__category.tcd-availability { right: 5.5rem; }
}
@media (max-width: 40.61em) {
  .hp-listing__content .hp-listing__category.tcd-availability { position: static; }
}

/* Unlock-Button im Footer unten ausrichten */
.hp-listing--view-block .hp-listing__actions--primary {
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  height: 100%; padding-bottom: 1rem; box-sizing: border-box;
}
.hp-listing__action.unlock-request { margin-top: auto; }

/* Pagination */
.hp-pagination.tcd-pagination { margin-top: 1rem; }
.hp-pagination.tcd-pagination .page-numbers { display:flex; gap:.5rem; flex-wrap:wrap; }
.hp-pagination.tcd-pagination .page-numbers li { list-style:none; }
.hp-pagination.tcd-pagination a.page-numbers,
.hp-pagination.tcd-pagination span.page-numbers {
  display:inline-block; padding:.35rem .6rem; border:1px solid #ddd; border-radius:4px; text-decoration:none;
}
.hp-pagination.tcd-pagination span.page-numbers.current { background:#333; color:#fff; border-color:#333; }

/* ===========================
   PRIMARY-Attribute im Footer
   =========================== */

/* Base: (mobile <48em) — eine Zeile pro Attribut, Container wrapt */
article.hp-listing.hp-listing--view-block .hp-listing__footer .hp-listing__attributes--primary{
  display:flex; flex-wrap:wrap; align-items:center; gap:.5rem 1rem; width:100%; min-width:0;
}
article.hp-listing.hp-listing--view-block .hp-listing__footer .hp-listing__attribute{
  display:inline-flex !important; align-items:center; gap:.35rem; margin:0 .75rem .25rem 0;
  min-width:0; border:0;
}
article.hp-listing.hp-listing--view-block .hp-listing__footer .hp-listing__attribute i{
  font-size:1rem; line-height:1; flex:0 0 auto;
}
article.hp-listing.hp-listing--view-block .hp-listing__footer .hp-listing__attribute .hp-attr-label{
  display:inline; color:var(--tcd-green); margin-right:.25rem; white-space:nowrap;
}
article.hp-listing.hp-listing--view-block .hp-listing__footer .hp-listing__attribute .hp-attr-text{
  display:inline; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%;
}
/* E-Mail (mobile) – Ellipsis */
article.hp-listing.hp-listing--view-block .hp-listing__footer
  .hp-listing__attribute--contact-mail .hp-attr-text a{
  display:inline !important; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:60vw;
}
@media (max-width:47.99em){
  .hp-listing__footer .hp-listing__attributes--primary,
  .hp-listing__footer .hp-listing__attributes--primary .hp-listing__attribute,
  .hp-listing__footer .hp-listing__attributes--primary .hp-listing__attribute strong,
  .hp-listing__footer .hp-listing__attributes--primary .hp-listing__attribute i,
  .hp-listing__footer .hp-listing__attributes--primary .hp-listing__attribute a{
    font-size: 0.8rem !important; line-height:1.3 !important;
  }
  }
  
/* ≥48em: vertikal stapeln + zweizeilig je Attribut (Label oben, Text bricht um) */
@media (min-width: 48em) {
  /* Footer-Spalte mit Primary-Attributes */
  article.hp-listing.hp-listing--view-block .hp-listing__footer:has(> .hp-listing__attributes--primary) {
    flex-direction: column-reverse !important; align-items: flex-end !important; width: 15rem;
    padding: 0.7rem !important;
  }
  /* Container der Primary-Attributes vertikal */
  article.hp-listing.hp-listing--view-block .hp-listing__footer .hp-listing__attributes--primary {
    display:flex !important; flex-direction:column !important; gap:0; width:100%;
  }
  /* Attribut als Grid: Icon | (Label oben / Text unten) */
  article.hp-listing.hp-listing--view-block .hp-listing__footer .hp-listing__attribute{
    display:grid !important; grid-template-columns: 40px 1fr; grid-template-rows: auto auto;
    align-items:center; width:100%; min-width:0; margin:0 0 20px 0 !important;
  }
  article.hp-listing.hp-listing--view-block .hp-listing__footer .hp-listing__attribute i{
    grid-column:1; grid-row:1 / span 2; display:flex; align-items:center; justify-content:center;
    font-size:1.4rem !important; line-height:1;
  }
  article.hp-listing.hp-listing--view-block .hp-listing__footer .hp-listing__attribute .hp-attr-label{
    grid-column:2; grid-row:1; display:block; color:var(--tcd-green);
  }
  article.hp-listing.hp-listing--view-block .hp-listing__footer .hp-listing__attribute .hp-attr-text{
    grid-column:2; grid-row:2; display:block; margin-top:.15rem;
    white-space:normal; overflow:visible; text-overflow:clip; max-width:100%;
    word-break:break-word; overflow-wrap:anywhere;
  }
  /* E-Mail-Link darf umbrechen */
  article.hp-listing.hp-listing--view-block .hp-listing__footer
    .hp-listing__attribute--contact-mail .hp-attr-text a{
    display:inline; white-space:normal; word-break:break-word; overflow-wrap:anywhere; max-width:100%;
  }
}

/* Extra Breiten-Anpassungen des Footers (gleiche Logik, nur Breite) */
@media (min-width: 87em) {
  article.hp-listing.hp-listing--view-block .hp-listing__footer:has(> .hp-listing__attributes--primary){ width:18rem; }
}
@media (min-width: 75em) and (max-width: 86.99em) {
  article.hp-listing.hp-listing--view-block .hp-listing__footer:has(> .hp-listing__attributes--primary){ width:14rem !important; }
}
@media (min-width: 68.75em) and (max-width: 74.99em) {
  article.hp-listing.hp-listing--view-block .hp-listing__footer:has(> .hp-listing__attributes--primary){ width:18rem !important; }
}
/* Tablet A (48em–57.81em) – gleiche Breite wie oben + Container-Padding */
@media (min-width: 48em) and (max-width: 57.81em) {
  article.hp-listing.hp-listing--view-block .hp-listing__footer:has(> .hp-listing__attributes--primary){ width:14rem !important; }
  .container { padding-right: 2rem !important; padding-left: 2rem !important; }
    .hp-listing--view-block .hp-listing__attributes--secondary .hp-listing__attribute:not(:last-child),
  .hp-listing--view-page .hp-listing__attributes--secondary .hp-listing__attribute:not(:last-child) { margin-right:0 !important; }
    .hp-listing--view-block .hp-listing__attributes--secondary,
  .hp-listing--view-page  .hp-listing__attributes--secondary { gap: 12px 10px !important; }
}
/* Tablet/Small Desktop (57.19rem–1200px) – äußere Container-Paddings */
@media (min-width: 57.19rem) and (max-width: 1200px) {
  .container { padding-right: 4rem !important; padding-left: 4rem !important; }
}

/* ===========================
   Filter: mobil <1200px
   =========================== */
@media (max-width: 1199px) {
  /* Sidebar/Widgets verbergen */
  .wp-block-columns > .hp-widget--listing-filter { display: none !important; }
    .widget--sidebar:not(:last-child),
    .widget.hp-menu:not(:last-child),
    .widget.hp-widget--listing-filter:not(:last-child),
    .widget.hp-widget--vendor-filter:not(:last-child),
  .widget.hp-widget--request-filter:not(:last-child) { display: none; }

  /* Mobiler Filter-Button */
  .hp-button--mobile { display: inline-flex !important; margin-bottom: 20px; }

  /* Spalten auf mobil umbrechen */
  .wp-block-columns.is-layout-flex { display:flex; flex-direction:column; }
  .wp-block-columns > .hp-listing-column { flex-basis: 100% !important; }
    
  /* Fancybox Tweaks */
  .fancybox-slide:before { height: 0 !important; }
  .fancybox-content { margin: 4px !important; }

  .fancybox-content {
    padding: 1.5rem !important;
  }

  .hp-modal {
    width: 98% !important;
  }
  .hp-form__fields:not(:last-child),.hp-form__footer:not(:last-child) {
    margin-top: 1em !important;
    }
}
/* ≥1200px: Sidebar wieder zeigen, mobiler Button weg */
@media (min-width: 1200px) {
  .wp-block-column.is-layout-flow:not(:last-child){ display:block !important; flex-basis:25% !important; }
  .hp-button--mobile { display:none !important; }
}

/* Requests-Listenseite: mobil <75em Sidebar aus, Content 100% */
@media (max-width: 74.99em) {
  .hp-template--requests-view-page .hp-page__sidebar { display: none !important; }
  .hp-template--requests-view-page .hp-col-sm-8,
  .hp-template--requests-view-page .hp-col-sm-4,
  .hp-template--requests-view-page .hp-col-xs-12 {
    flex: 0 0 100% !important; max-width: 100% !important;
  }
  .hp-template--requests-view-page .hp-modal--mobile { display: block !important; }
  .hp-template--requests-view-page .hp-widget--listing-filter .hp-form--request-filter { display: none; }
}

/* Tablet 48em–57.99em: Footer-Zeile neu ausrichten */
@media (min-width: 48em) and (max-width: 57.99em) {
  article.hp-listing.hp-listing--view-block .hp-listing__footer {
    flex-direction: row !important; align-items: center !important; justify-content: space-between !important;
  }
}

/* Gutenberg Layout Fix (mobile) */
@media (max-width: 47.99em){
  .wp-block-column:not(:last-child){ margin-bottom: 0 !important; }
}

/* ===========================
   Secondary-Attribute + Message-Block
   =========================== */
.hp-listing__attributes.hp-listing__attributes--secondary{
  display:grid; grid-template-columns:1fr 1fr; gap:.5rem 1rem;
}
.hp-listing__message-block{
  grid-column:1 / -1;
  margin-top:.75rem; padding-top:.75rem; border-top:1px dashed #e6e6e6;
  columns:auto !important; -webkit-columns:auto !important; column-count:1 !important; -webkit-column-count:1 !important;
  column-width:auto !important; -webkit-column-width:auto !important; column-gap:normal !important; -webkit-column-gap:normal !important;
}
.hp-listing__message-block *{
  columns:auto !important; -webkit-columns:auto !important; column-count:1 !important; -webkit-column-count:1 !important;
  column-width:auto !important; -webkit-column-width:auto !important; column-gap:normal !important; -webkit-column-gap:normal !important;
}
.hp-listing__message-block .hp-listing__attribute--message{
  align-items:flex-start; gap:.5rem; font-size:.8rem; color:#666; line-height:1.7;
}
.hp-listing__message-block .hp-listing__attribute--message i.hp-icon{
  width:2rem; height:2rem; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  background:rgba(0,0,0,.06); color:#666; font-size:16px; margin-top:.15rem;
}
.hp-listing__message-block .hp-listing__attribute--message strong{
  color:rgba(15,23,39,.85); font-weight:700; display:inline-block; line-height:1.7; margin: 0 0 1rem .4rem;
}
.hp-listing__message-block .hp-listing__attribute--message p{
  margin:.1rem 0 .5rem 0; line-height:1.6; width:100%;
  white-space:normal !important; word-break:normal; overflow-wrap:anywhere;
}
.hp-listing__message-block .hp-listing__attribute--message p:last-child{ margin-bottom:0; }
@media (max-width:600px){
  .hp-listing__attributes.hp-listing__attributes--secondary{ grid-template-columns:1fr; }
}

/* ===========================
   My-Events: eigene Notice
   =========================== */
/* Original-Notice auf /my-events verstecken, eigene Notice nur auf Trigger zeigen */
.tcd-my-events .hp-notice{ display:none !important; }
.tcd-my-events .page__text .tcd-notice{
  display:none; margin:10px 0 1rem 0; padding:.75rem 1rem;
  border:1px solid rgba(0,0,0,.08); border-radius:.5rem;
  background:#fff8f0; color:#333; box-shadow:0 1px 2px rgba(0,0,0,.04); line-height:1.4;
}
.tcd-my-events.tcd-show-notice .page__text .tcd-notice{ display:block; }

/* ===========================
   Orders-Tabelle (Vendor)
   =========================== */
.tdi-vendor-orders .tdi-table th{
  border-bottom: 2px solid var(--tcd-cream-dark) !important; color: var(--tcd-text) !important;
}
.tdi-vendor-orders .tdi-table{ margin-top: 3rem !important; }

/* ===============  Vendor Orders – Mobile Cards  =============== */
@media (max-width: 680px) {
  /* Tabelle in Blöcke aufbrechen */
  .tdi-vendor-orders .tdi-table,
  .tdi-vendor-orders .tdi-table thead,
  .tdi-vendor-orders .tdi-table tbody,
  .tdi-vendor-orders .tdi-table th,
  .tdi-vendor-orders .tdi-table td,
  .tdi-vendor-orders .tdi-table tr {
    display: block;
    width: 100%;
  }

  /* Kopf ausblenden */
  .tdi-vendor-orders .tdi-table thead { 
    display: none;
  }

  /* Jede Zeile als „Card“ */
  .tdi-vendor-orders .tdi-table tr {
    background: #fff;
    border: 1px solid var(--tcd-cream-dark, #e9e6e3);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
  }

  /* Zellen als Label/Wert-Zeilen */
  .tdi-vendor-orders .tdi-table td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: .55rem 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
    text-align: left !important; /* rechte Ausrichtung auf mobile aufheben */
    word-break: break-word;
  }
  .tdi-vendor-orders .tdi-table td:last-child {
    border-bottom: none;
  }

  /* Dynamische Labels je Spalte (Fallback ohne data-label) */
  .tdi-vendor-orders .tdi-table td:nth-child(1)::before { content: "Datum"; }
  .tdi-vendor-orders .tdi-table td:nth-child(2)::before { content: "Bestellung"; }
  .tdi-vendor-orders .tdi-table td:nth-child(3)::before { content: "Coin-Paket"; }
  .tdi-vendor-orders .tdi-table td:nth-child(4)::before { content: "Total"; }
  .tdi-vendor-orders .tdi-table td:nth-child(5)::before { content: "Rechnung"; }

  .tdi-vendor-orders .tdi-table td::before {
    font-weight: 600;
    color: var(--tcd-text, #222);
    margin-right: 12px;
    flex: 0 0 auto;          /* Label nimmt nur so viel Platz wie nötig */
  }

  /* Wert auf die rechte Seite, darf umbrechen */
  .tdi-vendor-orders .tdi-table td > *:not(:first-child) {
    margin-left: auto;
  }

  /* Preise schön darstellen */
  .tdi-vendor-orders .tdi-table td .woocommerce-Price-amount {
    font-weight: 700;
  }

  /* PDF-Link als Button */
  .tdi-vendor-orders .tdi-table td:nth-child(5) a {
    display: inline-block;
    padding: .4rem .7rem;
    border-radius: 999px;
    background: var(--tcd-cream, #F5F0EE);
    color: var(--tcd-text, #222);
    text-decoration: none;
    font-weight: 600;
    color: var(--tcd-text) !important;
  }
  .tdi-vendor-orders .tdi-table td:nth-child(5) a:hover {
    background: var(--tcd-gold, #C6A64C);
    color: #fff;
  }

  /* Oberes Margin zur Tabelle beibehalten */
  .tdi-vendor-orders .tdi-table { margin-top: 1.5rem !important; }
}

.hp-attr-text a {
  color: #000 !important; /* oder var(--tcd-text) */
  text-decoration: none;  /* optional */
}

.hp-attr-text a:hover,
.hp-attr-text a:focus {
  color: var(--tcd-gold, #C6A64C) !important; /* falls du Hover in Gold willst */
}

/* Breiter Footer auf bestimmter Seite (falls benötigt) */
@media (min-width:75em){
  body.page-id-914 article.hp-listing.hp-listing--view-block
  .hp-listing__footer:has(> .hp-listing__attributes--primary) {
    flex-direction: column-reverse !important; align-items: flex-end !important; width: 24rem !important;
  }
}

/* Kategorien-Badge (Requests Karten): ausblenden in Kartenansicht & My-Events */
article.hp-listing.hp-listing--view-block
  .hp-listing__details.hp-listing__details--primary
  > .hp-listing__categories.hp-listing__category,
body.page-my-events article.hp-listing.hp-listing--view-block
  .hp-listing__details.hp-listing__details--primary
  > .hp-listing__categories.hp-listing__category {
  display: none !important;
}


/* ---------------- */

/* Sekundär-Attribute robuster machen */
.hp-listing--view-block .hp-listing__attributes--secondary .hp-listing__attribute,
.hp-listing--view-page  .hp-listing__attributes--secondary .hp-listing__attribute{
  display:flex;
  align-items:flex-start;       /* Icon & Text oben ausrichten */
  gap:.2rem;
  margin-bottom:.5rem;
  font-size:.75rem;
  color:#666;
  min-width:0;                  /* wichtig für korrektes Wrapping */
  flex-wrap:wrap;               /* Label/Wert dürfen in nächste Zeile */
  word-break:normal;            /* keine „Begleitu…“-Zerhackung */
  overflow-wrap:anywhere;       /* lange Listen/Begriffe dürfen umbrechen */
}

/* Label bleibt in EINER Zeile, bekommt etwas Abstand vor dem Wert */
.hp-listing--view-block .hp-listing__attributes--secondary .hp-listing__attribute strong,
.hp-listing--view-page  .hp-listing__attributes--secondary .hp-listing__attribute strong{
  white-space:nowrap;
}

/* Icon leicht nach unten offsetten, damit mit Text ausgerichtet */
.hp-listing--view-block .hp-listing__attributes--secondary .hp-listing__attribute i.hp-icon,
.hp-listing--view-page  .hp-listing__attributes--secondary .hp-listing__attribute i.hp-icon{
  margin-top:.15rem;
  flex:0 0 auto;
}

/* SPEZIFISCH: „Begleitung gewünscht“ ist oft lang → über ganze Breite spannen */
.hp-listing--view-block .hp-listing__attributes--secondary .hp-listing__attribute--photo-coverage,
.hp-listing--view-page  .hp-listing__attributes--secondary .hp-listing__attribute--photo-coverage{
  grid-column: 1 / -1;          /* nimmt beide Grid-Spalten */
}

/* Optional: weitere lange Attribute ebenfalls voll breit ziehen */
.hp-listing--view-block .hp-listing__attributes--secondary
  .hp-listing__attribute--services,
.hp-listing--view-page  .hp-listing__attributes--secondary
  .hp-listing__attribute--services{
  grid-column: 1 / -1;
}
.hp-listing--view-block .hp-listing__attributes--secondary .hp-listing__attribute i:first-child,
.hp-listing--view-page .hp-listing__attributes--secondary .hp-listing__attribute i:first-child {
	 margin-right: 0.2em !important; 
  }

.hp-form--narrow .hp-form__button[data-icon],
.hp-modal .hp-form__button[data-icon] {
	max-width: 100% !important;
}


.hp-field input[type=checkbox]+span {
    font-size: 80% !important;
    padding-top: 0.3em;
}



/* NEW MainPage */

/* .hp-listing-categories {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 3) Flex-Item darf schrumpfen, damit Ellipsis greift */
article.hp-listing.hp-listing--view-block .hp-listing__footer
  .hp-listing__attribute{
  min-width: 0;
}


@media only screen and (max-width: 47.99em) {

	.wp-block-column:not(:last-child) {
		margin-bottom: 0rem I !important;
	}
}

/* Nur Notices innerhalb des Seiteninhalts ausrichten */
/* Scope: nur /my-events */
.tcd-my-events .hp-notice{
  display: none !important; /* Original-Notice immer verstecken */
}

/* Eigene Notice standardmäßig verstecken */
.tcd-my-events .page__text .tcd-notice{
  display: none;
  margin: 10px 0 1rem 0;
  padding: .75rem 1rem;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: .5rem;
  background: #fff8f0;        /* gern an dein Branding anpassen */
  color: #333;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  line-height: 1.4;
}

/* Wird nur gezeigt, wenn die alte Notice "getriggert" hätte */
.tcd-my-events.tcd-show-notice .page__text .tcd-notice{
  display: block;
}

/* Paging my-event side */
.hp-pagination { margin-top: 1rem; }
.hp-pagination .page-numbers { display:flex; gap:.5rem; align-items:center; }
.hp-pagination .page-numbers li { list-style:none; }
.hp-pagination a.page-numbers, .hp-pagination span.page-numbers {
  display:inline-block; padding:.35rem .6rem; border:1px solid #ddd; border-radius:4px; text-decoration:none;
}
.hp-pagination span.page-numbers.current { background:#333; color:#fff; border-color:#333; }

/* =========================
   OnePager – Allgemein
   ========================= */
@media (min-width: 48em) {
  .header-hero--large { padding: 2rem 0 2rem 0 !important; }
}
@media (min-width: 75em) {
  .header-hero--large { padding: 2rem 0 2rem 0 !important; }
}
/* Hero Bild-Offset (MeetingHive Parallax überschreiben) */
.header-hero.header-hero--large { background-position-y: 100px !important; }

/* Standard: überall ausblenden */
.header-hero__content {
  display: none !important;
}

/* Ausnahme: nur auf Seite 978 anzeigen */
body.page-id-978 .header-hero__content {
  display: block !important;
}

/* Headlines */
.tcd-headline-xl {
  font-size: 2.5rem;
  line-height: 1.4 !important;
  font-weight: 700;
  margin: 0 0 -1rem !important;
}
.tcd-headline-text {
  font-size: .9rem !important;
  line-height: 1.2 !important;
}

/* =========================
   Seite 978 – Centered Columns Wrapper (10/80/10)
   ========================= */
@media (min-width: 78em) {
  body.page-id-978 .wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-9d6595d7 {
    max-width: 1200px;
    margin-left: auto; margin-right: auto;
    gap: 0 !important;
  }
  body.page-id-978 .wp-container-core-columns-is-layout-9d6595d7 > .wp-block-column {
    flex: 0 0 auto; min-width: 0;
  }
  body.page-id-978 .wp-container-core-columns-is-layout-9d6595d7 > .wp-block-column:nth-child(1),
  body.page-id-978 .wp-container-core-columns-is-layout-9d6595d7 > .wp-block-column:nth-child(3) {
    flex-basis: 10% !important; max-width: 10%;
  }
  body.page-id-978 .wp-container-core-columns-is-layout-9d6595d7 > .wp-block-column:nth-child(2) {
    flex-basis: 80% !important; max-width: 80%;
  }
}
@media (max-width: 77.99em) {
  body.page-id-978 .wp-container-core-columns-is-layout-9d6595d7 { gap: 1rem !important; }
}

/* Seite 978 – Banner-Bild mittig */
body.page-id-978 img.wp-image-1040 {
  display: block; margin-left: auto; margin-right: auto; justify-self: center;
}

/* =========================
   Seite 978 – Listing-Kacheln (hp-listing-categories)
   Ziel: gleich hohe Karten, zentriert, Farben & Rahmen, responsive 4/2/1
   ========================= */

/* --- Layout-Grid: 4 / 2 / 1 Spalten --- */
body.page-id-978 .hp-listing-categories .hp-row {
  display: flex; flex-wrap: wrap; gap: 1rem; /* konsistente Lücke */
}
@media (min-width: 78em) { /* Desktop: 4 Spalten */
  body.page-id-978 .hp-listing-categories .hp-grid__item { flex: 0 0 calc(25% - .75rem); max-width: calc(25% - .75rem); }
}
@media (min-width: 48em) and (max-width: 77.99em) { /* Tablet: 2 Spalten */
  body.page-id-978 .hp-listing-categories .hp-grid__item { flex: 0 0 calc(50% - .5rem); max-width: calc(50% - .5rem); }
}
@media (max-width: 47.99em) { /* Mobile: 1 Spalte */
  body.page-id-978 .hp-listing-categories .hp-grid__item { flex: 0 0 100%; max-width: 100%; padding-left: 3em;
        padding-right: 3em; }

    /* 1) H2: .tcd-headline-xl mobil kleiner */
  body.page-id-978 .tcd-headline-xl {
    font-size: 1.6rem !important;
  }

  /* 1) H4 mobil: Größe + Abstand */
  body.page-id-978 h4 {
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
    line-height: 1.5;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  /* 2) Description in Grids sicher sichtbar (manche Themes clampen/hiden mobil) */
  body.page-id-978 .hp-listing-category--view-block .hp-listing-category__description {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: none !important;
    overflow: visible !important;
    /* Clamping & Box-Oriented-Tricks neutralisieren */
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    display: block !important;            /* statt -webkit-box */
    -webkit-box-orient: unset !important;
    /* Text-Ausrichtung beibehalten */
    text-align: center !important;
  }

  /* 3) Grids – Typografie auf Mobile verkleinern */
  body.page-id-978 .hp-listing-categories .hp-listing-category__name {
    font-size: 1em !important;            /* ~ gleich groß wie Fließtext */
    line-height: 1.2;
    margin-bottom: .5rem !important;
  }
  body.page-id-978 .hp-listing-categories .hp-listing-category__description {
    font-size: .8em !important;
    line-height: 1.45;
  }
  body.page-id-978 .hp-listing-categories .hp-listing-category__item-count {
    font-size: .85em !important;
    line-height: 1.2;
  }

  /* Optional: etwas kompaktere Karten innen auf Mobile */
  body.page-id-978 .hp-listing-categories .hp-listing-category {
    padding: .75rem .75rem 1rem .75rem;
  }

  /* Optional: Icon mobil etwas kleiner */
  body.page-id-978 .hp-listing-categories .hp-listing-category__icon {
    font-size: 1.6rem;
    margin-bottom: .5rem;
  }

  body.page-id-978 .hp-listing-categories .hp-row {
    gap: 0rem !important; 
  }
}

/* --- Karten: gleich hoch & Inhalte zentriert --- */
body.page-id-978 .hp-listing-categories .hp-grid__item { display: flex; }
body.page-id-978 .hp-listing-categories .hp-listing-category {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: 100%;
}

.page span[id^=more-]+.hp-listing-categories {
	display: none;
}

body.page-id-978 .hp-listing-categories .hp-listing-category__header,
body.page-id-978 .hp-listing-categories .hp-listing-category__content,
body.page-id-978 .hp-listing-categories .hp-listing-category__details {
  display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%;
}
body.page-id-978 .hp-listing-category--view-block .hp-listing-category__header:not(:last-child) {
  margin-bottom: 0rem !important;
}
body.page-id-978 .hp-listing-categories .hp-listing-category__content {
  flex: 1 1 auto; /* Inhalt dehnt sich, damit Footer bündig unten sitzt */
}
body.page-id-978 .hp-listing-category--view-block .hp-listing-category__name,
body.page-id-978 .hp-listing-category--view-block .hp-listing-category__description,
body.page-id-978 .hp-listing-category--view-block .hp-listing-category__item-count {
  text-align: center !important;
}

.hp-listing-category--view-block {
	padding: 1rem 0.5rem !important;
}

body.page-id-978 .hp-listing-categories .hp-listing-category__details {
  width: 100%;
  margin-top: auto !important; /* Footer an die Unterkante */
  padding-top: 1em;            /* kleiner Abstand zum Text */
  justify-content: center;
}
body.page-id-978 .hp-listing-category--view-block .hp-listing-category__details--primary {
  position: relative; padding-right: 0rem !important;
}

/* --- Optik: Rahmen & Farben & Icons --- */
body.page-id-978 .hp-listing-categories .hp-grid__item:nth-child(1) .hp-listing-category,
body.page-id-978 .hp-listing-categories .hp-grid__item:nth-child(2) .hp-listing-category {
  border: 1px solid var(--tcd-gold); border-radius: 12px;
}
body.page-id-978 .hp-listing-categories .hp-grid__item:nth-child(3) .hp-listing-category,
body.page-id-978 .hp-listing-categories .hp-grid__item:nth-child(4) .hp-listing-category {
  border: 1px solid var(--tcd-coinblue); border-radius: 12px;
}
body.page-id-978 .hp-listing-categories .hp-grid__item:nth-child(1) .hp-listing-category__name,
body.page-id-978 .hp-listing-categories .hp-grid__item:nth-child(2) .hp-listing-category__name {
  color: var(--tcd-gold) !important;
}
body.page-id-978 .hp-listing-categories .hp-grid__item:nth-child(3) .hp-listing-category__name,
body.page-id-978 .hp-listing-categories .hp-grid__item:nth-child(4) .hp-listing-category__name {
  color: var(--tcd-coinblue) !important;
}
body.page-id-978 .hp-listing-categories .hp-listing-category__icon,
body.page-id-978 .hp-listing-categories .hp-listing-category__icon i {
  color: #000 !important; /* Icons immer schwarz */
}
body.page-id-978 .hp-listing-category--view-block .hp-listing-category__name { margin: .9rem 0 .25rem !important; }
body.page-id-978 .hp-listing-category--view-block .hp-listing-category__description { margin: 0 0 .5rem !important; max-width: 100%; }

/* --- Safety: falls Pfeil-Link noch irgendwo auftaucht, deaktivieren (JS entfernt ihn ohnehin) --- */
body.page-id-978 .hp-listing-categories .hp-listing-category__link {
  pointer-events: none; cursor: default; opacity: .85;
}

.hp-listing-category__icon {
	width: 0rem !important;
	height: 0rem !important;
	margin: 1em !important;
}

/* === Seite 978 – Fix für 75em–77.99em auf DIESE Columns-Instanz === */
@media (min-width: 75em) and (max-width: 77.99em) {
  /* nur dieses Columns-Element */
  body.page-id-978 .wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-9d6595d7 {
    max-width: 1200px;                 /* wie ≥78em */
    margin-left: auto;
    margin-right: auto;
    gap: 0 !important;                 /* Gaps aus -> 10/80/10 passt */
  }

  body.page-id-978 .wp-container-core-columns-is-layout-9d6595d7 > .wp-block-column {
    flex: 0 0 auto;                    /* nicht wachsen, Basis nutzen */
    min-width: 0;
  }

  body.page-id-978 .wp-container-core-columns-is-layout-9d6595d7 > .wp-block-column:nth-child(1),
  body.page-id-978 .wp-container-core-columns-is-layout-9d6595d7 > .wp-block-column:nth-child(3) {
    flex-basis: 10% !important;
    max-width: 10%;
  }
  body.page-id-978 .wp-container-core-columns-is-layout-9d6595d7 > .wp-block-column:nth-child(2) {
    flex-basis: 80% !important;
    max-width: 80%;
  }

  /* Optional: Container-Padding in der Hero-Sektion in dieser Zone etwas kleiner,
     damit 5rem nicht „zu breit“ wirken (nur hier, nur Seite 978) */
  body.page-id-978 .header-hero .container {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

/* Standard (Mobile-First) */
body.page-id-978 .tcd-about.section {
  padding: 0 0rem; /* <768px */
}

/* Tablet bis Desktop-Mid (768px – 1349px) */
@media (min-width: 768px) and (max-width: 1349px) {
  body.page-id-978 .tcd-about.section {
    padding: 0 2rem;
  }
}

/* Ab 1350px */
@media (min-width: 1350px) {
  body.page-id-978 .tcd-about.section {
    padding: 0 10rem;
  }
}


/* =========================
   TCD Dual CTA (nur Startseite #978)
   ========================= */

/* Section: Box + Pattern */
body.page-id-978 .tcd-section-cta{
  position: relative;
  isolation: isolate;
  background: var(--tcd-cream, #F5F0EE);
  border-radius: 24px;
  overflow: hidden;

  /* Pattern */
  background-image: url("https://toucandoit.eu/wp-content/uploads/2025/09/pattern-5.png");
  background-size: contain;
  background-position: center;
  background-repeat: space;
}

/* optionales Overlay – aktuell leer, aber Platz für künftige Tints */
body.page-id-978 .tcd-section-cta::before{
  content: "";
  position: absolute; inset: 0;
  z-index: 0;
}

/* Inhalt über dem Pattern */
body.page-id-978 .tcd-cta__inner{
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  /* padding: 2.5rem 2rem; */
  display: grid; grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 48em){
  body.page-id-978 .tcd-cta__inner{
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: clamp(2rem, 4vw, 5rem);
    padding: 2rem 2.5rem;
  }

  /* Divider mittig */
  body.page-id-978 .tcd-cta__inner::after{
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    height: 80%; width: 4px;
    background: #fff; border-radius: 9999px; opacity: .9;
    pointer-events: none;
  }
}

/* Typografie */
body.page-id-978 .tcd-cta__col{ text-align: center; }
body.page-id-978 .tcd-cta__title{
  margin: 0 0 .75rem;
  font-weight: 800;
  color: rgba(15,23,39,.85);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  padding: 0 2rem 1rem 2rem;
}
body.page-id-978 .tcd-cta__lead{
  margin: 0 0 2rem;
  color: var(--tcd-text, #494B5B);
}

/* Liste mit Bullets (links bündig innerhalb zentrierter Spalte) */
body.page-id-978 .tcd-cta-list{
  margin: 1.5rem auto 2rem;
  padding-left: 1.1rem;             /* Standard-Einzug */
  max-width: 60ch;
  list-style: inside disc;          /* alternativ: inside decimal */
  text-align: left;                 /* Text + Bullets links */
}
body.page-id-978 .tcd-cta-list li{
  margin: .5rem 0;
  line-height: 1.6;
}

/* Buttons */
body.page-id-978 .tcd-cta__btn{
  --_h: 35px;
  margin-top: 1rem;
  display: inline-flex; align-items: center; gap: .75rem;
  height: var(--_h);
  padding: 0 1.25rem;
  border-radius: 9999px;
  font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
body.page-id-978 .tcd-cta__btn:hover{ transform: translateY(-2px); filter: saturate(1.03); }
body.page-id-978 .tcd-cta__btn--secondary{ background: var(--tcd-gold); color: rgba(15,23,39,.9); }
body.page-id-978 .tcd-cta__btn--primary{ background: var(--tcd-gold, #F4A261); color: rgba(15,23,39,.9); }
body.page-id-978 .tcd-cta__btn i{
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 9999px; background: rgba(0,0,0,.08);
}

/* Mobile */
@media (max-width: 47.99em){
  body.page-id-978 .tcd-cta__btn{ --_h: 42px; }
}

/* ===== Seite 978 – Dual-CTA Mobile-Fixes ===== */

/* 1) Rundum-Padding auf Mobile + BG-Size auto */
body.page-id-978 .tcd-section-cta{
  padding: 2rem;                /* rundherum */
  background-size: auto;        /* (3) mobil auto */
}

/* Mobile: Spalten als normaler Flow, nix "nach unten drücken" */
@media (max-width: 47.99em){
  body.page-id-978 .tcd-cta__inner{
    grid-template-columns: 1fr;   /* eine Spalte */
    gap: 1.5rem;
    align-items: start;           /* kein Stretch nötig */
  }
  body.page-id-978 .tcd-cta__col{
    display: block;               /* Flex-Logik aus */
    text-align: center;
  }
  body.page-id-978 .tcd-cta__btn{
    position: relative;           /* normal im Flow */
    margin-top: 1rem;             /* kleiner Abstand zur Liste */
    align-self: auto;             /* Reset */
  }
  /* Trenner mobil ausblenden */
  body.page-id-978 .tcd-cta__inner::after{
    content: none !important;
  }
}

/* Desktop/Tablet: 2 Spalten + Vertikaler Trenner wieder aktiv */
@media (min-width: 48em){
  body.page-id-978 .tcd-cta__inner{
    grid-template-columns: 1fr 1fr;
    align-items: stretch;         /* gleich hohe Spalten */
    gap: clamp(2rem, 4vw, 5rem);
  }
  body.page-id-978 .tcd-cta__col{
    display: flex;                /* Inhalt oben, Button unten */
    flex-direction: column;
    text-align: center;
  }
  body.page-id-978 .tcd-cta__btn{
    margin-top: auto;             /* drückt Button ans Spaltenende */
    align-self: center;
  }

  /* (2) Vertikaler Divider in der Mitte */
  body.page-id-978 .tcd-cta__inner{
    position: relative;
  }
  body.page-id-978 .tcd-cta__inner::after{
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    height: 80%; width: 4px;
    background: #fff;
    border-radius: 9999px;
    opacity: .9;
    pointer-events: none;
  }
  
}

/* Mobile: horizontaler Divider vor zweiter Col */
@media (max-width: 47.99em){
  body.page-id-978 .tcd-cta__col:last-child{
    position: relative;
    margin-top: 2rem; /* Abstand oberhalb der 2. Spalte */
    padding-top: 4rem;
    padding-bottom: 1rem;
  }
  body.page-id-978 .tcd-cta__col:last-child::before{
    content: "";
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: #fff;      /* gleiche Farbe wie dein Desktop-Divider */
    border-radius: 9999px;
    opacity: .9;
  }

   body.page-id-978 .tcd-section-cta{
    margin: 0rem !important;
  }
}

/* Desktop: horizontale Linie ausblenden, vertikale bleibt */
@media (min-width: 48em){
  body.page-id-978 .tcd-cta__col:last-child::before{
    content: none !important;
  }

 
}


/* Seite 978 - CTA-Listen */
body.page-id-978 .tcd-cta-list,
body.page-id-978 .tcd-section-cta .tcd-cta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2rem;
}

/* Elemente der Liste */
body.page-id-978 .tcd-cta-list li,
body.page-id-978 .tcd-section-cta .tcd-cta-list li {
  display: flex;
  align-items: center; /* Vertikale Zentrierung */
  gap: 10px; /* Abstand zwischen Icon und Text */
  color: var(--tcd-text, var(--bs-body-color));
  font-size: 1rem;
  line-height: 1.4;
}

/* Bullet-Icon (::before) */
body.page-id-978 .tcd-section-cta .tcd-cta-list li::before {
  content: "\2713";
  font-size: 12px;
  color: #fff;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--tcd-coinblue, #215C5C); /* Standardfarbe */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* Verhindert, dass das Icon schrumpft */
}

/* Farb-Overrides pro Spalte */
body.page-id-978 .tcd-section-cta .tcd-cta__col:first-child .tcd-cta-list li::before {
  background: var(--tcd-gold, #FFC20B);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

body.page-id-978 .tcd-section-cta .tcd-cta__col:last-child .tcd-cta-list li::before {
  background: var(--tcd-coinblue, #215C5C);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}


/* Seite 978 – Button-Styles je Spalte */
body.page-id-978 .tcd-section-cta .tcd-cta__col:first-child .tcd-cta__btn{
  background: var(--tcd-gold, #FFC20B);
  color: white !important;
}
body.page-id-978 .tcd-section-cta .tcd-cta__col:first-child .tcd-cta__btn i{
  background: rgba(0,0,0,.08);
}

body.page-id-978 .tcd-section-cta .tcd-cta__col:last-child .tcd-cta__btn{
  background: var(--tcd-coinblue, #215C5C);
  color: white !important;
}
body.page-id-978 .tcd-section-cta .tcd-cta__col:last-child .tcd-cta__btn i{
  background: rgba(255,255,255,.18);
}

/* leichte Hover-Differenzierung */
body.page-id-978 .tcd-section-cta .tcd-cta__col:first-child .tcd-cta__btn:hover{
  filter: saturate(1.05) brightness(1.02);
}
body.page-id-978 .tcd-section-cta .tcd-cta__col:last-child .tcd-cta__btn:hover{
  filter: saturate(1.05) brightness(1.05);
}




/* =========================
   TCD How it Works
   ========================= */

/* Seite 978 – How it works */
body.page-id-978 .tcd-howitworks{
  padding: 7rem 0 7rem 0;
  scroll-margin-top: 60px;
}

body.page-id-978 .tcd-howitworks__container{
  max-width: 1140px; margin: 0 auto; padding: 0 20px;
}

body.page-id-978 .tcd-howitworks__head{
  /* verhindert Margin-Collapsing und stapelt sauber */
  display: flex;
  flex-direction: column;
  align-items: center;      /* zentriert Badge, H2, Text */
  gap: 8px;                 /* Abstand zwischen Badge und H2 */
  padding-top: 2px;         /* killt Collapsing-Effekte vom H2-Margin */
}


body.page-id-978 .tcd-howitworks .tcd-title{
  color: var(--tcd-heading);
  font-size: clamp(28px, 4.5vw, 40px);
  line-height:1.15; margin: 0 0 10px;
}

body.page-id-978 .tcd-howitworks .tcd-lead{
  color: var(--tcd-text);
  margin: 0 auto;
}

/* Steps Grid */
body.page-id-978 .tcd-steps{
  list-style:none; padding:0; margin: clamp(36px, 6vw, 72px) 0 0;
  display:grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 30px); position: relative;
}

@media (max-width: 1024px){
  body.page-id-978 .tcd-steps{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  body.page-id-978 .tcd-steps{ grid-template-columns: 1fr; }
}

/* Single step */
body.page-id-978 .tcd-step{
  text-align:center; position:relative; padding-top: 10px;
}

body.page-id-978 .tcd-step__num{
  width:60px; height:60px; line-height:60px; display:inline-block;
  font-weight:700; font-size:18px;
  color: var(--tcd-secondary);
  background-color: var(--tcd-primary);
  border-radius: 50%;
  margin: 0 auto 22px;
}

body.page-id-978 .tcd-step__title{
  margin: 0 0 12px; font-size: clamp(18px, 2.2vw, 20px); color: var(--tcd-heading);
}
body.page-id-978 .tcd-step__text{
  margin: 0 auto; color: var(--tcd-text); max-width: 28ch;
}

/* Seite 978 – Arches nur einmal pro Step; Reverse bei Step 2 */
body.page-id-978 .tcd-arch{
  position:absolute; top: 16px; width: 180px; height:auto;
  color: rgba(var(--bs-primary-rgb, 33,92,92), .6);
  right: -100px; /* verbindet zum nächsten Step */
  pointer-events:none;
}

body.page-id-978 .tcd-arch--right{ right: -100px; }
body.page-id-978 .tcd-arch--left{ left: -100px; transform: scaleX(-1); }

body.page-id-978 .tcd-step--last .tcd-arch--right{ display:none; }

/* Bögen auf kleineren Screens ausblenden */
@media (max-width: 1024px){
  body.page-id-978 .tcd-arch{ display:none; }
}



body.page-id-978 .tcd-step{ position:relative; }

/* Letzter Step hat keinen Arch */
body.page-id-978 .tcd-step--last .tcd-arch{ display:none; }

/* Der mittlere (Schritt 2) soll „reverse“ sein: 180° drehen */
body.page-id-978 .tcd-step--reverse .tcd-arch{
  transform: rotate(180deg);
  /* optional: minimal andere Y-Position wie im Original */
  top: 20px;
}

/* Seite 978 – Step-Farben nach Position */
body.page-id-978 .tcd-steps li:nth-child(1) .tcd-step__num,
body.page-id-978 .tcd-steps li:nth-child(4) .tcd-step__num{
  background-color: var(--tcd-gold, #FFC20B);   /* Gold als Fallback */
  color: #fff; /* Textfarbe */
}

body.page-id-978 .tcd-steps li:nth-child(2) .tcd-step__num,
body.page-id-978 .tcd-steps li:nth-child(3) .tcd-step__num{
  background-color: var(--tcd-coinblue, #215C5C); /* Coin Blue */
  color: #fff;
}

/* Seite 978 – Badge sauber im Head stapeln & fremde Positionen überschreiben */
body.page-id-978 .tcd-howitworks__head{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  position:relative;      /* Referenz für evtl. absolute Kinder */
  text-align:center;
  padding-top:2px;         /* verhindert margin-collapsing */
}

/* Badge-Reset: NICHT mehr absolut/fixed/float etc. */
body.page-id-978 .tcd-howitworks .tcd-badge{
  position: static !important;   /* oder: relative */
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  float: none !important;
  transform: none !important;
  display: inline-block !important;

  /* dein Styling */
  margin: 0 0 2px !important;
  padding: 6px 12px;
  border-radius: 7px;
  font-weight: 600;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--tcd-text);
  background-color: var(--tcd-cream);
}

/* Seite 978 – Header vor CTA-Section angleichen */
body.page-id-978 .tcd-section-head{
  text-align:center;
  margin-bottom: clamp(32px, 6vw, 56px);
}


/* Seite 978 – Einheitlicher Header-Stack (funktioniert in/ohne .tcd-howitworks) */
body.page-id-978 :is(.tcd-howitworks__head, .tcd-section-head){
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  text-align:center;
  position:relative;
  padding-top:2px;                /* verhindert margin-collapsing */
  margin-bottom: clamp(24px, 4vw, 48px);
}

/* Badge – sicher im Fluss, kein absolutes/fixed Positionieren */
body.page-id-978 :is(.tcd-howitworks__head, .tcd-section-head) .tcd-badge{
  position: static !important;
  inset: auto !important;
  transform: none !important;
  float: none !important;
  display: inline-block !important;

  background-color: var(--tcd-cream);
  color: var(--tcd-text);
  padding: 8px 20px;
  border-radius: 10px;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 1rem !important;
  line-height: 1.2;
  font-weight: bold;
}

/* Titel & Lead – exakt wie im How-it-works-Header */
body.page-id-978 :is(.tcd-howitworks__head, .tcd-section-head) .tcd-title{
  color: var(--tcd-heading, var(--bs-heading-color, #16181B));
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.15;
  margin: 0 0 10px;
}
body.page-id-978 :is(.tcd-howitworks__head, .tcd-section-head) .tcd-lead{
  color: var(--tcd-text, var(--bs-body-color, #494B5B));
  max-width: 720px;
  margin: 0 auto;
}

/* Mobile: statt Arches horizontale Divider zwischen Steps */
@media (max-width: 640px){
  body.page-id-978 .tcd-step{
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(33,92,92,.2); /* Coinblue transparent */
  }
  /* beim letzten Step keine Linie */
  body.page-id-978 .tcd-step--last{
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}



/* =========================
   TCD About v4 (nur Seite #978)
   ========================= */

/* 1) Grid */
body.page-id-978 .tcd-about .tcd-about__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
  align-items:start;           /* Mobil natürlich */
}
@media (min-width:768px) and (max-width:991.98px){
  body.page-id-978 .tcd-about .tcd-about__grid{
    grid-template-columns:25% 60%;
    gap:36px;
    align-items:start;         /* rechte Spalte bestimmt die Zielhöhe */
  }
}
@media (min-width:992px){
  body.page-id-978 .tcd-about .tcd-about__grid{
    grid-template-columns:25% 68%;
    gap:48px;
    align-items:start;
  }
}

/* Reihenfolge */
body.page-id-978 .tcd-about__media{order:1}
body.page-id-978 .tcd-about__content{order:2}

/* 2) Media-Spalte */
body.page-id-978 .tcd-about__imgwrap{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  /* Höhe wird per JS gesetzt (>=768px) */
}
body.page-id-978 .tcd-about__img{
  width:100%;
  height:auto;                 /* mobil natürlich */
  display:block;
  border-radius:16px;
  object-fit:scale-down;            /* greift, sobald eine feste Höhe gesetzt wird */
}

/* Mission-Box */
body.page-id-978 .tcd-about__mission{
  display:flex; align-items:center; gap:16px;
  padding:16px; margin-top:14px;
  background:var(--tcd-cream); border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}
body.page-id-978 .tcd-about__mission h3{
  margin:0 0 6px 0; font-size:10px; letter-spacing:.08em;
  color:var(--tcd-gold); text-transform:uppercase;
}
body.page-id-978 .tcd-about__mission p{margin:0; color:var(--tcd-text); font-size:.8rem}

/* 3) Typo */
body.page-id-978 .tcd-about__title{color:var(--tcd-heading); margin:0 0 16px; line-height:1.2}
body.page-id-978 .tcd-about__copy p{color:var(--tcd-text); margin:0 0 12px}
body.page-id-978 .tcd-about__kicker{margin:16px 0 10px; font-weight:700; font-size:.95rem; color:var(--tcd-heading)}

/* 4) Features */
body.page-id-978 .tcd-about__features{display:flex; flex-wrap:wrap; gap:12px 18px; list-style:none; margin:0; padding:0}
body.page-id-978 .tcd-about__features .tcd-feature{display:inline-flex; align-items:center; gap:8px}
body.page-id-978 .tcd-about__features .icon{display:inline-grid; place-items:center; width:20px; height:20px; border-radius:50%; background:var(--tcd-primary); color:#fff}
body.page-id-978 .tcd-about__features .text{white-space:nowrap}

/* 5) Badge oben (Section-Head) */
body.page-id-978 .tcd-section-head .tcd-badge{
  position:static!important; inset:auto!important; transform:none!important; float:none!important; display:inline-block!important;
  background-color:var(--tcd-cream,#FFF8F0); color:var(--tcd-text,#494B5B);
    padding: 8px 20px;
    border-radius: 10px;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0 0 20px;
    line-height: 1.2;
    font-weight: bold;
}

/* 6) Mobile Tweaks */
@media (max-width:767.98px){
  body.page-id-978 .tcd-about__mission{flex-direction:column; text-align:center; gap:10px}
  body.page-id-978 .tcd-about__mission p{font-size:.9rem}
  body.page-id-978 .tcd-about__features{flex-direction:column; gap:10px}
  body.page-id-978 .tcd-about__features .text{white-space:normal}
}

/* Features-Liste auf mobilen Screens umbrechen */
@media (max-width: 767.98px) {
  body.page-id-978 .tcd-about__features {
    flex-direction: column;
    gap: 10px;
  }
  body.page-id-978 .tcd-about__features .text {
    white-space: normal; /* Kein Zwang zum Durchziehen */
  }

  body.page-id-978 .tcd-about__img {
    display: block;
    margin: 0 auto;        /* horizontales Zentrieren */
    width: 50% !important; /* behält deine Breite */
  }
  

  body.page-id-978 .tcd-about__mission p {
    
    font-size: 0.9rem !important;
  }

  body.page-id-978 .tcd-about__mission h3 {
    justify-self: center !important;
  }
  body.page-id-978 .tcd-about__mission p {
    text-align: center !important;
  }
  body.page-id-978 .tcd-about__title {
    text-align: center !important;
  }

  
  body.page-id-978 .tcd-about__content {
    text-align-last: center !important;
    text-align: center;
  }

  body.page-id-978 .tcd-about__media {order: 2;}
  body.page-id-978 .tcd-about__content {order: 1;}

}

/* Tablet-Layout: 40% / 60% */
@media (min-width: 768px) and (max-width: 991.98px) {
  body.page-id-978 .tcd-about .tcd-about__grid {
    grid-template-columns: 35% 60%;
    gap: 36px;
  }

  /* Mission-Box auf Tablet: horizontal lassen, aber kompakter */
  body.page-id-978 .tcd-about__mission {
    flex-direction: row;
    text-align: left;
    gap: 14px;
  }

  /* Textgrößen für bessere Lesbarkeit */
  body.page-id-978 .tcd-about__title {
    font-size: 1.6rem;
  }
  body.page-id-978 .tcd-about__mission p {
    font-size: 0.95rem;
  }

  /* Features in zwei Spalten umbrechen */
  body.page-id-978 .tcd-about__features {
    flex-wrap: wrap;
    gap: 10px 20px;
  }
}






/* =========================
   TCD FAQ v2 – Seite #978
   Optik angelehnt an Bootstrap-Accordion,
   ohne Abhängigkeiten.
   ========================= */

/* Section-Paddings nach Breakpoints */
body.page-id-978 .tcd-faq.section { padding: 0; }
@media (min-width: 1350px){ body.page-id-978 .tcd-faq.section{ padding: 0 10rem; } }
@media (min-width: 768px) and (max-width: 1349px){ body.page-id-978 .tcd-faq.section{ padding: 0 2rem; } }
@media (max-width: 767.98px){ body.page-id-978 .tcd-faq.section{ padding: 0 0rem; } }

/* Fokus-Hintergrund nur auf dieser Seite entfernen
   (Standard-Fokus bleibt via :focus-visible sichtbar) */
body.page-id-978 .js-focus-visible :focus:not(.focus-visible){
  background-color: transparent;
}

/* Heading */
body.page-id-978 .tcd-faq__title{
  margin: 8px 0 18px;
  color: var(--tcd-heading,#16181B);
}

/* Wrapper & Liste */
body.page-id-978 .tcd-faq__wrap{ max-width: 700px; margin-inline: auto; }
body.page-id-978 .tcd-faq__accordion{ display: grid; gap: 20px; }

/* Item-Card */
body.page-id-978 .tcd-acc__item{
  border: none;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bs-body-bg, #fff);
  box-shadow: 0 1px 1px rgba(0,0,0,.04);
  transition: box-shadow .25s ease;
}
body.page-id-978 .tcd-acc__item:hover{
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

/* Header / Button */
body.page-id-978 .tcd-acc__header{ margin: 0; }
body.page-id-978 .tcd-acc__btn{
  width: 100%;
  border: 0;
  background: transparent;
  padding: 18px 56px 18px 20px;
  text-align: left;
  font: inherit;
  color: var(--bs-heading-color, #16181B);
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  border-radius: 0;
}
body.page-id-978 .tcd-acc__btn:focus-visible{
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tcd-cream,#FFF8F0), transparent 30%);
}

/* Icon rechts (Plus ➜ Minus) – ohne externe Fonts */
body.page-id-978 .tcd-acc__icon{
  position: absolute;
  top: 50%; right: 20px;
  translate: 0 -50%;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--tcd-cream-dark,#F5F0EE);
}
body.page-id-978 .tcd-acc__icon::before,
body.page-id-978 .tcd-acc__icon::after{
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  background: var(--inverse-color,#494B5B);
  border-radius: 2px;
  translate: -50% -50%;
  transition: transform .25s ease, opacity .2s ease;
}
body.page-id-978 .tcd-acc__icon::after{ transform: rotate(90deg); } /* vertikal = Plus */

/* Panel (animierte Höhe per JS) */
body.page-id-978 .tcd-acc__panel{
  height: 0;
  overflow: hidden;
  transition: height .28s ease;
  border-top: 1px solid rgba(0,0,0,.05);
  background: var(--bs-body-bg,#fff);
}
body.page-id-978 .tcd-acc__body{
  padding: 16px 20px 20px 20px;
  color: var(--tcd-text,#494B5B);
  border-top: none;
}

/* Offen-Zustand */
body.page-id-978 .tcd-acc__item.is-open .tcd-acc__icon::after{
  transform: rotate(0deg);     /* vertikaler Strich ausblenden → Minus */
  opacity: 0;
}
body.page-id-978 .tcd-acc__item.is-open .tcd-acc__btn{
  box-shadow: 0 1px 1px rgba(0,0,0,.05);
  /* color: var(--inverse-color,#494B5B); */
}

/* =========================
   Responsive Tweaks
   ========================= */

/* Tablet (768–991.98): leicht kompaktere Abstände,
   etwas größere Klickflächen & max-width erhöhen */
@media (min-width: 768px) and (max-width: 991.98px){
  body.page-id-978 .tcd-faq__wrap{ max-width: 820px; }
  body.page-id-978 .tcd-faq__accordion{ gap: 16px; }
  body.page-id-978 .tcd-acc__btn{ padding: 18px 60px 18px 22px; }
  body.page-id-978 .tcd-acc__icon{ width: 26px; height: 26px; right: 22px; }
  body.page-id-978 .tcd-acc__icon::before,
  body.page-id-978 .tcd-acc__icon::after{ width: 14px; }
  body.page-id-978 .tcd-acc__body{ padding: 18px 22px 22px 22px; }
}

/* Mobile (<768): mehr Luft zwischen Items,
   größere Touch-Ziele, bessere Lesbarkeit */
@media (max-width: 767.98px){
  body.page-id-978 .tcd-faq__wrap{ max-width: 100%; }
  body.page-id-978 .tcd-faq__accordion{ gap: 14px; }
  body.page-id-978 .tcd-acc__btn{
    padding: 16px 56px 16px 16px;
    line-height: 1.35;           /* bessere Lesbarkeit langer Fragen */
    font-size: 1rem;
  }
  body.page-id-978 .tcd-acc__icon{ width: 28px; height: 28px; right: 16px; }
  body.page-id-978 .tcd-acc__icon::before,
  body.page-id-978 .tcd-acc__icon::after{ width: 16px; }
  body.page-id-978 .tcd-acc__body{ padding: 16px 16px 18px 16px; }
}


/* ===== Modern Minimal Footer ===== */
.tcd-footer {
  background: var(--tcd-cream, #F5F0EE);
}

.tcd-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.tcd-footer__brand img {
  height: 72px;
  width: auto;
  display: block;
}

/* Menü */
.tcd-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 22px;
  flex-wrap: wrap;
}

.tcd-footer__menu a {
  text-decoration: none;
  color: inherit;
  opacity: .90;
  font-weight: bold;
  transition: color .2s ease, opacity .2s ease, text-underline-offset .2s ease;
}
.header-navbar__menu>ul>li>a {
	font-weight: 600 !important;
}

.tcd-footer__menu a:hover,
.tcd-footer__menu a:focus {
  color: var(--tcd-gold, #C6A64C) !important;
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Copy */
.tcd-footer__copy {
  font-size: .92rem;
  opacity: .7;
}


/* Responsive */
@media (max-width: 640px) {
  .tcd-footer__menu {
    display: flex;
    flex-direction: column;   /* untereinander */
    gap: 10px;                /* vertikaler Abstand */
    align-items: center;      /* zentriert in der Mitte */
  }

  .tcd-footer__menu li {
    margin: 0;                /* kein Extra-Abstand */
  }

  .tcd-footer__menu a {
    font-size: 1rem;          /* etwas größer für mobile Lesbarkeit */
  }
}

.tcd-footer__menu li a {
  color: var(--tcd-text) !important;
}


/* CONTACT */
.ff-default .ff-el-form-control:focus {
    border-color: var(--tcd-cream-dark) !important;
}



/* Mobil: Modal mittig, mit margin-top */
@media (max-width: 640px) {
  .tcd-login-modal {
    margin: 3rem auto !important;   /* 3rem Abstand nach oben/unten */
    display: block !important;      /* sicherstellen, dass es zentriert wird */
    max-width: 90%;                 /* damit es nicht zu breit wird am Phone */
  }
}

/* Fancybox/HivePress: Modals sauber zentrieren */
body .fancybox-container .fancybox-slide--html {
  display: flex !important;
  align-items: center !important;     /* vertikal zentriert */
  justify-content: center !important; /* horizontal zentriert */
  min-height: 100vh;                  /* volle Viewport-Höhe */
  padding: 2rem;                      /* etwas Rand, Desktop */
}

/* Inhalt nicht per Margin nach oben schieben */
body .fancybox-container .fancybox-content.hp-modal {
  margin: 0 !important;
  max-width: min(520px, 92vw);        /* angenehme Breite */
}

/* Mobile: oben/unten 3rem „Luft“ + weicher Rand */
@media (max-width: 640px) {
  body .fancybox-container .fancybox-slide--html {
    padding: 3rem 1rem !important;    /* Top/Bottom = 3rem */
  }
}


/* Leerergebnis-Box für Requests (hp_request) */
.tdi-empty-requests {
  padding: 1rem;
  border: 1px dashed #d0d0d0;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  margin: 1rem 0;
}

.tdi-empty-requests__title {
  margin: 0 0 .25rem;
}

.tdi-empty-requests__hint {
  margin: 0 0 .75rem;
  opacity: .9;
}

.tdi-empty-requests__actions {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons mobil schön breit stapeln */
@media (max-width: 782px) {
  .tdi-empty-requests__actions .button,
  .tdi-empty-requests__actions .hp-button {
    width: 100%;
    justify-content: center;
  }
}


.tdi-empty-requests {
  padding: 1rem;
  border: 1px dashed #d0d0d0;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  margin: 1rem 0;
}

.tdi-empty-requests__title { margin: 0 0 .25rem; }
.tdi-empty-requests__hint  { opacity: .9; }



/* Desktop */
@media (min-width: 1025px) {
  .tdi-empty-requests { margin: 0 !important; }
}

/* User-Account Dropdown im Header: Textfarbe auf --text */
.sub-menu.hp-menu.hp-menu--user-account li a {
  color: var(--tcd-text) !important;
}

/* Optional: auch Hover und Active auf --text */
.sub-menu.hp-menu.hp-menu--user-account li a:hover,
.sub-menu.hp-menu.hp-menu--user-account li a:focus,
.sub-menu.hp-menu.hp-menu--user-account li a:active {
  color: var(--tcd-text) !important;
}



body.page-id-658 .hp-notice {
  display: none !important;
}

.woocommerce form .form-row.woocommerce-validated input.input-text,.woocommerce form .form-row.woocommerce-validated select {
    border-color: var(--tcd-green) !important;
}


/* WooCommerce Checkout: Mobile-Only Padding auf 0 setzen */
@media (max-width: 640px) {
  /* 1) Der Section-Block mit Inline-Style */
  body.woocommerce-checkout .dienstleister-registration-text {
    padding: 0 !important; /* überschreibt das inline padding:1rem */
  }

  /* 2) Die unmittelbaren Wrapper um den Checkout-Inhalt */
  body.woocommerce-checkout .page__text {
    padding: 0 !important;
  }

  /* 3) Der Container, der die .woocommerce-Hülle trägt */
  body.woocommerce-checkout .container:has(.woocommerce) {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  /* Fallback, falls :has() vom Browser ignoriert wird */
  body.woocommerce-checkout .dienstleister-registration-text .container,
  body.woocommerce-checkout .container .woocommerce {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* 4) Sicherheit: auch die Woo-Box selbst ohne Padding */
  body.woocommerce-checkout .woocommerce {
    padding: 0 !important;
  }
}

.tdi-consent__checkbox:checked {
  accent-color: var(--tcd-gold); /* setzt Hintergrund+Haken */
}

.tcd-contacted-wrap {
  margin-top:.5rem;
  padding:.35rem .6rem;
  background:#f8f8f9;
  border:1px solid #eee;
  border-radius:8px;
  display:inline-block;
}




.hp-listing__attribute--contacted .tcd-contacted-toggle input[type="checkbox"]{
  width:18px; height:18px; accent-color: var(--tcd-gold);
}


/* Utility headline rule with faded line */
.hr-events {
  line-height: 1em;
  position: relative;
  outline: 0;
  border: 0;
  color: black;
  text-align: center;
  height: 1.5em;
  opacity: .5;
  font-weight: 600;
}
.hr-events:before {
  content: "";
  background: linear-gradient(to right, transparent, var(--tcd-green), transparent);
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
}
.hr-events:after {
  content: attr(data-content);
  position: relative;
  display: inline-block;
  color: var(--tcd-muted);
  background-color: #fcfcfa;
  padding: 0 .5em;
  line-height: 1.5em;
}

/* === Checkbox-Accent nur auf /my-events (ID 914) === */
body.page-id-914 .hp-listing__attribute--contacted 
.tcd-contacted-toggle input[type="checkbox"] {
  width:18px;
  height:18px;
  accent-color: var(--tcd-green);
}


body.page-id-914 .tdi-empty-requests__title {
  font-size: 1.05rem;
  margin-bottom: .5rem;
}

body.page-id-914 .tdi-empty-requests__hint a {
  color: var(--tcd-gold);
  text-decoration: none;
}

body.page-id-914 .tdi-empty-requests__hint a:hover {
  text-decoration: underline;
}


/* Einheitlicher Empty-State auf Seite 914 */
body.page-id-914 .tdi-empty-requests,
body.page-id-914 .tcd-notice{
  margin: 1rem 0;
  padding: 1.25rem 1.5rem;
  border: 1px dashed rgba(0, 0, 0, .08);
  border-radius: .75rem;
  /* background: #fff8f0;  optional */
  color: #333;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
  line-height: 1.5;
}


/* BURGER */

/* Ensure visibility inside mobile burger menu */
@media (max-width: 768px) {
  .header-navbar__burger .menu-item-coins { margin-left: 0; }
}

/* ------------------------------------------------------------
   Burger Sidebar (slide-in) & Overlay
   ------------------------------------------------------------ */

/* Overlay – nur noch über .active ODER body.header-burger-open steuern */
#body_overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9002;
  display: none;           /* default off */
}

/* Sichtbar wenn JS aktiv ist */
#body_overlay.active{ 
  display:block;
}
/* Panel – off-canvas */
.header-navbar__burger .menu{
  position: fixed;
  top:0; bottom:0; right:0;
  width:85vw; max-width:380px;
  background:#fff;
  box-shadow:-2px 0 12px rgba(0,0,0,.2);
  z-index:9003;
  transform:translateX(100%);
  transition:transform .3s ease;
  display:flex; flex-direction:column;
}


.header-navbar__burger > ul::before { display: none !important; }
.header-navbar__burger .menu { left: auto !important; right: 0 !important; transform: translateX(100%) !important; }
/* .header-navbar__burger.open .menu { transform: translateX(0) !important; } */

#body_overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9002; display: none; }
/* .header-navbar__burger.open ~ #body_overlay { display: block; } */

.header-navbar__burger .menu .sidebar-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; z-index: 10001; }

.header-navbar__burger .menu .sidebar-logo { padding: 1rem; text-align: center; border-bottom: 1px solid #eee; }
.header-navbar__burger .menu .sidebar-logo img { max-width: 120px; height: auto; }

.header-navbar__burger .menu li { padding: 1em 1em; border-bottom: 1px solid #eee; }
.header-navbar__burger .menu li:last-child { border-bottom: none; }

/* Coins item placement + label */
.header-navbar__burger .menu li.menu-item-coins { border-top: none; margin-top: 0; pointer-events: none; }
/* .header-navbar__burger .menu li.menu-item-coins + li { margin-top: 1rem; } */

.header-navbar__burger .menu li.menu-item-coins .toucandoit-available-coins {
  display: flex;
  flex-direction: column; 
  align-items: center;       /* Horizontal zentrieren */
  justify-content: center;   /* Vertikal zentrieren */
  font-family: var(--tcd-font-body);
  font-size: 1.125rem;
  text-align: center;        /* Falls der Text umbrecht */
}

.header-navbar__burger .menu li.menu-item-coins .toucandoit-available-coins::before {
  content: "Verfügbares Budget:"; display: block; margin-bottom: 0.5rem; font-family: var(--tcd-font-body); font-size: 0.9rem; font-weight: bold;
}
.header-navbar__burger .menu li.menu-item-coins .toucandoit-available-coins img,
.header-navbar__burger .menu li.menu-item-coins .toucandoit-available-coins .toucandoit-available-text {
  display: inline-block; vertical-align: middle; color: var(--tcd-gold); font-size: 1.5rem; font-weight: bold;
}
.header-navbar__burger .menu li.menu-item-coins .toucandoit-available-coins img { margin-right: 0.5rem; }

/* Hover effect for all non-coins items */
.header-navbar__burger .menu li:not(.menu-item-coins):hover { background-color: #fafafa; color: var(--tcd-gold); cursor: pointer; }
.header-navbar__burger .menu li a { transition: color 0.3s ease; }
.header-navbar__burger .menu li:not(.menu-item-coins) a:hover { color: inherit; }

/* Arrow placement & bigger clickable area for toggles */
.header-navbar__burger > ul > li.menu-item-has-children { position: relative; }
.header-navbar__burger .menu > li.menu-item-has-children::after { top: 1.1rem !important; color: var(--tcd-gold) !important; font-size: 25px !important; }
.header-navbar__burger .menu li.menu-item-has-children > .menu-toggle {
  position: absolute; top: 50%; right: 0.75rem; transform: translateY(-50%);
  width: 2rem; height: 2rem; display: block; cursor: pointer; z-index: 10;
}
.header-navbar__burger .menu li.menu-item-has-children.open-submenu,
.header-navbar__burger .menu li.menu-item-has-children:focus-within { background-color: #fafafa; }



/* Off‑canvas base: keep it off-screen by default */
.header-navbar__burger .menu {
  position: fixed;            /* so it doesn't push layout */
  top: 0; bottom: 0;          /* full height */
  right: 0;                   /* dock to right */
  width: 85vw;                /* responsive width */
  max-width: 380px;           /* cap width */
  background: #fff;           /* panel bg */
  box-shadow: -2px 0 12px var(--tcd-shadow);
  z-index: 9003;              /* above overlay */
  transform: translateX(100%) !important; /* hidden by default */
  transition: transform .3s ease;         /* smooth slide */
}

/* Offen: nur über body-Flag (Single Source of Truth) */
body.header-burger-open .header-navbar__burger .menu{
  transform:translateX(0);
}


.header-navbar__burger.open ~ #body_overlay,
#body_overlay.active {                     /* optional JS fallback */
  display: block;
}

/* Close button */
.header-navbar__burger .menu .sidebar-close{
  position:absolute; top:1rem; right:1rem;
  background:none; border:0; font-size:1.5rem; cursor:pointer; z-index:9004;
}

/* Logo block */
.header-navbar__burger .menu .sidebar-logo { padding: 1rem; text-align: center; border-bottom: 1px solid #eee; }
.header-navbar__burger .menu .sidebar-logo img { max-width: 120px; height: auto; }

/* Menu items */
.header-navbar__burger .menu ul { margin: 0; padding: 0; list-style: none; }
.header-navbar__burger .menu li { padding: 1em 1em; border-bottom: 1px solid #eee; }
.header-navbar__burger .menu li:last-child { border-bottom: none; }

/* Coins item */
.header-navbar__burger .menu li.menu-item-coins { border-top: none; margin-top: 0; pointer-events: none; }
/* .header-navbar__burger .menu li.menu-item-coins + li { margin-top: 1rem; } */

.header-navbar__burger .menu li.menu-item-coins .toucandoit-available-coins {
  display: flex; flex-direction: column; font-family: cursive, sans-serif; font-size: 1.125rem;
}
.header-navbar__burger .menu li.menu-item-coins .toucandoit-available-coins::before {
  content: "Verfügbares Budget:"; display: block; margin-bottom: 0.5rem; font-family: var(--tcd-font-body); font-size: 0.9rem; font-weight: bold;
  font-family: 'Quicksand' !important;
}
.header-navbar__burger .menu li.menu-item-coins .toucandoit-available-coins img,
.header-navbar__burger .menu li.menu-item-coins .toucandoit-available-coins .toucandoit-available-text {
  display: inline-block; vertical-align: middle; color: var(--tcd-gold); font-size: 1.5rem; font-weight: bold;
  font-family: 'Quicksand' !important;
}
.header-navbar__burger .menu li.menu-item-coins .toucandoit-available-coins img { margin-right: 0.5rem; width: 35%; font-family: 'Quicksand' !important;}

/* Hovers */
.header-navbar__burger .menu li:not(.menu-item-coins):hover { background-color: #fafafa; color: var(--tcd-gold); cursor: pointer;  font-family: 'Quicksand' !important;}
.header-navbar__burger .menu li a { transition: color 0.3s ease; }
.header-navbar__burger .menu li:not(.menu-item-coins) a:hover { color: inherit; }

/* Submenu toggle target & state */
.header-navbar__burger > ul::before { display: none !important; }
.header-navbar__burger > ul > li.menu-item-has-children { position: relative; }
.header-navbar__burger .menu > li.menu-item-has-children::after {
  top: 1.1rem !important; 
  color: var(--tcd-gold) !important; font-size: 25px !important; 
}
.header-navbar__burger .menu li.menu-item-has-children > .menu-toggle {
  position: absolute; top: 50%; right: 0.75rem; transform: translateY(-50%);
}

/* Volle Breite für alle Burger-Menu-Items */
.header-navbar__burger .menu li {
  display: block;        /* Blockelement, volle Zeile */
  width: 100% !important; /* Nimmt die gesamte Sidebar-Breite */
  box-sizing: border-box; /* Padding/Borders einrechnen */
}

/* Volle Breite auch für den User-Account-Block + Submenu-Items */
.header-navbar__burger .menu li.menu-item--user-account,
.header-navbar__burger .menu li.menu-item--user-account .sub-menu li {
  width: 100% !important;
}

/* Off‑canvas UL als Flex-Spalte */
.header-navbar__burger .menu {
  display: flex;              /* <- WICHTIG */
  flex-direction: column;     /* untereinander */
}

/* Nur direkte <li> des Hauptmenüs sortieren */
.header-navbar__burger .menu > li { 
  order: 2;                   /* Default: Mitte */
}

/* Coins-Item ganz nach oben */
.header-navbar__burger .menu > li.menu-item-coins {
  order: 0;
}

/* Beide User-Account-Blöcke nach unten */
.header-navbar__burger .menu > li.menu-item--user-account {
  order: 99;
}

/* Der “letzte” Account-Block ganz zuletzt */
.header-navbar__burger .menu > li.menu-item--last.menu-item--user-account {
  order: 100;
}

/* Sicherheit: Submenus normal fließen lassen */
.header-navbar__burger .menu .sub-menu {
  display: block;
}


/* Mobile Menü Submenu Abstand */
.header-navbar__burger .menu .sub-menu { margin-top: 0.8em !important; }


.header-navbar__burger .menu .sub-menu {
  margin-top: 0.8em !important;
}


.header-navbar__burger a {
  color: var(--tcd-text) !important;
}


/* Off-canvas UL als Flex-Spalte (bleibt) */
.header-navbar__burger .menu {
  display: flex;
  flex-direction: column;
}

/* Button/Logo innerhalb des <ul> zuerst (falls im UL enthalten) */
.header-navbar__burger .menu > .sidebar-close,
.header-navbar__burger .menu > .sidebar-logo {
  order: -100 !important;
}

/* Default-Reihenfolge aller Haupt-LIs */
.header-navbar__burger .menu > li {
  order: 10 !important; /* Basiswert */
}

/* Coins-Item ganz nach oben */
.header-navbar__burger .menu > li.menu-item-coins {
  order: 0 !important;
}

/* LOGIN IMMER GANZ NACH UNTEN – egal ob "first" oder "last" */
.header-navbar__burger .menu > li.menu-item--user-login {
  order: 999 !important;
}

/* Falls zwei Login-Items existieren: das mit "--last" wirklich als letztes */
.header-navbar__burger .menu > li.menu-item--last.menu-item--user-login {
  order: 1000 !important;
}

/* Submenus nicht anfassen */
.header-navbar__burger .menu .sub-menu { order: initial !important; }

/* Coin-Icon im Mobile-/Burger-Menü ausblenden */
.hp-menu--mobile .toucandoit-coins-menu-item img {
  display: none;
}

/* BURGER Account  */
/* Erste User-Account-Instanz im Burger-Menü ausblenden */
.header-navbar__burger .menu > li.menu-item--user-account {
  order: 999 !important;
}

/* Sicherstellen, dass das Panel wirklich sichtbar wird, wenn body.flag gesetzt ist */
body.header-burger-open .header-navbar__burger .menu {
  transform: translateX(0) !important;
  z-index: 9003; /* über Content */
}

/* Falls ein anderes CSS das Menü on top verdeckt, notfalls erhöhen: */
.header-navbar__burger .menu { z-index: 9003 !important; }

/* Optional: Verhindern, dass ein globales .menu-Layout eingreift */
.header-navbar__burger .menu { position: fixed !important; right: 0 !important; }

/* Nur /my-events (ID 914): Content als Bezugspunkt, Badge bleibt oben rechts in der Karte */
body.page-id-914 .hp-listing__content { position: relative; }





/* Nur im Zahlungsblock: Inputs weiß hinterlegen */
#tcd-payment-wrap .p-Input-input,
#tcd-payment-wrap .p-Fieldset-input,
#tcd-payment-wrap .p-CardNumberInput input,
#tcd-payment-wrap .p-CardCvcInput input,
#tcd-payment-wrap select.p-CardBrandChoice-select {
  background: #fff !important;
  color: inherit;
}

/* Safari/Chrome Autofill sorgt sonst für gelb – so bleibt's weiß */
#tcd-payment-wrap .p-Input-input:-webkit-autofill,
#tcd-payment-wrap .p-Fieldset-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
  box-shadow: 0 0 0px 1000px #fff inset !important;
  -webkit-text-fill-color: inherit !important;
}

/* Für den Fall, dass Stripe hier ein eigenes Input-Wrapper-Element färbt */
#tcd-payment-wrap .p-Input {
  background: transparent !important; /* nur Wrapper transparent lassen */
}



/* Toucan Coins Headline Image */
.tcd-coins-headline {
  display: block;
  max-width: 30%;
  height: auto;
  margin: 0 auto; /* optional: zentrieren */
}

/* Mobile: breiter */
@media (max-width: 768px) {
  .tcd-coins-headline {
    max-width: 80%;
  }
}


/* =========================
   NUR AUF: WooCommerce Checkout
   ========================= */

/* --- Coupon-Bereich --- */
body.woocommerce-checkout #tcd-coupon-block { margin: 2rem 0 2.5rem; }
body.woocommerce-checkout #tcd-coupon-block .tcd-section-title { margin-bottom: .75rem; }

body.woocommerce-checkout #tcd-coupon-block form.checkout_coupon{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
body.woocommerce-checkout #tcd-coupon-block form.checkout_coupon .form-row{
  float:none !important; width:100%; text-align:center; margin:0; padding:0;
}
body.woocommerce-checkout #tcd-coupon-block form.checkout_coupon .clear{ display:none; }

body.woocommerce-checkout #tcd-coupon-block input[name="coupon_code"]{
  width:80%; max-width:320px; text-align:center; margin:0 auto 10px;
}
body.woocommerce-checkout #tcd-coupon-block button[name="apply_coupon"]{
  display:inline-block; min-width:160px; text-align:center; margin:0 auto;
}
body.woocommerce-checkout .woocommerce-page #tcd-coupon-block button.button[name="apply_coupon"]{
  margin-top:.5rem !important; margin-bottom:0 !important;
  padding:.4rem 1rem !important; font-size:.9rem !important; line-height:1.2 !important; min-width:140px;
}

/* Mobile-first Fix */
body.woocommerce-checkout #tcd-coupon-block form.checkout_coupon{ display:block; }
body.woocommerce-checkout #tcd-coupon-block form.checkout_coupon p.form-row,
body.woocommerce-checkout #tcd-coupon-block form.checkout_coupon p.form-row-first,
body.woocommerce-checkout #tcd-coupon-block form.checkout_coupon p.form-row-last{
  float:none !important; width:100% !important; display:block !important;
  margin:0 0 .5rem 0 !important; padding:0 !important; box-sizing:border-box;
}
body.woocommerce-checkout #tcd-coupon-block input[name="coupon_code"],
body.woocommerce-checkout #tcd-coupon-block button[name="apply_coupon"]{
  height:44px; border-radius:10px; font-size:.95rem; line-height:1; box-sizing:border-box;
}
body.woocommerce-checkout #tcd-coupon-block input[name="coupon_code"]{
  border:1px solid rgba(0,0,0,.12); background:#fff; padding:0 .9rem; width:100%; height:2rem !important;
}
body.woocommerce-checkout #tcd-coupon-block form.checkout_coupon p.form-row-last{ text-align:left !important; }
body.woocommerce-checkout #tcd-coupon-block button[name="apply_coupon"]{
  width:100% !important; min-width:0 !important; background:var(--tcd-cream); color:#111; border:none; padding:0 1rem; font-weight:600;
}

/* Coupon-Toggle ausblenden NUR hier */
body.woocommerce-checkout .woocommerce-form-coupon-toggle{ display:none !important; }

/* Ab 640px: Input + Button nebeneinander */
@media (min-width:640px){
  body.woocommerce-checkout #tcd-coupon-block form.checkout_coupon{
    display:grid !important; grid-template-columns:1fr auto; gap:.5rem; align-items:center;
  }
  body.woocommerce-checkout #tcd-coupon-block form.checkout_coupon p.form-row{ margin:0 !important; }
  body.woocommerce-checkout #tcd-coupon-block button[name="apply_coupon"]{
    width:auto !important; min-width:140px !important;
  }
}

/* Abschnitt & Typo */
body.woocommerce-checkout #tcd-coupon-block{ margin:3rem 0; }
body.woocommerce-checkout .tcd-coupon-card{ background:transparent; border:none; box-shadow:none; padding:0; }
body.woocommerce-checkout .tcd-coupon-title{ margin:0 0 .25rem; font-size:1.25rem; line-height:1.3; }
body.woocommerce-checkout .tcd-coupon-sub{ margin:0 0 .75rem; color:rgba(0,0,0,.7); font-size:.95rem; }
body.woocommerce-checkout .tcd-section{ margin-bottom:2rem; }

/* --- Bestellübersicht Tabelle --- */
body.woocommerce-checkout .shop_table{
  background-color:#fff !important; margin-bottom:2rem !important;
}

/* --- Payment Wrap & Place Order --- */
body.woocommerce-checkout #tcd-payment-wrap{
  background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:10px; padding:1.25rem; margin-top:1.5rem;
}
body.woocommerce-checkout #tcd-payment-wrap #payment{ margin:0; }

/* Reihenfolge/Button-Zeile */
body.woocommerce-checkout .woocommerce #payment .form-row.place-order{
  float:none !important; width:100%; display:flex; flex-wrap:wrap; align-items:center; gap:.75rem 1rem; margin-top:1rem;
}
body.woocommerce-checkout #place_order.button,
body.woocommerce-checkout .woocommerce #payment #place_order{
  display:inline-flex !important; align-items:center; justify-content:center;
  width:100% !important; max-width:100%; margin:0; padding:.75rem 1.25rem; white-space:nowrap; margin-top:2rem;
}

/* Legal / Terms (nur Styling im Checkout) */
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{
  flex:1 1 320px; min-width:260px;
}
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label.woocommerce-form__label-for-checkbox{
  display:inline-flex; align-items:flex-start; gap:.5rem; margin:0;
}
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input[type="checkbox"]{ margin-top:.15rem; }
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-error,
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-info,
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-message{ margin-top:.5rem; }

/* --- Rechnungsdetails Layout --- */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper{
  display:grid; grid-template-columns:1fr; row-gap:1rem; column-gap:1rem;
}
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row{
  float:none !important; width:100% !important; margin:0 !important; padding:0 !important; box-sizing:border-box;
}
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .woocommerce-input-wrapper{ display:block; }

/* Labels + Inputs wie Select2 */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper label{
  display:block; margin:0 0 .5rem 0; line-height:1.2;
}
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper input.input-text[type="text"],
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper input.input-text[type="email"],
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper input.input-text[type="tel"],
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper select{
  height:44px; border-radius:10px; border:1px solid rgba(0,0,0,.12);
  background:#fff; padding:0 .9rem; font-size:.95rem; line-height:1; width:100%;
}

/* Placeholder + Fokus */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper input::placeholder{ color:rgba(0,0,0,.45); }
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper input:focus,
body.woocommerce-checkout form.woocommerce-checkout .select2-container--default .select2-selection--single:focus{
  outline:none; border-color:rgba(0,0,0,.28) !important; box-shadow:0 0 0 4px rgba(0,0,0,.06) !important;
}

/* Fehlerzustand */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .woocommerce-invalid input{
  border-color:#e74c3c !important; box-shadow:0 0 0 4px rgba(231,76,60,.12);
}

/* (Optional) force order relative to other fields */
body.woocommerce-checkout #billing_eu_vat_number_field { order: 205; } /* between 200 and 210 etc. */


/* Ab 640px: nur Vorname/Nachname nebeneinander, Rest 100% */
@media (min-width:640px){
  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper{ grid-template-columns:1fr 1fr; }
  body.woocommerce-checkout #billing_first_name_field{ grid-column:1; }
  body.woocommerce-checkout #billing_last_name_field { grid-column:2; }
  body.woocommerce-checkout #billing_country_field,
  body.woocommerce-checkout #billing_address_1_field,
  body.woocommerce-checkout #billing_address_2_field,
  body.woocommerce-checkout #billing_postcode_field,
  body.woocommerce-checkout #billing_city_field,
  body.woocommerce-checkout #billing_phone_field,
  body.woocommerce-checkout #billing_eu_vat_number_field,
  body.woocommerce-checkout #billing_email_field{ grid-column:1 / -1; }
}
 

/* --- Select2 NUR im Checkout --- */
body.woocommerce-checkout #billing_country_field .select2-container{ width:100% !important; }

body.woocommerce-checkout form.woocommerce-checkout .select2-container--default .select2-selection--single{
  height:44px !important; border:1px solid rgba(0,0,0,.12) !important; border-radius:10px !important;
  background:#fff !important; display:flex; align-items:center; padding:0 !important; box-sizing:border-box;
}
body.woocommerce-checkout form.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered{
  padding-left:.9rem !important; padding-right:2.2rem !important; margin:0 !important; line-height:1 !important;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
body.woocommerce-checkout form.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{
  height:100% !important; right:.5rem !important;
}
body.woocommerce-checkout form.woocommerce-checkout .select2-container--open{ z-index:9999; }
body.woocommerce-checkout form.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single{
  border-bottom-left-radius:0 !important; border-bottom-right-radius:0 !important;
}
body.woocommerce-checkout form.woocommerce-checkout .select2-container--default .select2-dropdown{
  border:1px solid rgba(0,0,0,.12); border-top:0; border-bottom-left-radius:10px; border-bottom-right-radius:10px; margin-top:0 !important;
}
body.woocommerce-checkout form.woocommerce-checkout .select2-results__option{ padding:.5rem .75rem; }
body.woocommerce-checkout form.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[aria-selected]{
  background-color:#3b82f6; color:#fff;
}
/* Rendered Selection Height Fix */
body.woocommerce-checkout form.woocommerce-checkout .select2-container--default .select2-selection .select2-selection__rendered{
  width:100% !important; height:100% !important; padding-top:1rem !important;
}
/* Kein Versatz nach unten */
body.woocommerce-checkout form.woocommerce-checkout .select2-container--default .select2-dropdown--below{
  margin-top:0 !important; top:100% !important;
}
body.woocommerce-checkout form.woocommerce-checkout .select2-container--default .select2-dropdown{ transform:none !important; }


/* --- Payment Box Hintergrund nur hier --- */
body.woocommerce-checkout .woocommerce #add_payment_method #payment div.payment_box,
body.woocommerce-checkout .woocommerce-cart #payment div.payment_box,
body.woocommerce-checkout .woocommerce-checkout #payment div.payment_box{
  background-color:var(--tcd-cream) !important;
}

/* Place-Order Bereich (Stack & Button 100%) */
body.woocommerce-checkout .woocommerce #payment .form-row.place-order{
  display:flex; flex-direction:column; align-items:stretch; gap:.75rem;
}
body.woocommerce-checkout .woocommerce .woocommerce-gzd-legal-checkbox-text{ line-height:1.35; }
body.woocommerce-checkout #place_order{
  width:100% !important; padding:.9rem 1rem; border-radius:10px; font-weight:700;
}

/* Zahlungs-Überschrift Abstand */
body.woocommerce-checkout #order_payment_heading{ margin-top:3rem !important; }




.woocommerce #add_payment_method #payment ul.payment_methods, .woocommerce-cart #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods {
    background-color: white !important;
    border-color: white !important;
}

.woocommerce-checkout #payment div.payment_box {
	background-color: var(--tcd-cream, #fff8f0) !important;
}

/* Nur im WooCommerce Checkout: Select2 Dropdown-Position feinjustieren */
body.woocommerce-checkout .select2-container.select2-container--open .select2-dropdown--below {
  margin-top: -1.5rem !important;
}


/* Nur auf der Seite "my-events" */
body.page-id-914 .tcd-my-events-container {
  max-width: 75%;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Mobile: volle Breite */
@media (max-width: 768px) {
  body.page-id-914 .tcd-my-events-container {
    max-width: 100%;
  }
}

/* Nur im Checkout: Apple Pay & Google Pay Logos verkleinern */
body.woocommerce-checkout 
li.wc_payment_method.payment_method_ppcp-googlepay img,
body.woocommerce-checkout 
li.wc_payment_method.payment_method_ppcp-applepay img {
  height: 25px !important;
  width: auto !important;
  vertical-align: middle;
}


/* === Toucan Style für myCred Coupon Redeem === */
.mycred-coupon-form {
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
}

.mycred-coupon-form form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.mycred-coupon-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.mycred-coupon-form label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.mycred-coupon-form input[type="text"] {
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.mycred-coupon-form input[type="submit"] {
  background-color: var(--tdi-accent, #f7b500);
  border: none;
  color: var(--tcd-text);
  font-weight: 600;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  align-self: center;
}

.mycred-coupon-form input[type="submit"]:hover {
  background-color: var(--tdi-accent-hover, #e3a600);
}


/* Toucan-Style für Coupon-Meldungen */
.mycred-coupon-form .alert {
  margin-top: 1rem;
  padding: .25rem 1rem;
  border-radius: 10px;
  font-weight: 600;
}

.mycred-coupon-form .alert-danger {
  background: #ffecec;
  border: 1px solid #f5b5b5;
  color: #a40000;
  margin-bottom: 2rem;
}

.mycred-coupon-form .alert-success {
  background: #ecfff1;
  border: 1px solid #b5f5c9;
  color: #006b2e;
  margin-bottom: 2rem;
}


/* Einheitliches Layout für UID/VAT Feld */
/* UID / EU VAT Nummer Feld wie die restlichen Billing-Felder stylen */
#billing_eu_vat_number_field.form-row {
  float: none !important;
  width: 100% !important;
  margin: 0 0 1.5rem !important;
  padding: 0 !important;
  clear: both;
  box-sizing: border-box;
}

/* Label angleichen */
#billing_eu_vat_number_field label {
  display: block;
  margin: 0 0 .5rem 0;
  line-height: 1.2;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Input-Layout wie andere Checkout-Felder */
#billing_eu_vat_number_field .woocommerce-input-wrapper input.input-text {
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, .12);
  background: #fff;
  padding: 0 .9rem;
  font-size: .95rem;
  line-height: 1;
  width: 100%;
  box-sizing: border-box;
  background-color: #fbfbfb !important;
}

/* Optional: bei erfolgreicher Validierung grüne Linie */
#billing_eu_vat_number_field.woocommerce-validated input.input-text {
  border-color: var(--tcd-green, #3aa36d) !important;
}

#billing_eu_vat_number_field .woocommerce-input-wrapper,
#billing_eu_vat_number_field .woocommerce-input-wrapper input.input-text {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.hp-icon.fas.fa-eye {
    display: none !important;
}




/* ================================
   Corner Ribbon – nur Page 978
   Farbe: #FFEBD5
   ================================ */

/* Corner Ribbon – nur Page 978 */
body.page-id-978 .tdi-corner-ribbon{
  position: fixed;
  top: 176px;
  right: 64px;
  z-index: 999999;
  pointer-events: none;

  background: #1ba8e7;
  color: #ffffff;
  box-shadow: none !important;

  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;

  width: 340px;
  height: 30px;
  font-size: 15px;

  transform-origin: top right;
  transform: translate(110px, 20px) rotate(45deg);

  /* NEW: abgerundete Ecken */
  border-radius: 999px;
}

/* <= 900px: zentral oben als Banner (nicht diagonal) */
@media (max-width: 900px){
  body.page-id-978 .tdi-corner-ribbon{
        top: 15px;
        left: 50%;
        right: auto;
        width: min(38vw, 326px);
        height: 24px;
        font-size: 13px;
        transform: translateX(-50%);
        transform-origin: center;
        border-radius: 999px;
  }
}

/* <= 600px: etwas kompakter */
@media (max-width: 600px){
  body.page-id-978 .tdi-corner-ribbon{
        top: 24px;
        width: min(45vw, 420px);
        height: 23px;
        font-size: 10px;
  }
}


/* Versteckt das Logo, wenn der Burger aktiv/offen ist */
.header-navbar__burger.open.active .sidebar-logo {
    display: none !important;
}
