/* =========================================================
   Honey Beach — Elementor Widgets · CI-Fundament
   Farben & Schriften aus dem Brand Book (honey_beach).
   ========================================================= */

/* Horizontalen Overflow verhindern (ElementsKit-Off-Canvas ragt sonst raus) – clip bricht kein sticky */
html{ overflow-x:clip; }

/* Content-Bilder & Bild-Spalten einheitlich abrunden (CI-weit) */
.hb-round-img img{ border-radius:18px !important; box-shadow:0 12px 34px rgba(168,127,69,.14); }
.hb-round-col,
.hb-round-col > .elementor-widget-wrap,
.hb-round-col > .elementor-element-populated{ border-radius:18px; }
.hb-round-col{ overflow:hidden; box-shadow:0 12px 34px rgba(168,127,69,.14); }
:root{
  --hb-gold-dk:#a87f45;
  --hb-gold:#cc9b53;
  --hb-gold-lt:#e7b15c;
  --hb-teal:#05a3bd;
  --hb-teal-lt:#06bfe1;
  --hb-cream:#f9efe5;
  --hb-ink:#3a3a3a;
  --hb-muted:#7a7a7a;
  --hb-white:#ffffff;
  --hb-font:'Montserrat',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --hb-radius:18px;
  --hb-shadow:0 12px 34px rgba(168,127,69,.14);
}

.hb-sec{ font-family:var(--hb-font); color:var(--hb-ink); box-sizing:border-box; }
.hb-sec *,.hb-sec *::before,.hb-sec *::after{ box-sizing:border-box; }
.hb-wrap{ max-width:1180px; margin:0 auto; padding:0 20px; }

/* Eyebrow / Kicker */
.hb-eyebrow{
  display:inline-block; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  font-size:.78rem; color:var(--hb-teal); margin:0 0 .6em;
}
.hb-title{ font-weight:800; line-height:1.15; margin:0 0 .5em; color:var(--hb-gold-dk); }
.hb-title--lg{ font-size:clamp(1.8rem,4vw,2.9rem); }
.hb-lead{ font-size:1.02rem; line-height:1.7; color:var(--hb-muted); margin:0 0 1.4em; }

/* Buttons */
.hb-btn{
  display:inline-block; font-weight:700; text-decoration:none; cursor:pointer;
  padding:.85em 1.9em; border-radius:999px; transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
  border:2px solid transparent; font-size:.98rem;
}
/* .hb-sec-Prefix erzwingt Spezifität über die globale Theme-Link-Farbe (a{color}) */
.hb-sec .hb-btn--primary{ background:var(--hb-gold); color:var(--hb-white); box-shadow:0 8px 20px rgba(204,155,83,.34); }
.hb-sec .hb-btn--primary:hover{ background:var(--hb-gold-dk); color:var(--hb-white); transform:translateY(-2px); }
.hb-sec .hb-btn--ghost{ background:transparent; color:var(--hb-teal); border-color:var(--hb-teal); }
.hb-sec .hb-btn--ghost:hover{ background:var(--hb-teal); color:var(--hb-white); }

/* Divider im Marken-Look (Punkt zwischen zwei Linien) */
.hb-div{ display:flex; align-items:center; justify-content:center; gap:.6em; margin:1.4em 0; }
.hb-div::before,.hb-div::after{ content:""; height:2px; width:56px; background:var(--hb-gold-lt); opacity:.7; border-radius:2px; }
.hb-div span{ width:8px; height:8px; border-radius:50%; background:var(--hb-gold); }

/* ---------- Aktions-Banner ---------- */
.hb-banner{ padding:clamp(46px,6vw,78px) 0; }
.hb-banner__inner{
  display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,4vw,60px); align-items:stretch;
}
.hb-banner--img-left .hb-banner__media{ order:0; }
.hb-banner--img-right .hb-banner__media{ order:2; }
.hb-banner__media{ position:relative; min-height:360px; }
.hb-banner__media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; border-radius:18px; box-shadow:var(--hb-shadow); }
@media (max-width:820px){ .hb-banner__media{ min-height:280px; } }
.hb-banner__body{ padding:0; align-self:center; }
.hb-banner__body .hb-btn{ margin-top:16px; }
.hb-banner__wave{ display:block; width:100%; height:auto; margin-top:-4px; }
@media (max-width:820px){
  .hb-banner__inner{ grid-template-columns:1fr; }
  .hb-banner--img-right .hb-banner__media{ order:0; }
  .hb-banner__media{ min-height:240px; }
}

