/*
Theme Name:   Irena Lay – Art Design Gallery
Theme URI:    https://irenalay.com
Description:  Child Theme für Hello Elementor – Irena Lay
Author:       Flow Factory / Steffen Lay
Author URI:   https://steffenlay.com
Template:     hello-elementor
Version:      2.2.0
License:      Proprietary
Text Domain:  irenalay
*/

/* ==========================================================================
   0. CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
  /* Farbpalette (07.10.2026) */
  --il-leinen:        #F3EEE4; /* Haupt-Hintergrund */
  --il-sand:          #D8C9B5; /* sekundäre Flächen, Navigation */
  --il-salbei:        #7E8A73; /* ruhige Buttons */
  --il-rost:          #B46148; /* Hauptbutton, Links */
  --il-pflaume:       #604957; /* Überschriften */
  --il-kohle:         #343331; /* Fließtext, Logo, Navigation, Footer */
  --il-weiss:         #FBF9F5; /* Karten, Kontrastflächen, Schrift auf Buttons */
  --il-gold:          #B29A6A; /* nur feine Linien/Trenner, nie Text auf hellem Grund */
  --il-rost-hover:    #9C513B;
  --il-salbei-hover:  #6B765F;
  --il-pflaume-hover: #4F3C48;
  --il-gold-hover:    #9F8A5F;
  --il-kohle-hover:   #2B2A28;
  --il-kohle-10:      rgba(52, 51, 49, 0.12);
  --il-sand-50:       rgba(216, 201, 181, 0.5);

  /* Seitenbezogene Defaults (per Body-Klasse überschrieben, siehe Farbkonzept-Block am Dateiende) */
  --il-akzent:        var(--il-gold);
  --il-flaeche:       var(--il-weiss);
  --il-cta:           var(--il-rost);
  --il-cta-hover:     var(--il-rost-hover);
  --il-link:          var(--il-rost);
  --il-link-hover:    var(--il-rost-hover);

  /* Alte Variablennamen als Aliase (damit nichts bricht) */
  --il-primary-dark:    var(--il-kohle);
  --il-primary-medium:  var(--il-pflaume);
  --il-primary-hover:   var(--il-kohle-hover);
  --il-accent-light:    var(--il-sand);
  --il-accent-light-50: var(--il-sand-50);
  --il-text-light:      var(--il-leinen);
  --il-text-dark:       var(--il-kohle);
  --il-accent-gold:     var(--il-gold);
  --il-bg:              var(--il-leinen);
  --il-white:           var(--il-weiss);
  --il-border:          var(--il-gold);
  --il-muted:           var(--il-kohle);
  --il-hellblau:        var(--il-pflaume);
  --il-hellblau-dunkel: var(--il-pflaume);

  --il-font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --il-font-body:    'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --il-font-accent:  'Cormorant Garamond', Georgia, serif;

  --il-text-xs:   0.75rem;
  --il-text-sm:   0.875rem;
  --il-text-base: 1rem;
  --il-text-lg:   1.125rem;
  --il-text-xl:   1.25rem;
  --il-text-2xl:  clamp(1.5rem, 2vw, 1.75rem);
  --il-text-3xl:  clamp(1.75rem, 3vw, 2.25rem);
  --il-text-4xl:  clamp(2rem, 4vw, 3rem);
  --il-text-hero: clamp(2.25rem, 5vw, 3.75rem);

  --il-space-xs:  0.5rem;
  --il-space-sm:  1rem;
  --il-space-md:  1.5rem;
  --il-space-lg:  2.5rem;
  --il-space-xl:  4rem;
  --il-space-2xl: 6rem;
  --il-space-section: clamp(4rem, 8vw, 7rem);

  --il-max-width:       1200px;
  --il-side-w:          260px;
  --il-topbar-h:        60px;
  --il-transition:      0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --il-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --il-radius:          0;
  --il-radius-lg:       0;
  --il-shadow-sm:       none;
  --il-shadow-md:       none;
  --il-shadow-lg:       none;
}

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0; padding: 0;
  font-family: var(--il-font-body);
  font-size: var(--il-text-base);
  line-height: 1.7;
  color: var(--il-kohle);
  background-color: var(--il-leinen);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.admin-bar { --il-admin-bar: 32px; }
img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--il-link);
  text-decoration: none;
  transition: color var(--il-transition);
}
a:hover { color: var(--il-link-hover); }

/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--il-font-heading);
  font-weight: 700; line-height: 1.2;
  color: var(--il-pflaume);
  margin: 0 0 var(--il-space-sm);
}
h1 { font-size: var(--il-text-hero); }
h2 { font-size: var(--il-text-4xl); }
h3 { font-size: var(--il-text-3xl); }
h4 { font-size: var(--il-text-2xl); }
p  { margin: 0 0 var(--il-space-sm); }
.il-accent-text { font-family: var(--il-font-accent); font-style: italic; }

/* ==========================================================================
   3. UTILITY CLASSES
   ========================================================================== */
.il-container { width: 100%; max-width: var(--il-max-width); margin: 0 auto; padding: 0 var(--il-space-md); }
.il-section { padding: var(--il-space-section) 0; }
.il-section--dark { background-color: var(--il-sand); color: var(--il-kohle); }
.il-section--dark h1, .il-section--dark h2, .il-section--dark h3, .il-section--dark h4 { color: var(--il-pflaume); }
.il-section--light { background-color: var(--il-sand); color: var(--il-kohle); }
.il-section--medium { background-color: var(--il-sand); color: var(--il-kohle); }
.il-section--medium h2, .il-section--medium h3 { color: var(--il-pflaume); }
.il-grid { display: grid; gap: var(--il-space-lg); }
.il-grid--2 { grid-template-columns: repeat(2, 1fr); }
.il-grid--3 { grid-template-columns: repeat(3, 1fr); }
.il-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) { .il-grid--2, .il-grid--3, .il-grid--4 { grid-template-columns: 1fr; } }
@media (min-width: 769px) and (max-width: 1024px) { .il-grid--3, .il-grid--4 { grid-template-columns: repeat(2, 1fr); } }
.il-text-center { text-align: center; }

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */
.il-btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.8em 1.8em;
  font-family: var(--il-font-body); font-size: 1rem;
  font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent;
  border-radius: 0; cursor: pointer; box-shadow: none;
  background: var(--il-salbei); color: var(--il-weiss); border-color: var(--il-salbei);
  transition: all var(--il-transition); line-height: 1.2;
}
.il-btn:hover { background: var(--il-salbei-hover); border-color: var(--il-salbei-hover); color: var(--il-weiss); }
.il-btn--primary { background: var(--il-cta); color: var(--il-weiss); border-color: var(--il-cta); }
.il-btn--primary:hover { background: var(--il-cta-hover); border-color: var(--il-cta-hover); color: var(--il-weiss); }
/* Outline-Varianten sind jetzt gefüllte Salbei-Buttons (dünne Ränder wären auf Leinen zu schwach) */
.il-btn--outline, .il-btn--outline-dark { background: var(--il-salbei); color: var(--il-weiss); border-color: var(--il-salbei); }
.il-btn--outline:hover, .il-btn--outline-dark:hover { background: var(--il-salbei-hover); border-color: var(--il-salbei-hover); color: var(--il-weiss); }
.il-btn--small { padding: 0.5em 1.2em; font-size: 1rem; }

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
.il-footer { background: var(--il-kohle); color: var(--il-leinen); padding: var(--il-space-xl) 0 var(--il-space-md); }
.il-footer a { color: var(--il-leinen); text-decoration: none; transition: color var(--il-transition); }
.il-footer a:hover { color: var(--il-gold); text-decoration: none; }
.il-footer h1, .il-footer h2, .il-footer h3, .il-footer h4, .il-footer h5, .il-footer h6 { color: var(--il-leinen); }

