/*
 Theme Name:   EventWerk Kadence Child
 Theme URI:    https://eventwerkcompany.de
 Description:  Kadence Child Theme für EventWerk Company - Premium Event Manager
 Author:       gestalträume
 Author URI:   https://gestaltraeume.de
 Template:     kadence
 Version:      2.8.0
 Text Domain:  eventwerk
 License:      GPL-2.0-or-later
*/

/* ===========================================
   EventWerk Company - Custom Styles
   Design System: 00-Design-System.md
   =========================================== */

/* --- CSS Custom Properties (Design Tokens v2) --- */
:root {
  /* Primary Accent */
  --ew-gold: #C9A961;
  --ew-gold-dark: #A8893F;
  --ew-gold-light: #E8D5A3;

  /* Neutral Palette (Warm) */
  --ew-text: #1A1A1A;
  --ew-text-secondary: #6B6B6B;
  --ew-text-muted: #999999;
  --ew-border: #E5E2DD;
  --ew-bg: #FAF9F7;
  --ew-surface: #FFFFFF;
  --ew-white: #FFFFFF;

  /* CTA */
  --ew-cta: #1A1A1A;
  --ew-cta-hover: #333333;
  --ew-cta-text: #FFFFFF;

  /* Feedback */
  --ew-success: #2D7A4F;
  --ew-error: #C53030;

  /* Bordeaux Theme (for B2B landing pages) */
  --ew-bordeaux: #722F37;
  --ew-bordeaux-dark: #5A252C;
  --ew-bordeaux-light: #8B3A44;
  --ew-champagne: #F5F0E6;

  /* Spacing (8px grid) */
  --ew-space-xs: 8px;
  --ew-space-sm: 16px;
  --ew-space-md: 24px;
  --ew-space-lg: 32px;
  --ew-space-xl: 48px;
  --ew-space-2xl: 64px;
  --ew-space-3xl: 80px;
  --ew-space-4xl: 120px;

  /* Shadows (subtle, warm) */
  --ew-shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --ew-shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --ew-shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
  --ew-shadow-xl: 0 20px 60px rgba(0,0,0,0.1);

  /* Transitions */
  --ew-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ew-duration: 300ms;

  /* Icon sizing */
  --ew-icon-sm: 20px;
  --ew-icon-md: 24px;
  --ew-icon-lg: 32px;
}

/* --- Self-Hosted Fonts (DSGVO-konform, kein Google Fonts CDN) --- */

/* Inter (Variable, 300-700) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('./assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('./assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display (Variable, 400-800) */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('./assets/fonts/playfair-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('./assets/fonts/playfair-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display Italic */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url('./assets/fonts/playfair-display-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url('./assets/fonts/playfair-display-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Bebas Neue (Dolce Vita Hero) */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/bebas-neue-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/bebas-neue-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Great Vibes (Dolce Vita Hero) */
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/great-vibes-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/great-vibes-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Fallback Header Styling --- */
/* Hide Kadence's empty header markup (renders after our fallback) */
#masthead #main-header,
#masthead #mobile-header {
  display: none;
}
#masthead {
  padding: 0;
  margin: 0;
  min-height: 0;
}

.site-main-header-wrap {
  padding: 16px 0;
  background: #fff;
  border-bottom: 1px solid var(--ew-border, #E5E2DD);
}

.site-main-header-wrap .site-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--global-content-width, 1290px);
  margin: 0 auto;
  padding: 0 var(--global-content-edge-padding, 1.5rem);
}

.site-main-header-wrap .site-branding,
.site-main-header-wrap .site-branding a.brand,
.site-main-header-wrap .site-header-item,
.site-main-header-wrap .site-header-section {
  max-height: none;
  overflow: visible;
}

.site-main-header-wrap .site-branding .custom-logo {
  display: block;
  max-width: 200px;
  height: auto;
}

.site-main-header-wrap .main-navigation ul {
  display: flex;
  gap: 0.2em;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-main-header-wrap .main-navigation ul li a {
  padding: 0.6em calc(1.2em / 2);
  color: var(--global-palette5, #6B6B6B);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.site-main-header-wrap .main-navigation ul li a:hover {
  color: var(--ew-gold, #C9A961);
}

.site-main-header-wrap .main-navigation ul li.current-menu-item a {
  color: var(--global-palette3, #1A1A1A);
}

/* Nav CTA Button (last item: "Anfragen") */
.site-main-header-wrap .main-navigation ul li.ew-nav-cta > a {
  background: var(--ew-gold, #C9A961);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  margin-left: 8px;
}

.site-main-header-wrap .main-navigation ul li.ew-nav-cta > a:hover {
  background: var(--ew-gold-dark, #A8893F);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

/* Dropdown Menus */
.site-main-header-wrap .main-navigation ul li {
  position: relative;
}

.site-main-header-wrap .main-navigation ul li > ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--ew-border, #E5E2DD);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  padding: 12px 0;
  margin-top: 0;
  z-index: 100;
  flex-direction: column;
  gap: 0;
}

/* Invisible bridge to prevent hover gap */
.site-main-header-wrap .main-navigation ul li > ul.sub-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.site-main-header-wrap .main-navigation ul li:hover > ul.sub-menu {
  display: flex;
}

.site-main-header-wrap .main-navigation ul li > ul.sub-menu li {
  width: 100%;
}

.site-main-header-wrap .main-navigation ul li > ul.sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--ew-text-secondary, #6B6B6B);
  white-space: nowrap;
}

.site-main-header-wrap .main-navigation ul li > ul.sub-menu li a:hover {
  background: var(--ew-bg, #FAF9F7);
  color: var(--ew-text, #1A1A1A);
}

/* Dropdown Arrow for parent items */
.site-main-header-wrap .main-navigation ul li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  opacity: 0.5;
}

/* --- WooCommerce Cart/Checkout Styling --- */

/* WooCommerce Button Styling */

/* "Gutschein anwenden" - inline, subtle */
.woocommerce .coupon button,
.woocommerce-cart table.cart .coupon .button {
  background: var(--ew-cta, #1A1A1A) !important;
  color: #fff !important;
  padding: 0 20px !important;
  height: 38px !important;
  line-height: 38px !important;
  border-radius: 6px !important;
  border: 0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
}

/* "Aktualisieren" button */
.woocommerce button[name="update_cart"],
.woocommerce input[name="update_cart"],
.woocommerce .actions button[type="submit"],
.woocommerce-cart table.cart td.actions .button {
  background: var(--ew-cta, #1A1A1A) !important;
  color: #fff !important;
  padding: 0 24px !important;
  height: 38px !important;
  line-height: 38px !important;
  border-radius: 6px !important;
  border: none !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  opacity: 1 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.woocommerce button[name="update_cart"]:disabled,
.woocommerce input[name="update_cart"]:disabled {
  background: var(--ew-cta, #1A1A1A) !important;
  color: #fff !important;
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

/* "Weiter zur Kasse" - prominent, full width */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: block !important;
  background: var(--ew-cta, #1A1A1A) !important;
  color: #fff !important;
  padding: 16px 28px !important;
  border-radius: 6px !important;
  border: none !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  text-align: center !important;
  text-decoration: none !important;
  margin-bottom: 10px !important;
  transition: background 0.2s ease !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--ew-cta-hover, #333) !important;
}

/* Hide PayPal "Bezahlen Sie 30 Tage später" message, keep PayPal button */
.woocommerce-cart .cart_totals [data-pp-message],
.woocommerce-cart .cart_totals .ppcp-paylater-message,
.woocommerce-cart .cart_totals .ppcp-messages,
.woocommerce-cart .cart_totals [class*="paylater"],
.woocommerce-cart .cart_totals [class*="pay-later"],
.woocommerce-cart .cart_totals div[data-pp-messagecart],
#ppc-button-ppcp-cart-paylater-message,
.ppcp-paylater-message-cart,
.woocommerce-cart .cart_totals .wc_ppcp_paylater_msg_cart {
  display: none !important;
}

/* --- Global top spacing for non-custom-template pages (WooCommerce, Events etc.) --- */
.site-main > .entry-content-wrap,
.site-main > .woocommerce,
.content-container .entry-content-wrap,
.woocommerce-page .entry-content,
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main {
  padding-top: 40px;
}

/* --- Override Kadence narrow container for custom template pages --- */
.ew-page-home .content-container.site-container,
.ew-page-schloss-thurn .content-container.site-container,
.ew-page-schloss-jaegersburg .content-container.site-container,
.ew-page-historische-locations .content-container.site-container,
.ew-page-ueber-uns .content-container.site-container,
.ew-page-kontakt .content-container.site-container {
  max-width: none;
  padding: 0;
}

.ew-page-home .entry-content.single-content,
.ew-page-schloss-thurn .entry-content.single-content,
.ew-page-schloss-jaegersburg .entry-content.single-content,
.ew-page-historische-locations .entry-content.single-content,
.ew-page-ueber-uns .entry-content.single-content,
.ew-page-kontakt .entry-content.single-content {
  max-width: none;
  padding: 0;
}

/* --- Typography v2 --- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ew-text-secondary);
  line-height: 1.7;
  background: var(--ew-bg);
}

/* H1: Serif (emotional, Event-Charakter) */
h1 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--ew-text);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 700;
}

/* H2-H6: Sans-Serif (professionell, klar) */
h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ew-text);
  letter-spacing: -0.01em;
  line-height: 1.3;
  font-weight: 600;
}

h4, h5, h6 {
  color: var(--ew-text-secondary);
}

/* Override Kadence Customizer letter-spacing on buttons */
button, .button, .wp-block-button__link,
input[type="button"], input[type="reset"], input[type="submit"] {
  letter-spacing: normal;
  text-transform: none;
  font-size: inherit;
}

/* Fluid Typography */
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

/* --- Buttons v2 --- */
.ew-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ew-cta);
  color: var(--ew-cta-text);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
  padding: 16px 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--ew-duration) var(--ew-ease);
  text-decoration: none;
}

.ew-btn-primary:hover {
  background: var(--ew-cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  color: var(--ew-cta-text);
}

.ew-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--ew-gold);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
  padding: 16px 32px;
  border: 1.5px solid var(--ew-gold);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--ew-duration) var(--ew-ease);
  text-decoration: none;
}

.ew-btn-secondary:hover {
  background: var(--ew-gold);
  color: var(--ew-white);
}

/* --- Section Styles --- */
.ew-section {
  padding: var(--ew-space-3xl) 0;
}

.ew-section-cream {
  background-color: var(--ew-bg);
}

.ew-section-dark {
  background-color: var(--ew-text);
  color: var(--ew-white);
}

.ew-section-dark h2,
.ew-section-dark h3 {
  color: var(--ew-white);
}

/* ===========================================
   BORDEAUX THEME (opt-in via body class)
   B2B landing pages: .ew-theme-burgundy on <body>
   =========================================== */
.ew-theme-burgundy {
  --ew-cta: #722F37;
  --ew-cta-hover: #5A252C;
  --ew-cta-text: #FFFFFF;
  --ew-gold: #C9A962;
}

.ew-theme-burgundy .ew-btn-primary {
  background: var(--ew-bordeaux);
  color: #fff;
}

.ew-theme-burgundy .ew-btn-primary:hover {
  background: var(--ew-bordeaux-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(114, 47, 55, 0.3);
}

/* --- Cards --- */
.ew-card {
  background: var(--ew-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--ew-shadow-sm);
  transition: all var(--ew-duration) var(--ew-ease);
}

.ew-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ew-shadow-lg);
}

.ew-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.ew-card-body {
  padding: var(--ew-space-md);
}

.ew-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

/* --- Hero Section --- */
.ew-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ew-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.5) 100%
  );
  z-index: 1;
}

.ew-hero-content {
  position: relative;
  z-index: 2;
  color: var(--ew-white);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--ew-space-md);
}

.ew-hero-content h1 {
  color: var(--ew-white);
  margin-bottom: var(--ew-space-sm);
}

.ew-hero-content p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: var(--ew-space-lg);
}

/* --- Gallery --- */
.ew-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--ew-space-sm);
}

.ew-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform var(--ew-duration) var(--ew-ease);
}

.ew-gallery img:hover {
  transform: scale(1.03);
}

/* Hero Gallery (AirBnB-Style: Full Width, 60/40 Split) */
.ew-hero-gallery {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0;
  margin-bottom: 40px;
}

.ew-hero-gallery-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 6px;
  height: 500px;
}

.ew-hero-gallery-main {
  overflow: hidden;
}

.ew-hero-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ew-hero-gallery-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
}

.ew-hero-gallery-side > div {
  overflow: hidden;
}

.ew-hero-gallery-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ew-hero-gallery-last {
  position: relative;
}

@media (max-width: 768px) {
  .ew-hero-gallery-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
  .ew-hero-gallery-main img {
    height: 300px;
  }
  .ew-hero-gallery-side {
    gap: 4px;
    height: 200px;
  }
}

/* --- Quick Facts --- */
.ew-quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ew-space-md);
  padding: var(--ew-space-xl) 0;
}

@media (max-width: 768px) {
  .ew-quick-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ew-fact {
  text-align: center;
  padding: var(--ew-space-md);
}

.ew-fact-icon {
  margin-bottom: var(--ew-space-xs);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ew-fact-icon svg {
  width: var(--ew-icon-lg);
  height: var(--ew-icon-lg);
  stroke: var(--ew-gold);
  stroke-width: 1.5;
  fill: none;
}

.ew-fact h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ew-text);
  margin-bottom: 4px;
}

