/*****************************************************
 * EVENT RUHMER – Basis-CSS
 * minimal, modular, barrierearm
 *****************************************************/

/* -----------------------------
   HERO-SECTION & OVERLAYS
   ----------------------------- */

/* Hero-Sektion: Höhe & Innenabstand */
.sp-page-builder .er-hero {
  position: relative;
  min-height: 70vh;
  padding-top: 60px;
  padding-bottom: 140px;
  text-align: left;
}

@media (max-width: 991px) {
  .sp-page-builder .er-hero {
    min-height: 60vh;
    padding-top: 140px;
    padding-bottom: 120px;
  }
}

@media (max-width: 575px) {
  .sp-page-builder .er-hero {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 100px;
  }
}

/* Buttons etwas näher zusammen rücken */
.sp-page-builder .er-hero .er-btn-primary {
  margin-right: 1.2rem;
}

/* Warmes Bronze-Overlay (für Party-/Brautpaar-Bilder) */
.sp-page-builder .er-overlay-warm .sppb-row-overlay {
  background: linear-gradient(
    to bottom,
    rgba(32, 20, 10, 0.65),
    rgba(0, 0, 0, 0.25)
  );
  mix-blend-mode: multiply;
  opacity: 1;
}

/* Neutrales Overlay (für helle, weiße Technik-Bilder) */
.sp-page-builder .er-overlay-neutral .sppb-row-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.40),
    rgba(0, 0, 0, 0.15)
  );
  mix-blend-mode: normal;
  opacity: 1;
}


/* -----------------------------
   BUTTONS
   ----------------------------- */

