:root {
  /*--accent: #1976d2;*/
  --accent: #389D3E;
  /*--accent-hover: #155fa0;*/
  --accent-hover: #389D3E;
  --success: #2e7d32;
  --danger: #d32f2f;
  --bg: #f6f7fa;
  --card: #fff;
  --border: #e0e2e7;
}
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    /*background: var(--bg);*/
    color: #222;
    background-image: url('ferris-wheel-1665545.jpg'); /* Pfad ggf. anpassen */
    background-size: cover;     /* Bild füllt den Viewport, behält Seitenverhältnis */
    background-position: center center; /* Immer zentriert */
    background-repeat: no-repeat;       /* Nicht kacheln */
    background-attachment: fixed;       /* Bleibt beim Scrollen stehen (optional) */
}
/* Overlay erzeugen */
body::before {
    content: "";
    position: fixed;       /* Bleibt beim Scrollen stehen */
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: rgba(30,30,40,0.45);
    pointer-events: none;  /* Overlay blockiert keine Klicks */
    z-index: 0;            /* Unter dem Inhalt */
}
/* ---------- Hero Animation (Sparkle Drift) ---------- */
.hero-anim{
  /*position: relative;*/
  /*height: 34px;*/
  overflow: hidden;
  pointer-events: none;
  /*margin-bottom: 10px;*/
}

.spark{
  position:absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%) rotate(0deg);
  opacity: .0;
  border-radius: 2px;
  /*background: var(--accent);*/
  /*background: #389D3E;*/
  background: #d29b19;
  /*background: #282C91;*/
  filter: blur(.1px);
  animation: sparkleDrift 4.6s linear infinite;
}

/* unterschiedliche Startpositionen/Größen/Timings */
.spark.s0{ left: 0%;  width: 9px; height: 9px;  animation-delay: .0s;   opacity:.85;}
.spark.s1{ left: 5%;  width: 18px; height: 18px;  animation-delay: .4s;   opacity:.65;}
.spark.s2{ left: 18%; width: 50px; height: 50px;  animation-delay: .7s;  opacity:.55;}
.spark.s3{ left: 38%; width: 25px; height: 25px;  animation-delay: 1.1s; opacity:.60;}
.spark.s4{ left: 58%; width: 15px; height: 15px;  animation-delay: 1.8s; opacity:.50;}
.spark.s5{ left: 76%; width: 8px; height: 8px;  animation-delay: 2.3s; opacity:.55;}
.spark.s6{ left: 100%; width: 6px; height: 6px;  animation-delay: 3.0s; opacity:.60;}

@keyframes sparkleDrift{
  0%   { transform: translateY(-50%) translateX(-10px) rotate(0deg);   opacity: 0; }
  10%  { opacity: .85; }
  55%  { opacity: .65; }
  100% { transform: translateY(-50%) translateX(26px) rotate(180deg); opacity: 0; }
}

/* Motion-Preference respektieren */
@media (prefers-reduced-motion: reduce){
  .spark{ animation: none; opacity: .25; }
}

/* Optional: Inhalt über das Overlay legen */
.site-container, header, main, .headerbar {
    position: relative;
    z-index: 1;
}
.headerbar {
  display: flex;
  align-items: center;
  height: 63px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  z-index: 20;
  position: sticky;
  top: 0;
}
.headerbar img.logo {
  height: clamp(32px, 7vw, 50px);
  margin-right: 0; /* weil wir jetzt gap in .brand nutzen */
}
.nav-main {
  display: flex;
  gap: 22px;
  margin-left: auto;
  align-items: center;
  position: relative;
}
.nav-main > a {
  color: #232629;
  font-size: 1.1em;
  font-weight: 500;
  /*padding: 4px 0;*/
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border .13s, color .13s;
}
.nav-main > a.active,
.nav-main > a:focus {
  color: var(--accent);
  /*border-bottom: 2px solid var(--accent);*/
  /*font-size: 1.1em;*/
}