.ew-fact p {
  font-size: 0.875rem;
  color: var(--ew-text-secondary);
  line-height: 1.5;
}

/* --- Tabs (Custom, no Pro needed) --- */
.ew-tabs {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
}

.ew-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  background: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
}

.ew-tabs-nav button {
  flex: 1;
  min-width: 120px;
  padding: 14px 20px;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ew-text-secondary);
  cursor: pointer;
  transition: all 200ms ease;
  border-bottom: 3px solid transparent;
}

.ew-tabs-nav button:hover {
  color: var(--ew-text);
  background: var(--ew-white);
}

.ew-tabs-nav button.active {
  color: var(--ew-text);
  background: var(--ew-white);
  border-bottom-color: var(--ew-gold);
  font-weight: 600;
}

.ew-tab-panel {
  display: none;
  padding: var(--ew-space-lg);
}

.ew-tab-panel.active {
  display: block;
}

/* --- Sticky Sidebar --- */
.ew-sidebar-sticky {
  position: sticky;
  top: 100px;
}

.ew-sidebar-box {
  background: var(--ew-white);
  border-radius: 12px;
  padding: var(--ew-space-lg);
  box-shadow: var(--ew-shadow-md);
  text-align: left;
}

.ew-sidebar-box .ew-sidebar-logo {
  text-align: center;
}

.ew-sidebar-box img {
  max-width: 180px;
  margin-bottom: var(--ew-space-sm);
}

.ew-sidebar-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--ew-text);
  margin-bottom: var(--ew-space-md);
}

.ew-sidebar-features {
  list-style: none;
  padding: 0;
  margin: var(--ew-space-md) 0;
  text-align: left;
}

.ew-sidebar-features li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.9rem;
  color: var(--ew-text-secondary);
}

.ew-sidebar-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ew-success);
  font-weight: 700;
}

/* --- Partner Logos Marquee --- */
.ew-partner-marquee {
  overflow: hidden;
  position: relative;
  padding: var(--ew-space-lg) 0;
}

.ew-partner-marquee::before,
.ew-partner-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
}

.ew-partner-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--ew-white), transparent);
}

.ew-partner-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--ew-white), transparent);
}

.ew-partner-track {
  display: flex;
  gap: 120px;
  animation: marquee 60s linear infinite;
  width: max-content;
}

.ew-partner-track img {
  height: 50px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--ew-duration) var(--ew-ease);
  filter: grayscale(100%) brightness(0);
}

.ew-partner-track img:hover {
  opacity: 1;
  filter: none;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Event Type Grid --- */
.ew-event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ew-space-md);
}

@media (max-width: 768px) {
  .ew-event-grid {
    grid-template-columns: 1fr;
  }
}

.ew-event-type {
  background: var(--ew-white);
  border-radius: 12px;
  padding: var(--ew-space-lg);
  box-shadow: var(--ew-shadow-sm);
  transition: all var(--ew-duration) var(--ew-ease);
  border-left: 4px solid var(--ew-gold);
}

.ew-event-type:hover {
  box-shadow: var(--ew-shadow-md);
  transform: translateY(-2px);
}

.ew-event-type h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.ew-event-type p {
  font-size: 0.9rem;
  color: var(--ew-text-secondary);
}

/* --- CTA Section --- */
.ew-cta-section {
  background: var(--ew-text);
  color: var(--ew-white);
  text-align: center;
  padding: var(--ew-space-3xl) var(--ew-space-md);
}

.ew-cta-section h2 {
  color: var(--ew-white);
  margin-bottom: var(--ew-space-sm);
}

.ew-cta-section p {
  opacity: 0.85;
  font-size: 1.125rem;
  margin-bottom: var(--ew-space-lg);
}

/* --- Equipment Grid --- */
.ew-equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ew-space-md);
}

@media (max-width: 768px) {
  .ew-equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ew-equipment-item {
  text-align: center;
  padding: var(--ew-space-lg);
  background: var(--ew-white);
  border-radius: 12px;
  box-shadow: var(--ew-shadow-sm);
  transition: all var(--ew-duration) var(--ew-ease);
}

.ew-equipment-item:hover {
  box-shadow: var(--ew-shadow-md);
}

.ew-equipment-item h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-top: var(--ew-space-sm);
}

.ew-equipment-item p {
  font-size: 0.85rem;
  color: var(--ew-text-secondary);
}

/* --- Checklist Styles --- */
.ew-checklist {
  list-style: none;
  padding: 0;
}

.ew-checklist li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: 1rem;
}

.ew-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ew-text-secondary);
  font-weight: 700;
  font-size: 1.1rem;
}

/* --- Responsive Layout Utilities --- */
.ew-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--ew-space-md);
}

.ew-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ew-space-lg);
}

.ew-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ew-space-lg);
}

@media (max-width: 768px) {
  .ew-grid-2,
  .ew-grid-3 {
    grid-template-columns: 1fr;
  }

  .ew-hero-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    max-height: none;
  }

  .ew-hero-gallery img:first-child {
    grid-row: auto;
  }
}

/* --- Additional Layout Classes from Block Content --- */
.ew-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ew-space-md);
}

@media (max-width: 768px) {
  .ew-facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ew-fact h3 {
    font-size: 0.95rem;
  }
}

.ew-fact h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ew-text);
  margin-bottom: 4px;
}

.ew-fact-detail {
  font-size: 0.85rem;
  color: var(--ew-text-secondary);
}

/* Sidebar full-width button */
.ew-btn-full {
  width: 100%;
  text-align: center;
  margin: var(--ew-space-sm) 0;
}

/* Room detail styles */
.ew-room-header {
  margin-bottom: var(--ew-space-md);
}

.ew-room-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--ew-space-xs);
}

.ew-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--ew-bg);
  border: 1px solid var(--ew-gold-light);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ew-text);
}

.ew-room-content p {
  margin-bottom: var(--ew-space-sm);
}

.ew-room-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ew-space-md);
  margin: var(--ew-space-md) 0;
}

@media (max-width: 768px) {
  .ew-room-details {
    grid-template-columns: 1fr;
  }
}

.ew-room-detail {
  padding: var(--ew-space-sm);
  background: var(--ew-bg);
  border-radius: 8px;
}

.ew-room-capacity {
  margin-top: var(--ew-space-md);
}

.ew-room-capacity h4,
.ew-room-equipment h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ew-text);
  margin-bottom: var(--ew-space-xs);
}

.ew-room-highlight {
  margin-top: var(--ew-space-sm);
  padding: var(--ew-space-sm);
  background: linear-gradient(135deg, rgba(184,134,11,0.08), rgba(212,175,55,0.08));
  border-left: 3px solid var(--ew-gold);
  border-radius: 4px;
  font-size: 0.9rem;
}

/* Event type icons */
.ew-event-icon {
  font-size: 2rem;
  margin-bottom: var(--ew-space-xs);
}

/* Equipment icons */
.ew-equipment-icon {
  font-size: 2.5rem;
  margin-bottom: var(--ew-space-sm);
}

/* Section heading with centered text */
.ew-section-heading {
  margin-bottom: var(--ew-space-xl);
}

/* Lead text */
.ew-lead-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ew-text);
}

/* Location title */
.ew-location-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: var(--ew-space-md);
}

/* Contact section */
.ew-cta-contact {
  background: var(--ew-bg);
  text-align: center;
  padding: var(--ew-space-3xl) var(--ew-space-md);
  border-radius: 16px;
  margin-top: var(--ew-space-xl);
}

.ew-cta-contact h2 {
  margin-bottom: var(--ew-space-sm);
}

.ew-cta-contact p {
  max-width: 600px;
  margin: 0 auto var(--ew-space-lg);
  color: var(--ew-text-secondary);
}

.ew-cta-buttons {
  display: flex;
  gap: var(--ew-space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* (Hero Gallery styles consolidated above in .ew-hero-gallery section) */

/* Sidebar logo */
.ew-sidebar-logo {
  margin-bottom: var(--ew-space-sm);
}

.ew-sidebar-logo img {
  max-width: 180px;
  margin: 0 auto;
  display: block;
}

.ew-price-label {
  display: block;
  font-size: 0.85rem;
  color: var(--ew-text-secondary);
  font-weight: 400;
  text-align: center;
}

.ew-price-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--ew-text);
  font-weight: 700;
  text-align: center;
}

/* --- Content Width Override for Kadence --- */
.entry-content-wrap {
  max-width: 1200px;
}

/* Full width pages */
.page-template-default .entry-content-wrap,
.page-layout-fullwidth .entry-content-wrap {
  max-width: 100%;
  padding: 0;
}

/* --- Kadence Customizer Overrides --- */
.site-header-wrap {
  box-shadow: var(--ew-shadow-sm);
}

/* Gold accent line under header */
.site-header-wrap::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--ew-gold), var(--ew-gold-light), var(--ew-gold));
}

/* ===========================================
   SCROLL ANIMATIONS
   =========================================== */

.ew-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.ew-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grids */
.ew-fade-in[data-delay="1"] { transition-delay: 0.1s; }
.ew-fade-in[data-delay="2"] { transition-delay: 0.2s; }
.ew-fade-in[data-delay="3"] { transition-delay: 0.3s; }
.ew-fade-in[data-delay="4"] { transition-delay: 0.4s; }
.ew-fade-in[data-delay="5"] { transition-delay: 0.5s; }

/* ===========================================
   GLASSMORPHISM UTILITIES
   =========================================== */

.ew-glass {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.ew-glass-subtle {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(201, 169, 97, 0.12);
}

/* ===========================================
   HERO GALLERY - "Alle Bilder" Button
   =========================================== */

.ew-hero-gallery {
  position: relative;
}

.ew-gallery-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 5;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ew-text);
  cursor: pointer;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
}

.ew-gallery-btn:hover {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

/* Hero image hover zoom */
.ew-hero-gallery img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ew-hero-gallery img:hover {
  transform: scale(1.03);
}

/* ===========================================
   APPLE-STYLE "CLOSER LOOK" AKKORDEON
   Was wir für unvergessliche Events schaffen
   =========================================== */

.ew-closer-look {
  background: var(--ew-bg);
  padding: var(--ew-space-3xl) 0;
}

.ew-closer-look-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--ew-space-md);
}

.ew-closer-look h2 {
  text-align: center;
  margin-bottom: var(--ew-space-xl);
}

.ew-closer-look-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  min-height: 520px;
  background: var(--ew-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(26, 26, 26, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(201, 169, 97, 0.08);
}

/* Akkordeon Side (links) */
.ew-accordion {
  padding: var(--ew-space-xl) var(--ew-space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.ew-accordion-item {
  border-radius: 14px;
  padding: 14px 20px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: #F8F4ED;
  border: 1px solid transparent;
}

.ew-accordion-item:hover {
  background: #F0EBE1;
}

.ew-accordion-item.active {
  background: var(--ew-white);
  border-color: rgba(201, 169, 97, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 20px;
}

.ew-accordion-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ew-accordion-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(201, 169, 97, 0.1);
  transition: all 0.3s ease;
}

.ew-accordion-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--ew-gold);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.3s ease;
}

.ew-accordion-item.active .ew-accordion-icon {
  background: var(--ew-gold);
}

.ew-accordion-item.active .ew-accordion-icon svg {
  stroke: var(--ew-white);
}

.ew-accordion-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ew-text);
  letter-spacing: 0;
}

.ew-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease;
  opacity: 0;
}

.ew-accordion-item.active .ew-accordion-body {
  max-height: 300px;
  opacity: 1;
  margin-top: 12px;
}

.ew-accordion-body p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ew-text-secondary);
  margin: 0;
}

.ew-accordion-body strong {
  color: var(--ew-text);
}

/* Progress Bar (Auto-Rotation) */
.ew-accordion-progress {
  height: 3px;
  background: rgba(201, 169, 97, 0.12);
  border-radius: 2px;
  margin-top: 12px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ew-accordion-item.active .ew-accordion-progress {
  opacity: 1;
}

.ew-accordion-progress-bar {
  height: 100%;
  width: 0;
  background: var(--ew-gold);
  border-radius: 2px;
}

.ew-accordion-progress-bar.running {
  animation: ew-progress-fill 6s linear forwards;
}

.ew-accordion-progress-bar.paused {
  animation-play-state: paused;
}

@keyframes ew-progress-fill {
  from { width: 0; }
  to { width: 100%; }
}

/* Bild-Seite (rechts) */
.ew-accordion-image {
  position: relative;
  overflow: hidden;
}

.ew-accordion-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ew-accordion-image img.active {
  opacity: 1;
}

/* Navigation Arrows */
.ew-accordion-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 3;
}

.ew-accordion-nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ew-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ew-accordion-nav button:hover {
  background: var(--ew-gold);
  color: var(--ew-white);
}

/* Responsive */
@media (max-width: 768px) {
  .ew-closer-look-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .ew-accordion-image {
    height: 300px;
    position: relative;
    order: -1;
    border-radius: 24px 24px 0 0;
  }

  .ew-accordion {
    padding: var(--ew-space-md);
  }
}

/* ===========================================
   ANLASS-TAGS (Pill-Shape Grid)
   =========================================== */