.il-footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: var(--il-space-xl); padding-bottom: var(--il-space-lg); border-bottom: 1px solid var(--il-gold); }
.il-footer__brand-name { font-family: var(--il-font-heading); font-size: var(--il-text-2xl); font-weight: 700; margin-bottom: var(--il-space-xs); }
.il-footer__brand-sub { font-family: var(--il-font-accent); font-style: italic; color: var(--il-gold); font-size: var(--il-text-sm); margin-bottom: var(--il-space-md); }
.il-footer__social { display: flex; gap: var(--il-space-sm); margin-top: var(--il-space-sm); }
.il-footer__social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--il-gold); border-radius: 50%; transition: all var(--il-transition); }
.il-footer__social a:hover { background: transparent; border-color: var(--il-gold); color: var(--il-gold); }
.il-footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.il-footer__info h4 { font-family: var(--il-font-heading); font-size: var(--il-text-xl); color: var(--il-leinen); margin-bottom: var(--il-space-sm); }
.il-footer__hours { list-style: none; padding: 0; margin: 0; font-size: var(--il-text-sm); line-height: 2; }
.il-footer__hours strong { display: inline-block; min-width: 120px; }

.il-footer__newsletter { padding: var(--il-space-lg) 0; border-bottom: 1px solid var(--il-gold); }
.il-footer__newsletter-inner { display: flex; align-items: center; gap: var(--il-space-md); flex-wrap: wrap; }
.il-footer__newsletter p { margin: 0; font-size: var(--il-text-sm); flex: 1; min-width: 200px; }
.il-footer__newsletter-form { display: flex; gap: 0; flex: 1; min-width: 280px; max-width: 420px; }
.il-footer__newsletter-form input[type="email"] { flex: 1; padding: 0.7em 1em; border: 1px solid var(--il-gold); border-right: none; border-radius: 0; background: rgba(243,238,228,0.08); color: var(--il-leinen); font-family: var(--il-font-body); font-size: var(--il-text-sm); }
.il-footer__newsletter-form input[type="email"]::placeholder { color: rgba(243,238,228,0.7); }
.il-footer__newsletter-form input[type="email"]:focus { outline: none; border-color: var(--il-gold); background: rgba(243,238,228,0.12); }
.il-footer__newsletter-form button { padding: 0.7em 1.5em; background: var(--il-salbei); color: var(--il-weiss); border: 1px solid var(--il-salbei); border-radius: 0; font-family: var(--il-font-body); font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; transition: background var(--il-transition); }
.il-footer__newsletter-form button:hover { background: var(--il-salbei-hover); border-color: var(--il-salbei-hover); }

.il-footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--il-space-md); font-size: var(--il-text-xs); opacity: 0.7; flex-wrap: wrap; gap: var(--il-space-sm); }
.il-footer__legal { display: flex; gap: var(--il-space-md); }

