/* ================================================= */
/* GLOBAL STYLES                                     */
/* ================================================= */
body {
    margin: 0;
}

body.mobile-nav-open {
    overflow: hidden;
    touch-action: none;
}

/* TrustedShops Badge unter Mobile-Navi legen */
[id^="trustbadge-container"] {
	z-index: 1300 !important;
}

.navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1500;
	background-color: transparent;
	transition:
		transform 0.35s ease,
		opacity 0.25s ease,
		background-color 0.25s ease;
}

.navbar.scrolled {
	background-color: #296fcd;
}


.navbar.nav-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

/* ================================================= */
/* OVERLAY                                           */
/* ================================================= */
#mega-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s ease;
    z-index: 1400;
}

#mega-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ================================================= */
/* CARETS                                            */
/* ================================================= */
.caret {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    margin-left: 4px;
    transition: transform .35s ease;
}

.mega-trigger.active .caret {
    transform: rotate(180deg);
}

/* ================================================= */
/* Trigger Hilfe für Menüpunkte                      */
/* ================================================= */

.mega-trigger {
  position: relative; /* wichtig für das pseudo-element */
  }

/* Verlängerung nach unten */
.mega-trigger::after {
  content: '';
  position: absolute;
  top: 40%;        /* direkt unter dem Trigger */
  left: 0;
  width: 100%;
  height: 40px;     /* Pufferbereich, anpassen nach Bedarf */
  z-index: 1;       /* kleiner als mega-inner, nur für Hover */
}


/* ================================================= */
/* MEGA MENU WRAPPER                                 */
/* ================================================= */
.mega-inner {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #eef2ff;
    border-radius: 25px;
    max-width: 70rem;
    width: calc(100% - 40px);
    padding: 29px;
    min-height: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease;
    z-index: 1600;
}

.mega-inner.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* ================================================= */
/* MEGA MENU – PRODUKTE                              */
/* ================================================= */
.mega-products {
    color: #111;
}

/* ================================================= */
/* PRODUCT CARDS                                    */
/* ================================================= */

/* Card Container */
.product-card {
    height: 420px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
    transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,.28);
}

/* Klickbare Card */
.product-card--link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    text-decoration: none;
    color: inherit;
    border-radius: 18px;
    overflow: hidden;
}

/* Preview Bild / Header */
.card-preview {
    height: 175px;
}

/* Card Content */
.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem;
}

/* Meta Info */
.card-meta {
    font-size: .85rem;
    margin-bottom: .5rem;
}

.meta-highlight {
    font-weight: 600;
    color: #16a34a;
}

/* Tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: .75rem;
}

.card-tags .tag {
    font-size: .75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
}

/* CTA Hinweis */
.card-cta {
    margin-top: auto;
    font-weight: 600;
    color: #6366f1;
}





/* ================================================= */
/* SUBHEADINGS (global)                             */
/* ================================================= */
.mega-subheading {
    font-size: 1.125rem;
    letter-spacing: .05em;
    margin-bottom: 10px;
    color: #16a34a;
	font-weight: revert;
}

/* ================================================= */
/* BASIS LISTEN                                     */
/* ================================================= */
.mega-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
	gap: 10px;
	display: flex;
	flex-direction: column;
}

.mega-list li {
    font-size: .95rem;
}

/* Basis-Link-Style */
.mega-list a {
    color: #296fcd;
    text-decoration: none;
    font-weight: 600;
    transition: color .2s ease;
}

.mega-list a:hover {
    color: #4338ca;
    text-decoration: underline;
}

/* ================================================= */
/* ERWEITERUNGEN – ZUSATZMODULE (VERTIKAL + HOVER) */
/* ================================================= */
.mega-extensions {
    font-size: .95rem;
}

/* Container für alle Addons (vertikal) */
.addon-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Einzelnes Addon */
.addon-item {
    margin-bottom: 0px; /* Abstand zwischen Addons */
}

/* Wrapper um Titel + Panel */
.addon-wrapper {
  position: relative; /* absolut positioniertes Panel bezieht sich hier drauf */
  display: block; /* komplett block, nicht inline */
}

/* Titel */
.addon-title {
  font-weight: 600;
  color: #296fcd;
}

.addon-line:hover .addon-title {
  text-decoration: underline;
  color: #4338ca;
}

/* Pfeil neben Addon-Titel */
.addon-caret {
  color: #296fcd;
  transition: transform .3s ease;
  font-weight: bold;
}

/* Zeilen-Wrapper, der die ganze Zeile klickbar macht */
.addon-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