.ew-anlass-section {
  background: #F8F4ED;
  padding: var(--ew-space-3xl) 0;
}

.ew-anlass-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.ew-anlass-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 24px;
  border: 1px solid var(--ew-border);
  background: var(--ew-white);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ew-text);
  transition: all 0.25s ease;
  cursor: default;
}

.ew-anlass-tag:hover {
  background: var(--ew-text);
  color: var(--ew-white);
  border-color: var(--ew-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.15);
}

.ew-anlass-tag span {
  display: inline-flex;
  align-items: center;
}

.ew-anlass-tag span svg {
  width: 18px;
  height: 18px;
  stroke: var(--ew-gold);
  stroke-width: 1.5;
  fill: none;
}

.ew-anlass-tag:hover span svg {
  stroke: var(--ew-white);
}

/* ===========================================
   RAUM-TABELLE (Responsive)
   =========================================== */

.ew-room-table-wrap {
  overflow-x: auto;
  margin-bottom: var(--ew-space-lg);
  border-radius: 12px;
  box-shadow: var(--ew-shadow-sm);
}

.ew-room-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  background: var(--ew-white);
}

.ew-room-table thead {
  background: var(--ew-text);
  color: var(--ew-white);
}

.ew-room-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ew-room-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0ebe1;
  color: var(--ew-text);
}

.ew-room-table tbody tr:hover {
  background: #FAF7F2;
}

.ew-room-table tbody tr:last-child td {
  border-bottom: none;
}

.ew-room-table .ew-price {
  color: var(--ew-text);
  font-weight: 600;
}

/* ===========================================
   MIETPRODUKTE IMAGE-CARDS (3x2 Grid)
   =========================================== */

.ew-mietprodukte-section {
  background: var(--ew-bg);
  padding: var(--ew-space-3xl) 0;
}

.ew-mietprodukte-section h2 {
  text-align: center;
  margin-bottom: 8px;
}

.ew-mietprodukte-subtitle {
  text-align: center;
  color: var(--ew-gold);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: var(--ew-space-xl);
}

.ew-mietprodukte-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ew-space-md);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--ew-space-md);
}

.ew-mietprodukt-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ew-mietprodukt-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.ew-mietprodukt-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ew-mietprodukt-card:hover img {
  transform: scale(1.08);
}

.ew-mietprodukt-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(44, 44, 44, 0.8) 0%,
    rgba(44, 44, 44, 0.25) 40%,
    transparent 70%
  );
  transition: background 0.3s ease;
}

.ew-mietprodukt-card:hover::after {
  background: linear-gradient(
    to top,
    rgba(44, 44, 44, 0.7) 0%,
    rgba(44, 44, 44, 0.15) 40%,
    transparent 70%
  );
}

.ew-mietprodukt-card:hover {
  outline: 2px solid var(--ew-gold);
  outline-offset: -2px;
}

.ew-mietprodukt-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  color: var(--ew-white);
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.ew-mietprodukt-label small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 4px;
  text-shadow: none;
}

/* Mietprodukte CTA */
.ew-mietprodukte-cta {
  text-align: center;
  margin-top: var(--ew-space-xl);
  padding: 0 var(--ew-space-md);
}

.ew-mietprodukte-cta p {
  color: var(--ew-text-secondary);
  margin-bottom: var(--ew-space-sm);
}

@media (max-width: 768px) {
  .ew-mietprodukte-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ew-space-sm);
  }

  .ew-mietprodukt-label {
    font-size: 1.1rem;
    bottom: 14px;
    left: 14px;
  }
}

@media (max-width: 480px) {
  .ew-mietprodukte-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   INFO-SEKTIONEN (Standort, Technik, etc.)
   =========================================== */

.ew-info-section {
  padding: var(--ew-space-xl) 0;
  border-bottom: 1px solid #f0ebe1;
}

.ew-info-section:last-child {
  border-bottom: none;
}

.ew-info-section h3 {
  font-size: 1.25rem;
  margin-bottom: var(--ew-space-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ew-info-section h3 svg {
  width: var(--ew-icon-md);
  height: var(--ew-icon-md);
  stroke: var(--ew-gold);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}

.ew-info-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ew-space-lg);
}

@media (max-width: 768px) {
  .ew-info-grid-2col {
    grid-template-columns: 1fr;
  }
}

.ew-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ew-info-list li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.9rem;
  color: var(--ew-text);
}

.ew-info-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ew-gold);
  font-weight: 700;
}

/* Mietzeitraum Tabelle */
.ew-time-table {
  border-collapse: collapse;
  font-size: 0.9rem;
}

.ew-time-table td {
  padding: 6px 16px 6px 0;
}

.ew-time-table td:first-child {
  font-weight: 600;
  color: var(--ew-text);
  white-space: nowrap;
}

.ew-time-table td:last-child {
  color: var(--ew-text-secondary);
}

/* Google Maps */
.ew-map-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--ew-shadow-md);
  margin-bottom: var(--ew-space-md);
}

.ew-map-wrap iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

/* Anfahrt Grid */
.ew-anfahrt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ew-space-lg);
  margin-top: var(--ew-space-md);
}

@media (max-width: 768px) {
  .ew-anfahrt-grid {
    grid-template-columns: 1fr;
  }
}

.ew-anfahrt-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ew-text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ew-anfahrt-item h4 svg {
  flex-shrink: 0;
}

.ew-anfahrt-item p {
  font-size: 0.9rem;
  color: var(--ew-text-secondary);
  line-height: 1.6;
}

/* ===========================================
   "MEHR ANZEIGEN" Toggle
   =========================================== */

.ew-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--ew-gold);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 8px 0;
  margin-bottom: var(--ew-space-xl);
  transition: color 0.2s ease;
}

.ew-more-toggle:hover {
  color: var(--ew-gold-dark);
}

.ew-more-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.ew-more-toggle.open svg {
  transform: rotate(180deg);
}

.ew-more-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ew-more-content.open {
  max-height: 2000px;
}

/* ===========================================
   2-SPALTEN LAYOUT (Main + Sidebar)
   =========================================== */

.ew-two-col {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--ew-space-md);
  align-items: start;
  min-height: 900px;
  margin-bottom: var(--ew-space-3xl);
}

@media (max-width: 1024px) {
  .ew-two-col {
    grid-template-columns: 1fr 280px;
    gap: var(--ew-space-lg);
  }
}

@media (max-width: 768px) {
  .ew-two-col {
    grid-template-columns: 1fr;
  }
}

.ew-main-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 8px;
}

.ew-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--ew-text-secondary);
  margin-bottom: var(--ew-space-md);
}

.ew-location-badge svg {
  stroke: var(--ew-gold);
  flex-shrink: 0;
}

/* Trust Badges in Sidebar */
.ew-trust-badges {
  list-style: none;
  padding: 0;
  margin: var(--ew-space-md) 0 0;
}

.ew-trust-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--ew-text-secondary);
}

.ew-trust-badges li::before {
  content: '✓';
  color: var(--ew-text-secondary);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ===========================================
   ENFOLD ACCORDION SLIDER
   "Ihr Event auf Schloss Thurn"
   Panels side-by-side, hover-expand
   =========================================== */

.ew-event-slider-section {
  padding: var(--ew-space-3xl) 0;
  overflow: hidden;
  background: var(--ew-white);
}

.ew-event-accordion-slider {
  display: flex;
  height: 550px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--ew-space-md);
  gap: 6px;
  border-radius: 20px;
  overflow: hidden;
}

.ew-event-panel {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.ew-event-panel.active {
  flex: 5;
}

.ew-event-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.ew-event-panel.active img {
  transform: scale(1.05);
}

.ew-event-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.35) 40%,
    rgba(10, 10, 10, 0.15) 100%
  );
  transition: background 0.5s ease;
  z-index: 1;
}

.ew-event-panel.active .ew-event-panel-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.75) 0%,
    rgba(10, 10, 10, 0.2) 50%,
    rgba(10, 10, 10, 0.05) 100%
  );
}

.ew-event-panel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  z-index: 2;
  color: var(--ew-white);
}

.ew-event-panel-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ew-gold);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease 0.15s;
}

.ew-event-panel.active .ew-event-panel-number {
  opacity: 1;
  transform: translateY(0);
}

.ew-event-panel-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ew-white);
  margin: 0;
  white-space: nowrap;
  transition: font-size 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ew-event-panel.active .ew-event-panel-content h3 {
  font-size: 1.75rem;
  white-space: normal;
}

.ew-event-panel-content p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 10px 0 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease 0.1s;
}

.ew-event-panel.active .ew-event-panel-content p {
  max-height: 120px;
  opacity: 1;
}

/* Gold accent line on active panel */
.ew-event-panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ew-gold);
  z-index: 3;
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ew-event-panel.active::after {
  transform: scaleX(1);
}

/* Responsive Accordion Slider */
@media (max-width: 1024px) {
  .ew-event-accordion-slider {
    height: 450px;
  }

  .ew-event-panel.active .ew-event-panel-content h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .ew-event-accordion-slider {
    flex-direction: column;
    height: auto;
    gap: 4px;
    border-radius: 16px;
  }

  .ew-event-panel {
    height: 80px;
    flex: none;
    transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .ew-event-panel.active {
    height: 320px;
    flex: none;
  }

  .ew-event-panel-content {
    padding: 16px 20px;
  }

  .ew-event-panel-content h3 {
    font-size: 1rem;
  }

  .ew-event-panel.active .ew-event-panel-content h3 {
    font-size: 1.3rem;
  }
}

/* ===========================================
   GLASSMORPHISM ROOM CARDS
   Apple-style glass overlay on room photos
   =========================================== */

.ew-rooms-section {
  padding: var(--ew-space-3xl) 0;
  background: var(--ew-white);
}

.ew-rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ew-space-md);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--ew-space-md);
}

.ew-room-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--ew-white);
  box-shadow: var(--ew-shadow-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.ew-room-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ew-shadow-xl);
}

.ew-room-card-visual {
  position: relative;
  height: 340px;
  overflow: hidden;
}

.ew-room-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Per-card image focus adjustments */
.ew-room-card:nth-child(1) .ew-room-card-visual img { object-position: center 70%; }  /* Gesamte Location: weniger Himmel */
.ew-room-card:nth-child(3) .ew-room-card-visual img { object-position: center 65%; }  /* Barockpavillon: Stühle sichtbar */

.ew-room-card:hover .ew-room-card-visual img {
  transform: scale(1.06);
}

.ew-room-card-glass {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.ew-room-card-glass h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ew-text);
  margin: 0 0 8px;
}

.ew-room-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ew-room-card-meta span {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(26, 26, 26, 0.06);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ew-text);
}

/* Expand icon indicator */
.ew-room-card-visual::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.6);
  z-index: 3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.ew-room-card.expanded .ew-room-card-visual::after {
  transform: rotate(180deg);
}

/* Expandable details */
.ew-room-card-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 20px;
}

.ew-room-card.expanded .ew-room-card-expand {
  max-height: 300px;
  padding: 20px;
}

.ew-room-card-expand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ew-text-secondary);
  margin: 0 0 12px;
}

.ew-room-card-highlight {
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.08), rgba(201, 169, 97, 0.04));
  border-left: 3px solid var(--ew-gold);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--ew-text);
  font-weight: 500;
}

.ew-room-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ew-room-card-tags span {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 16px;
  background: var(--ew-bg);
  border: 1px solid var(--ew-border);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ew-text-secondary);
}

/* Responsive Room Cards */
@media (max-width: 1024px) {
  .ew-rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ew-rooms-grid {
    grid-template-columns: 1fr;
  }

  .ew-room-card-visual {
    height: 220px;
  }
}

/* ===========================================
   VIDEO SECTION
   YouTube lazy-load facade
   =========================================== */

.ew-video-section {
  padding: var(--ew-space-3xl) 0;
  background: var(--ew-bg);
}

.ew-video-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--ew-space-md);
}

.ew-video-wrapper {
  position: relative;
  cursor: pointer;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--ew-shadow-xl);
}

.ew-video-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ew-video-wrapper:hover img {
  transform: scale(1.03);
}

.ew-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.ew-video-play:hover {
  transform: translate(-50%, -50%) scale(1.12);
}

.ew-video-play svg circle {
  transition: fill 0.3s ease;
}

.ew-video-wrapper:hover .ew-video-play svg circle {
  fill: rgba(201, 169, 97, 0.85);
}

/* Dark overlay before play */
.ew-video-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.ew-video-wrapper:hover::after {
  background: rgba(0, 0, 0, 0.15);
}

/* When iframe is playing */
.ew-video-wrapper.playing {
  box-shadow: none;
}

.ew-video-wrapper.playing::after {
  display: none;
}

.ew-video-wrapper.playing .ew-video-play {
  display: none;
}

.ew-video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  display: block;
}

/* ===========================================
   COMPACT INFO GRID (2x2)
   Replaces 5 separate info sections
   =========================================== */

.ew-info-compact {
  padding: var(--ew-space-3xl) 0;
  background: var(--ew-bg);
}

.ew-info-compact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ew-space-md);
}

.ew-info-tile {
  background: var(--ew-white);
  border-radius: 16px;
  padding: var(--ew-space-lg);
  box-shadow: var(--ew-shadow-sm);
  border: 1px solid var(--ew-border);
  transition: box-shadow 0.3s ease;
}