/* ---------- Geräte-Grid ---------- */
.hb-geraete{ padding:clamp(28px,5vw,64px) 0; }
.hb-geraete__head{ text-align:center; margin-bottom:2.2em; }
.hb-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:900px){ .hb-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .hb-grid{ grid-template-columns:1fr; } }
.hb-card{
  background:var(--hb-white); border:1px solid rgba(168,127,69,.16); border-radius:var(--hb-radius);
  padding:26px 24px; min-height:100%; box-shadow:0 6px 18px rgba(168,127,69,.08);
  transition:transform .18s ease,box-shadow .18s ease; display:flex; flex-direction:column;
}
.hb-card:hover{ transform:translateY(-4px); box-shadow:var(--hb-shadow); }
.hb-card__badge{
  align-self:flex-start; font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--hb-white); background:var(--hb-teal); padding:.3em .8em; border-radius:999px; margin-bottom:1em;
}
.hb-card__name{ font-size:1.32rem; font-weight:800; color:var(--hb-gold-dk); margin:0 0 .35em; }
.hb-card__desc{ font-size:.95rem; line-height:1.6; color:var(--hb-muted); margin:0 0 1.3em; flex:1; }
.hb-price-row{ display:flex; gap:14px; flex-wrap:wrap; margin-top:auto; }
.hb-price{ flex:1; min-width:120px; background:var(--hb-cream); border-radius:12px; padding:.7em .9em; }
.hb-price__label{ display:block; font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; color:var(--hb-muted); }
.hb-price__val{ font-size:1.18rem; font-weight:800; color:var(--hb-gold-dk); }
.hb-price--happy{ background:linear-gradient(135deg,var(--hb-teal),var(--hb-teal-lt)); }
.hb-price--happy .hb-price__label,.hb-price--happy .hb-price__val{ color:var(--hb-white); }
.hb-geraete__note{ margin-top:28px; text-align:center; font-size:.92rem; color:var(--hb-muted); }
.hb-geraete__note a{ color:var(--hb-teal); text-decoration:none; font-weight:600; }
.hb-geraete__note a:hover{ color:var(--hb-gold-dk); text-decoration:underline; }