/* Goldener Primärbutton */
.er-btn-primary {
  display: inline-block;
  background-color: #C28F2C !important;
  color: #FFFFFF !important;
  border: 1px solid #C28F2C !important;
  border-radius: 999px;
  padding: 0.75rem 1.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* Hover/Fokus – etwas heller, Fokus sichtbar */
.er-btn-primary:hover,
.er-btn-primary:focus,
.er-btn-primary:active {
  background-color: #E6B800;
  border-color: #E6B800;
  color: #FFFFFF !important;
  text-decoration: none;
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}

/* Sekundärbutton (nur Rahmen, transparenter Hintergrund) */
.er-btn-secondary {
  display: inline-block;
  background-color: transparent !important;
  color: #FFFFFF !important;
  border: 1px solid #C28F2C !important;
  border-radius: 999px;
  padding: 0.75rem 1.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* Hover/Fokus Sekundärbutton */
.er-btn-secondary:hover,
.er-btn-secondary:focus,
.er-btn-secondary:active {
  background-color: rgba(194, 143, 44, 0.15);
  border-color: #E6B800;
  color: #FFFFFF !important;
  text-decoration: none;
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}


/* -----------------------------
   HERO-TEXT & TYPO
   ----------------------------- */

.sp-page-builder .er-hero .sppb-addon-title,
.sp-page-builder .er-hero .sppb-addon-text-block .sppb-addon-content,
.sp-page-builder .er-overlay-warm .sppb-addon-title,
.sp-page-builder .er-overlay-warm .sppb-addon-text-block .sppb-addon-content {
  color: #ffffff !important;
  text-shadow: 0 0 18px rgba(0,0,0,0.75);
}

/* HERO – Haupttitel "EVENT – RUHMER" */
.sp-page-builder .er-hero .er-hero-title {
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

@media (max-width: 991px) {
  .sp-page-builder .er-hero .er-hero-title {
    font-size: 2.6rem;
  }
}

@media (max-width: 575px) {
  .sp-page-builder .er-hero .er-hero-title {
    font-size: 2.2rem;
  }
}

/* HERO – Subheadline */
.sp-page-builder .er-hero .er-hero-sub {
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 1rem;
}

/* HERO – Lauftext */
.sp-page-builder .er-hero .sppb-addon-text-block .sppb-addon-content {
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 1.6rem !important;
  max-width: 720px;
}


/* -----------------------------
   CONTENT-SEKTIONEN
   ----------------------------- */

.er-section {
  padding-top: 70px;
  padding-bottom: 70px;
}

@media (max-width: 767px) {
  .er-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

.er-section h2.sppb-addon-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}


/* =========================================
   TESTIMONIALS – "Stimmen unserer Kunden"
   ========================================= */

.er-testimonials {
  background: #faf7f2;
  border-top: none;        /* Linie oben aus */
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: 5%;
  padding-right: 5%;
  text-align: center;
}


/* Intro-Text */
.er-testimonials-intro {
  max-width: 720px;
  margin: 0 auto 2rem;
  color: #555;
}

/* Review-Karten */
.testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  min-height: 230px;
  border-top: 4px solid #c28f2c;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Sterne-Zeile (einmalig) */
.testimonial-stars {
  font-size: 1.1rem;
  color: #C28F2C;
  margin-bottom: 0.75rem;
}

/* Falls das Addon zusätzlich eine 2. Rating-Zeile rendert → ausblenden */
.er-testimonials .sppb-addon-rating,
.er-testimonials .sppb-rating,
.er-testimonials .sppb-rating-wrap {
  display: none !important;
}

/* Name / Absender */
.testimonial-name {
  margin-top: 1.2rem;
  font-weight: 600;
  color: #444;
}

/* Carousel-Pfeile edel + symmetrisch eingerückt */
.er-testimonials .sppb-carousel-control {
  background: rgba(255,255,255,0.4) !important;
  border-radius: 50% !important;
  border: 2px solid #c28f2c !important;
  width: 44px !important;
  height: 44px !important;
  color: #c28f2c !important;
  font-size: 18px !important;
  backdrop-filter: blur(4px);
  transition: 0.3s ease;
  top: 50% !important;
  transform: translateY(-50%);
}

/* Links/Rechts gleich weit vom Rand entfernt */
.er-testimonials .sppb-carousel-control.left,
.er-testimonials .sppb-carousel-control-prev {
  left: 10px !important;
}

.er-testimonials .sppb-carousel-control.right,
.er-testimonials .sppb-carousel-control-next {
  right: 10px !important;
}

.er-testimonials .sppb-carousel-control:hover {
  background: #c28f2c !important;
  color: #ffffff !important;
  border-color: #c28f2c !important;
  transform: translateY(-52%);
}


/* -----------------------------
   KONTAKTBEREICH (2-Spalten-Layout)
   ----------------------------- */

.er-contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

@media (max-width: 767px) {
  .er-contact-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}


/* =========================================
   EVENT RUHMER – Unique Keys / Keyfacts
   ========================================= */

.er-keyfacts {
  background: linear-gradient(180deg, #f9f4ed 0%, #fdfaf6 100%);
  padding: 60px 20px;
}

.er-keyfacts-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;
}

.er-keyfacts-heading {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: #222;
}

.er-keyfacts-sub {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 2.2rem;
}

/* Grid-Layout für die Karten */
.er-keyfacts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 32px;
}

/* Einzelne Karte */
.er-keyfact {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 20px 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.er-keyfact:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

/* Icon-Wrapper */
.er-keyfact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.er-keyfact-icon img {
  width: 56px;
  height: 56px;
  display: block;
}

/* Ballonhund minimal kleiner */
.er-keyfact-icon img[src*="icon-ballon"] {
  width: 52px;
  height: 52px;
}

/* Titel + Text */
.er-keyfact h3 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 0.98rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: #222;
}

.er-keyfact p {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

/* Responsive Keyfacts */
@media (max-width: 991px) {
  .er-keyfacts {
    padding: 40px 16px;
  }
  .er-keyfacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .er-keyfacts-grid {
    grid-template-columns: 1fr;
  }
  .er-keyfact-icon img {
    width: 56px;
    height: 56px;
  }
}

/* Etwas mehr Luft vor dem USP-Block */
.er-section.er-keyfacts {
  margin-top: 20px;
}


/* =========================================
   EVENT RUHMER – Warum RUHMER?
   ========================================= */

.er-why {
  background: #f9f5ee;
  padding: 70px 0;
  margin-top: 40px;
}

.er-why-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 50px;
  align-items: flex-start;
}

/* Haupttitel */
.er-why h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: #b98a2c;
  margin-bottom: 1rem;
}

/* Subheading über Liste */
.er-why-subheading {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin: 1.8rem 0 0.8rem;
}

/* Textabsätze */
.er-why-main p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.9rem;
  color: #333;
}