.ew-info-tile:hover {
  box-shadow: var(--ew-shadow-md);
}

.ew-info-tile-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--ew-space-sm);
}

.ew-info-tile-header svg {
  stroke: var(--ew-gold);
  flex-shrink: 0;
}

.ew-info-tile-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.ew-info-tile-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ew-info-tile-list li {
  padding: 5px 0;
  padding-left: 22px;
  position: relative;
  font-size: 0.85rem;
  color: var(--ew-text-secondary);
  line-height: 1.5;
}

.ew-info-tile-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ew-text-secondary);
  font-weight: 700;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .ew-info-compact-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   MASONRY GALLERY (Pinterest-Style)
   Impressionen von Schloss Thurn
   =========================================== */

.ew-impressionen-section {
  padding: var(--ew-space-3xl) 0;
  background: var(--ew-white);
}

.ew-masonry {
  columns: 4;
  column-gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--ew-space-md);
}

.ew-masonry img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  margin-bottom: 8px;
  border-radius: 8px;
  break-inside: avoid;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.3s ease;
}

.ew-masonry img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

/* Feature images - taller */
.ew-masonry img:nth-child(2),
.ew-masonry img:nth-child(5),
.ew-masonry img:nth-child(8) {
  height: 240px;
}

.ew-masonry img:nth-child(4),
.ew-masonry img:nth-child(10) {
  height: 200px;
}

@media (max-width: 1024px) {
  .ew-masonry {
    columns: 3;
  }
}

@media (max-width: 640px) {
  .ew-masonry {
    columns: 2;
  }

  .ew-masonry img {
    height: 140px;
  }

  .ew-masonry img:nth-child(2),
  .ew-masonry img:nth-child(5),
  .ew-masonry img:nth-child(8) {
    height: 200px;
  }

  .ew-masonry img:nth-child(4),
  .ew-masonry img:nth-child(10) {
    height: 170px;
  }
}

/* ===========================================
   CTA HERO (with background image)
   Mid-page CTA with photo + dark overlay
   =========================================== */

.ew-cta-hero {
  position: relative;
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
}

.ew-cta-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  z-index: 0;
}

.ew-cta-hero > div {
  position: relative;
  z-index: 1;
}

/* ===========================================
   MIETPRODUKTE CAROUSEL
   3 cards visible, fade edges, prev/next buttons
   =========================================== */

.ew-mietprodukte-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.ew-carousel-viewport {
  overflow: hidden;
  border-radius: 16px;
}

.ew-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 8px 0 24px;
}

.ew-mietprodukt-scroll-card {
  flex-shrink: 0;
  width: calc((100% - 48px) / 3);
  border-radius: 16px;
  overflow: hidden;
  background: var(--ew-white);
  box-shadow: var(--ew-shadow-md);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              opacity 0.4s ease;
}

.ew-mietprodukt-scroll-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ew-shadow-lg);
}

.ew-mietprodukt-scroll-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.ew-mietprodukt-scroll-info {
  padding: 16px 18px;
}

.ew-mietprodukt-scroll-info h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ew-text);
  margin: 0 0 4px;
}

.ew-mietprodukt-scroll-info p {
  font-size: 0.82rem;
  color: var(--ew-text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Carousel Navigation Buttons */
.ew-carousel-prev,
.ew-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--ew-border);
  background: var(--ew-white);
  color: var(--ew-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--ew-shadow-md);
  transition: all 0.25s ease;
}

.ew-carousel-prev { left: 4px; }
.ew-carousel-next { right: 4px; }

.ew-carousel-prev:hover,
.ew-carousel-next:hover {
  background: var(--ew-text);
  color: var(--ew-white);
  border-color: var(--ew-text);
  box-shadow: var(--ew-shadow-lg);
}

.ew-carousel-prev:disabled,
.ew-carousel-next:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.ew-carousel-prev svg,
.ew-carousel-next svg {
  width: 20px;
  height: 20px;
}

/* Fade edges on viewport */
.ew-carousel-viewport::before,
.ew-carousel-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  width: 40px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ew-carousel-viewport::before {
  left: 0;
  background: linear-gradient(to right, var(--ew-bg), transparent);
}

.ew-carousel-viewport::after {
  right: 0;
  background: linear-gradient(to left, var(--ew-bg), transparent);
}

.ew-mietprodukte-carousel.has-prev .ew-carousel-viewport::before,
.ew-mietprodukte-carousel.has-next .ew-carousel-viewport::after {
  opacity: 1;
}

/* Responsive Carousel */
@media (max-width: 1024px) {
  .ew-mietprodukt-scroll-card {
    width: calc((100% - 24px) / 2);
  }

  .ew-mietprodukte-carousel {
    padding: 0 50px;
  }
}

@media (max-width: 640px) {
  .ew-mietprodukt-scroll-card {
    width: calc(100% - 16px);
  }

  .ew-mietprodukte-carousel {
    padding: 0 40px;
  }

  .ew-mietprodukt-scroll-card img {
    height: 180px;
  }

  .ew-carousel-prev,
  .ew-carousel-next {
    width: 36px;
    height: 36px;
  }

  .ew-carousel-prev { left: 0; }
  .ew-carousel-next { right: 0; }
}

/* ===========================================
   HOMEPAGE: HERO (Fullscreen)
   =========================================== */

.ew-home-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 100vh;
  min-height: 600px;
  max-height: 1000px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ew-home-hero img.ew-home-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}

/* YouTube Video Background */
.ew-home-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.ew-home-hero-video.ew-video-ready {
  opacity: 1;
}

.ew-home-hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  min-width: 177.78vh; /* 16:9 aspect ratio */
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
}

.ew-home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.35) 0%,
    rgba(10, 10, 10, 0.55) 50%,
    rgba(10, 10, 10, 0.7) 100%
  );
  z-index: 1;
}

.ew-home-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--ew-space-md);
}

.ew-home-hero-badge {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid rgba(201, 169, 97, 0.5);
  border-radius: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ew-gold);
  letter-spacing: 0.05em;
  margin-bottom: var(--ew-space-lg);
}

.ew-home-hero-content h1 {
  color: var(--ew-white);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  margin-bottom: var(--ew-space-md);
  letter-spacing: -0.03em;
}

.ew-home-hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto var(--ew-space-xl);
}

.ew-home-hero .ew-cta-buttons {
  justify-content: center;
}

.ew-home-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  animation: ew-bounce 2s infinite;
}

@keyframes ew-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(8px); }
  60% { transform: translateX(-50%) translateY(4px); }
}

@media (max-width: 768px) {
  .ew-home-hero {
    height: 85vh;
    min-height: 500px;
  }

  .ew-home-hero-badge {
    font-size: 0.75rem;
  }
}

/* ===========================================
   HOMEPAGE: TRUST STRIPE (Gold)
   =========================================== */

.ew-trust-stripe {
  background: var(--ew-gold);
  padding: var(--ew-space-lg) 0;
}

.ew-trust-stripe-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--ew-space-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ew-space-lg);
}

.ew-trust-stripe-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ew-white);
}

.ew-trust-stripe-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ew-trust-stripe-icon svg {
  stroke: var(--ew-white);
}

.ew-trust-stripe-item strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ew-white);
  line-height: 1.3;
}

.ew-trust-stripe-item span {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .ew-trust-stripe-inner {
    grid-template-columns: 1fr;
    gap: var(--ew-space-sm);
  }

  .ew-trust-stripe-item {
    padding: 4px 0;
  }
}

/* ===========================================
   HOMEPAGE: STORYTELLING SECTION
   =========================================== */

.ew-home-story {
  padding: var(--ew-space-3xl) 0;
  background: var(--ew-white);
}

.ew-home-story-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--ew-space-md);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--ew-space-2xl);
  align-items: center;
}

.ew-home-story-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: var(--ew-space-lg);
  line-height: 1.2;
}

.ew-home-story-text .ew-lead-text {
  margin-bottom: var(--ew-space-md);
}

.ew-home-story-text p {
  margin-bottom: var(--ew-space-md);
}

.ew-home-story-facts {
  display: flex;
  gap: 20px;
  margin-top: var(--ew-space-xl);
  padding-top: var(--ew-space-lg);
  border-top: 1px solid var(--ew-border);
}

.ew-home-story-fact {
  text-align: center;
}

.ew-home-story-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ew-gold);
  line-height: 1;
}

.ew-home-story-label {
  display: block;
  font-size: 0.8rem;
  color: var(--ew-text-secondary);
  margin-top: 4px;
  font-weight: 500;
}

.ew-home-story-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--ew-shadow-xl);
}

.ew-home-story-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/5;
  object-fit: cover;
}

@media (max-width: 768px) {
  .ew-home-story-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ew-home-story-image {
    order: -1;
  }

  .ew-home-story-image img {
    aspect-ratio: 16/10;
  }

  .ew-home-story-facts {
    gap: var(--ew-space-lg);
  }

  .ew-home-story-number {
    font-size: 2rem;
  }
}

/* ===========================================
   HOMEPAGE: LOCATION CARDS (Groß)
   =========================================== */

.ew-home-locations {
  padding: var(--ew-space-3xl) 0;
  background: var(--ew-bg);
}

.ew-home-locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ew-space-lg);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--ew-space-md);
}

.ew-location-card {
  display: block;
  text-decoration: none;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ew-white);
  box-shadow: var(--ew-shadow-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ew-location-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ew-shadow-xl);
}

.ew-location-card-visual {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.ew-location-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ew-location-card:hover .ew-location-card-visual img {
  transform: scale(1.05);
}

.ew-location-card-glass {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.ew-location-card-glass h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ew-text);
  margin: 0 0 4px;
}

.ew-location-card-glass > p {
  font-size: 0.9rem;
  color: var(--ew-text-secondary);
  margin: 0 0 12px;
}

.ew-location-card-meta {
  display: flex;
  gap: 12px;
}

.ew-location-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ew-text);
}

.ew-location-card-meta svg {
  stroke: var(--ew-gold);
}

.ew-location-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ew-gold);
  transition: color 0.3s ease;
}

.ew-location-card:hover .ew-location-card-cta {
  color: var(--ew-gold-dark);
}

.ew-location-card-cta svg {
  transition: transform 0.3s ease;
}

.ew-location-card:hover .ew-location-card-cta svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .ew-home-locations-grid {
    grid-template-columns: 1fr;
  }

  .ew-location-card-visual {
    height: 280px;
  }

  .ew-location-card-glass h3 {
    font-size: 1.25rem;
  }
}

/* ===========================================
   HOMEPAGE: EQUIPMENT TEASER
   =========================================== */

.ew-home-equipment {
  padding: var(--ew-space-3xl) 0;
  background: var(--ew-white);
}

.ew-home-equipment-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--ew-space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ew-space-2xl);
  align-items: center;
}

.ew-home-equipment-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 400px;
}

.ew-home-equipment-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--ew-shadow-sm);
}

.ew-eq-img-1 {
  grid-row: 1 / 3;
  border-radius: 16px;
}

.ew-eq-img-2 {
  border-radius: 12px;
}

.ew-eq-img-3 {
  border-radius: 12px;
}

.ew-home-equipment-text h2 {
  margin-bottom: var(--ew-space-md);
}

.ew-home-equipment-text p {
  margin-bottom: var(--ew-space-md);
}

@media (max-width: 768px) {
  .ew-home-equipment-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ew-home-equipment-images {
    height: 260px;
    order: -1;
  }
}

/* ===========================================
   HOMEPAGE: TESTIMONIAL SLIDER
   =========================================== */

.ew-home-testimonials {
  padding: var(--ew-space-3xl) 0;
  background: var(--ew-bg);
}

.ew-testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--ew-space-md);
  position: relative;
}

.ew-testimonial-track {
  position: relative;
  min-height: 280px;
}

.ew-testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.ew-testimonial-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.ew-testimonial-quote {
  text-align: center;
  padding: var(--ew-space-xl) var(--ew-space-lg);
  background: var(--ew-white);
  border-radius: 20px;
  box-shadow: var(--ew-shadow-md);
  border: 1px solid var(--ew-border);
}

.ew-testimonial-icon {
  color: var(--ew-gold-light);
  margin-bottom: var(--ew-space-sm);
}

.ew-testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--ew-space-md);
  color: var(--ew-gold);
}

.ew-testimonial-quote blockquote {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--ew-text);
  font-style: italic;
  margin: 0 0 var(--ew-space-md);
  padding: 0;
  border: none;
}

.ew-testimonial-quote cite {
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
  color: var(--ew-text-secondary);
}

.ew-testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: var(--ew-space-lg);
}

.ew-testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--ew-border);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.ew-testimonial-dot.active {
  background: var(--ew-gold);
  transform: scale(1.2);
}

@media (max-width: 640px) {
  .ew-testimonial-quote {
    padding: var(--ew-space-lg) var(--ew-space-md);
  }

  .ew-testimonial-quote blockquote {
    font-size: 1rem;
  }
}

/* ===========================================
   HOMEPAGE: PARTNER SECTION
   =========================================== */

.ew-home-partners {
  padding: var(--ew-space-3xl) 0 var(--ew-space-xl);
  background: var(--ew-white);
}

/* ===========================================
   SCHLOSS-SUCHE (B2B LANDING PAGE)
   page-historische-locations.php
   Body class: .ew-theme-burgundy
   =========================================== */

