/*
 * Datei: files/ylem-mediendesgin/css/css_nk.css
 * Erstellt: 31.07.2025 | Version: 31.07.2025
 * Autoren: Werner & Liv
 * Firma: ylem | mediendesign  support@ylem.at
* Version: 1.0.04
 */

/* ===================================
   CSS-Variablen für zusätzliche Styles
   =================================== */
:root {
  /* Zusätzliche Farben */
  --ylem-red: #D6253A;
  --ylem-shadow-light: rgba(100, 100, 100, 0.2);
  
  /* Zusätzliche Abstände */
  --ylem-gap-small: 7px;
  --ylem-radius-small: 5px;
  --ylem-radius-medium: 0.5em;
  
  /* Icon-Größen */
  --ylem-icon-xs: 23px;
  --ylem-icon-sm: 28px;
  --ylem-icon-md: 33px;
}

/* ===================================
   Layout & Container Anpassungen
   =================================== */
/* Maintenance Mode */
.ylem_maintenance #fix-wrapper {
  display: none;
}

/* Responsiver Abstand zum Menü mit sanftem Anstieg */
.contentwrap,
.ce_bgimage-inside.contentwrap,
.ce_bgimage .contentwrap {
  padding-left: clamp(1rem, 1vw + 0.5rem, 3rem) !important;
}

/* Home Seite spezifisch - überschreibt den Standard */
.home .contentwrap {
  padding-left: 0px;
}

/* Header Styling */
.header.original {
  box-shadow: 1px 0px 4px var(--ylem-shadow-light);
}

/* SVG Container */
#svg-container {
  position: relative;
  overflow: visible;
  z-index: 999;
}

#draggable-svg {
  cursor: grab;
}

/* ===================================
   Komponenten mit runden Ecken
   =================================== */
.runde-ecken .ce_frame_start_inside {
  border-radius: var(--ylem-radius-medium); /* 0.5em - schöner als 5px */
}

.runde-ecken-leistung .attributes {
  border-radius: 10px; /* Original-Wert beibehalten */
}

.ce_accordionSingle {
  border-radius: 0.5em;
}

.ce_image_collage_2pics .ce_image {
  border-radius: 5px; /* Original-Wert beibehalten */
}

/* ===================================
   Accordion Styling
   =================================== */
.toggler.ui-accordion-header {
  font-family: 'ronsard_crystalmedium' !important;
}

/* ===================================
   Icon Box Komponenten
   =================================== */
.ce_iconbox.version3.xsmall .ce_iconbox_icon {
  flex: 0 0 28px; /* Original-Wert beibehalten */
}

/* Impressum spezifische Icon Box */
.impressum .ce_iconbox_icon {
  display: flex;
  align-items: center;
}

.impressum .ce_iconbox_icon svg {
  width: 23px; /* Original-Wert */
  height: 23px; /* Original-Wert */
}

.impressum .ce_iconbox_inside {
  display: flex;
  align-items: center;
  gap: 7px; /* Original-Wert */
}

.impressum .ce_iconbox_cwrapper {
  display: flex;
  align-items: center;
}

.impressum .ce_iconbox_cwrapper p {
  position: relative;
  top: -4px;
  line-height: 1.2 !important;
}

/* ===================================
   Listen Styles
   =================================== */
.mit-liste li {
  margin-left: 0.75rem;
}

.mit-liste ul {
  list-style-type: disc;
  margin-top: -0.5rem;
  margin-left: 1rem;
  margin-bottom: 0.6rem;
}

/* NEU: Circle Listen-Style mit fetteren Punkten */
.mit-liste-circle {
  list-style: none; /* Standard-Circle entfernen */
  margin-top: -0.5rem;
  margin-bottom: 0.6rem;
}

.mit-liste-circle li {
  position: relative;
  margin-left: 0.75rem;
  padding-left: 1.2rem; /* Platz für den Custom-Circle */
}

.mit-liste-circle li::before {
  content: "○"; /* Fetter Circle */
  position: absolute;
  left: 0;
  color: inherit; /* Erbt die Textfarbe */
  font-weight: bold;
  font-size: 1.1em;
}

/* ===================================
   Quick Menu
   =================================== */
.mod_quickmenu .content span {
  margin-left: 1.3rem;
}

.mod_quickmenu .content svg {
  height: 33px; /* Original-Wert */
  width: 33px; /* Original-Wert */
  top: 0.69rem;
  left: 0.65rem; /* Original-Wert */
  position: relative;
}

/* ===================================
   Links & Buttons
   =================================== */
a.hyperlink_txt {
  font-weight: 400;
}

.links {
  margin-left: -2.5em;
}

button.submit {
  border-radius: 5px !important; /* Original-Wert */
}