/* Vorteils-Liste */
.er-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.er-why-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #333;
}

.er-why-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #b98a2c;
  font-size: 1.1rem;
}

/* Facts-Box */
.er-why-facts {
  background: linear-gradient(180deg, #ffffff 0%, #faf7f2 100%);
  border-radius: 20px;
  padding: 24px 26px;
  border-top: 4px solid #b98a2c;
  box-shadow: 0 14px 40px rgba(0,0,0,0.06);
}

.er-why-facts h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #b98a2c;
  margin-bottom: 0.6rem;
}

.er-why-facts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.er-why-facts li {
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 0.45rem;
  color: #444;
}

/* Responsive Layout */
@media (max-width: 991px) {
  .er-why-inner {
    grid-template-columns: 1fr;
  }
  .er-why-facts {
    max-width: 480px;
    margin: 0 auto;
  }
}


/* =========================================
   EVENT RUHMER – Für welche Events
   ========================================= */

.er-events {
  background: #f9f5ee;
  padding: 70px 0;
  margin-top: 40px;
}

.er-events-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.er-events-inner h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: #b98a2c;
  text-align: center;
  margin-bottom: 40px;
}

/* Karten-Grid */
.er-events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Karten */
.er-event-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 24px;
  border-top: 4px solid #b98a2c;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.06);
  transition: 0.25s ease;
}

.er-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.1);
}

.er-event-card h3 {
  font-family: "Cormorant Garamond", serif;
  color: #b98a2c;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.er-event-card p {
  color: #4a443d;
  font-size: 0.97rem;
  line-height: 1.6;
}