/* --- Hero --- */
.ew-ss-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ew-ss-hero img.ew-ss-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  z-index: 0;
}

.ew-ss-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42, 42, 42, 0.55) 0%, rgba(114, 47, 55, 0.65) 100%);
  z-index: 1;
}

.ew-ss-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 80px 60px;
  color: #fff;
}

.ew-ss-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 30px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}

.ew-ss-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 25px;
  color: #fff;
}

.ew-ss-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 550px;
  line-height: 1.7;
  color: #fff;
}

.ew-ss-hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.ew-ss-btn-gold {
  display: inline-block;
  background: var(--ew-gold);
  color: var(--ew-text);
  padding: 18px 40px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s var(--ew-ease);
}

.ew-ss-btn-gold:hover {
  background: #D4B56D;
  color: var(--ew-text);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.ew-ss-btn-ghost {
  display: inline-block;
  color: #fff;
  padding: 18px 40px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  transition: all 0.3s var(--ew-ease);
}

.ew-ss-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* --- Section Layout Helpers --- */
.ew-ss-section {
  padding: 100px 60px;
}

.ew-ss-container {
  max-width: 1200px;
  margin: 0 auto;
}

.ew-ss-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--ew-bordeaux);
  margin-bottom: 15px;
  font-weight: 600;
}

.ew-ss-section h2 {
  font-size: clamp(2rem, 4vw, 2.625rem);
  margin-bottom: 25px;
  line-height: 1.2;
  color: var(--ew-text);
}

.ew-ss-section p.ew-ss-lead {
  font-size: 1.125rem;
  color: var(--ew-text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Problem Section (2-col) --- */
.ew-ss-problem {
  background: var(--ew-white);
}

.ew-ss-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.ew-ss-problem p {
  font-size: 1.0625rem;
  color: var(--ew-text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.ew-ss-challenges {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ew-ss-challenges li {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background: var(--ew-champagne);
  border-radius: 8px;
  margin-bottom: 15px;
}

.ew-ss-challenge-icon {
  width: 50px;
  height: 50px;
  background: var(--ew-bordeaux);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.ew-ss-challenge-icon svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
}

.ew-ss-challenge-text h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--ew-text);
  font-weight: 600;
}

.ew-ss-challenge-text p {
  font-size: 0.875rem;
  margin: 0;
  color: var(--ew-text-secondary);
}

/* --- Solution Section (Process Flow) --- */
.ew-ss-solution {
  background: var(--ew-champagne);
  text-align: center;
}

.ew-ss-solution h2,
.ew-ss-solution .ew-ss-label {
  text-align: center;
}

.ew-ss-solution p.ew-ss-lead {
  margin: 0 auto 60px;
  text-align: center;
}

.ew-ss-process {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}

.ew-ss-step {
  flex: 1;
  max-width: 300px;
  background: var(--ew-white);
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: var(--ew-shadow-lg);
  text-align: center;
  position: relative;
}

.ew-ss-step.ew-ss-step-highlight {
  background: var(--ew-bordeaux);
  color: #fff;
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 0 20px 60px rgba(114, 47, 55, 0.3);
}

.ew-ss-step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: var(--ew-gold);
  color: var(--ew-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.ew-ss-step h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.ew-ss-step p {
  font-size: 0.9375rem;
  opacity: 0.8;
  margin-bottom: 0;
  line-height: 1.6;
}

.ew-ss-step-highlight h3,
.ew-ss-step-highlight p {
  color: #fff;
}

.ew-ss-arrow {
  display: flex;
  align-items: center;
  padding: 0 15px;
  color: var(--ew-bordeaux);
  font-size: 32px;
  font-weight: 300;
}

/* --- Services Grid (3x2) --- */
.ew-ss-services {
  background: var(--ew-white);
  text-align: center;
}

.ew-ss-services h2,
.ew-ss-services .ew-ss-label {
  text-align: center;
}

.ew-ss-services p.ew-ss-lead {
  margin: 0 auto 60px;
  text-align: center;
}

.ew-ss-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.ew-ss-service-card {
  background: var(--ew-champagne);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s var(--ew-ease);
}

.ew-ss-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ew-shadow-xl);
}

.ew-ss-service-icon {
  width: 70px;
  height: 70px;
  background: var(--ew-bordeaux);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.ew-ss-service-icon svg {
  width: 32px;
  height: 32px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
}

.ew-ss-service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--ew-text);
}

.ew-ss-service-card p {
  font-size: 0.875rem;
  color: var(--ew-text-secondary);
  line-height: 1.7;
}

/* --- Trust Section (Bordeaux BG) --- */
.ew-ss-trust {
  background: var(--ew-bordeaux);
  color: #fff;
  text-align: center;
}

.ew-ss-trust .ew-ss-label {
  color: var(--ew-gold);
}

.ew-ss-trust h2 {
  color: #fff;
  text-align: center;
}

.ew-ss-trust p.ew-ss-lead {
  color: rgba(255,255,255,0.8);
  margin: 0 auto 60px;
  text-align: center;
  max-width: 600px;
}

/* --- Gallery Grid --- */
.ew-ss-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 60px;
}

.ew-ss-gallery-item {
  position: relative;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  grid-column: span 2;
  cursor: pointer;
  transition: all 0.4s ease;
}

.ew-ss-gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.ew-ss-gallery-item.ew-ss-gi-large {
  grid-column: span 4;
  height: 280px;
}

.ew-ss-gallery-item.ew-ss-gi-tall {
  height: 280px;
}

.ew-ss-gallery-item.ew-ss-gi-medium {
  grid-column: span 3;
}

.ew-ss-gallery-item.ew-ss-gi-full {
  grid-column: span 6;
  height: 320px;
}

.ew-ss-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ew-ss-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

/* --- Lightbox --- */
.ew-ss-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ew-ss-lightbox.active {
  display: flex;
  opacity: 1;
}

.ew-ss-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.ew-ss-lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.ew-ss-lightbox-caption {
  text-align: center;
  color: #fff;
  padding: 20px;
  font-size: 16px;
  font-weight: 500;
}

.ew-ss-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s, color 0.3s;
  z-index: 10000;
  background: none;
  border: none;
  line-height: 1;
}

.ew-ss-lightbox-close:hover {
  color: var(--ew-gold);
  transform: scale(1.2);
}

.ew-ss-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: #fff;
  cursor: pointer;
  padding: 20px;
  transition: color 0.3s;
  user-select: none;
  background: none;
  border: none;
}

.ew-ss-lightbox-nav:hover {
  color: var(--ew-gold);
}

.ew-ss-lightbox-prev {
  left: 20px;
}

.ew-ss-lightbox-next {
  right: 20px;
}

/* --- Reviews Grid --- */
.ew-ss-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.ew-ss-review-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 35px;
  position: relative;
  text-align: left;
}

.ew-ss-review-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  position: absolute;
  top: 10px;
  left: 25px;
  opacity: 0.15;
  line-height: 1;
}

.ew-ss-review-stars {
  color: var(--ew-gold);
  font-size: 14px;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.ew-ss-review-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  font-style: italic;
  opacity: 0.95;
  color: #fff;
}

.ew-ss-review-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.ew-ss-review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--ew-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--ew-text);
  font-size: 18px;
}

.ew-ss-review-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
  color: #fff;
}

.ew-ss-review-info span {
  font-size: 13px;
  opacity: 0.7;
  color: #fff;
}

/* --- Partner Strip (inside Trust) --- */
.ew-ss-partners {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
}

.ew-ss-partners p {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.6;
  margin-bottom: 25px;
  color: #fff;
}

.ew-ss-partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.ew-ss-partner-logos a {
  opacity: 0.6;
  transition: opacity 0.3s;
}

.ew-ss-partner-logos a:hover {
  opacity: 1;
}

.ew-ss-partner-logos img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* --- CTA Section --- */
.ew-ss-cta {
  background: var(--ew-champagne);
  text-align: center;
}

.ew-ss-cta h2 {
  text-align: center;
}

.ew-ss-cta .ew-ss-label {
  text-align: center;
}

.ew-ss-cta p.ew-ss-lead {
  margin: 0 auto 40px;
  text-align: center;
  max-width: 550px;
}

.ew-ss-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ew-ss-btn-bordeaux {
  display: inline-block;
  background: var(--ew-bordeaux);
  color: #fff;
  padding: 18px 40px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s var(--ew-ease);
}

.ew-ss-btn-bordeaux:hover {
  background: var(--ew-bordeaux-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(114, 47, 55, 0.3);
}

.ew-ss-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  border: 2px solid var(--ew-bordeaux);
  color: var(--ew-bordeaux);
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s var(--ew-ease);
  font-size: 15px;
}

.ew-ss-btn-outline:hover {
  background: var(--ew-bordeaux);
  color: #fff;
}

.ew-ss-btn-outline svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* --- Scroll Animations (reuse fade-in) --- */
.ew-ss-section .ew-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ew-ease);
}

.ew-ss-section .ew-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive: Schloss-Suche --- */
@media (max-width: 1024px) {
  .ew-ss-section {
    padding: 80px 40px;
  }

  .ew-ss-process {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .ew-ss-arrow {
    transform: rotate(90deg);
    padding: 10px 0;
  }

  .ew-ss-step {
    max-width: 350px;
    width: 100%;
  }

  .ew-ss-step.ew-ss-step-highlight {
    transform: scale(1);
  }

  .ew-ss-gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .ew-ss-gallery-item {
    grid-column: span 2;
  }

  .ew-ss-gallery-item.ew-ss-gi-large {
    grid-column: span 4;
  }

  .ew-ss-gallery-item.ew-ss-gi-medium {
    grid-column: span 2;
  }

  .ew-ss-gallery-item.ew-ss-gi-full {
    grid-column: span 4;
  }

  .ew-ss-reviews {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 968px) {
  .ew-ss-hero-content {
    padding: 60px 30px;
  }

  .ew-ss-grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ew-ss-services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .ew-ss-section {
    padding: 60px 20px;
  }

  .ew-ss-hero-content {
    padding: 40px 20px;
  }

  .ew-ss-hero-buttons {
    flex-direction: column;
  }

  .ew-ss-btn-gold,
  .ew-ss-btn-ghost {
    text-align: center;
    width: 100%;
  }

  .ew-ss-services-grid {
    grid-template-columns: 1fr;
  }

  .ew-ss-gallery {
    grid-template-columns: 1fr;
  }

  .ew-ss-gallery-item,
  .ew-ss-gallery-item.ew-ss-gi-large,
  .ew-ss-gallery-item.ew-ss-gi-medium,
  .ew-ss-gallery-item.ew-ss-gi-full {
    grid-column: span 1;
    height: 200px;
  }

  .ew-ss-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .ew-ss-btn-bordeaux,
  .ew-ss-btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ===========================================
   DOLCE VITA AL CASTELLO - Event Landing Page
   page-dolce-vita.php
   Body class: .ew-theme-italia
   Color: Italian Green + Warm Cream + Gold
   =========================================== */

/* --- Italian Theme Variables --- */
.ew-theme-italia {
  --dv-green: #2D6A2E;
  --dv-green-dark: #1E4D1F;
  --dv-green-light: #3D8B3E;
  --dv-cream: #FBF8F1;
  --dv-cream-dark: #F3EDE0;
  --dv-gold: #C9A961;
  --dv-gold-light: #D4B872;
  --dv-text: #2A2A2A;
  --dv-text-light: #666;
  --dv-white: #FFFFFF;
  --dv-red-accent: #8B2E2E;
}

/* Container override */
.ew-page-dolce-vita .content-container.site-container,
.ew-page-dolce-vita .entry-content.single-content {
  max-width: none;
  padding: 0;
}

/* --- Hero --- */
.ew-dv-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ew-dv-hero img.ew-dv-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 35% center;
  z-index: 0;
}

.ew-dv-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20, 45, 20, 0.82) 0%,
    rgba(20, 40, 20, 0.65) 45%,
    rgba(15, 30, 15, 0.45) 100%
  );
  z-index: 1;
}

.ew-dv-hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 60px 80px;
  max-width: 800px;
  color: var(--dv-white);
}

.ew-dv-hero-badge {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid rgba(201, 169, 97, 0.5);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dv-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.06);
}

.ew-dv-hero h1 {
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 400;
  line-height: 0.9;
  margin-bottom: 24px;
  color: var(--dv-white);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.ew-dv-hero h1 em {
  font-family: 'Great Vibes', cursive;
  font-style: normal;
  font-weight: 400;
  color: var(--dv-gold);
  display: block;
  font-size: 0.45em;
  margin-top: -0.35em;
  letter-spacing: 0.01em;
  text-transform: none;
  position: relative;
  z-index: 1;
}

.ew-dv-hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.5;
  color: var(--dv-white);
}

.ew-dv-hero-dates {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.ew-dv-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dv-white);
}

.ew-dv-date-pill svg {
  flex-shrink: 0;
  opacity: 0.8;
}

.ew-dv-btn-primary {
  display: inline-block;
  background: var(--dv-green);
  color: var(--dv-white);
  padding: 18px 44px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
}

.ew-dv-btn-primary:hover {
  background: var(--dv-green-dark);
  color: var(--dv-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(45, 106, 46, 0.35);
}

.ew-dv-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  animation: ew-bounce 2s infinite;
}