.hintergrund-farbe a.btn.link-white {
  border-radius:7px!important;
}

/* ===================================
   Hintergrund & Bilder
   =================================== */
.hintergrund-farbe {
  background-color: #D6253A; /* Original-Wert */
  padding: 2rem !important; /* Einheitlich 2rem */
  border-radius: 10px; /* Original-Wert */
  color: #fff; /* Original-Wert */
}

.ce_bgimage.max_width_m .contentwrap {
  max-width: 818px;
  margin-left: 0px;
}

/* Rotiertes Hintergrundbild */
.hg-image .ce_image_extended_inside {
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(45deg);
  transform-origin: center;
}

/* ===================================
   Padding/Margin Utility Classes
   =================================== */
/*
.pt-xxs { padding-top: 0.25rem !important; }
.pb-xxs { padding-bottom: 0.25rem !important; }
.mt-xxs { margin-top: 0.25rem !important; }
.mb-xxs { margin-bottom: 0.25rem !important; }

.pt-xs { padding-top: 0.5rem !important; }
.pb-xs { padding-bottom: 0.5rem !important; }
.mt-xs { margin-top: 0.5rem !important; }
.mb-xs { margin-bottom: 0.5rem !important; }

.pt-s { padding-top: 0.75rem !important; }
.pb-s { padding-bottom: 0.75rem !important; }
.mt-s { margin-top: 0.75rem !important; }
.mb-s { margin-bottom: 0.75rem !important; }

.pt-m { padding-top: 1rem !important; }
.pb-m { padding-bottom: 1rem !important; }
.mt-m { margin-top: 1rem !important; }
.mb-m { margin-bottom: 1rem !important; }

.pt-l { padding-top: 1.5rem !important; }
.pb-l { padding-bottom: 1.5rem !important; }
.mt-l { margin-top: 1.5rem !important; }
.mb-l { margin-bottom: 1.5rem !important; }

.pt-xl { padding-top: 2rem !important; }
.pb-xl { padding-bottom: 2rem !important; }
.mt-xl { margin-top: 2rem !important; }
.mb-xl { margin-bottom: 2rem !important; }

.pt-xxl { padding-top: 3rem !important; }
.pb-xxl { padding-bottom: 3rem !important; }
.mt-xxl { margin-top: 3rem !important; }
.mb-xxl { margin-bottom: 3rem !important; }

@media (max-width: 768px) {
  .mt-xxs-m { margin-top: 0.25rem !important; }
  .mb-xxs-m { margin-bottom: 0.25rem !important; }
  .mt-s-m { margin-top: 0.75rem !important; }
  .mb-s-m { margin-bottom: 0.75rem !important; }
  .mt-m-m { margin-top: 1rem !important; }
  .mb-xxs-m { margin-bottom: 0.25rem !important; }
}

.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }

.ce_vertical_spacer.sp-l {
  height: 1.5rem;
}
*/

/* ===================================
   Box Styles mit einheitlichem Padding
   =================================== */
/* Für die grauen Leistungs-Boxen mit inline-styles */
.runde-ecken-leistung .attributes[style*="padding"] {
  /* Die haben bereits padding: 2rem inline, nichts überschreiben */
}

/* Optional: Klasse für zukünftige Boxen mit einheitlichem Padding */
.ylem-box-padding {
  padding: 2rem !important;
}

/* Kontakt-Elemente mit hide-on-insert ausblenden */
.mod_article .hide-on-insert {
    display: none !important;
}


/* ===================================
   Bild am unteren Rand positionieren
   =================================== */
/* Container-Row muss volle Höhe haben */
.autogrid_row.ylem-bild-container {
  align-items: stretch !important; /* Spalten gleiche Höhe */
}

/* Spalte mit Flex-Layout */
.ylem-flex-column {
  display: flex !important;
  flex-direction: column !important;
}

/* Attributes Container muss auch flex sein */
.ylem-flex-column .attributes {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
}

/* Same-height-wrap muss auch flex sein und wachsen */
.ylem-flex-column .same-height-wrap {
  display: flex !important;
  flex-direction: column !important;
  flex: 1; /* Wächst mit verfügbarem Platz */
  height: 100%;
}

/* Bild-Container am unteren Rand */
.ylem-flex-column .ylem-bild-unten {
  margin-top: auto !important; /* Drückt nach unten */
  margin-bottom: 0 !important;
}

/* Bild selbst soll unten ausgerichtet sein */
.ylem-bild-unten .ce_image_extended_inside {
  display: flex;
  align-items: flex-end;
}

/* ===================================
   Listen mit drei Punkten (…)
   =================================== */