/* Responsive Events */
@media (max-width: 991px) {
  .er-events-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .er-events-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   Testimonials – Sterne fixen
   ========================= */

/* Braunen Balken oben entfernen */
.er-testimonials {
  border-top: none;
}

/* Platzhalter-Text (Kästchen) ausblenden … */
.testimonial-stars {
  font-size: 0;          /* eigentlicher Text wird unsichtbar */
  line-height: 1;
  margin-bottom: 0.75rem;
}

/* … und echte Sterne per CSS anzeigen */
.testimonial-stars::before {
  content: "★★★★★";
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: #C28F2C;
}
/*****************************************
 * Testimonials – Sterne & Layout-Fix
 *****************************************/

/* 1. Braunen Balken oben entfernen */
.er-testimonials {
  border-top: none !important;
}

/* 2. Platzhalter-Quadrate ausblenden
      und durch goldene Sterne ersetzen  */
.testimonial-stars {
  position: relative;
  font-size: 0;               /* versteckt die ursprünglichen ▢ ▢ ▢ ▢ ▢ */
  line-height: 1;
  margin-bottom: 0.75rem;
}

.testimonial-stars::before {
  content: "★★★★★";          /* 5 Sterne, kannst du bei Bedarf anpassen */
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: #C28F2C;
}

/* 3. Pfeile – Abstand zum Rand korrigieren */
.er-testimonials .sppb-carousel-control {
  /* gemeinsame Basis wie gehabt */
  background: rgba(255,255,255,0.4) !important;
  border-radius: 50% !important;
  border: 2px solid #c28f2c !important;
  width: 44px !important;
  height: 44px !important;
  color: #c28f2c !important;
  font-size: 18px !important;
  backdrop-filter: blur(4px);
  transition: 0.3s ease;
}

/* linker Pfeil etwas nach innen */
.er-testimonials .sppb-carousel-control.left {
  left: 40px !important;
}

/* rechter Pfeil symmetrisch nach innen */
.er-testimonials .sppb-carousel-control.right {
  right: 40px !important;
}

.er-testimonials .sppb-carousel-control:hover {
  background: #c28f2c !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}
/* ============================
   TESTIMONIALS – STERNE FIXEN
   ============================ */

/* Original-Sterne ausblenden (die Kästchen) */
.er-testimonials .sppb-addon-testimonial-rating,
.er-testimonials .sppb-addon-testimonial-pro-rating {
  font-size: 0;             /* Text unsichtbar machen */
  line-height: 1;
}

/* Eigene 5 Sterne anzeigen */
.er-testimonials .sppb-addon-testimonial-rating::before,
.er-testimonials .sppb-addon-testimonial-pro-rating::before {
  content: "★★★★★";
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: #C28F2C;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
/* ============================
   TESTIMONIALS – PFEILE POSITIONIEREN
   ============================ */

.er-testimonials .sppb-carousel-control {
  top: 50%;
  transform: translateY(-50%);
}

/* Linker Pfeil */
.er-testimonials .sppb-carousel-control.left,
.er-testimonials .sppb-carousel-control.sppb-carousel-arrow-left {
  left: 40px;
}

/* Rechter Pfeil */
.er-testimonials .sppb-carousel-control.right,
.er-testimonials .sppb-carousel-control.sppb-carousel-arrow-right {
  right: 40px;
}
/* ============================
   Testimonials – Sterne statt Kästchen
   ============================ */

/* Original-Rating im Addon unsichtbar machen */
.er-testimonials .sppb-addon-testimonial-rating,
.er-testimonials .sppb-addon-testimonial-pro-rating {
  font-size: 0;          /* Text/Kästchen ausblenden */
  line-height: 1;
}

/* Eigene 5 Sterne einblenden */
.er-testimonials .sppb-addon-testimonial-rating::before,
.er-testimonials .sppb-addon-testimonial-pro-rating::before {
  content: "★★★★★";      /* Anzahl Sterne hier steuerbar */
  font-size: 1.1rem;
  letter-spacing: 0.12rem;
  color: #C28F2C;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
}

/* Falls das Addon die Sterne als <span>-Elemente rendert,
   werden diese zusätzlich versteckt, damit wirklich keine Kästchen mehr auftauchen. */
.er-testimonials .sppb-addon-testimonial-rating span,
.er-testimonials .sppb-addon-testimonial-pro-rating span {
  display: none;
}
/* ============================
   Testimonials – Pfeile ausrichten
   ============================ */

.er-testimonials .sppb-carousel-control {
  /* deine bisherigen Styles bleiben; hier nur Position justieren */
}

.er-testimonials .sppb-carousel-control.left {
  left: 40px;   /* bei Bedarf anpassen */
}

.er-testimonials .sppb-carousel-control.right {
  right: 40px;  /* rückt den rechten Pfeil nach innen */
}
/* ==== TESTIMONIALS – altes Rating unsichtbar machen ==== */
.er-testimonials .sppb-addon-testimonial-rating,
.er-testimonials .sppb-addon-testimonial-pro-rating {
  display: none !important; /* alle eingebauten Kästchen/Icons verstecken */
}
/* ==== TESTIMONIALS – eigene Sterne ==== */
.er-testimonials .testimonial-stars {
  display: inline-block;
  margin: 0.5rem 0 1rem;
  font-size: 0;              /* Inhalt wird von ::before geliefert */
}

.er-testimonials .testimonial-stars::before {
  content: "★★★★★";          /* 5 Sterne */
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: #C28F2C;
}
.er-contact-form input,
.er-contact-form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.95rem;
}

.er-form-field {
  margin-bottom: 14px;
}

.er-form-field label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.er-form-field small {
  font-size: 0.78rem;
  color: #777;
}

.er-form-checkbox label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.85rem;
}
/* Kontakt-Band */
.er-contact-band {
  background: #f9f5ee;       /* wie USPs / Warum RUHMER */
  padding-top: 70px;
  padding-bottom: 70px;
}