/* --- Section Layout --- */
.ew-dv-section {
  padding: 100px 60px;
}

.ew-dv-container {
  max-width: 1200px;
  margin: 0 auto;
}

.ew-dv-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--dv-green);
  margin-bottom: 16px;
  font-weight: 600;
}

.ew-dv-section h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 24px;
  line-height: 1.2;
  color: var(--dv-text);
  letter-spacing: -0.02em;
}

/* --- Info Section (2-col) --- */
.ew-dv-info {
  background: var(--dv-white);
}

.ew-dv-info-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 20px;
  align-items: center;
}

.ew-dv-info-grid-reverse {
  direction: rtl;
}

.ew-dv-info-grid-reverse > * {
  direction: ltr;
}

.ew-dv-info-text p {
  font-size: 1.0625rem;
  color: var(--dv-text-light);
  line-height: 1.75;
  margin-bottom: 32px;
}

.ew-dv-info-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: none;
}

.ew-dv-info-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Location Slideshow */
.ew-dv-slideshow {
  position: relative;
}

.ew-dv-slides {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
}

.ew-dv-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.ew-dv-slides img.active {
  opacity: 1;
}

/* Arrow Buttons */
.ew-dv-slide-prev,
.ew-dv-slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ew-text, #1A1A1A);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease, background 0.2s ease;
}

.ew-dv-slideshow:hover .ew-dv-slide-prev,
.ew-dv-slideshow:hover .ew-dv-slide-next {
  opacity: 1;
}

.ew-dv-slide-prev { left: 12px; }
.ew-dv-slide-next { right: 12px; }

.ew-dv-slide-prev:hover,
.ew-dv-slide-next:hover {
  background: rgba(255, 255, 255, 0.95);
}

/* Dots below image */
.ew-dv-slide-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 4px;
}

.ew-dv-slide-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--ew-border, #E5E2DD);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.ew-dv-slide-dots button.active {
  background: var(--dv-green, #2D6A2E);
  width: 24px;
  border-radius: 4px;
}

/* Highlights List */
.ew-dv-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ew-dv-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ew-dv-highlight-item svg {
  flex-shrink: 0;
  color: var(--dv-green);
  margin-top: 2px;
}

.ew-dv-highlight-item strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--dv-text);
  margin-bottom: 2px;
}

.ew-dv-highlight-item span {
  font-size: 0.875rem;
  color: var(--dv-text-light);
}

/* --- Programm Section --- */
.ew-dv-programm {
  background: var(--dv-cream);
}

.ew-dv-days-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.ew-dv-day-card {
  background: var(--dv-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.ew-dv-day-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.ew-dv-day-featured {
  border: 2px solid var(--dv-green);
}

.ew-dv-day-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--dv-green);
  color: var(--dv-white);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ew-dv-day-header {
  background: var(--dv-green);
  padding: 24px 28px;
  color: var(--dv-white);
}

.ew-dv-day-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
  margin-bottom: 4px;
}

.ew-dv-day-date {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.ew-dv-day-body {
  padding: 28px;
}

.ew-dv-day-time {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dv-text);
  margin-bottom: 20px;
}

.ew-dv-day-time svg {
  color: var(--dv-green);
  flex-shrink: 0;
}

.ew-dv-day-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ew-dv-day-features li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 0.9375rem;
  color: var(--dv-text-light);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.ew-dv-day-features li:last-child {
  border-bottom: none;
}

.ew-dv-day-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--dv-green);
  border-radius: 50%;
  opacity: 0.5;
}

/* --- Tickets Section --- */
.ew-dv-tickets {
  background: var(--dv-white);
}

.ew-dv-tickets-lead {
  text-align: center;
  font-size: 1.0625rem;
  color: var(--dv-text-light);
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* --- Pill Selector Widget --- */
.ew-dv-selector {
  max-width: 600px;
  margin: 0 auto;
}

.ew-dv-selector-step {
  margin-bottom: 32px;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.ew-dv-selector-step-locked {
  opacity: 0.4;
  pointer-events: none;
  filter: grayscale(0.5);
}

.ew-dv-selector-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dv-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.ew-dv-selector-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--dv-green);
  color: var(--dv-white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ew-dv-pills {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.ew-dv-pill {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 16px 12px;
  background: var(--dv-cream);
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  font-family: 'Inter', sans-serif;
}

.ew-dv-pill:hover {
  border-color: rgba(45, 106, 46, 0.3);
  background: rgba(45, 106, 46, 0.04);
}

.ew-dv-pill.active {
  border-color: var(--dv-green);
  background: rgba(45, 106, 46, 0.08);
  box-shadow: 0 4px 16px rgba(45, 106, 46, 0.12);
}

.ew-dv-pill-best {
  background: linear-gradient(135deg, rgba(45,106,46,0.05) 0%, rgba(201,169,97,0.08) 100%);
}

.ew-dv-pill-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #C9A961 0%, #B8943E 100%);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(201, 169, 97, 0.35);
}

.ew-dv-pill-badge svg {
  color: #fff;
  width: 11px;
  height: 11px;
}

.ew-dv-pill-day {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dv-text);
  line-height: 1.3;
}

.ew-dv-pill-date {
  font-size: 0.75rem;
  color: var(--dv-text-light);
  font-weight: 400;
}

/* --- Result Area --- */
.ew-dv-selector-result {
  margin-top: 8px;
}

.ew-dv-selector-result-inner {
  background: var(--dv-cream);
  border-radius: 16px;
  padding: 28px 32px;
  border: 1px solid var(--dv-cream-dark);
  min-height: 100px;
}

.ew-dv-selector-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--dv-text-light);
  font-size: 0.9375rem;
  min-height: 60px;
  opacity: 0.6;
}

.ew-dv-selector-empty svg {
  flex-shrink: 0;
}

.ew-dv-selector-chosen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.ew-dv-selector-summary {
  flex: 1;
  min-width: 180px;
}

.ew-dv-selector-summary-title {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dv-text);
  margin-bottom: 2px;
}

.ew-dv-selector-summary-desc {
  display: block;
  font-size: 0.8125rem;
  color: var(--dv-text-light);
}

.ew-dv-selector-pricing {
  text-align: right;
  flex-shrink: 0;
}

.ew-dv-selector-price {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--dv-text);
  line-height: 1.1;
}

.ew-dv-price-pop {
  animation: ewDvPricePop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes ewDvPricePop {
  0%   { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1);    opacity: 1; }
}

.ew-dv-selector-savings {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 12px;
  background: rgba(45, 106, 46, 0.1);
  color: var(--dv-green);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* --- Quantity Selector --- */
.ew-dv-selector-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--dv-cream-dark);
}

.ew-dv-selector-qty-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--dv-text-light);
  margin-right: auto;
}

.ew-dv-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--dv-white);
  border: 1px solid var(--dv-cream-dark);
  border-radius: 8px;
  cursor: pointer;
  color: var(--dv-text);
  transition: all 0.2s ease;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

.ew-dv-qty-btn:hover {
  border-color: var(--dv-green);
  color: var(--dv-green);
}

.ew-dv-qty-input {
  width: 40px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dv-text);
  background: transparent;
  border: none;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

.ew-dv-qty-input::-webkit-outer-spin-button,
.ew-dv-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* --- Cart Button --- */
.ew-dv-btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
  padding: 16px 24px;
  background: var(--dv-green);
  color: var(--dv-white);
  border-radius: 12px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
}

.ew-dv-btn-cart:hover {
  background: var(--dv-green-dark);
  color: var(--dv-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 106, 46, 0.25);
}

.ew-dv-btn-cart svg {
  flex-shrink: 0;
}

.ew-dv-tickets-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--dv-text-light);
  margin-top: 32px;
  opacity: 0.7;
}

.ew-dv-shuttle-info {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 32px;
  padding: 20px 24px;
  background: rgba(45, 106, 46, 0.06);
  border: 1px solid rgba(45, 106, 46, 0.15);
  border-radius: 12px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.ew-dv-shuttle-info svg {
  flex-shrink: 0;
  color: var(--dv-green, #2D6A2E);
  margin-top: 2px;
}

.ew-dv-shuttle-info div {
  font-size: 0.875rem;
  color: var(--dv-text-light);
  line-height: 1.6;
}

.ew-dv-shuttle-info strong {
  color: var(--dv-text, #1A1A1A);
}

/* --- Location Section --- */
.ew-dv-location {
  background: var(--dv-cream);
}

.ew-dv-location-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.ew-dv-location-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--dv-text-light);
}

.ew-dv-location-detail svg {
  flex-shrink: 0;
  color: var(--dv-green);
}

.ew-dv-location-detail a {
  color: var(--dv-green);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.ew-dv-location-detail a:hover {
  border-bottom-color: var(--dv-green);
}

.ew-dv-accessibility {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ew-dv-accessibility h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dv-text);
  margin: 0 0 12px;
}

.ew-dv-accessibility ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ew-dv-accessibility li {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--dv-text-light);
}

.ew-dv-accessibility li strong {
  color: var(--dv-text);
}

/* --- CTA Section --- */
.ew-dv-cta {
  background: var(--dv-green);
  text-align: center;
  color: var(--dv-white);
}

.ew-dv-cta h2 {
  color: var(--dv-white);
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
}

.ew-dv-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.125rem;
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.ew-dv-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ew-dv-cta .ew-dv-btn-primary {
  background: var(--dv-white);
  color: var(--dv-green);
}

.ew-dv-cta .ew-dv-btn-primary:hover {
  background: var(--dv-cream);
  color: var(--dv-green-dark);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.ew-dv-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--dv-white);
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
}

.ew-dv-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: var(--dv-white);
}

.ew-dv-btn-outline svg {
  flex-shrink: 0;
}

/* --- Fade-in Animations --- */
.ew-dv-section .ew-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.ew-dv-section .ew-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive: Dolce Vita --- */
@media (max-width: 1024px) {
  .ew-dv-section {
    padding: 80px 40px;
  }

}

@media (max-width: 968px) {
  .ew-dv-hero-content {
    padding: 100px 30px 60px;
  }

  .ew-dv-info-grid,
  .ew-dv-info-grid-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

  .ew-dv-days-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
  }
}