/* ---------- Preisliste / Zeitkarten ---------- */
.hb-preis{ padding:clamp(28px,5vw,64px) 0; }
.hb-preis__head{ text-align:center; margin-bottom:2.2em; }
.hb-cards4{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
@media (max-width:900px){ .hb-cards4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .hb-cards4{ grid-template-columns:1fr; } }
.hb-tk{
  position:relative; background:var(--hb-white); border:2px solid rgba(168,127,69,.18); border-radius:var(--hb-radius);
  padding:28px 22px; text-align:center; display:flex; flex-direction:column; align-items:center;
  transition:transform .18s ease,box-shadow .18s ease;
}
.hb-tk:hover{ transform:translateY(-4px); box-shadow:var(--hb-shadow); }
.hb-tk--featured{ border-color:var(--hb-gold); box-shadow:var(--hb-shadow); }
.hb-tk--featured::before{
  content:"Beliebt"; position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:var(--hb-gold); color:var(--hb-white); font-size:.7rem; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; padding:.35em 1em; border-radius:999px;
}
.hb-tk__name{ font-size:1.35rem; font-weight:800; color:var(--hb-gold-dk); margin:0 0 .2em; }
.hb-tk__save{ font-size:.82rem; font-weight:700; color:var(--hb-teal); margin:0 0 1.1em; }
.hb-tk__price{ font-size:2.2rem; font-weight:800; color:var(--hb-ink); line-height:1; }
.hb-tk__price span{ font-size:1rem; font-weight:600; color:var(--hb-muted); }
.hb-tk__credit{ font-size:.9rem; color:var(--hb-muted); margin:.5em 0 0; }
.hb-preis__note{ text-align:center; font-size:.85rem; color:var(--hb-muted); margin-top:2em; line-height:1.7; }

/* ---------- Hauttyp-Tabelle ---------- */
.hb-hauttyp{ padding:clamp(28px,5vw,64px) 0; }
.hb-hauttyp__head{ text-align:center; margin-bottom:2em; }
.hb-table-scroll{ overflow:hidden; -webkit-overflow-scrolling:touch; border-radius:var(--hb-radius); box-shadow:var(--hb-shadow); background:var(--hb-white); }
@media (max-width:720px){ .hb-table-scroll{ overflow-x:auto; } }
.hb-table{ width:100%; border-collapse:separate; border-spacing:0; min-width:680px; background:var(--hb-white); font-size:.92rem; margin:0; }
.hb-table-scroll table{ margin:0 !important; }
.hb-table th,.hb-table td{ padding:14px 16px; text-align:left; vertical-align:top; border-bottom:1px solid rgba(168,127,69,.12); }
.hb-table tbody tr:last-child th,.hb-table tbody tr:last-child td{ border-bottom:none; }
/* Eck-Zellen selbst runden (zuverlässiger als overflow:hidden am Container) */
.hb-table thead th:first-child{ border-top-left-radius:var(--hb-radius); }
.hb-table thead th:last-child{ border-top-right-radius:var(--hb-radius); }
.hb-table tbody tr:last-child th:first-child{ border-bottom-left-radius:var(--hb-radius); }
.hb-table tbody tr:last-child td:last-child{ border-bottom-right-radius:var(--hb-radius); }
.hb-table thead th{ background:var(--hb-gold); color:var(--hb-white); font-weight:700; letter-spacing:.02em; }
.hb-table thead th:first-child{ background:var(--hb-gold-dk); }
.hb-table tbody th{ background:var(--hb-cream); font-weight:700; color:var(--hb-gold-dk); white-space:nowrap; }
.hb-table tbody tr:nth-child(even) td{ background:rgba(249,239,229,.4); }
.hb-hauttyp__warn{
  margin-top:1.5em; padding:14px 18px; border-left:4px solid var(--hb-teal); background:rgba(6,191,225,.08);
  border-radius:8px; font-size:.9rem; color:var(--hb-ink);
}

/* ---------- FAQ-Accordion als Pills (Elementor-Accordion global – nur FAQ nutzt es) ---------- */
.elementor-accordion .elementor-accordion-item{
  border:1px solid #e3d7c2 !important;
  border-radius:14px !important;
  overflow:hidden;
  margin-bottom:14px;
  box-shadow:0 4px 14px rgba(168,127,69,.07);
}
.elementor-accordion .elementor-accordion-item:last-child{ margin-bottom:0; }
.elementor-accordion .elementor-tab-title{ border:none !important; }
.elementor-accordion .elementor-tab-content{ border:none !important; }

/* ---------- Geräte im Detail (alternierende CI-Feature-Rows) ---------- */
.hb-devdetail{ padding:0; }
/* Full-Bleed-Bänder über die gesamte Seitenbreite, abwechselnd Creme/Weiß */
.hb-dev-band{
  width:100vw; margin-left:calc(50% - 50vw);
  padding:clamp(36px,4.4vw,66px) 20px;
}
.hb-dev-band--odd{ background:var(--hb-cream); }
.hb-dev-band--even{ background:var(--hb-white); }
.hb-dev{
  display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,4.5vw,64px);
  align-items:center; padding:0; margin:0; background:none; box-shadow:none; border:none;
}
.hb-dev--alt .hb-dev__media{ order:2; }
.hb-dev__media{ position:relative; }
.hb-dev__media::before{
  content:""; position:absolute; inset:auto -16px -16px auto; width:64%; height:64%;
  background:linear-gradient(135deg,rgba(6,191,225,.18),rgba(204,155,83,.18)); border-radius:var(--hb-radius); z-index:0;
}
.hb-dev--alt .hb-dev__media::before{ inset:auto auto -16px -16px; }
.hb-dev__media img{
  position:relative; z-index:1; display:block; width:100%; aspect-ratio:4/3;
  object-fit:cover; border-radius:var(--hb-radius); box-shadow:var(--hb-shadow);
}
.hb-dev__num{
  display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px;
  border-radius:50%; background:var(--hb-gold); color:#fff; font-weight:800; font-size:.95rem; margin-bottom:.7em;
}
.hb-dev__badge{
  display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:var(--hb-teal); background:rgba(6,191,225,.1); padding:.32em .85em; border-radius:999px; margin:0 0 .8em .6em;
}
.hb-dev__name{ font-size:clamp(1.4rem,2.4vw,1.9rem); font-weight:800; color:var(--hb-gold-dk); margin:0 0 .5em; line-height:1.15; }
.hb-dev__desc{ font-size:.97rem; line-height:1.72; color:var(--hb-muted); margin:0 0 1.3em; }
.hb-dev__desc p{ margin:0 0 .8em; }
.hb-dev__desc p:last-child{ margin-bottom:0; }
.hb-dev .hb-price-row{ max-width:360px; }
@media (max-width:820px){
  .hb-dev{ grid-template-columns:1fr; gap:22px; }
  .hb-dev--alt .hb-dev__media{ order:0; }
  .hb-dev__media::before{ display:none; }
  /* Mobil: Text der eigenen Sections zentrieren */
  .hb-dev__body{ text-align:center; }
  .hb-dev__badge{ margin:0 0 .8em .5em; }
  .hb-dev .hb-price-row{ max-width:none; justify-content:center; }
  .hb-banner__inner,.hb-banner__body{ text-align:center; }
  .hb-banner__body .hb-btn{ margin-left:auto; margin-right:auto; }
}