@media (max-width: 768px) {
  .il-footer__top { grid-template-columns: 1fr; gap: var(--il-space-lg); }
  .il-footer__newsletter-inner { flex-direction: column; align-items: stretch; }
  .il-footer__newsletter-form { max-width: 100%; }
  .il-footer__bottom { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   7. HERO
   ========================================================================== */
.il-hero { position: relative; min-height: 70vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--il-kohle); }
.il-hero--full { min-height: 85vh; }
.il-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.il-hero__bg::after { content: ''; position: absolute; inset: 0; background: rgba(52,51,49,0.55); }
.il-hero__content { position: relative; z-index: 1; text-align: center; padding: var(--il-space-xl) var(--il-space-md); max-width: 800px; }
.il-hero__title { font-family: var(--il-font-heading); font-size: var(--il-text-hero); color: var(--il-leinen); margin-bottom: var(--il-space-sm); }
.il-hero__subtitle { font-family: var(--il-font-accent); font-size: var(--il-text-2xl); font-style: italic; color: var(--il-leinen); margin-bottom: var(--il-space-lg); }
.il-hero__actions { display: flex; gap: var(--il-space-sm); justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   8. TRUST BAR
   ========================================================================== */
.il-trust { background: var(--il-sand); padding: var(--il-space-sm) 0; }
.il-trust__inner { display: flex; justify-content: center; align-items: center; gap: var(--il-space-lg); flex-wrap: wrap; font-size: var(--il-text-sm); color: var(--il-kohle); }
.il-trust__item { display: flex; align-items: center; gap: 0.5em; white-space: nowrap; }

/* ==========================================================================
   9. CARDS
   ========================================================================== */
.il-card { background: var(--il-weiss); border-top: 3px solid var(--il-akzent); border-radius: 0; overflow: hidden; box-shadow: none; transition: all var(--il-transition); display: flex; flex-direction: column; }
.il-card:hover { box-shadow: none; transform: translateY(-3px); }
.il-card__image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.il-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--il-transition-slow); }
.il-card:hover .il-card__image img { transform: scale(1.05); }
.il-card__badge { position: absolute; top: var(--il-space-sm); right: var(--il-space-sm); padding: 0.3em 0.8em; border-radius: 0; font-size: var(--il-text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.il-card__badge--buchbar { background: var(--il-pflaume); color: var(--il-weiss); }
.il-card__badge--wenige { background: var(--il-rost-hover); color: var(--il-weiss); }
.il-card__badge--ausgebucht { background: var(--il-kohle); color: var(--il-weiss); }
.il-card__body { padding: var(--il-space-md); flex: 1; display: flex; flex-direction: column; }
.il-card__meta { font-size: var(--il-text-sm); color: var(--il-pflaume); font-weight: 600; margin-bottom: var(--il-space-xs); }
.il-card__title { font-family: var(--il-font-heading); font-size: var(--il-text-xl); margin-bottom: var(--il-space-xs); color: var(--il-pflaume); }
.il-card__desc { font-size: var(--il-text-sm); color: var(--il-muted); margin-bottom: var(--il-space-md); flex: 1; }
.il-card__footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.il-card__price { font-family: var(--il-font-heading); font-size: var(--il-text-xl); font-weight: 700; color: var(--il-pflaume); }
.il-card__price small { font-size: var(--il-text-xs); font-weight: 400; font-family: var(--il-font-body); color: var(--il-muted); display: block; }

/* ==========================================================================
   10. KURS-ARCHIV WEICHE
   ========================================================================== */
.il-kurs-weiche { display: grid; grid-template-columns: 1fr 1fr; gap: var(--il-space-lg); margin-bottom: var(--il-space-xl); }
.il-kurs-weiche__item { position: relative; border-radius: 0; overflow: hidden; min-height: 350px; display: flex; align-items: flex-end; text-decoration: none; transition: transform var(--il-transition); }
.il-kurs-weiche__item:hover { transform: scale(1.02); }
.il-kurs-weiche__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.il-kurs-weiche__item::after { content: ''; position: absolute; inset: 0; background: rgba(52,51,49,0.5); }
.il-kurs-weiche__content { position: relative; z-index: 1; padding: var(--il-space-lg); width: 100%; }
.il-kurs-weiche__label { font-family: var(--il-font-heading); font-size: var(--il-text-3xl); color: var(--il-leinen); margin-bottom: var(--il-space-sm); }
.il-kurs-weiche__cta { color: var(--il-weiss); font-weight: 600; font-size: var(--il-text-lg); }
@media (max-width: 768px) { .il-kurs-weiche { grid-template-columns: 1fr; } .il-kurs-weiche__item { min-height: 250px; } }

/* ==========================================================================
   11. SPLIT SECTION
   ========================================================================== */
.il-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 450px; }
.il-split__image { overflow: hidden; }
.il-split__image img { width: 100%; height: 100%; object-fit: cover; }
.il-split__content { display: flex; flex-direction: column; justify-content: center; padding: var(--il-space-xl); }
@media (max-width: 768px) { .il-split { grid-template-columns: 1fr; } .il-split__content { padding: var(--il-space-lg) var(--il-space-md); } }

/* ==========================================================================
   12. TESTIMONIAL
   ========================================================================== */
.il-testimonial { text-align: center; padding: var(--il-space-lg); max-width: 700px; margin: 0 auto; }
.il-testimonial__text { font-family: var(--il-font-accent); font-size: var(--il-text-2xl); font-style: italic; color: var(--il-kohle); margin-bottom: var(--il-space-md); line-height: 1.6; }
.il-testimonial__text::before { content: '\201E'; display: block; font-size: 3rem; color: var(--il-pflaume); line-height: 1; margin-bottom: var(--il-space-xs); }
.il-testimonial__author { font-size: var(--il-text-sm); font-weight: 600; color: var(--il-pflaume); }
.il-testimonial__context { font-size: var(--il-text-xs); color: var(--il-muted); }

/* ==========================================================================
   13. FORMS
   ========================================================================== */
.il-form label { display: block; font-size: var(--il-text-sm); font-weight: 600; margin-bottom: 0.3em; color: var(--il-kohle); }
.il-form input[type="text"], .il-form input[type="email"], .il-form input[type="tel"],
.il-form select, .il-form textarea { width: 100%; padding: 0.75em 1em; border: 1px solid rgba(52,51,49,0.6); border-radius: 0; font-family: var(--il-font-body); font-size: var(--il-text-base); color: var(--il-kohle); background: var(--il-weiss); transition: border-color var(--il-transition); }
.il-form input:focus, .il-form select:focus, .il-form textarea:focus { outline: 2px solid var(--il-pflaume); outline-offset: 1px; border-color: var(--il-pflaume); }
.il-form textarea { min-height: 150px; resize: vertical; }

/* ==========================================================================
   14. WOOCOMMERCE
   ========================================================================== */
.woocommerce ul.products li.product { border-radius: 0; overflow: hidden; box-shadow: none; transition: all var(--il-transition); background: var(--il-weiss); border-top: 3px solid var(--il-akzent); }
.woocommerce ul.products li.product:hover { box-shadow: none; transform: translateY(-3px); }
.woocommerce ul.products li.product .price { color: var(--il-pflaume) !important; font-family: var(--il-font-heading); font-size: var(--il-text-xl) !important; }
.woocommerce ul.products li.product h2.woocommerce-loop-product__title { font-family: var(--il-font-heading); font-size: var(--il-text-lg); color: var(--il-pflaume); padding: 0.5em 1em 0; }
.woocommerce ul.products li.product a:not(.button) { color: var(--il-kohle); text-decoration: none; font-weight: inherit; }
/* Übrige Woo-Buttons: ruhig in Salbei */
.woocommerce ul.products li.product .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { background: var(--il-salbei) !important; color: var(--il-weiss) !important; border-radius: 0 !important; box-shadow: none !important; font-family: var(--il-font-body); font-weight: 700 !important; letter-spacing: 0.05em; text-transform: uppercase; font-size: 1rem !important; transition: background var(--il-transition); }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover { background: var(--il-salbei-hover) !important; color: var(--il-weiss) !important; }
/* Hauptaktionen: CTA-Farbe (Rost, auf Sand-/Trauer-Seiten Salbei bzw. Pflaume) */
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce a.button.checkout-button, .woocommerce a.checkout-button, .woocommerce button.button.single_add_to_cart_button, .woocommerce .single_add_to_cart_button.button,
.woocommerce #payment #place_order, #place_order { background: var(--il-cta) !important; color: var(--il-weiss) !important; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.woocommerce a.button.checkout-button:hover, .woocommerce a.checkout-button:hover, .woocommerce button.button.single_add_to_cart_button:hover, .woocommerce .single_add_to_cart_button.button:hover,
.woocommerce #payment #place_order:hover, #place_order:hover { background: var(--il-cta-hover) !important; color: var(--il-weiss) !important; }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info { border-top-color: var(--il-akzent); }
.woocommerce .woocommerce-message::before, .woocommerce .woocommerce-info::before { color: var(--il-pflaume); }

/* ==========================================================================
   15. 404
   ========================================================================== */
.il-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--il-space-xl) var(--il-space-md); }
.il-404__code { font-family: var(--il-font-heading); font-size: clamp(5rem,15vw,10rem); font-weight: 700; color: var(--il-sand); line-height: 1; margin-bottom: var(--il-space-sm); }
.il-404__title { font-size: var(--il-text-3xl); margin-bottom: var(--il-space-sm); }
.il-404__text { font-size: var(--il-text-lg); color: var(--il-muted); margin-bottom: var(--il-space-lg); max-width: 500px; margin-left: auto; margin-right: auto; }
.il-404__actions { display: flex; gap: var(--il-space-sm); justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   16. SINGLE KURS
   ========================================================================== */
.il-single-kurs__header { background: var(--il-flaeche); border-top: 3px solid var(--il-akzent); color: var(--il-kohle); padding: var(--il-space-xl) 0; margin-bottom: var(--il-space-xl); }
.il-single-kurs__header-inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--il-space-xl); align-items: center; }
.il-single-kurs__image { border-radius: 0; overflow: hidden; }
.il-single-kurs__image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.il-single-kurs__info h1 { color: var(--il-pflaume); margin-bottom: var(--il-space-md); }
.il-single-kurs__meta-grid { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; font-size: var(--il-text-sm); color: var(--il-kohle); margin-bottom: var(--il-space-md); }
.il-single-kurs__meta-label { font-weight: 600; color: var(--il-pflaume); }
.il-single-kurs__price-box { background: var(--il-weiss); border-top: 1px solid var(--il-gold); border-radius: 0; padding: var(--il-space-md); margin-top: var(--il-space-md); }
.il-single-kurs__price { font-family: var(--il-font-heading); font-size: var(--il-text-3xl); color: var(--il-pflaume); margin-bottom: var(--il-space-xs); }
.il-single-kurs__includes { font-size: var(--il-text-sm); color: var(--il-kohle); }
@media (max-width: 768px) { .il-single-kurs__header-inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   17. PRINT
   ========================================================================== */
@media print {
  .il-side, .il-topbar, .il-side-overlay, .il-footer { display: none !important; }
  body.il-has-sidemenu { padding-left: 0 !important; padding-top: 0 !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
}

/* ===== V2 (22.09.2026) ===== */

/* --------------------------------------------------------------------------
   Footer: 4-Spalten-Grid
   -------------------------------------------------------------------------- */
.il-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--il-space-lg);
  padding-bottom: var(--il-space-lg);
  border-bottom: 1px solid var(--il-gold);
  margin-bottom: var(--il-space-md);
}
.il-footer__col h4 {
  font-family: var(--il-font-heading);
  font-size: var(--il-text-xl);
  color: var(--il-leinen);
  margin-bottom: var(--il-space-sm);
}
.il-footer__col p { font-size: var(--il-text-sm); margin-bottom: var(--il-space-sm); }
.il-footer__col ul { list-style: none; margin: 0; padding: 0; }
.il-footer__col ul li { margin-bottom: 0.5em; font-size: var(--il-text-sm); }
.il-footer__col address { font-style: normal; font-size: var(--il-text-sm); }
@media (max-width: 900px) { .il-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .il-footer__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Filterleiste (Kurse)
   -------------------------------------------------------------------------- */
.il-filter {
  display: flex; flex-wrap: wrap; gap: var(--il-space-sm);
  justify-content: center; padding: var(--il-space-md) 0 var(--il-space-lg);
}
.il-filter { border-bottom: 1px solid var(--il-gold); }
.il-filter a {
  display: inline-block; padding: 0.5em 1.2em;
  border: 1px solid var(--il-gold); border-radius: 0;
  font-size: var(--il-text-sm); font-weight: 600;
  color: var(--il-kohle); text-decoration: none;
  transition: all var(--il-transition);
}
.il-filter a:hover { background: var(--il-sand); border-color: var(--il-gold); color: var(--il-kohle); }
.il-filter a.is-active { background: var(--il-pflaume); border-color: var(--il-pflaume); color: var(--il-weiss); }

/* --------------------------------------------------------------------------
   Card: Tags-Zeile
   -------------------------------------------------------------------------- */
.il-card__tags {
  font-size: var(--il-text-xs); text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--il-kohle);
  margin-bottom: var(--il-space-xs);
}
/* Ort-Zeile auf der Card (nur bei kurs_ort != flow-raum, siehe inc/kurs-card.php) */
.il-card__ort {
  font-size: var(--il-text-xs); color: var(--il-pflaume);
  margin: 0 0 var(--il-space-xs);
}

