
/* ==========================================
GEMEINSAME GRUNDEINSTELLUNGEN
========================================== */
:root {
--clg-radius: 18px;
--clg-spacing: 10px;
--clg-action-height: 72px;
}
/* ==========================================
KONTAKT-ICONS
========================================== */
.dc-home-actions {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
}
.dc-home-action-circle,
#dcb-preview-home-modern .dcb-hm-action-circle {
border-radius: 50%;
transition: transform .2s ease;
}
.dc-home-action:hover .dc-home-action-circle {
transform: translateY(-2px);
}
#dcb-preview-home-modern .dcb-hm-actions {
gap: 10px;
}
/* ==========================================
EDITOR – AKTIONSBUTTONS
========================================== */
#dcb-preview-home-modern .dcb-hm-ctas {
display: grid !important;
grid-template-columns: minmax(0, 1fr);
gap: 10px !important;
}
#dcb-preview-home-modern .dcb-hm-ctas:has(> .dcb-hm-cta:nth-child(2)) {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
#dcb-preview-home-modern
.dcb-hm-ctas > .dcb-hm-cta {
box-sizing: border-box !important;
width: 100% !important;
min-width: 0 !important;
height: var(--clg-action-height) !important;
min-height: var(--clg-action-height) !important;
max-height: var(--clg-action-height) !important;
padding: 9px 10px !important;
border-radius: var(--clg-layout-radius, 16px) !important;
display: flex !important;
flex-direction: column !important;
align-items: center !important;
justify-content: center !important;
gap: 5px !important;
text-align: center !important;
font-size: 12px !important;
font-weight: 700 !important;
line-height: 1.25 !important;
white-space: normal !important;
overflow-wrap: anywhere !important;
transition: filter .2s ease !important;
}
#dcb-preview-home-modern .dcb-hm-cta svg {
width: 19px !important;
height: 19px !important;
flex-shrink: 0 !important;
}
/* Erster Button: Firmenfarbe */
#dcb-preview-home-modern
.dcb-hm-ctas > .dcb-hm-cta:first-child {
background: var(--hm-button, #ed893d) !important;
background-image: none !important;
color: var(--hm-button-text, #111111) !important;
border: 1px solid var(--hm-button, #ed893d) !important;
}
#dcb-preview-home-modern
.dcb-hm-ctas > .dcb-hm-cta:first-child svg,
#dcb-preview-home-modern
.dcb-hm-ctas > .dcb-hm-cta:first-child .dcb-cta-arrow {
color: var(--hm-button-text, #111111) !important;
}
/* Zweiter Button: dezent */
#dcb-preview-home-modern
.dcb-hm-ctas > .dcb-hm-cta:nth-child(2) {
background: var(--hm-card, #171c24) !important;
background-image: none !important;
color: var(--hm-text, #f7f8fa) !important;
border: 1px solid var(--hm-button, #ed893d) !important;
}
#dcb-preview-home-modern
.dcb-hm-ctas > .dcb-hm-cta:nth-child(2) svg,
#dcb-preview-home-modern
.dcb-hm-ctas > .dcb-hm-cta:nth-child(2) .dcb-cta-arrow {
color: var(--hm-button, #ed893d) !important;
}
/* ==========================================
ÖFFENTLICHE SEITE – AKTIONSBUTTONS
========================================== */
.dc-home-ctas,
.dc-home-cta-list,
.home-cta-actions {
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: 10px;
}
.dc-home-ctas:has(> :nth-child(2)),
.dc-home-cta-list:has(> :nth-child(2)),
.home-cta-actions:has(> :nth-child(2)) {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dc-home-cta,
.dc-home-cta-button {
box-sizing: border-box !important;
width: 100% !important;
min-width: 0 !important;
height: var(--clg-action-height) !important;
min-height: var(--clg-action-height) !important;
max-height: var(--clg-action-height) !important;
padding: 9px 10px !important;
border-radius: 16px !important;
text-align: center !important;
font-size: 12px !important;
line-height: 1.25 !important;
font-weight: 700 !important;
transition: filter .2s ease !important;
}
.dc-home-ctas > *,
.dc-home-cta-list > *,
.home-cta-actions > * {
box-sizing: border-box !important;
min-width: 0 !important;
height: var(--clg-action-height) !important;
min-height: var(--clg-action-height) !important;
max-height: var(--clg-action-height) !important;
padding: 9px 10px !important;
border-radius: 16px !important;
display: flex !important;
flex-direction: column !important;
align-items: center !important;
justify-content: center !important;
gap: 5px !important;
font-size: 12px !important;
line-height: 1.25 !important;
text-align: center !important;
}
.dc-home-ctas svg,
.dc-home-cta-list svg,
.home-cta-actions svg,
.dc-home-cta svg,
.dc-home-cta-button svg {
width: 19px !important;
height: 19px !important;
flex-shrink: 0 !important;
}
.dc-home-ctas > :first-child,
.dc-home-cta-list > :first-child,
.home-cta-actions > :first-child {
background: var(--button, var(--accent, #ed893d)) !important;
background-image: none !important;
color: var(--buttonText, #111111) !important;
border: 1px solid var(--button, var(--accent, #ed893d)) !important;
}
.dc-home-ctas > :first-child svg,
.dc-home-cta-list > :first-child svg,
.home-cta-actions > :first-child svg {
color: var(--buttonText, #111111) !important;
}
.dc-home-ctas > :nth-child(2),
.dc-home-cta-list > :nth-child(2),
.home-cta-actions > :nth-child(2) {
background: var(--card, #171c24) !important;
background-image: none !important;
color: var(--text, #f7f8fa) !important;
border: 1px solid var(--button, var(--accent, #ed893d)) !important;
}
.dc-home-ctas > :nth-child(2) svg,
.dc-home-cta-list > :nth-child(2) svg,
.home-cta-actions > :nth-child(2) svg {
color: var(--button, var(--accent, #ed893d)) !important;
}
/* ==========================================
MENÜKACHELN
INDIVIDUELLE LAYOUTWERTE BEIBEHALTEN
========================================== */
.dc-home-menu {
gap: var(--clg-layout-gap, var(--clg-spacing));
}
#dcb-preview-home-modern .dcb-hm-menu {
gap: var(--clg-layout-gap, var(--clg-spacing));
}
.dc-home-menu-button,
#dcb-preview-home-modern .dcb-hm-menu-item {
transition: border-color .2s ease, transform .2s ease;
}
/* ==========================================
V1.4 – HIGHLIGHTS PREMIUM DESIGN
Verwendet die tatsächlichen Klassen
der öffentlichen Business-Seite.
Keine Änderungen an:
- Slider-JavaScript
- Leistungs- und Referenzauswahl
- Bilddaten
- Klickfunktionen
========================================== */
/* Highlights-Bereich */
#app .page[data-page="home"] #homeHighlightsSection {
margin-top: 2px;
margin-bottom: 24px;
}
/* Überschrift */
#app .page[data-page="home"]
#homeHighlightsSection > h2 {
margin: 0 0 15px;
font-size: clamp(22px, 5vw, 27px);
font-weight: 750;
line-height: 1.25;
letter-spacing: -.4px;
color: var(--text);
}
/* Bildkarte */
#app .page[data-page="home"]
#homeHighlightsCards > .dc-home-card {
border-radius: 18px;
border: 1px solid
color-mix(
in srgb,
var(--border) 72%,
var(--accent) 28%
);
overflow: hidden;
background: var(--card);
box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
/* Bildformat beibehalten */
#app .page[data-page="home"]
#homeHighlightsCards > .dc-home-card img {
display: block;
width: 100%;
height: auto;
aspect-ratio: 16 / 9;
object-fit: cover;
}
/* Bildbeschriftung */
#app .page[data-page="home"]
#homeHighlightsCards > .dc-home-card > span {
display: block;
padding: 14px 16px 15px;
background: var(--card);
color: var(--text);
font-size: 15px;
font-weight: 700;
line-height: 1.35;
text-align: left;
overflow-wrap: anywhere;
}
/* Steuerleiste */
#app .page[data-page="home"]
#homeHighlightsSection .dc-highlight-controls {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin: 10px 2px 0;
}
/* Pfeile */
#app .page[data-page="home"]
#homeHighlightsSection .dc-highlight-arrow {
display: grid;
place-items: center;
width: 40px;
height: 40px;
min-width: 40px;
padding: 0;
flex: 0 0 40px;
border-radius: 50%;
border: 1px solid
color-mix(
in srgb,
var(--border) 72%,
var(--accent) 28%
);
background: linear-gradient(
180deg,
var(--card),
color-mix(
in srgb,
var(--card) 86%,
var(--accent) 14%
)
);
color: var(--accent);
font-family: inherit;
font-size: 26px;
font-weight: 400;
line-height: 1;
box-shadow: 0 6px 18px rgba(0,0,0,.18);
cursor: pointer;
transition:
transform .2s ease,
border-color .2s ease,
opacity .2s ease;
}
/* Inaktive Pfeile */
#app .page[data-page="home"]
#homeHighlightsSection .dc-highlight-arrow:disabled {
opacity: .28;
cursor: default;
box-shadow: none;
}
/* Hover */
@media (hover: hover) {
#app .page[data-page="home"]
#homeHighlightsSection
.dc-highlight-arrow:hover:not(:disabled) {
transform: translateY(-1px);
border-color: var(--accent);
}
}
/* Tastaturbedienung */
#app .page[data-page="home"]
#homeHighlightsSection .dc-highlight-arrow:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 3px;
}
/* Positionsanzeige */
#app .page[data-page="home"]
#homeHighlightsSection .dc-highlight-dots {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
flex: 1;
}
/* Inaktive Positionspunkte */
#app .page[data-page="home"]
#homeHighlightsSection .dc-highlight-dot {
width: 8px;
height: 8px;
padding: 0;
border: 0;
border-radius: 999px;
background: var(--muted);
opacity: .48;
cursor: pointer;
transition:
width .22s ease,
opacity .22s ease,
background .22s ease;
}
/* Aktiver Positionsbalken */
#app .page[data-page="home"]
#homeHighlightsSection
.dc-highlight-dot[aria-current="true"] {
width: 30px;
height: 8px;
background: var(--accent);
opacity: 1;
}
/* Tastaturfokus */
#app .page[data-page="home"]
#homeHighlightsSection .dc-highlight-dot:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 3px;
}
/* Schmalere Smartphone-Ansichten */
@media (max-width: 390px) {
#app .page[data-page="home"]
#homeHighlightsSection {
margin-bottom: 22px;
}
#app .page[data-page="home"]
#homeHighlightsCards > .dc-home-card > span {
font-size: 14px;
padding: 13px 14px 14px;
}
#app .page[data-page="home"]
#homeHighlightsSection .dc-highlight-controls {
gap: 10px;
}
#app .page[data-page="home"]
#homeHighlightsSection .dc-highlight-arrow {
width: 37px;
height: 37px;
min-width: 37px;
flex-basis: 37px;
font-size: 24px;
}
}
/* ==========================================
ALLGEMEINE HOVER-EFFEKTE
========================================== */
@media (hover: hover) {
.dc-home-cta:hover,
.dc-home-cta-button:hover,
#dcb-preview-home-modern .dcb-hm-cta:hover {
filter: brightness(1.07);
}
.dc-home-menu-button:hover,
#dcb-preview-home-modern .dcb-hm-menu-item:hover {
transform: translateY(-1px);
}
}
/* ==========================================
BARRIEREARME ANIMATIONEN
========================================== */
@media (prefers-reduced-motion: reduce) {
.dc-home-action-circle,
.dc-home-menu-button,
.dc-home-cta,
.dc-home-cta-button,
#dcb-preview-home-modern .dcb-hm-action-circle,
#dcb-preview-home-modern .dcb-hm-menu-item,
#dcb-preview-home-modern .dcb-hm-cta,
#app .page[data-page="home"]
#homeHighlightsSection .dc-highlight-arrow,
#app .page[data-page="home"]
#homeHighlightsSection .dc-highlight-dot {
transition: none !important;
transform: none !important;
}
}

/* ==========================================
   V1.5 – OPT-IN KONTAKTSTIL "PREMIUM LUXE"
   Default bleibt unverändert. Aktivierung später
   pro Firma über data-clg-contact-style="luxe".
   Gilt nur für die Schnellkontakte der Startseite.
========================================== */

/* Die Auswahl wird an der Kontakt-Icon-Gruppe gespeichert,
   nicht an den allgemeinen CTA-Buttons. */
#app .page[data-page="home"] .dc-home-actions[data-clg-contact-style="luxe"],
#dcb-preview-home-modern .dcb-hm-actions[data-clg-contact-style="luxe"] {
  gap: 8px !important;
  align-items: stretch;
}