/* ================================================= */
/* HOVER PANEL                                      */
/* ================================================= */
/* Panel öffnen */
.addon-panel {
    position: absolute;
    top: 0;
    left: 100%; /* direkt rechts vom Wrapper */
    background: #eef2ff;
	margin-left: 10px;
	transform: translateY(-75%); /* richtig zentrieren */
    border-radius: 12px;
    padding: 20px 22px;
    box-shadow: 0 0px 0px 0px rgba(0,0,0,.15);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: max-content;

    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, box-shadow .2s ease;
    z-index: 50;
}

/* Panel öffnen solange Maus auf Zeile oder Panel */
.addon-wrapper:hover .addon-panel {
    opacity: 1;
    box-shadow: 0 0px 30px rgba(0,0,0,.25);
    pointer-events: auto;
}

.addon-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;       /* direkt rechts vom wrapper */
    width: 30px;      /* Breite des Puffers */
    height: 100%;
    z-index: 10;
}

.addon-item:hover .addon-caret {
  transform: rotate(-90deg);
  color: #4338ca;
}

/* Links im Hover Panel */
.addon-panel a {
  color: #296fcd;
  text-decoration: none !important;
  font-size: 1rem;
  font-weight: 600;
  background-color: #eef2ff;
  border-radius: 5px;
  padding: 4px 8px;

  display: inline-block;
  transform: translateZ(0); /* für smoother 3D-Transition */
  transition: all 0.10s ease; /* sanfte Bewegung */
}

/* Hover Effekt */
.addon-panel a:hover {
  transform: translateY(-2px) scale(1.03);
  background-color: #dbe4ff; /* Hintergrund leicht heller */
  color: #4338ca;  
}



/* ================================================= */
/* NORMALE LINKS (ohne Hover Panel)                */
/* ================================================= */
.addon-link a {
    font-weight: 600;
    color: #296fcd;
    text-decoration: none;
}

.addon-link a:hover {
    color: #4338ca;
    text-decoration: underline;
}


.px-45 {
padding-left: 2rem;
padding-right: 2rem;
}









/* Grid */
.support-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Card = Button */
.support-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  color: inherit;
}

/* Hover */
.support-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 25px rgba(0,0,0,.15);
}

/* Icon */
.support-icon {
  width: 80px;
  height: 60px;
  border-radius: 15px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #4338ca;
  flex-shrink: 0;
}

/* Text */
.support-title {
  font-weight: 600;
  font-size: 1.25rem;
  color: #296fcd;
}

.support-text {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.2;
}


/* Card = Button */
.kontakt-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  color: inherit;
}

/* Hover */
.kontakt-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 25px rgba(0,0,0,.15);
}

/* Icon */
.kontakt-icon {
  width: 60px;
  height: 50px;
  border-radius: 15px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #4338ca;
  flex-shrink: 0;
}

.kontakt-template {
  position: relative;
  overflow: hidden; /* darf bleiben */
  padding-bottom:140px; /* Platz für das Bild schaffen */
}

/* normaler Content */
.kontakt-content {
  position: relative;
  z-index: 2;
  padding-bottom: 210px; /* Platz für das Bild schaffen */
}

/* Bild-Footer */
.kontakt-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0px;       /* 👈 HIER steuerst du die Überlappung */

  display: flex;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.kontakt-footer img {
  max-height: 220px;
  display: block;
}





/* ================================================= */
/* TEMPLATES                                         */
/* ================================================= */
.mega-template {
    display: none;
}




/* MOBILE NAV WRAPPER */
.mobile-nav {
    position: fixed;
    top: var(--nav-height, 70px); /* Höhe deiner Navbar */
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height, 70px));
    background: transparent;

    transform: translateY(-100%);
    opacity: 0;

    transition:
        transform 0.35s ease,
        opacity 0.01s ease;

    z-index: 1400;
    overflow-y: auto;

    will-change: transform, opacity;
}

/* sichtbar */
.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    background: #296fcd;
}


/* LIST */
.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0px 20px;
}


/* MAIN LINK */
.mobile-link {
    width: 100%;
    background: none;
    border: 0;
    color: white;
    font-size: 1.25rem;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-link-accordion {
    width: 100%;
    background: none;
    border: 0;
    color: #4338ca;
    font-size: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* SUBMENU */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
}

/* SUBMENU LINKS */
.mobile-submenu a {
    display: block;
    color: #4338ca;
    text-decoration: none;
    font-size: 1.05rem;
	padding: 10px 10px;
	margin-bottom: 8px;
	border-radius: 10px;
	background: #eef2ff;
}

/* ACTIVE STATE */
.mobile-item.active .mobile-submenu {
    max-height: 2000px; /* safe value */
}

.mobile-item.active .mobile-submenu,
.mobile-item.active > .mobile-products {
    max-height: 3000px;
    overflow: visible;
}

.mobile-item.active > .mobile-products .mobile-products-inner {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.12s; /* 🔥 super wichtig */
}

/* SUB-SUBMENU (gleiches Verhalten wie submenu) */
.mobile-sub-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}