/* --------------------------------------------------------------------------
   Tabelle (schlicht, Zebra, responsive)
   -------------------------------------------------------------------------- */
.il-table { width: 100%; border-collapse: collapse; font-size: var(--il-text-sm); background: var(--il-weiss); border-top: 3px solid var(--il-akzent); }
.il-table th, .il-table td { text-align: left; padding: 0.75em 1em; border-bottom: 1px solid var(--il-gold); }
.il-table thead th { font-family: var(--il-font-heading); font-weight: 700; color: var(--il-kohle); background: var(--il-sand); }
.il-table tbody tr:nth-child(even) { background: rgba(216,201,181,0.25); }
@media (max-width: 640px) {
  /* Zeilen als Karten umbrechen. Nutzt data-label auf <td>, sofern vorhanden
     (optionale Verbesserung); ohne data-label bleibt die Zeile trotzdem lesbar. */
  .il-table thead { display: none; }
  .il-table, .il-table tbody, .il-table tr, .il-table td { display: block; width: 100%; }
  .il-table tr { margin-bottom: var(--il-space-sm); border: 1px solid var(--il-gold); border-top: 3px solid var(--il-akzent); border-radius: 0; background: var(--il-weiss); }
  .il-table td { border-bottom: none; padding: 0.5em 1em; }
  .il-table td[data-label]::before {
    content: attr(data-label); display: block; font-weight: 700;
    font-size: var(--il-text-xs); text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--il-kohle); margin-bottom: 0.2em;
  }
}

/* Variante: Flow-Raum-Pauschalen (letzte Spalte = Anfragen-Button, nicht zentriert) */
.il-table--pauschalen td:last-child { text-align: left; }
@media (max-width: 640px) { .il-table--pauschalen td:last-child { padding-top: 0.2em; } }

/* Variante: Materialliste (zweispaltig, Preis rechtsbündig auf Desktop) */
.il-table--material td:last-child, .il-table--material th:last-child { text-align: right; }
@media (max-width: 640px) { .il-table--material td:last-child { text-align: left; } }

/* --------------------------------------------------------------------------
   Icon-Liste (z. B. Ausstattung Flow Raum)
   -------------------------------------------------------------------------- */