/* ---------- Header-CTA-Button voll sichtbar (sauberes abgerundetes Rechteck) ---------- */
.elementor-location-header a.elementor-button,
#site-header .elementor-button,
header .elementor-button{
  white-space:normal;
  line-height:1.2;
  min-height:0;
  height:auto;
  padding:12px 22px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:.9rem;
  font-weight:700;
}

/* ========== Hero (Startseite) ========== */
.hb-hero-inner{ max-width:840px; margin:0 auto; text-align:center; }
.hb-hero-sig{ width:104px; height:auto; margin:0 auto .7em; display:block; filter:drop-shadow(0 6px 16px rgba(0,0,0,.28)); }
.hb-hero-kicker{ color:#fff; letter-spacing:.24em; text-transform:uppercase; font-weight:700; font-size:.82rem; opacity:.95; margin:0 0 .7em; }
.hb-hero-inner .hb-hero-title{ color:#fff !important; font-weight:800; font-size:clamp(2.1rem,5.2vw,3.7rem); line-height:1.08; margin:0 0 .55em; text-shadow:0 2px 22px rgba(0,0,0,.42); }
.hb-hero-sub{ color:rgba(255,255,255,.95); font-size:clamp(1rem,1.6vw,1.2rem); line-height:1.6; margin:0 auto 1.7em; max-width:640px; }
.hb-hero-cta{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.hb-sec .hb-btn--ghost-light{ background:transparent; color:#fff; border-color:rgba(255,255,255,.8); }
.hb-sec .hb-btn--ghost-light:hover{ background:#fff; color:var(--hb-gold-dk); border-color:#fff; }

/* ========== Trust-Leiste ========== */
.hb-trust__wrap{ max-width:1120px; margin:0 auto; display:flex; gap:14px 38px; flex-wrap:wrap; justify-content:center; align-items:center; }
.hb-trust__item{ display:flex; align-items:center; gap:.55em; font-weight:600; color:var(--hb-gold-dk); font-size:1rem; }
.hb-trust__dot{ width:9px; height:9px; border-radius:50%; background:var(--hb-teal); flex:none; }

/* ========== Muschel-Signet als Motiv hinter Section-Köpfen ========== */
.hb-geraete__head,.hb-preis__head,.hb-hauttyp__head{ position:relative; }
.hb-geraete__head::before,.hb-preis__head::before,.hb-hauttyp__head::before{
  content:""; position:absolute; left:50%; top:-36px; transform:translateX(-50%);
  width:168px; height:98px; opacity:.07; z-index:0; pointer-events:none;
  background:url('https://honeybeach.digitalisierungshilfe.net/wp-content/uploads/2026/07/hb-signet.png') center/contain no-repeat;
}
.hb-geraete__head>*,.hb-preis__head>*,.hb-hauttyp__head>*{ position:relative; z-index:1; }

/* ========== Bewertungs-Slider ========== */
/* Bewertungstext auf einheitliche Länge begrenzen – sonst bläht EINE sehr lange
   Bewertung die Slider-Höhe auf und kurze Bewertungen erzeugen viel Leerraum. */
[class*="testimonials_slider"] .qodef-e-text{
  display:-webkit-box; -webkit-line-clamp:9; -webkit-box-orient:vertical; overflow:hidden;
}
@media (max-width:600px){
  [class*="testimonials_slider"] .qodef-e-text{ -webkit-line-clamp:8; }
}
[class*="testimonials_slider"]{ position:relative; }
/* Pfeile aus – Navigation über Punkte-Indikator (einfacher, kein Overflow) */
[class*="testimonials_slider"] .swiper-button-prev,
[class*="testimonials_slider"] .swiper-button-next{ display:none !important; }
/* Punkte-Indikator im CI (Gold) */
[class*="testimonials_slider"] .swiper-pagination{ position:static; margin-top:20px; line-height:0; }
[class*="testimonials_slider"] .swiper-pagination-bullet{
  width:9px; height:9px; margin:0 5px !important; background:var(--hb-gold);
  opacity:.32; transition:opacity .2s ease,transform .2s ease;
}
[class*="testimonials_slider"] .swiper-pagination-bullet-active{
  background:var(--hb-gold-dk); opacity:1; transform:scale(1.3);
}
/* Standard-Layout: Inhalt zentrieren (Zitat, Text, Autor) + Breite begrenzen */
[class*="testimonials_slider"] .qodef-e-inner{ text-align:center; max-width:860px; margin-left:auto; margin-right:auto; }
[class*="testimonials_slider"] .qodef-e-content,
[class*="testimonials_slider"] .qodef-e-quote,
[class*="testimonials_slider"] .qodef-e-text{ text-align:center; }
[class*="testimonials_slider"] .qodef-e-bottom-info{ justify-content:center; }

/* ========== Mobile Überschriften vereinheitlichen (verhindert Overflow) ========== */
@media (max-width:600px){
  .elementor-widget-heading h1.elementor-heading-title,
  .hb-hero-title{ font-size:29px !important; line-height:1.18 !important; }
  .elementor-widget-heading h2.elementor-heading-title,
  .hb-title, .hb-title--lg{ font-size:24px !important; line-height:1.22 !important; }
  .elementor-widget-heading h3.elementor-heading-title,
  .hb-dev__name{ font-size:21px !important; line-height:1.25 !important; }
  .elementor-heading-title,.hb-title,.hb-dev__name,.hb-hero-title{
    overflow-wrap:break-word; word-break:break-word;
  }
}

/* ========== Info-Box / Hinweis (aus PDFs ergänzt) ========== */
.hb-note-sec{ padding:clamp(28px,4vw,52px) 20px; }
.hb-note{
  max-width:900px; margin:0 auto; background:var(--hb-white);
  border:1px solid rgba(168,127,69,.16); border-left:5px solid var(--hb-teal);
  border-radius:16px; padding:clamp(22px,3vw,30px) clamp(22px,3vw,32px); box-shadow:var(--hb-shadow);
}
.hb-note__title{ color:var(--hb-gold-dk); font-weight:800; font-size:1.28rem; margin:0 0 .7em; }
.hb-note p{ color:var(--hb-muted); line-height:1.72; margin:0 0 .8em; }
.hb-note p:last-child{ margin:0; }
.hb-note ul{ margin:.2em 0 .8em; padding-left:1.2em; color:var(--hb-muted); line-height:1.7; }

/* Besonnungszeiten-Tabelle */
.hb-bz-head{ text-align:center; margin-bottom:1.6em; }
.hb-bz-head h2{ color:var(--hb-gold-dk); font-weight:800; margin:0 0 .3em; }
.hb-bz-head p{ color:var(--hb-teal); font-weight:700; letter-spacing:.02em; margin:0; }
.hb-bz-scroll{ max-width:900px; margin:0 auto; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.hb-bz{ width:100%; border-collapse:separate; border-spacing:0; min-width:560px; background:var(--hb-white);
  border-radius:var(--hb-radius); box-shadow:var(--hb-shadow); overflow:hidden; font-size:.95rem; }
.hb-bz th,.hb-bz td{ padding:14px 16px; text-align:center; border-bottom:1px solid rgba(168,127,69,.12); }
.hb-bz thead th{ background:var(--hb-gold); color:#fff; font-weight:700; }
.hb-bz thead th:first-child{ background:var(--hb-gold-dk); }
.hb-bz tbody th{ background:var(--hb-cream); color:var(--hb-gold-dk); font-weight:700; text-align:left; white-space:nowrap; }
.hb-bz tbody tr:last-child th,.hb-bz tbody tr:last-child td{ border-bottom:none; }
.hb-bz__note{ max-width:900px; margin:1.2em auto 0; text-align:center; font-size:.86rem; color:var(--hb-muted); line-height:1.6; }

/* ========== Hover-Politur ========== */
.hb-dev__media img{ transition:transform .35s ease; }
.hb-dev:hover .hb-dev__media img{ transform:scale(1.015); }