@media (max-width: 600px) {
  .ew-dv-section {
    padding: 60px 20px;
  }

  .ew-dv-hero-content {
    padding: 80px 20px 40px;
  }

  .ew-dv-hero-dates {
    flex-direction: column;
  }

  .ew-dv-pills {
    flex-direction: column;
  }

  .ew-dv-pill {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
  }

  .ew-dv-selector-result-inner {
    padding: 24px 20px;
  }

  .ew-dv-selector-chosen {
    flex-direction: column;
    align-items: stretch;
  }

  .ew-dv-selector-pricing {
    text-align: left;
  }

  .ew-dv-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .ew-dv-btn-primary,
  .ew-dv-btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ================================================
   Event Tickets Plus - Attendee Registration Overrides
   Targets: body.page-tribe-attendee-registration
   ================================================ */

/* Kill the 4px blue left border. Must match plugin specificity. */
.entry .entry-content .event-tickets .tribe-tickets__attendee-tickets-item,
.event-tickets .tribe-tickets__attendee-tickets-item,
body.page-tribe-attendee-registration .tribe-common .tribe-tickets__attendee-tickets-item {
  border: 1px solid #E5E2DD !important;
  border-radius: 8px !important;
  background-color: #fff !important;
}

/* Kill the ::before / ::after corner squares */
.entry .entry-content .event-tickets .tribe-tickets__attendee-tickets-item::before,
.entry .entry-content .event-tickets .tribe-tickets__attendee-tickets-item::after,
.event-tickets .tribe-tickets__attendee-tickets-item::before,
.event-tickets .tribe-tickets__attendee-tickets-item::after {
  display: none !important;
}

/* Focus state (JS-toggled class): gold instead of blue */
.entry .entry-content .event-tickets .tribe-tickets__attendee-tickets-item--has-focus,
.event-tickets .tribe-tickets__attendee-tickets-item--has-focus,
body.page-tribe-attendee-registration .tribe-common .tribe-tickets__attendee-tickets-item--has-focus {
  border: 1px solid #C9A961 !important;
}

/* Error state */
.entry .entry-content .event-tickets .tribe-tickets__attendee-tickets-item--has-error,
.event-tickets .tribe-tickets__attendee-tickets-item--has-error {
  border: 1px solid #c0392b !important;
}

/* Override TEC accent color variable globally on this page */
body.page-tribe-attendee-registration {
  --tec-color-accent-primary: #1A1A1A;
  --tec-color-accent-primary-hover: #C9A961;
  --tec-color-accent-primary-active: #A8893F;
  --tec-color-icon-focus: #C9A961;
  --tec-color-border-secondary: #E5E2DD;
}

/* Submit button */
body.page-tribe-attendee-registration .tribe-tickets__registration-submit,
body.page-tribe-attendee-registration .tribe-common button.tribe-common-c-btn--small {
  background-color: #1A1A1A !important;
  border-radius: 6px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.page-tribe-attendee-registration .tribe-tickets__registration-submit:hover,
body.page-tribe-attendee-registration .tribe-common button.tribe-common-c-btn--small:hover {
  background-color: #C9A961 !important;
}

/* Form inputs styling */
body.page-tribe-attendee-registration .tribe-tickets__form-field-input {
  border: 1px solid #E5E2DD !important;
  border-radius: 6px !important;
  font-family: 'Inter', sans-serif !important;
  padding: 10px 14px !important;
  transition: border-color 0.2s ease;
}

body.page-tribe-attendee-registration .tribe-tickets__form-field-input:focus {
  border-color: #C9A961 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15) !important;
}

/* Page title styling */
body.page-tribe-attendee-registration .tribe-tickets__registration-page-title {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  color: #1A1A1A !important;
}

/* Ticket heading */
body.page-tribe-attendee-registration .tribe-ticket__tickets-heading {
  font-family: 'Inter', sans-serif !important;
  color: #1A1A1A !important;
}

/* Mini cart sidebar */
body.page-tribe-attendee-registration .tribe-tickets__mini-cart {
  border-color: #E5E2DD !important;
  border-radius: 8px !important;
}

body.page-tribe-attendee-registration .tribe-tickets__mini-cart-title {
  font-family: 'Inter', sans-serif !important;
  color: #1A1A1A !important;
}

/* WooCommerce Warenkorb + Kasse: Content-Breite auf Header-Breite begrenzen */
.woocommerce-cart .content-container.site-container,
.woocommerce-checkout .content-container.site-container {
  max-width: var(--global-content-width, 1290px);
  margin: 0 auto;
  padding-left: var(--global-content-edge-padding, 1.5rem);
  padding-right: var(--global-content-edge-padding, 1.5rem);
}

/* WooCommerce Warenkorb + Kasse styling */
.woocommerce-cart .woocommerce table.shop_table,
.woocommerce-checkout .woocommerce table.shop_table {
  border-color: #E5E2DD;
  border-radius: 8px;
}

.woocommerce-cart .woocommerce table.shop_table th,
.woocommerce-checkout .woocommerce table.shop_table th {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #1A1A1A;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1px solid #E5E2DD;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  padding: 10px 14px;
  transition: border-color 0.2s ease;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: #C9A961;
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15);
}

.woocommerce #place_order,
.woocommerce .checkout_coupon input[type="submit"] {
  background-color: #1A1A1A !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  padding: 14px 28px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.woocommerce #place_order:hover {
  background-color: #C9A961 !important;
}

/* ===========================================
   CHECKOUT - Payment Method Cards
   Premium card-style radio selection with Gold accents
   =========================================== */

/* Payment methods list - remove default bullets */
.woocommerce-checkout #payment ul.payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* Each payment method as a card */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method {
  border: 1.5px solid var(--ew-border, #E5E2DD) !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  margin-bottom: 10px !important;
  background: #fff !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:last-child {
  margin-bottom: 0 !important;
}

/* Hover state */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:hover {
  border-color: var(--ew-gold, #C9A961) !important;
  background: rgba(201, 169, 97, 0.03) !important;
}

/* Selected / checked state - Gold highlight */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method input.input-radio:checked ~ label,
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:has(input.input-radio:checked) {
  border-color: var(--ew-gold, #C9A961) !important;
  background: rgba(201, 169, 97, 0.06) !important;
  box-shadow: 0 0 0 1px var(--ew-gold, #C9A961) !important;
}

/* Radio button styling - Gold when checked */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method input.input-radio {
  accent-color: var(--ew-gold, #C9A961) !important;
  width: 18px !important;
  height: 18px !important;
  margin-right: 10px !important;
  vertical-align: middle !important;
  cursor: pointer !important;
}

/* Custom radio appearance for browsers that support it */
@supports (appearance: none) {
  .woocommerce-checkout #payment ul.payment_methods li.wc_payment_method input.input-radio {
    -webkit-appearance: none !important;
    appearance: none !important;
    border: 2px solid var(--ew-border, #E5E2DD) !important;
    border-radius: 50% !important;
    background: #fff !important;
    transition: all 0.15s ease !important;
    position: relative !important;
  }

  .woocommerce-checkout #payment ul.payment_methods li.wc_payment_method input.input-radio:checked {
    border-color: var(--ew-gold, #C9A961) !important;
    background: var(--ew-gold, #C9A961) !important;
    box-shadow: inset 0 0 0 3px #fff !important;
  }
}

/* Payment method label */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method label {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  color: var(--ew-text, #1A1A1A) !important;
  cursor: pointer !important;
  display: inline !important;
  vertical-align: middle !important;
}

/* Payment box (description when method is selected) */
.woocommerce-checkout #payment .payment_box {
  background: rgba(201, 169, 97, 0.04) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  margin-top: 12px !important;
  color: var(--ew-text-secondary, #6B6B6B) !important;
  font-size: 14px !important;
}

.woocommerce-checkout #payment .payment_box::before {
  display: none !important;
}

/* Remove WooCommerce default payment area background/border */
.woocommerce-checkout #payment {
  background: transparent !important;
  border-radius: 0 !important;
}

.woocommerce-checkout #payment div.payment_box {
  background: rgba(201, 169, 97, 0.04) !important;
}

/* Left accent line (if present from PayPal/Stripe) -> Gold */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method::before,
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method::after {
  background-color: var(--ew-gold, #C9A961) !important;
}

/* ===========================================
   ÜBER UNS - Editorial / Magazine Layout
   page-ueber-uns.php
   Body class: .ew-page-ueber-uns
   =========================================== */

/* --- Shared Label Style --- */
.ew-about-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--ew-gold);
  margin-bottom: 16px;
}

/* --- 1. Hero (Editorial Opening) --- */
.ew-about-hero {
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.55)),
              url('/wp-content/uploads/2026/03/ueber-eventwerkcompany.webp') center/cover no-repeat;
  padding: 180px 0 120px;
  text-align: center;
}

.ew-about-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--ew-space-md);
}

.ew-about-hero-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  color: var(--ew-gold);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  margin-bottom: var(--ew-space-lg);
  position: relative;
}

.ew-about-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 5.5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: var(--ew-space-md);
}

.ew-about-hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto var(--ew-space-xl);
}

.ew-about-hero-ornament {
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .ew-about-hero {
    padding: 120px 0 80px;
  }
}

/* --- 2. Mission / Philosophie (Asymmetric 60/40) --- */
.ew-about-mission {
  padding: var(--ew-space-4xl) 0;
  background: var(--ew-white);
}

.ew-about-mission-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--ew-space-2xl);
  align-items: center;
}

.ew-about-mission-text h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--ew-text);
  margin-bottom: var(--ew-space-lg);
  letter-spacing: -0.02em;
}

.ew-about-mission-text p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ew-text-secondary);
  margin-bottom: var(--ew-space-md);
}

.ew-about-mission-text p:last-child {
  margin-bottom: 0;
}

.ew-about-mission-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--ew-shadow-xl);
}

.ew-about-mission-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
}

@media (max-width: 968px) {
  .ew-about-mission-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ew-about-mission-image {
    order: -1;
  }

  .ew-about-mission-image img {
    aspect-ratio: 16/10;
  }
}

/* --- 3. Oliver Heindl Portrait --- */
.ew-about-portrait {
  padding: var(--ew-space-4xl) 0;
  background: var(--ew-bg);
}

.ew-about-portrait-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: var(--ew-space-2xl);
  align-items: start;
}

.ew-about-portrait-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 16px;
  background: linear-gradient(145deg, #E8E4DD 0%, #D5D0C7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--ew-shadow-lg);
}

.ew-about-portrait-placeholder::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1.5px solid var(--ew-gold-light);
  border-radius: 12px;
  pointer-events: none;
}

.ew-about-portrait-initials {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--ew-gold);
  opacity: 0.45;
  letter-spacing: 0.05em;
}

/* When a real photo replaces the placeholder */
.ew-about-portrait-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--ew-shadow-lg);
}

.ew-about-portrait-text h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--ew-text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.ew-about-portrait-role {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ew-gold) !important;
  margin-bottom: var(--ew-space-lg);
  letter-spacing: 0;
}

.ew-about-portrait-text p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ew-text-secondary);
  margin-bottom: var(--ew-space-md);
}

.ew-about-portrait-quote {
  margin: var(--ew-space-xl) 0 0;
  padding: var(--ew-space-lg);
  border-left: 3px solid var(--ew-gold);
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.06), rgba(201, 169, 97, 0.02));
  border-radius: 0 12px 12px 0;
}

.ew-about-portrait-quote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ew-text);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 968px) {
  .ew-about-portrait-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ew-about-portrait-placeholder {
    max-width: 340px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .ew-about-portrait-placeholder {
    max-width: 280px;
  }

  .ew-about-portrait-initials {
    font-size: 3.5rem;
  }
}

/* --- 4. Was uns ausmacht (Feature Cards 3x2) --- */
.ew-about-features {
  padding: var(--ew-space-4xl) 0;
  background: url('/wp-content/uploads/2026/03/doodle-eventwerkcompany.webp') repeat center/500px;
  position: relative;
}

.ew-about-features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.85);
  pointer-events: none;
}

.ew-about-features > * {
  position: relative;
  z-index: 1;
}

.ew-about-features-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--ew-text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.ew-about-features-subtitle {
  font-size: 1.05rem;
  color: var(--ew-text-secondary);
  max-width: 520px;
  margin: 0 auto 60px !important;
  line-height: 1.7;
}

.ew-about-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ew-space-md);
}

.ew-about-feature-card {
  background: var(--ew-bg);
  border: 1px solid var(--ew-border);
  border-radius: 16px;
  padding: var(--ew-space-lg) var(--ew-space-md);
  transition: all var(--ew-duration) var(--ew-ease);
}

.ew-about-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ew-shadow-md);
  border-color: var(--ew-gold-light);
}

.ew-about-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(201, 169, 97, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--ew-space-sm);
}

.ew-about-feature-icon svg {
  color: var(--ew-gold);
}

.ew-about-feature-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ew-text);
  margin-bottom: 8px;
}

.ew-about-feature-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ew-text-secondary);
  margin: 0;
}

@media (max-width: 968px) {
  .ew-about-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ew-about-features-grid {
    grid-template-columns: 1fr;
  }
}

/* --- 5. Zahlen & Fakten (Dark Counter Section) --- */
.ew-about-stats {
  background: var(--ew-text, #1A1A1A);
  padding: var(--ew-space-3xl) 0;
  position: relative;
}

.ew-about-stats-line-top,
.ew-about-stats-line-bottom {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ew-gold), transparent);
  position: absolute;
  left: 0;
  right: 0;
}

.ew-about-stats-line-top {
  top: 0;
}

.ew-about-stats-line-bottom {
  bottom: 0;
}

.ew-about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ew-space-lg);
  text-align: center;
}

.ew-about-stat-number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--ew-gold);
  line-height: 1.1;
  margin-bottom: 8px;
}

.ew-about-stat-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .ew-about-stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ew-about-stat-number {
    font-size: 3rem;
  }
}

/* --- 6. Google Bewertungen --- */
.ew-about-reviews {
  padding: var(--ew-space-4xl) 0;
  background: var(--ew-bg);
}

.ew-about-reviews h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--ew-text);
  margin-bottom: var(--ew-space-xl);
  letter-spacing: -0.02em;
}

.ew-about-reviews-fallback {
  font-size: 1rem;
  color: var(--ew-text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.ew-about-reviews-fallback a {
  color: var(--ew-gold);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color var(--ew-duration) var(--ew-ease);
}

.ew-about-reviews-fallback a:hover {
  border-bottom-color: var(--ew-gold);
}

/* --- 7. Partner Section --- */
.ew-about-partners {
  padding: var(--ew-space-3xl) 0 var(--ew-space-xl);
  background: var(--ew-white);
}

/* --- 8. CTA Section --- */
.ew-about-cta {
  padding: var(--ew-space-4xl) 0;
  background: var(--ew-bg);
}

.ew-about-cta h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--ew-text);
  margin-bottom: var(--ew-space-sm);
  letter-spacing: -0.02em;
}

.ew-about-cta p {
  font-size: 1.1rem;
  color: var(--ew-text-secondary);
  max-width: 540px;
  margin: 0 auto var(--ew-space-xl);
  line-height: 1.7;
}

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

.ew-footer {
  background: var(--ew-text, #1A1A1A);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 0;
}

.ew-footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.ew-footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin: 16px 0 24px;
  max-width: 280px;
}

.ew-footer-logo img {
  display: block;
  max-width: 160px;
  height: auto;
  filter: brightness(0) invert(1);
}

.ew-footer-social {
  display: flex;
  gap: 16px;
}

.ew-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.2s ease;
}