.mobile-item-cta {
	display: flex;
	justify-content: center;	
}

/* MOBILE PRODUCT CARDS – NUR WENN OFFEN */
.mobile-products {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.mobile-products-inner {
	opacity: 0;
	transform: translateY(-6px);
	transition:
		opacity 0.25s ease,
		transform 0.25s ease;
}

/* CTA */
.mobile-cta {
    display: block;
    padding: 14px;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
	text-decoration: none;
	width: 85%;
}

.mobile-cta.buy {
    background: #28a745;
    color: white;
}

.mobile-cta.download {
    background: #17a2b8;
    color: white;
}


.mobile-product-card {
    display: flex;
    gap: 12px;
    align-items: center;
    background: white;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 20px;
    text-decoration: none;
    color: #1e1b4b;
	box-shadow: 0 2px 6px 5px rgba(0,0,0,.15);
}

.mobile-product-card img {
    object-fit: contain;
}

.mobile-product-card strong {
    display: block;
    font-size: 1rem;
}

.mobile-product-card span {
    font-size: 0.9rem;
    color: #6b7280;
}

.mobile-product-all {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    color: #4338ca;
    text-decoration: none;
}


/* FLEX CARD */
.mobile-product-card.flex {
    display: block;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    text-decoration: none;
    color: #1e1b4b;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

/* HERO IMAGE */
.mobile-product-hero {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
	border-radius: 10px;
}

/* BODY */
.mobile-product-body {
    padding: 10px 14px;
}

/* LOGO */
.mobile-product-logo {
    height: 30px;
}

/* TAGS */
.mobile-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.mobile-product-tags .tag {
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 500;
}

/* DESCRIPTION */
.mobile-product-desc {
    font-size: 0.95rem;
    color: #16a34a;
    margin: 0;
}


.mobile-link.sub {
    font-size: 1.1rem;
    opacity: 1;
	color: #16a34a;
	font-weight: 600;
}

.mobile-link.tiny {
    font-size: 1rem;
    opacity: 1;
	color: #296fcd;
	padding: 10px 15px;
	line-height: 2rem;
}

.mobile-products-sections {
    margin-top: 10px;
}

/* GENERISCHES ACCORDION */
.mobile-accordion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
}

/* ACTIVE */
.mobile-item.active > .mobile-accordion {
    max-height: 2000px; /* viewport-basiert, kein magic number */
}


/* Grundzustand: alle Chevrons nach unten */
.mobile-link > i {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

/* NUR das Icon des DIREKT aktiven Items drehen */
.mobile-item.active > .mobile-link > i {
    transform: rotate(180deg);
}

/* Wrapper für Links innerhalb tiny-Accordions */
.mobile-accordion.inner-links {
    background: rgba(67, 56, 202, 0.06); /* sehr dezentes Indigo */
    border-left: 3px solid rgba(67, 56, 202, 0.4);
    border-radius: 6px;
}


.mobile-accordion.inner-links a {
    display: block;
    padding: 8px 10px;
    font-size: 0.95rem;
    color: #4338ca; /* neutral grau */
	background: #eef2ff;
}

.mobile-accordion.inner-links a:not(:last-child) {
    margin-bottom: 0px;
}


/* Container */
.mobile-support-grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 10px 0 6px;
}

/* Card */
.mobile-support-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	text-decoration: none;
	color: inherit;
}

/* Touch-Feedback statt Hover */
.mobile-support-card:active {
	background: #f9fafb;
}

/* Icon */
.mobile-support-card i {
	font-size: 1.8rem;
	color: #4338ca;
	background: #eef2ff;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	min-width: fit-content;
}

/* Text */
.mobile-support-card span {
	display: block;
	font-weight: 600;
	font-size: 1rem;
	color: #296fcd;
}

.mobile-support-card small {
	display: block;
	font-size: 0.85rem;
	color: #6b7280;
	line-height: 1.2;
}

.support-content,
.mobile-support-card > div {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.support-title,
.mobile-support-card span {
	line-height: 1.2;
	margin: 0;
}

.support-text,
.mobile-support-card small {
	line-height: 1.2;
	margin-top: 4px;
}

.support-card-contacts {
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: 15px;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  justify-content: center;
}

.support-card-contacts > i {
	color: #296fcd !Important;
}


/* Card = Button */
.support-card-accordion {
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  color: inherit;
}

/* ================================================= */
/* RESPONSIVE                                        */
/* ================================================= 
@media (max-width: 1025px) {
    .mega-inner {
        transform: none;
        width: 100%;
        max-width: none;
        border-radius: 15px;
        padding: 20px;
    }
} */

@media (min-width: 992px) {
    .mobile-nav {
        display: none;
    }
}