.il-iconlist {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--il-space-sm) var(--il-space-md);
}
.il-iconlist li { position: relative; padding-left: 1.6em; font-size: var(--il-text-sm); }
.il-iconlist li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--il-pflaume); font-weight: 700; }
@media (max-width: 900px) { .il-iconlist { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .il-iconlist { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Page Hero: dunkle Kopfsektion für klassische Seiten (H1 + Sub)
   -------------------------------------------------------------------------- */
.il-page-hero {
  background-color: var(--il-flaeche); color: var(--il-kohle);
  border-top: 3px solid var(--il-akzent);
  padding: var(--il-space-section) 0 var(--il-space-lg); text-align: center;
}
.il-page-hero h1 { color: var(--il-pflaume); }
.il-page-hero p {
  font-family: var(--il-font-accent); font-style: italic;
  font-size: var(--il-text-lg); color: var(--il-kohle);
  max-width: 700px; margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Hinweisblock (heller Kasten, linke Goldlinie)
   -------------------------------------------------------------------------- */
.il-note {
  background: rgba(178,154,106,0.14); border-left: 3px solid var(--il-gold);
  padding: var(--il-space-sm) var(--il-space-md);
  font-size: var(--il-text-sm); color: var(--il-kohle);
  margin: var(--il-space-md) 0;
}
/* Auf Sand-Flächen (il-section--dark): Weiß halbtransparent, Kohle-Schrift */
.il-section--dark .il-note {
  background: rgba(251,249,245,0.55);
  color: var(--il-kohle);
}

/* --------------------------------------------------------------------------
   Leerzustand Kursliste
   -------------------------------------------------------------------------- */
.il-kurse-leer { text-align: center; padding: var(--il-space-xl) 0; }
.il-kurse-leer h3 { margin-bottom: var(--il-space-xs); }
.il-kurse-leer p { color: var(--il-kohle); font-size: var(--il-text-lg); margin-bottom: var(--il-space-md); }

/* --------------------------------------------------------------------------
   Termine-Liste (Kursblock-Einzeltermine)
   -------------------------------------------------------------------------- */
.il-termine { list-style: none; margin: 0; padding: 0; }
.il-termine li {
  display: flex; justify-content: space-between; gap: var(--il-space-sm);
  padding: 0.4em 0; border-bottom: 1px solid var(--il-gold);
  font-size: var(--il-text-sm);
}
.il-termine li:last-child { border-bottom: none; }
.il-termine time, .il-termine .il-termine__datum { font-family: 'Courier New', monospace; color: var(--il-pflaume); }

/* --------------------------------------------------------------------------
   Button: volle Breite
   -------------------------------------------------------------------------- */
.il-btn--block { display: flex; width: 100%; justify-content: center; text-align: center; }

/* --------------------------------------------------------------------------
   Prose: Fließtext auf klassischen Seiten
   -------------------------------------------------------------------------- */
.il-prose { max-width: 760px; margin: 0 auto; font-size: var(--il-text-base); line-height: 1.8; }
.il-prose h2, .il-prose h3 { margin-top: var(--il-space-lg); }
.il-prose p { margin-bottom: var(--il-space-md); }
.il-prose ul, .il-prose ol { margin: 0 0 var(--il-space-md); padding-left: 1.4em; }

/* --------------------------------------------------------------------------
   CTA-Zeile: zwei Buttons nebeneinander
   -------------------------------------------------------------------------- */
.il-cta-row { display: flex; gap: var(--il-space-sm); justify-content: center; flex-wrap: wrap; }
@media (max-width: 560px) {
  .il-cta-row { flex-direction: column; align-items: stretch; }
  .il-cta-row .il-btn { justify-content: center; }
}

/* --------------------------------------------------------------------------
   Portfolio-Grid (Werke)
   -------------------------------------------------------------------------- */
.il-portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--il-space-md); }
.il-portfolio figure { margin: 0; overflow: hidden; border-radius: 0; box-shadow: none; }
.il-portfolio img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform var(--il-transition-slow); }
.il-portfolio figure:hover img { transform: scale(1.05); }
.il-portfolio figcaption { padding: 0.6em 0.2em 0; font-size: var(--il-text-xs); color: var(--il-kohle); }
@media (max-width: 900px) { .il-portfolio { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .il-portfolio { grid-template-columns: 1fr; } }

/* ==========================================================================
   5. SEITENMENÜ (Desktop: feste Seitenleiste links, mobil: Off-Canvas)
   ========================================================================== */
.il-hellblau { color: var(--il-hellblau) !important; }
.il-page-hero h1.il-hellblau, .il-page-hero .il-hellblau { color: var(--il-hellblau) !important; }
.il-page-hero .il-kicker {
  display: block; margin: 0 0 var(--il-space-xs);
  font-family: var(--il-font-body); font-size: var(--il-text-xs); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--il-kohle);
}

.il-skip-link { position: absolute; left: -9999px; top: 0; z-index: 3000; background: var(--il-weiss); color: var(--il-kohle); padding: 0.6em 1em; }
.il-skip-link:focus { left: 8px; top: 8px; }
.il-main-anchor { height: 0; overflow: hidden; }

/* Basis (mobil zuerst) */
body.il-has-sidemenu { padding-top: var(--il-topbar-h); overflow-x: clip; }
body.il-has-sidemenu.il-menu-open { overflow: hidden; }

.il-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--il-topbar-h);
  display: grid; grid-template-columns: 48px 1fr 48px; align-items: center;
  padding: 0 var(--il-space-sm);
  background: var(--il-sand); border-bottom: 1px solid var(--il-gold);
}
body.admin-bar .il-topbar { top: var(--il-admin-bar, 0px); }
.il-topbar__brand { justify-self: center; font-family: var(--il-font-heading); font-weight: 700; font-size: var(--il-text-lg); color: var(--il-kohle); text-decoration: none; }
.il-topbar__cart { justify-self: end; display: flex; }
.il-topbar .il-header__cart { color: var(--il-kohle); }