.ew-footer-social a:hover {
  border-color: var(--ew-gold, #C9A961);
  color: var(--ew-gold, #C9A961);
}

.ew-footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.ew-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ew-footer-col ul li {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ew-footer-col ul li svg {
  flex-shrink: 0;
  opacity: 0.4;
}

.ew-footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ew-footer-col ul li a:hover {
  color: var(--ew-gold, #C9A961);
}

.ew-footer-bottom {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.ew-footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

/* Hide Kadence default footer since we have our own */
.site-footer .site-footer-wrap {
  display: none;
}

/* Footer Responsive */
@media (max-width: 968px) {
  .ew-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .ew-footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ew-footer {
    padding: 48px 0 0;
  }

  .ew-footer-bottom {
    margin-top: 40px;
  }
}

/* ===========================================
   CONTACT PAGE (page-kontakt.php)
   =========================================== */

/* Hero */
.ew-contact-hero {
  background: var(--ew-bg, #FAF9F7);
  padding: 140px 24px 80px;
  text-align: center;
}

.ew-contact-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.ew-contact-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ew-gold, #C9A961);
  margin-bottom: 16px;
}

.ew-contact-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--ew-text, #1A1A1A);
  line-height: 1.15;
  margin-bottom: 16px;
}

.ew-contact-hero-sub {
  font-size: 1.15rem;
  color: var(--ew-text-secondary, #6B6B6B);
  line-height: 1.7;
}

/* Main Split Layout */
.ew-contact-main {
  padding: 80px 0;
  background: var(--ew-white, #fff);
}

.ew-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* Left: Contact Info */
.ew-contact-info h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ew-text, #1A1A1A);
  margin-bottom: 16px;
}

.ew-contact-info-lead {
  font-size: 1rem;
  color: var(--ew-text-secondary, #6B6B6B);
  line-height: 1.7;
  margin-bottom: 40px;
}

.ew-contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ew-contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ew-contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--ew-bg, #FAF9F7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ew-gold, #C9A961);
}

.ew-contact-detail h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ew-text, #1A1A1A);
  margin-bottom: 2px;
}

.ew-contact-detail a,
.ew-contact-detail span {
  font-size: 15px;
  color: var(--ew-text-secondary, #6B6B6B);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ew-contact-detail a:hover {
  color: var(--ew-gold, #C9A961);
}

/* Right: Form */
.ew-contact-form-wrap {
  background: var(--ew-bg, #FAF9F7);
  border-radius: 16px;
  padding: 40px;
}

.ew-contact-msg {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.5;
}

.ew-contact-msg p {
  margin: 0;
}

.ew-contact-msg-success {
  background: rgba(45, 122, 79, 0.08);
  border: 1px solid rgba(45, 122, 79, 0.2);
  color: #2D7A4F;
}

.ew-contact-msg-error {
  background: rgba(197, 48, 48, 0.08);
  border: 1px solid rgba(197, 48, 48, 0.2);
  color: #C53030;
}

.ew-form-group {
  margin-bottom: 20px;
}

.ew-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ew-contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ew-text, #1A1A1A);
  margin-bottom: 6px;
}

.ew-required {
  color: var(--ew-gold, #C9A961);
}

.ew-contact-form input[type="text"],
.ew-contact-form input[type="email"],
.ew-contact-form input[type="tel"],
.ew-contact-form select,
.ew-contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--ew-border, #E5E2DD);
  border-radius: 8px;
  background: var(--ew-white, #fff);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ew-text, #1A1A1A);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
}

.ew-contact-form input:focus,
.ew-contact-form select:focus,
.ew-contact-form textarea:focus {
  outline: none;
  border-color: var(--ew-gold, #C9A961);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.ew-contact-form input::placeholder,
.ew-contact-form textarea::placeholder {
  color: var(--ew-text-muted, #999);
}

.ew-contact-form select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.ew-contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.ew-form-privacy {
  margin-bottom: 24px;
}

.ew-form-privacy p {
  font-size: 13px;
  color: var(--ew-text-muted, #999);
  line-height: 1.5;
  margin: 0;
}

.ew-form-privacy a {
  color: var(--ew-gold, #C9A961);
  text-decoration: none;
}

.ew-form-privacy a:hover {
  text-decoration: underline;
}

.ew-contact-form .ew-btn-primary {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
}

/* Trust Section */
.ew-contact-trust {
  padding: 60px 0 80px;
  background: var(--ew-bg, #FAF9F7);
}

.ew-contact-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.ew-contact-trust-item svg {
  color: var(--ew-gold, #C9A961);
  margin-bottom: 16px;
}

.ew-contact-trust-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ew-text, #1A1A1A);
  margin-bottom: 8px;
}

.ew-contact-trust-item p {
  font-size: 14px;
  color: var(--ew-text-secondary, #6B6B6B);
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
}

/* Contact Responsive */
@media (max-width: 968px) {
  .ew-contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ew-contact-hero {
    padding: 120px 24px 60px;
  }
}

@media (max-width: 600px) {
  .ew-form-row {
    grid-template-columns: 1fr;
  }

  .ew-contact-trust-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ew-contact-form-wrap {
    padding: 24px;
  }

  .ew-contact-hero {
    padding: 100px 20px 48px;
  }
}

/* --- Default block editor page width alignment --- */
body.page-template-default:not(.ew-page-home):not(.ew-page-schloss-thurn):not(.ew-page-schloss-jaegersburg):not(.ew-page-historische-locations):not(.ew-page-ueber-uns):not(.ew-page-kontakt):not(.ew-page-dolce-vita) {
  --wp--style--global--content-size: 1400px;
  --wp--style--global--wide-size: 1400px;
}

body.page-template-default:not(.ew-page-home):not(.ew-page-schloss-thurn):not(.ew-page-schloss-jaegersburg):not(.ew-page-historische-locations):not(.ew-page-ueber-uns):not(.ew-page-kontakt):not(.ew-page-dolce-vita) .entry-content.single-content {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding-inline: clamp(24px, 3vw, 40px);
}


/* Google Stars & Reviews */
.ew-google-stars {
  margin-top: 12px;
  margin-bottom: 8px;
}
.ew-stars-row {
  display: flex;
  align-items: center;
  gap: 3px;
}
.ew-stars-text {
  margin-left: 8px;
  font-size: 14px;
  color: #6B6B6B;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.02em;
}
.ew-google-reviews {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.ew-section-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: #6B6B6B;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 400;
}

/* Google Stars Inline */
.ew-inline-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 4px;
  vertical-align: middle;
}
.ew-stars-divider {
  margin: 0 8px;
  color: #AAAAAA;
  font-size: 16px;
}
.ew-stars-label {
  margin-left: 6px;
  font-size: 13px;
  color: #6B6B6B;
  font-weight: 500;
}
.ew-inline-stars svg {
  vertical-align: middle;
}

/* Stars link */
a.ew-inline-stars {
  text-decoration: none;
  transition: opacity 0.2s ease;
}
a.ew-inline-stars:hover {
  opacity: 0.75;
}

/* Accordion: inline image inside body on mobile */
.ew-accordion-body-img {
  display: none;
}

@media (max-width: 768px) {
  .ew-accordion-image {
    display: none !important;
  }

  .ew-accordion-body-img {
    display: block;
    width: 100%;
    border-radius: 12px;
    margin-top: 12px;
    object-fit: cover;
    max-height: 220px;
  }
}

/* ============================================
   BURGER MENU (Mobile)
   ============================================ */
.ew-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
}

.ew-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ew-text, #1a1a1a);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.ew-burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.ew-burger.active span:nth-child(2) {
  opacity: 0;
}

.ew-burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .ew-burger {
    display: block;
  }

  .site-header-main-section-right {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    padding: 24px 32px 32px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
  }

  .site-header-main-section-right.ew-nav-open {
    right: 0;
  }

  .site-main-header-wrap .main-navigation ul {
    flex-direction: column;
    gap: 0;
  }

  .site-main-header-wrap .main-navigation ul li a {
    padding: 14px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--ew-border, #E5E2DD);
    display: block;
  }

  .site-main-header-wrap .main-navigation ul li.ew-nav-cta > a {
    margin-top: 16px;
    text-align: center;
  }

  .site-main-header-wrap .main-navigation ul li > ul.sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    background: transparent;
  }

  .site-main-header-wrap .main-navigation ul li > ul.sub-menu::before {
    display: none;
  }

  .ew-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .ew-nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}


/* ============================================
   DOLCE VITA - NACHT-ATMOSPHÄRE
   ============================================ */

/* --- La Piazza: Dunkler Nacht-Hintergrund --- */
.ew-dv-info {
  background: linear-gradient(165deg, #0f1a12 0%, #1a2e1d 40%, #162014 100%);
  position: relative;
  overflow: hidden;
}

.ew-dv-info .ew-dv-label {
  color: var(--dv-gold);
}

.ew-dv-info h2 {
  color: var(--dv-cream) !important;
}

.ew-dv-info .ew-dv-info-text p {
  color: rgba(251, 248, 241, 0.75);
}

.ew-dv-info .ew-dv-highlight-item strong {
  color: var(--dv-cream);
}

.ew-dv-info .ew-dv-highlight-item span {
  color: rgba(251, 248, 241, 0.6);
}

.ew-dv-info .ew-dv-highlight-item svg {
  color: var(--dv-gold);
  stroke: var(--dv-gold);
}

/* Subtile Lichtpunkte als Deko */
.ew-dv-info::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(201, 169, 97, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(201, 169, 97, 0.06) 0%, transparent 35%),
    radial-gradient(circle at 50% 90%, rgba(45, 106, 46, 0.1) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.ew-dv-info > * {
  position: relative;
  z-index: 1;
}

/* Bild leuchtet aus der Dunkelheit */
.ew-dv-info .ew-dv-info-image {
  border-radius: 12px;
  box-shadow: none;
}

/* --- Programm: Doodle Pattern auf Cream --- */
.ew-dv-programm {
  position: relative;
  overflow: hidden;
}

.ew-dv-programm::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/wp-content/uploads/2026/03/italien-doodle-pattern.webp') repeat center / 300px;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.ew-dv-programm > * {
  position: relative;
  z-index: 1;
}



/* ============================================
   DOLCE VITA - STICKY HERO PARALLAX
   ============================================ */
.ew-dv-hero {
  position: sticky;
  top: 0;
  z-index: 0;
}

.ew-dv-info,
.ew-dv-programm,
.ew-dv-tickets,
.ew-dv-location,
.ew-dv-cta {
  position: relative;
  z-index: 1;
}

/* --- Zerrissene Kante (Torn Edge Transition) --- */
.ew-dv-torn-edge {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 80px;
  margin-top: -80px;
  margin-bottom: 0;
  background: url('/wp-content/themes/kadence-child-eventwerk/assets/img/zerrissene-kante.png') repeat-x center / 100% 100%;
  pointer-events: none;
}

.ew-dv-torn-edge-flipped {
  margin-top: 0;
  margin-bottom: -80px;
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  .ew-dv-torn-edge {
    height: 50px;
    margin-top: -50px;
  }
  .ew-dv-torn-edge-flipped {
    margin-top: 0;
    margin-bottom: -50px;
  }
}

/* --- Scroll Arrow (Tickets Hint) --- */
.ew-dv-scroll-arrow {
  display: flex;
  justify-content: center;
  padding: 12px 0 8px;
  color: var(--dv-green);
  opacity: 0.45;
  animation: ew-dv-bounce 2.4s ease-in-out infinite;
}

.ew-dv-scroll-arrow svg {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.08));
}

@keyframes ew-dv-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* --- Info Section: Highlights as grid child (mobile reorder) --- */
.ew-dv-info .ew-dv-info-grid {
  grid-template-rows: auto auto;
}

.ew-dv-info .ew-dv-info-text {
  grid-column: 1;
  grid-row: 1;
}

.ew-dv-info .ew-dv-info-image {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.ew-dv-info .ew-dv-highlights {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
}

@media (max-width: 968px) {
  .ew-dv-info .ew-dv-info-grid {
  grid-template-columns: 2fr 3fr;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .ew-dv-info .ew-dv-info-text {
    grid-column: 1;
    grid-row: auto;
    order: 1;
  }

  .ew-dv-info .ew-dv-info-image {
    grid-column: 1;
    grid-row: auto;
    order: 2;
  }

  .ew-dv-info .ew-dv-highlights {
    grid-column: 1;
    grid-template-columns: 1fr;
    grid-row: auto;
    order: 3;
  }
}

/* --- CTA Background Image --- */
.ew-dv-cta {
  background: linear-gradient(rgba(20, 55, 20, 0.82), rgba(20, 55, 20, 0.82)),
              url('/wp-content/themes/kadence-child-eventwerk/assets/img/cta-bg-italien.webp') center / cover no-repeat fixed;
}

/* --- Info Image: full-bleed on mobile --- */
@media (max-width: 968px) {
  .ew-dv-info .ew-dv-info-image {
    margin-left: -20px;
    margin-right: -20px;
  }
  .ew-dv-info .ew-dv-info-image img {
    border-radius: 0;
  }
}

/* Contact Hero with Background Image */
.ew-contact-hero-bg {
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  position: relative;
  padding: 180px 24px 120px;
}
.ew-contact-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.7) 0%, rgba(26,26,26,0.3) 50%, rgba(26,26,26,0.15) 100%);
  z-index: 0;
}
.ew-contact-hero-bg .ew-contact-hero-inner {
  position: relative;
  z-index: 1;
}
.ew-contact-hero-bg .ew-contact-label {
  color: #C9A961;
}
.ew-contact-hero-bg h1 {
  color: #fff;
}
.ew-contact-hero-bg .ew-contact-hero-sub {
  color: rgba(255,255,255,0.85);
}

/* Privacy Checkbox */
.ew-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color: #6B6B6B;
}
.ew-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.ew-checkbox-mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #C9A961;
  border-radius: 3px;
  margin-top: 1px;
  transition: all 0.2s ease;
  position: relative;
}
.ew-checkbox-label input:checked + .ew-checkbox-mark {
  background: #C9A961;
}
.ew-checkbox-label input:checked + .ew-checkbox-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.ew-checkbox-text a {
  color: #C9A961;
  text-decoration: underline;
}