#app .page[data-page="home"] .dc-home-actions[data-clg-contact-style="luxe"] > .dc-home-action,
#dcb-preview-home-modern .dcb-hm-actions[data-clg-contact-style="luxe"] > .dcb-hm-action {
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  min-height: 112px;
  padding: 12px 3px 10px !important;
  border-radius: var(--clg-layout-radius, 16px) !important;
  border: 1px solid color-mix(in srgb, var(--accent, #c99054) 66%, #fff 12%) !important;
  background:
    radial-gradient(ellipse at 7% 0%, rgba(255,255,255,.20), transparent 35%),
    linear-gradient(145deg, #303845 0%, #171e29 44%, #0c121b 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.32),
    inset 1px 0 0 rgba(255,255,255,.13),
    inset -1px 0 0 rgba(255,255,255,.09),
    inset 0 -1px 0 color-mix(in srgb,var(--accent,#c99054) 48%,transparent),
    0 7px 14px rgba(0,0,0,.33),
    0 0 0 1px color-mix(in srgb, var(--accent, #c99054) 16%, transparent);
  color: #f8f4ee !important;
  font-size: 11px !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

/* V1.7: Polierte Lichtkante oben und seitliche Reflexe – ohne untere Lichtflecken */
#app .page[data-page="home"] .dc-home-actions[data-clg-contact-style="luxe"] > .dc-home-action::before,
#dcb-preview-home-modern .dcb-hm-actions[data-clg-contact-style="luxe"] > .dcb-hm-action::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    /* feine silberne Reflexion direkt an der Oberkante */
    linear-gradient(180deg, rgba(255,255,255,.30) 0, rgba(255,255,255,.08) 2px, transparent 7px),
    /* linke polierte Seitenkante */
    linear-gradient(90deg, rgba(255,236,208,.22) 0, rgba(255,255,255,.06) 2px, transparent 9px),
    /* rechter Bronze-Schimmer */
    linear-gradient(270deg, color-mix(in srgb,var(--accent,#c99054) 27%,transparent) 0, transparent 7px),
    /* feines, diagonales Metallic-Licht */
    linear-gradient(120deg, rgba(255,255,255,.15) 0%, transparent 28% 70%, rgba(255,255,255,.055) 100%);
  opacity: .88;
  z-index: -1;
}

/* Kleine Lichtpunkte am oberen rechten Rand, kein flackernder Effekt */
#app .page[data-page="home"] .dc-home-actions[data-clg-contact-style="luxe"] > .dc-home-action::after,
#dcb-preview-home-modern .dcb-hm-actions[data-clg-contact-style="luxe"] > .dcb-hm-action::after {
  content: "";
  pointer-events: none;
  position: absolute;
  right: 6px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #fff 0 8%, #f8d6a1 24%, rgba(255,255,255,.22) 44%, transparent 75%);
  filter: drop-shadow(0 0 4px color-mix(in srgb,var(--accent,#c99054) 60%,transparent));
}

#app .page[data-page="home"] .dc-home-actions[data-clg-contact-style="luxe"] .dc-home-action-circle,
#dcb-preview-home-modern .dcb-hm-actions[data-clg-contact-style="luxe"] .dcb-hm-action-circle {
  box-sizing: border-box;
  width: clamp(38px, 10vw, 47px) !important;
  height: clamp(38px, 10vw, 47px) !important;
  border-radius: 50% !important;
  border: 1px solid color-mix(in srgb,var(--accent,#c99054) 83%,#fff 15%) !important;
  background: radial-gradient(circle at 30% 17%, #394456, #141b27 75%) !important;
  box-shadow: inset 0 1px 2px rgba(255,255,255,.16),0 0 13px color-mix(in srgb,var(--accent,#c99054) 22%,transparent) !important;
  color: color-mix(in srgb,var(--accent,#c99054) 73%,#fff 27%) !important;
  flex-shrink: 0;
}

#app .page[data-page="home"] .dc-home-actions[data-clg-contact-style="luxe"] .dc-home-action-circle svg,
#dcb-preview-home-modern .dcb-hm-actions[data-clg-contact-style="luxe"] .dcb-hm-action-circle svg {
  width: 21px !important;
  height: 21px !important;
  stroke: currentColor !important;
}

@media (hover: hover) {
  #app .page[data-page="home"] .dc-home-actions[data-clg-contact-style="luxe"] > .dc-home-action:hover,
  #dcb-preview-home-modern .dcb-hm-actions[data-clg-contact-style="luxe"] > .dcb-hm-action:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb,var(--accent,#c99054) 80%,#fff 20%) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.36), 0 10px 22px rgba(0,0,0,.38), 0 0 14px color-mix(in srgb,var(--accent,#c99054) 25%,transparent);
  }
}

#app .page[data-page="home"] .dc-home-actions[data-clg-contact-style="luxe"] > .dc-home-action:focus-visible,
#dcb-preview-home-modern .dcb-hm-actions[data-clg-contact-style="luxe"] > .dcb-hm-action:focus-visible {
  outline: 2px solid var(--accent,#c99054);
  outline-offset: 3px;
}

@media (max-width: 390px) {
  #app .page[data-page="home"] .dc-home-actions[data-clg-contact-style="luxe"],
  #dcb-preview-home-modern .dcb-hm-actions[data-clg-contact-style="luxe"] { gap: 5px !important; }
  #app .page[data-page="home"] .dc-home-actions[data-clg-contact-style="luxe"] > .dc-home-action,
  #dcb-preview-home-modern .dcb-hm-actions[data-clg-contact-style="luxe"] > .dcb-hm-action {
    font-size: 10px !important;
    padding: 10px 2px 9px !important;
    min-height: 102px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #app .page[data-page="home"] .dc-home-actions[data-clg-contact-style="luxe"] > .dc-home-action,
  #dcb-preview-home-modern .dcb-hm-actions[data-clg-contact-style="luxe"] > .dcb-hm-action { transition: none !important; transform: none !important; }
}