.il-header__toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 8px; background: none; border: none; cursor: pointer; }
.il-header__toggle span { display: block; width: 100%; height: 2px; background: var(--il-kohle); transition: all var(--il-transition); transform-origin: center; }
.il-header__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.il-header__toggle.is-active span:nth-child(2) { opacity: 0; }
.il-header__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.il-header__cart { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--il-kohle); text-decoration: none; transition: color var(--il-transition); }
.il-header__cart:hover { color: var(--il-pflaume); }
.il-header__cart-count { position: absolute; top: 4px; right: 2px; background: var(--il-kohle); color: var(--il-weiss); font-size: 0.65rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.il-side-overlay { position: fixed; inset: 0; z-index: 1999; background: rgba(52,51,49,0.55); opacity: 0; transition: opacity var(--il-transition); }
.il-side-overlay.is-visible { opacity: 1; }

.il-side {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 2000;
  width: min(86vw, 320px); overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column;
  background: var(--il-sand); color: var(--il-kohle);
  border-right: 1px solid var(--il-gold);
  padding: var(--il-space-md);
  transform: translateX(-100%); visibility: hidden;
  transition: transform var(--il-transition), visibility 0s linear 0.3s;
}
.il-side.is-open { transform: translateX(0); visibility: visible; transition: transform var(--il-transition), visibility 0s; }
body.admin-bar .il-side { top: var(--il-admin-bar, 0px); }

.il-side__close { align-self: flex-end; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -0.5rem -0.5rem 0 0; background: none; border: none; color: var(--il-kohle); cursor: pointer; }
.il-side__logo { margin-bottom: var(--il-space-md); }
.il-side__logo a { display: flex; align-items: center; gap: 0.75rem; color: var(--il-kohle); text-decoration: none; }
.il-side__logo img { height: 44px; width: auto; }
.il-header__logo-text { font-family: var(--il-font-heading); font-size: var(--il-text-xl); font-weight: 700; line-height: 1.2; color: var(--il-kohle); }

.il-side__menu, .il-side__submenu { list-style: none; margin: 0; padding: 0; }
.il-side__item { border-bottom: 1px solid rgba(52,51,49,0.15); }
.il-side__row { display: flex; align-items: stretch; }
.il-side__row > a, .il-side__submenu a {
  display: block; flex: 1; padding: 0.7em 0.25em;
  color: var(--il-kohle); text-decoration: none;
  font-size: var(--il-text-sm); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  transition: color var(--il-transition);
}
/* Hover/aktiv: Kohle-Schrift, 2px Salbei-Linie nur unter dem Text (nicht die ganze Zeile) */
.il-side__row > a:hover, .il-side__submenu a:hover, .il-side a.is-active, .il-side__foot > a:hover, .il-side__foot > a.is-active {
  color: var(--il-kohle);
  text-decoration: underline; text-decoration-color: var(--il-salbei); text-decoration-thickness: 2px; text-underline-offset: 0.4em;
}
.il-side__toggle { flex: 0 0 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: none; color: var(--il-kohle); cursor: pointer; }
.il-side__toggle:hover { color: var(--il-kohle); }
.il-side__toggle svg { transition: transform var(--il-transition); }
.il-side__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.il-side__submenu { display: none; padding: 0 0 0.5em 0.9em; }
.il-side__submenu.is-open { display: block; }
.il-side__submenu a { font-size: var(--il-text-xs); font-weight: 400; letter-spacing: 0.06em; padding: 0.45em 0.25em; }
.il-side__submenu a.is-active { font-weight: 700; }

.il-side a:focus-visible, .il-side button:focus-visible, .il-topbar a:focus-visible, .il-topbar button:focus-visible {
  outline: 2px solid var(--il-pflaume); outline-offset: 2px; border-radius: 0;
}

.il-side__foot { margin-top: auto; padding-top: var(--il-space-md); display: flex; flex-direction: column; gap: 0.15em; }
.il-side__foot > a { color: var(--il-kohle); font-size: var(--il-text-sm); text-decoration: none; padding: 0.3em 0.25em; }
.il-side__cart { display: none; margin-top: 0.25em; }

/* Desktop: feste Seitenleiste */
@media (min-width: 1024px) {
  body.il-has-sidemenu { padding-top: 0; padding-left: var(--il-side-w); }
  .il-topbar, .il-side-overlay, .il-side__close { display: none !important; }
  .il-side {
    width: var(--il-side-w); transform: none; visibility: visible;
    padding: var(--il-space-lg) var(--il-space-md) var(--il-space-md);
    transition: none;
  }
  .il-side__menu { text-align: right; }
  .il-side__row > a { text-align: right; }
  .il-side__toggle { order: -1; }
  .il-side__submenu { padding: 0 0.25em 0.5em 0; text-align: right; }
  .il-side__logo { margin-bottom: var(--il-space-lg); }
  .il-side__logo a { justify-content: flex-end; }
  .il-side__foot { align-items: flex-end; }
  .il-side__cart { display: block; }
  .il-side__foot .il-header__cart { justify-content: flex-end; }
}

@media (max-width: 1023.98px) {
  .il-side__cart { display: none; }
  html { scroll-padding-top: var(--il-topbar-h); }
}

/* 01.10.2026 Irena-Texte V2 */
.il-hellblau-dunkel { color: var(--il-pflaume) !important; }
.il-prose p.il-lead { font-weight: 600; font-size: 1.1em; }
.il-prose p.il-termin { margin-bottom: .75em; }
.il-prose p br + a[href^="tel:"], .il-prose a[href^="tel:"] { white-space: nowrap; }

/* 01.10.2026: Rasterzellen dürfen schrumpfen, Bilder nie breiter als ihre Zelle (Flow-Raum-Galerie lief auf 2764 px über) */
.il-grid > * { min-width: 0; }
.il-grid img, .il-prose figure img { max-width: 100%; height: auto; }
.il-grid figure { margin: 0; }
/* 01.10.2026: lange Wörter in Überschriften (z. B. „kunst-/kreativtherapeutisches") dürfen mobil umbrechen */
.il-page-hero h1, .il-prose h2 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 600px) { .il-page-hero h1 { font-size: clamp(1.35rem, 6.2vw, 2.4rem); line-height: 1.2; } }
/* 01.10.2026: Hero-Unterzeile am Desktop besser lesbar */
@media (min-width: 769px) { .il-page-hero .il-page-hero__sub { font-size: 1.35rem; line-height: 1.4; max-width: 46rem; margin-left: auto; margin-right: auto; } }

/* ===== FARBKONZEPT 07.10.2026 (Änderungsliste Nr. 5–8) ===== */

/* --- Seitenbezogene Variablen (Body-Klassen aus functions.php) --- */
body { --il-akzent: var(--il-gold); --il-flaeche: var(--il-weiss); --il-cta: var(--il-rost); --il-cta-hover: var(--il-rost-hover); --il-link: var(--il-rost); --il-link-hover: var(--il-rost-hover); }
body.il-akzent--salbei  { --il-akzent: var(--il-salbei); }
body.il-akzent--pflaume { --il-akzent: var(--il-pflaume); }
body.il-akzent--rost    { --il-akzent: var(--il-rost); }
body.il-akzent--kohle   { --il-akzent: var(--il-kohle); }
body.il-akzent--gold    { --il-akzent: var(--il-gold); }
body.il-flaeche--weiss  { --il-flaeche: var(--il-weiss); }
body.il-flaeche--sand   { --il-flaeche: var(--il-sand); --il-cta: var(--il-salbei); --il-cta-hover: var(--il-salbei-hover); }
/* Trauerseite: gar kein Rost */
body.il-seite--trauer   { --il-cta: var(--il-pflaume); --il-cta-hover: var(--il-pflaume-hover); --il-link: var(--il-pflaume); --il-link-hover: var(--il-pflaume-hover); }

/* --- Überschriften: Pflaume (Elementor nur ohne Inline-/Element-Farbe, daher kein !important) --- */
h1, h2, h3, h4, h5, h6,
.il-page-hero h1, .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .page-content h1, .page-content h2, .page-content h3, .page-content h4 { color: var(--il-pflaume); }
body .elementor-widget-heading .elementor-heading-title { color: var(--il-pflaume); }
.il-hellblau, .il-page-hero h1.il-hellblau, .il-page-hero .il-hellblau, .il-hellblau-dunkel { color: var(--il-pflaume) !important; }
/* Ausnahme: Footer (Pflaume auf Kohle wäre unlesbar) */
.il-footer h1, .il-footer h2, .il-footer h3, .il-footer h4, .il-footer h5, .il-footer h6, .il-footer__col h4 { color: var(--il-leinen); }