/* Dropdown-Container */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown > .dropdown-toggle {
  color: #232629;
  font-size: 1.1em;
  font-weight: 500;
  padding: 4px 0 4px 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  user-select: none;
  position: relative;
  background: none;
  outline: none;
  transition: border .13s, color .13s;
}
.nav-dropdown > .dropdown-toggle.active,
.nav-dropdown > .dropdown-toggle:focus {
  color: var(--accent);
  /*font-size: 1.1em;*/
}
.nav-dropdown > .dropdown-toggle:after {
  /*content: '';*/ //dreieck nach unten
  /*display: inline-block;*/ //dreieck nach unten
  margin-left: 7px;
  border: 5px solid transparent;
  border-top: 6px solid var(--accent);
  vertical-align: middle;
}
.nav-dropdown > .dropdown-toggle.active:after {
  border-top-color: var(--accent-hover);
}
.nav-dropdown > .dropdown-toggle:hover {
  color: var(--accent);
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 170px;
  background: #fff;
  box-shadow: 0 7px 22px #0002;
  border: 1px solid var(--border);
  border-radius: 7px;
  z-index: 999;
  padding: 8px 0;
  margin-top: 4px;
}
.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown:focus-within > .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 10px 22px 10px 18px;
  color: #232629;
  text-decoration: none;
  font-size: 1em;
  transition: background .14s, color .13s;
  border: none;
  background: none;
}
.dropdown-menu a.active,
.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: var(--accent);
  color: #fff;
  border: none;
  text-decoration: none;
}

/* Burger & mobile styles */
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin-left: auto;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 23px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: all .19s;
}

/* RESPONSIVE MENU */
@media (max-width: 800px) {
    body::before {
        display: none !important;
    }
  .headerbar { 
    height: 60px; 
    padding: 0 7px; 
    }
  .nav-main {
    position: fixed;
    right: 0;
    top: 0; 
    height: 100vh;
    background: #fff;
    box-shadow: -3px 0 9px #0002;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 70px 16px 30px 24px;
    gap: 7px;
    min-width: 220px;
    max-width: 340px;
    z-index: 100;
    transform: translateX(110%);
    transition: transform .18s;
    border-left: 1px solid var(--border);
  }
  .nav-main.open { transform: translateX(0); }
  .burger { display: flex; }
  body.menu-open { overflow: hidden; }
  .nav-main > a, .nav-dropdown > .dropdown-toggle {
    width: 100%;
    padding: 9px 0 9px 0;
    border-bottom: none;
  }
  .nav-dropdown { width: 100%; }
  .dropdown-menu {
    position: static !important;
    min-width: unset;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
  }
  .dropdown-menu a {
    padding: 9px 0 9px 28px;
    background: transparent;
    color: #232629;
  }
  .dropdown-menu a.active, .dropdown-menu a:hover {
    background: var(--accent);
    color: #fff;
  }
}

/* Overlay for mobile */
.overlay-bg {
  position:fixed; 
  top:0; 
  left:0; 
  width:100vw; 
  height:100vh; 
  background: #0002; 
  z-index:18; 
  display:none;
}
.overlay-bg.show { 
  display:block;
}

/* Boxed App Layout */
.site-container {
  max-width: 1100px;
  background: var(--card);
  margin: 16px auto 20px auto;
  border-radius: 4px;
  border: 1px solid var(--border);
  padding: 32px 32px 24px 32px;
  box-shadow: none;
}
@media (max-width: 800px) {
  .site-container { 
    max-width: 99%; 
    padding: 18px 6px 18px 6px;
    margin:12px 0 0 0; 
    border-radius: 0; 
  }
  .table-cart, .table-cart thead, .table-cart tbody, .table-cart tr {
    /*display: block;*/
  }
  .table-cart th, .table-cart td {
    display: block;
    border-bottom: none;
  }
  .table-cart thead { display: none; }
  .table-cart tr {
    margin-bottom: 1.1em;
    border-radius: 0;
    background: #fff;
    border: 1px solid var(--border);
  }
}