.ylem-liste-dreipunkte {
  list-style: none !important;
  padding-left: 0;
  margin-left: 1.25rem;
}

.ylem-liste-dreipunkte li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.ylem-liste-dreipunkte li::before {
  content: "…";
  position: absolute;
  left: 0;
  font-weight: 400;
  font-size: 1.25em;
  line-height: 1;
}
/*
 * Datei: files/ylem-mediendesgin/css/css_nk.css
 * Erstellt: 01.10.2025 | Version: 01.10.2025
 * Autoren: Werner & Liv
 * Firma: ylem | mediendesign  support@ylem.at
 * Version: 1.0.04
 * Ergänzung: Quick Menu - Text erscheint bei Hover
 */

/* ===================================
   Quick Menu - Icon mit Text bei Hover
   =================================== */
.mod_quickmenu .content a {
  display: flex;
  flex-direction: row; /* Nebeneinander statt untereinander */
  align-items: center;
  justify-content: center;
  text-align: center;
  width: auto;
  height: 100%;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Icon-Styling */
.mod_quickmenu .content i {
  font-size: 24px !important;
  line-height: 1 !important;
  display: block !important;
  margin: 0 !important;
  position: relative !important;
  z-index: 2;
  transition: margin 0.3s ease;
}

/* Text-Styling - versteckt bis Hover */
.mod_quickmenu .content span {
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  white-space: nowrap;
  font-size: 0.875rem;
  line-height: 1;
  margin: 0;
  padding-left: 0.5rem;
  transition: all 0.3s ease;
  pointer-events: none; /* Verhindert Interferenzen */
}

/* Hover-Effekt */
.mod_quickmenu .content a:hover span {
  opacity: 1;
  position: static;
  transform: translateX(0);
  pointer-events: auto;
}

.mod_quickmenu .content a:hover i {
  margin-right: 0.5rem !important; /* Schiebt Icon nach links */
}

/* Alternative: Slide-in von rechts */
.mod_quickmenu.slide-effect .content span {
  position: absolute;
  right: -100%;
  left: auto;
  transform: none;
  opacity: 1;
}

.mod_quickmenu.slide-effect .content a:hover span {
  right: auto;
  position: static;
}

/* Kreise müssen sich bei Hover erweitern */
.mod_quickmenu li {
  transition: all 0.3s ease;
}

.mod_quickmenu li:hover {
  transform: scale(1.05); /* Leichte Vergrößerung */
}

/* Falls die Kreise eine feste Breite haben, diese bei Hover anpassen */
.mod_quickmenu.style3 li {
  min-width: 60px; /* Basis-Breite für Icon */
  transition: min-width 0.3s ease;
}

.mod_quickmenu.style3 li:hover {
  min-width: 140px; /* Erweiterte Breite für Icon + Text */
}

/* SVG-Anpassungen falls nötig */
.mod_quickmenu .content svg {
  width: 24px !important;
  height: 24px !important;
  position: relative !important;
  margin: 0 !important;
  transition: margin 0.3s ease;
  flex-shrink: 0;
}

.mod_quickmenu .content a:hover svg {
  margin-right: 0.5rem !important;
}

/*
 * Datei: files/ylem-mediendesgin/css/css_nk.css
 * Erstellt: 01.10.2025 | Version: 01.10.2025
 * Autoren: Werner & Liv
 * Firma: ylem | mediendesign  support@ylem.at
 * Version: 1.0.05
 * Ergänzung: Abgerundete Ecken für Bilder
 */

/* ===================================
   Abgerundete Ecken für Bilder
   =================================== */
/* Basis-Klasse für abgerundete Bilder */
.ylem-bild-rund {
  border-radius: var(--ylem-radius-base, 10px);
  overflow: hidden;
}

.ylem-bild-rund img {
  border-radius: var(--ylem-radius-base, 10px);
  width: 100%;
  height: auto;
  display: block;
}

/* Varianten mit verschiedenen Radien */
.ylem-bild-rund-klein {
  border-radius: var(--ylem-radius-small, 5px);
}

.ylem-bild-rund-klein img {
  border-radius: var(--ylem-radius-small, 5px);
}

.ylem-bild-rund-gross {
  border-radius: 20px;
}

.ylem-bild-rund-gross img {
  border-radius: 20px;
}

/* Kreis-Variante für Portraits */
.ylem-bild-kreis {
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.ylem-bild-kreis img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Für Contao CE-Images */
.ce_image.ylem-bild-rund figure,
.ce_image.ylem-bild-rund img {
  border-radius: var(--ylem-radius-base, 10px);
}

/* Für Image-Extended Module */
.ce_image_extended.ylem-bild-rund img {
  border-radius: var(--ylem-radius-base, 10px);
}