/* --- Kicker: Kohle, kurzer Strich in der Akzentfarbe --- */
.il-kicker, .il-page-hero .il-kicker { color: var(--il-kohle); }
.il-kicker::before { content: ""; display: inline-block; width: 24px; height: 2px; margin-right: 0.75em; vertical-align: middle; background: var(--il-akzent); }

/* --- Inhaltslinks: fett, unterstrichen, Link-Farbe --- */
.il-prose a:not(:where(.il-btn, .button, .elementor-button)),
.entry-content a:not(:where(.il-btn, .button, .elementor-button)),
.page-content a:not(:where(.il-btn, .button, .elementor-button)),
.il-section a:not(:where(.il-btn, .button, .elementor-button)) {
  color: var(--il-link); font-weight: 700; text-decoration: underline; text-underline-offset: 0.18em;
}
.il-prose a:not(:where(.il-btn, .button, .elementor-button)):hover,
.entry-content a:not(:where(.il-btn, .button, .elementor-button)):hover,
.page-content a:not(:where(.il-btn, .button, .elementor-button)):hover,
.il-section a:not(:where(.il-btn, .button, .elementor-button)):hover { color: var(--il-link-hover); text-decoration: underline; }
/* Auf Sand-Flächen: Kohle statt Rost */
body.il-flaeche--sand .il-page-hero a:not(:where(.il-btn, .button, .elementor-button)),
.il-section--dark a:not(:where(.il-btn, .button, .elementor-button)),
.il-section--light a:not(:where(.il-btn, .button, .elementor-button)),
.il-section--medium a:not(:where(.il-btn, .button, .elementor-button)) { color: var(--il-kohle); }
body.il-flaeche--sand .il-page-hero a:not(:where(.il-btn, .button, .elementor-button)):hover,
.il-section--dark a:not(:where(.il-btn, .button, .elementor-button)):hover,
.il-section--light a:not(:where(.il-btn, .button, .elementor-button)):hover,
.il-section--medium a:not(:where(.il-btn, .button, .elementor-button)):hover { color: var(--il-pflaume); }
/* Komponenten, die keine Fließtext-Links sind */
.il-filter a, a.il-kurs-weiche__item, .il-footer a { text-decoration: none; font-weight: 600; }
.il-filter a { color: var(--il-kohle); }
.il-filter a:hover { color: var(--il-kohle); text-decoration: none; }
.il-filter a.is-active, .il-filter a.is-active:hover { color: var(--il-weiss); }
a.il-kurs-weiche__item, a.il-kurs-weiche__item:hover { color: var(--il-weiss); text-decoration: none; }
.il-footer a, .il-footer a:hover { font-weight: inherit; text-decoration: none; }
.il-footer a { color: var(--il-leinen); }
.il-footer a:hover { color: var(--il-gold); }

/* --- Buttons (Elementor: Farben bleiben aus den Elementor-Daten) --- */
.elementor-button { border-radius: 0; font-weight: 700; font-size: 1rem; box-shadow: none !important; text-shadow: none; }
.il-btn, .il-btn:hover, .il-btn--primary:hover { text-decoration: none; }
.il-section--dark .il-btn--primary, .il-section--light .il-btn--primary, .il-section--medium .il-btn--primary { background: var(--il-salbei); border-color: var(--il-salbei); }
.il-section--dark .il-btn--primary:hover, .il-section--light .il-btn--primary:hover, .il-section--medium .il-btn--primary:hover { background: var(--il-salbei-hover); border-color: var(--il-salbei-hover); }
.il-footer .il-btn--outline { background: var(--il-salbei); color: var(--il-weiss); }

/* --- Trennlinien --- */
hr { border: 0; border-top: 1px solid var(--il-gold); background: none; }

/* --- Karten-Varianten: keine Schatten, eckig --- */
.il-card, .il-card:hover, .il-portfolio figure, .il-single-kurs__price-box, .elementor-widget-container .il-card { box-shadow: none; border-radius: 0; }

/* --- Hintergrundbild je Seite (Body-Klasse il-hat-hintergrund) --- */
body.il-hat-hintergrund { background-color: var(--il-leinen); }
body.il-hat-hintergrund::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--il-hintergrundbild) center/cover no-repeat; }
body.il-hat-hintergrund .site-main,
body.il-hat-hintergrund [data-elementor-type="wp-page"] {
  max-width: 1100px; margin: var(--il-space-lg) auto; padding: clamp(1.5rem, 4vw, 3.5rem);
  background: rgba(251,249,245,0.88); border-radius: 0; box-shadow: none;
}
body.il-hat-hintergrund .il-section:not(.il-section--dark):not(.il-section--light):not(.il-section--medium),
body.il-hat-hintergrund .il-page-hero { background: transparent; background-color: transparent; }
@media (max-width: 768px) {
  body.il-hat-hintergrund .site-main,
  body.il-hat-hintergrund [data-elementor-type="wp-page"] { background: rgba(251,249,245,0.94); margin: var(--il-space-sm) 0; padding: var(--il-space-md) var(--il-space-sm); }
}

/* Korrektur 07.10.: Button-Beschriftungen nie unterstrichen (Link-Regel griff über die Spezifität der Abschnitts-Selektoren) */
a.il-btn, a.il-btn:hover, a.il-btn:focus,
.il-section a.il-btn, .il-prose a.il-btn, .il-table a.il-btn { text-decoration: none; }

/* ===== 15.10.2026 (Auftrag Nr. 11 / 13) ===== */
/* Sprungmarken: Überschrift nicht unter der fest stehenden mobilen Kopfleiste verstecken */
.il-prose h2[id], .il-section[id], [id="termine"] { scroll-margin-top: 1.5rem; }
@media (max-width: 1023px) {
  .il-prose h2[id], .il-section[id], [id="termine"] { scroll-margin-top: calc(var(--il-topbar-h) + 1rem); }
}
/* Lange H1 (Coaching) auf dem Handy: Schrift verkleinern statt Text kürzen */
@media (max-width: 560px) {
  .il-page-hero h1 { font-size: clamp(1.6rem, 7vw, 2.25rem); overflow-wrap: break-word; hyphens: auto; }
}