a { 
  color: var(--accent); 
  text-decoration: none;
}
a:hover { 
  color: var(--accent); 
}
h1, h2, h3 {
  font-weight: 700;
  margin: 1.2em 0 .5em;
  letter-spacing: -.5px;
}
h1 { font-size: 1.45rem; }
h2 { font-size: 1.18rem; color: var(--accent);}
h3 { font-size: 1.02rem; color: var(--accent);}
form { margin:0; }
label {
  display: block;
  /*margin: 1em 0 .4em;*/
  font-weight: 500;
  color: #232629;
}
input, textarea, select {
  font-size: 1rem;
  padding: .5em .7em;
  border-radius: 2px;
  border: 1px solid var(--border);
  width: 100%;
  max-width: 100%;
  margin-top: .2em;
  background: #fff;
  box-sizing: border-box;
  transition: border .16s;
}
input:focus, textarea:focus, select:focus {
  border:1.5px solid var(--accent);
  outline: none;
}
input[type="checkbox"] {
  width:18px; height:18px;
  margin-right:9px;
  accent-color: var(--accent);
  vertical-align: middle;
}
button, .button {
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  padding: .63em 1.1em;
  border: none;
  border-radius: 3px;
  margin: 1.1em 0 .4em;
  cursor: pointer;
  font-size: 1rem;
  transition: background .17s;
  display: inline-block;
  box-shadow: none;
}
button:hover, .button:hover { background: var(--accent-hover); }
.error, .warning {
  background: #fff5f5;
  color: var(--danger);
  border: 1px solid var(--danger);
  border-radius: 3px;
  padding: .8em 1em;
  margin: 1.1em 0;
  font-size: 1.02em;
}
.success {
  background: #f3f8f4;
  color: var(--success);
  border: 1px solid var(--success);
  border-radius: 3px;
  padding: 1.1em 1.2em;
  font-size: 1.07em;
  margin: 2em 0;
}
.table-cart {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0 2.2em;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid var(--border);
}
.table-cart td {
  padding: 2px 7px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 1em;
}
.table-cart th {
  background: #f8fafd;
  font-weight: 600;
  color: #232629;
  border-bottom: 2px solid var(--border);
  padding: 2px 7px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 1em;
}
.table-cart tr:last-child td { border-bottom: none; }
.table-cart td:last-child, .table-cart th:last-child { text-align: center; }
.table-cart .remove {
  color: var(--danger);
  font-weight: 700;
  cursor:pointer;
  background: none;
  border: none;
  font-size: 1.6em;
  padding: 0 8px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 22px;
  margin-top: 28px;
  justify-items: center; /* NEU: zentriert die Produkte in jeder Spalte */
}
.product {
  width: 100%; /* oder max-width: 330px; für schönere Kästen */
  max-width: 340px;
  background: #f9fafd;
  border: 1px solid #e0e2e7;
  border-radius: 8px;
  padding: 16px 13px 15px 13px;
  box-shadow: 0 2px 7px #0001;
  text-align: center;
  transition: box-shadow .15s, border .13s;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
}
.product:hover {
  /*box-shadow: 0 8px 20px #1976d230;*/
  border-color: #389D3E;
  transform: translateY(-4px);
  /*box-shadow: 0px 20px 0px #389d3e;*/
  /*background: #389d3e;*/
  /*color: #fff;*/
}
.product img {
  border-radius: 6px;
  /*margin-bottom: 11px;*/
  background: #fff;
  max-width: 100%;
  height: 230px;
  object-fit: contain;
}
.product h2 {
  font-size: 1.2rem;
  margin: 9px 0 6px 0;
  /*color: #1976d2;*/
  font-weight: 500;
}
.product a {
  text-decoration: none;
  color: inherit;
  width: 310px;
}
.product-detail-layout {
  display: flex;
  gap: 100px;
  align-items: flex-start;
  margin-top: 16px;
}
.product-main {
  flex: 1 1 370px;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/*.product-main img {
  border-radius: 6px;
  margin-bottom: 11px;
  background: #fff;
  max-width: 98%;
  height: 200px;
  object-fit: contain;
  border: 1px solid #e0e2e7;
}*/
.product-thumbs {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}
.product-thumbs img {
  width: 43px;
  height: 43px;
  object-fit: cover;
  border: 1px solid #e0e2e7;
  border-radius: 4px;
}
.product-details {
  margin-top: 20px;
  margin-left: 40px;
  width: 100%;
  background: #f8fafd;
  border: 1px solid #e0e2e7;
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 2px 7px #0001;
  font-size: 1.05em;
}
.product-details table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.04em;
}
.product-details td {
  /*padding: 6px 8px 6px 0;*/
}
.short-description {
    /*color: #1976d2;*/
    font-size: 1.07em;
    /*font-style: italic;*/
    margin-top: 8px;
    display: block; /* falls du Abstand nach oben/unten möchtest */
    height: 84px;
}
.product-side {
  flex: 1 1 350px;
  /*max-width: 420px;*/
  /*min-width: 310px;*/
  margin-top: -50px;
}
.verfuegbar {
  color: var(--success);
  font-weight: bold;
}
.nicht-verfuegbar {
  color: var(--danger);
  font-weight: bold;
}



.product-gallery-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 9px;
    width: 100%;
}
.gallery-inner {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 5/3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-image {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 20px #0002;
    /*border: 2px solid #e0e2e7;*/
    display: block;
    z-index: 1;
    margin-left: 30px;
    cursor: pointer; /* 1-Klick-Zoom: Mauszeiger als Pointer */
}
.gallery-prev,
.gallery-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.75);
    border: none;
    border-radius: 10%;
    width: 54px;
    height: 54px;
    cursor: pointer;
    color: #389D3E;
    font-size: 2.2em;
    box-shadow: 0 1px 8px #0002;
    z-index: 2;
    transition: background .14s, color .12s;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}
.gallery-prev { left: 0px; }
.gallery-next { right: -30px; }
.gallery-prev:hover,
.gallery-next:hover {
    background: #e6eefb;
    /*color: #fff;*/
    opacity: 1;
}
.gallery-counter {
    text-align: center;
    font-size: 1.13em;
    color: #555;
    letter-spacing: 0.08em;
    margin-left: 10px;
}
#gallery-modal {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(30,30,40,0.93);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: zoom-out;
    flex-direction: row;
}

/* Schließen-X in der großen Bildvorschau */
.gallery-modal-close {
    position: absolute;
    top: 36px;
    /*right: 18px;*/
    width: 44px;
    height: 44px;
    /*border-radius: 50%;*/
    border: none;
    background: rgba(255,255,255,0.88);
    color: #389D3E;
    font-size: 2.1em;
    line-height: 44px;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 18px #0005;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .95;
}
.gallery-modal-close:hover {
    background: #e6eefb;
    opacity: 1;
}
#gallery-modal img {
    max-width: 96vw;
    max-height: 92vh;
    border-radius: 20px;
    box-shadow: 0 6px 60px #0009;
    background: #fff;
    cursor: default;
    z-index: 2;
}
.gallery-modal-prev, .gallery-modal-next {
    position: relative;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 10%;
    width: 55px;
    height: 55px;
    cursor: pointer;
    color: #389D3E;
    font-size: 2.5em;
    box-shadow: 0 2px 18px #0005;
    z-index: 3;
    margin: 0 -70px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .93;
    transition: background .14s, color .12s;
}
.gallery-modal-prev:hover, .gallery-modal-next:hover {
    background: #e6eefb;
    /*color: #fff;*/
    opacity: 1;
}
.gallery-modal-counter {
    position: absolute;
    bottom: 4.5vh;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-size: 1.1em;
    letter-spacing: 0.09em;
    text-shadow: 0 1px 8px #000;
    z-index: 4;
    pointer-events: none;
}
@media (max-width: 650px) {
    .gallery-inner { max-width: 96vw; }
    .gallery-image { max-height: 45vw; }
    .gallery-prev, .gallery-next { width: 38px; height: 38px; font-size: 1.3em; }
    #gallery-modal img { max-width: 98vw; max-height: 68vh; }
    .gallery-modal-prev, .gallery-modal-next { width: 38px; height: 38px; font-size: 1.5em;}
    .gallery-modal-close { width: 38px; height: 38px; font-size: 1.7em; top: 10px; right: 10px; }
    .gallery-modal-counter { font-size: 0.96em; }
}
@media (max-width: 950px) {
  .product-detail-layout {
    flex-direction: column;
    gap: 20px;
  }
  .product-side, .product-main {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 1100px) {
  .product-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .product-list { grid-template-columns: 1fr; }
}

.warenkorb-link {
  position: relative;
  display: inline-block;
  padding-right: 38px;  /* rechts Platz für das Badge */
  vertical-align: middle;
}
.cart-badge {
  position: absolute;
  top: 50%;
  right: 2px;   /* nur ganz wenig Abstand! */
  transform: translateY(-50%);
  background: #d32f2f;
  color: #fff;
  font-size: .97em;
  font-weight: bold;
  border-radius: 13px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 1px 6px #0002;
  z-index: 2;
  pointer-events: none;
  transition: background .14s;
}

/* Preise-Tabellenlayout optimieren */
.product-prices-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 13px;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.07em;
  padding: 7px 0;
  margin-top: -10px;
  /* max-width: 410px;  // Optional, für noch kompakter */
}
.price-row input[type="radio"] {
  margin-right: 0;
  accent-color: var(--accent, #1976d2);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.price-row label {
  margin: 0;
  flex: 0 1 170px;  /* NEU: Label nimmt max. 170px, wächst aber nicht unnötig */
  cursor: pointer;
  font-weight: 400;
  min-width: 120px;
  max-width: 180px;
}
.price-row .preis-wert {
  white-space: nowrap;
  text-align: left;
  font-weight: 500;
  min-width: 78px;
  flex: 0 0 78px; /* NEU: Preis bleibt direkt am Label */
  margin-left: 7px;
}
/* Kompakte Mengenzeile */
.menge-row {
  /*display: flex;*/
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  margin-top: 10px;
  max-width: 220px;
}
.menge-row label {
  font-weight: 400;
  min-width: 52px;
  margin: 0;
}
.menge-row input[type="number"] {
  width: 60px;
  min-width: 0;
  font-size: 1.1em;
  padding: 4px 6px;
}

.text-right {
  text-align: right;
}
input[type="radio"],
input[type="checkbox"] {
    cursor: pointer;
}
.readonly-radio {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

/* --- Filterformular Styling --- */
.filter-form {
    display: flex;
    flex-direction: row;
    gap: 18px 20px;
    align-items: center;
    flex-wrap: wrap;
}
.filter-form > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-width: 180px;
    gap: 8px;
}
.filter-form label {
    font-size: 1em;
    margin-bottom: 0;
    margin-right: 7px;
    white-space: nowrap;
}
.filter-form input[type="date"] {
    padding: 7px 12px;
    font-size: 1.09em;
    border: 1.3px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}
.filter-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}
.button-green {
    background: #389d3e;
    color: #fff;
    border: none;
    padding: 9px 22px;
    font-size: 1em;
    cursor: pointer;
    font-weight: 500;
    margin-top: 10px;
}
.button-green:hover {
    background: #217724;
}
.filter-reset {
    color: var(--danger);
    font-size: 1em;
    text-decoration: none;
    margin-bottom: 2px;
    margin-left: 2px;
    align-self: center;
}
.filter-reset:hover {
    text-decoration: underline;
}
/* Macht den Datepicker-Button größer und den Cursor zu Pointer */
.filter-form input[type="date"]::-webkit-calendar-picker-indicator {
    width: 18px;      /* Größe */
    height: 18px;     /* Größe */
    cursor: pointer;  /* Cursor */
    background-size: 18px 18px;
}
.filter-form input[type="date"]::-ms-input-placeholder { /* IE */
    font-size: 1em;
}
.filter-form input[type="date"]::-moz-placeholder { /* Firefox */
    font-size: 1em;
}
.filter-form input[type="date"]::-webkit-input-placeholder {
    font-size: 1em;
}
/* Für Firefox: */
.filter-form input[type="date"] {
    cursor: pointer;
}
/* Optional: für das ganze Feld, auch in Safari/FF */
.filter-form input[type="date"] {
    min-height: 38px;
    font-size: 1.08em;
    color: #000;
    font-weight: 100;
}
.filter-form input[type="date"].date-filled {
    min-height: 38px;
    font-size: 1.08em;
    color: var(--danger);
    font-weight: bold;
}
/* Responsive: Spalten untereinander auf Mobil */
@media (max-width: 600px) {
    .filter-form {
        flex-direction: column;
        align-items: stretch;
        gap: 13px 0;
    }
    .filter-form > div,
    .filter-buttons {
        flex-direction: column;
        min-width: 0;
        gap: 7px;
        align-items: stretch;
    }
    .button-green { width: 100%; }
}
.calendar-info-error {
    color: #d32f2f;
    font-weight: bold;
}