/* ===== 15.10.2026 abends (Liste 15.10., Nr. 5 / 12 / 13 / 15 / 17 / 22) ===== */
/* Nr. 5: Kasten in Pflaume mit Leinen-Schrift, ohne Linie links */
.il-kasten--pflaume { background: var(--il-pflaume); color: var(--il-leinen); padding: 1.75rem 2rem; border: 0; }
.il-kasten--pflaume p { color: var(--il-leinen); margin: 0; }
/* Nr. 13: nur diese eine H3 in Rost (≥ 28 px, Kontrast 3,8:1 reicht für große Schrift) */
.il-prose h3.il-h3--rost { color: var(--il-rost); }
/* Nr. 12 / 17: Titelbild bzw. Hauptbild einer Seite, ganz zeigen, nicht anschneiden */
.il-titelbild { margin: 0; }
.il-titelbild img { display: block; width: 100%; height: auto; }
.il-titelbild--werk img { max-width: 720px; margin: 0 auto; object-fit: contain; }
.il-titelbild figcaption { padding-top: 0.6em; font-size: var(--il-text-sm); color: var(--il-kohle); text-align: center; }
.il-grid figure { margin: 0; }
.il-grid figure img { display: block; width: 100%; height: auto; }
/* Nr. 15: Terminblock direkt unter der Überschrift */
.il-terminblock .il-filter { margin-bottom: var(--il-space-md); }
/* Nr. 22: heller Textkasten im Startseiten-Kopf */
.elementor .il-hero-kasten {
  background-color: rgba(251, 249, 245, 0.88);
  border-radius: 8px;
  padding: 2.5rem 3rem;
  max-width: 820px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .elementor .il-hero-kasten { background-color: rgba(251, 249, 245, 0.94); padding: 1.75rem 1.25rem; margin: 0 1rem; }
}
/* Korrektur: Textkasten am Handy nicht breiter als der Bildschirm */
@media (max-width: 767px) {
  .elementor .il-hero-kasten { margin: 0 auto; max-width: calc(100% - 2rem); box-sizing: border-box; }
}

/* ===== 15./16.10.2026: Logo (Liste 15.10., Nr. 20) ===== */
.il-side__logo img.il-logo { width: 200px; max-width: 100%; height: auto; }
.il-topbar__brand { display: flex; align-items: center; }
.il-topbar__brand img.il-logo { width: 150px; height: auto; display: block; }
@media (max-width: 1023px) {
  :root { --il-topbar-h: 84px; } /* Logo am Handy mind. 140 px breit (2 : 1) braucht etwas mehr Höhe */
}

/* ===== Startseite „Nächste Kurse" (Steffen 16.10.): zentriert, Preis und Button auf einer Linie ===== */
.elementor-element-e7b2d91 .elementor-loop-container { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 2.5rem; }
.elementor-element-e7b2d91 .elementor-loop-container > .e-loop-item { flex: 0 1 300px; display: flex; }
.elementor-element-e7b2d91 .e-loop-item > .e-con { width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.elementor-element-e7b2d91 .e-loop-item .elementor-widget { width: 100%; text-align: center; }
.elementor-element-e7b2d91 .e-loop-item .elementor-element-c7be4bd { margin-top: auto; } /* Preis an den unteren Rand, Button folgt darunter */
@media (max-width: 767px) { .elementor-element-e7b2d91 .elementor-loop-container > .e-loop-item { flex-basis: 100%; } }

/* ===== Hintergrundbilder Nr. 23 / 24 (Liste 15.10.): Ausschnitt ===== */
body.page-id-185.il-hat-hintergrund::before { background-position: center 45%; } /* Für Einrichtungen: Fenster mittig */
body.page-id-160.il-hat-hintergrund::before { background-position: center 30%; } /* Trauer: Himmel und Berge, Wasser unten darf weg */

/* Startbild 16.10.2026 (Eingang mit Sofa und Bild an der Wand): Textkasten auf dem Desktop links, damit das Bild an der Wand frei bleibt */
@media (min-width: 1024px) {
  .elementor-element-d54d65e { align-items: flex-start !important; }
  .elementor .il-hero-kasten { max-width: 460px; margin: 3rem 0 0 3rem; padding: 2rem 2.25rem; }
  .elementor .il-hero-kasten .elementor-widget-heading .elementor-heading-title,
  .elementor .il-hero-kasten .elementor-widget-text-editor { text-align: left; }
  .elementor .il-hero-kasten .e-con { justify-content: flex-start !important; flex-wrap: wrap; }
}
@media (min-width: 1024px) {
  .elementor .il-hero-kasten .elementor-element.elementor-widget-text-editor,
  .elementor .il-hero-kasten .elementor-element.elementor-widget-text-editor p { text-align: left !important; }
}
@media (max-width: 1023px) {
  /* Handy/Tablet: Kasten unten über dem Boden, Irenas Bild an der Wand bleibt oben sichtbar */
  .elementor-element-d54d65e { justify-content: flex-end !important; padding-bottom: 1.25rem; }
}

/* Startseite Nr. 21 (Liste 15.10., geändert): Überzeile „Mal ganz ehrlich" im hellen Kasten */
.elementor .il-hero-kasten .il-kicker {
  display: block; margin: 0 0 0.5rem;
  font-family: var(--il-font-body); font-size: var(--il-text-xs); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--il-kohle);
}
@media (max-width: 1023px) { .elementor .il-hero-kasten .il-kicker { text-align: center; } }

/* ===== Formulare (Contact Form 7), 16.10.2026: sichtbare Beschriftungen, Gestaltung wie die Website ===== */
.wpcf7-form { max-width: 640px; }
.wpcf7-form p { margin: 0 0 1.1rem; }
.wpcf7-form label, .wpcf7-form .il-form__label { display: block; margin-bottom: 0.35rem; font-weight: 600; font-size: var(--il-text-sm); color: var(--il-kohle); }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"], .wpcf7-form input[type="date"], .wpcf7-form select, .wpcf7-form textarea {
  width: 100%; box-sizing: border-box; padding: 0.7em 0.9em; border: 1px solid rgba(52,51,49,0.6); border-radius: 0;
  font-family: var(--il-font-body); font-size: var(--il-text-base); color: var(--il-kohle); background: var(--il-weiss);
}
.wpcf7-form textarea { min-height: 160px; resize: vertical; }
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus { outline: 2px solid var(--il-pflaume); outline-offset: 1px; border-color: var(--il-pflaume); }
.wpcf7-form .il-form__check { font-size: var(--il-text-sm); }
.wpcf7-form .il-form__check label { display: inline; font-weight: 400; }
.wpcf7-form .wpcf7-list-item { margin: 0 1.25rem 0.35rem 0; }
.wpcf7-form .wpcf7-list-item label { display: inline; font-weight: 400; }
.wpcf7-form .il-form__hinweis { font-size: var(--il-text-xs); color: var(--il-kohle); margin-top: -0.5rem; }
.wpcf7-form input[type="submit"] {
  display: inline-block; padding: 0.85em 2em; border: 0; border-radius: 0; cursor: pointer;
  background: var(--il-cta); color: var(--il-weiss); font-family: var(--il-font-body); font-weight: 700; font-size: 1rem; letter-spacing: 0.02em;
}
.wpcf7-form input[type="submit"]:hover { background: var(--il-cta-hover); }
.wpcf7-form input[type="submit"]:disabled { opacity: 0.55; cursor: not-allowed; }
.wpcf7-form .wpcf7-not-valid-tip { color: var(--il-rost-hover); font-size: var(--il-text-sm); margin-top: 0.25rem; }