/*header-style-eventsysteme*/
/* --- Brand / Wortmarke "Eventsysteme" (Variante A) --- */
.brand{
  display:flex;
  align-items:center;
  gap: 34px;
}
.brand-title{
  display:flex;
  align-items:baseline;
  text-decoration:none;
  font-size: clamp(1.05rem, 4.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1;
  overflow: visible;
  white-space: nowrap;
}
.brand-title::after{
  content: " ✦ ✦ ✦";
  display: inline-block;
  margin-left: 0.55em;
  font-size: 0.85em; /*0.55*/
  letter-spacing: 0.25em;
  /*color: var(--accent);*/
  color: #EF7423;
  opacity: 0.85;
  transform: translateY(-0.08em);
  pointer-events: none;
}
.brand-event{
  /*color:#232629;*/
  color:#67594E;
  position:relative;
}
.brand-event::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-5px;
  height:3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: .95;
}
.brand-systeme{
  margin-left: 4px;
  color: var(--accent);
  font-weight: 650;
  position: relative;
}
/* dezenter Hover: wertig, nicht verspielt */
.brand-title:hover .brand-event::after{
  bottom:-7px;
  height:4px;
}
/* 4) Feintuning für sehr schmale Geräte */
@media (max-width: 520px){
  .brand{ gap: 10px; }
  .brand-title{ letter-spacing: -0.2px; }
  .brand-event::after{
    bottom: -4px;
    height: 2px;
  }
  .brand-title::after{
    margin-left: 0.45em;
    font-size: 0.48em;
    letter-spacing: 0.30em;
    opacity: 0.75;
  }
  .headerbar{
    height: 56px;
    padding: 0 6px;
  }
}


.brand-event2{
  /*color:#232629;*/
  color:#67594E;
  position:relative;
}
.brand-event2::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-5px;
  height:3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: .95;
}
.brand-systeme2{
  margin-left: 4px;
  color: var(--accent);
  font-weight: 650;
  position: relative;
}


/* Global Loading Spinner Overlay */
#az-spinner {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(2px);
  z-index: 9999;
}
#az-spinner.show { display: flex; }

#az-spinner .box{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border:1px solid var(--border);
  border-radius: 12px;
  background:#fff;
  box-shadow: 0 8px 30px rgba(0,0,0,.10);
}
#az-spinner .wheel{
  width:22px;height:22px;
  border-radius:50%;
  border:3px solid rgba(0,0,0,.12);
  border-top-color: rgba(0,0,0,.55);
  animation: azspin 0.8s linear infinite;
}
#az-spinner .txt{ font-weight:700; color:#2b2f33; }

@keyframes azspin { to { transform: rotate(360deg); } }
