/* === Bestellbutton === */
a.bestellbutton {
    border-bottom: 1px solid #FF7E00 !important;
}

.bestellbutton {
    display: inline-block;  /* ← das fehlt für <a> */
    position: relative;
    padding: 12px 30px;
    font-size: 18px;
    font-style: italic;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    border: 1px solid #FF7E00;
    transition: all 0.3s ease-in-out;
}

.bestellbutton:hover {
  color: #000000;
  background: rgba(255, 255, 255, 0.3);
}

/* Die vier Punkte in den Ecken via Pseudoelement */
.bestellbutton::before {
  content: "";
  position: absolute;
  /* Perfekte Ausrichtung direkt auf dem 3px Rahmen */
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  pointer-events: none;
  
  /* Erstellt 6px große Kreise in allen vier Ecken */
  background-image: 
    radial-gradient(circle, #FF7E00 3px, transparent 3px),
    radial-gradient(circle, #FF7E00 3px, transparent 3px),
    radial-gradient(circle, #FF7E00 3px, transparent 3px),
    radial-gradient(circle, #FF7E00 3px, transparent 3px);
  
  /* Platziert die Punkte exakt auf den Ecken */
  background-position: 
    top left,
    top right,
    bottom left,
    bottom right;
    
  /* Definiert die Größe des Verlauf-Quadrats auf 6px x 6px */
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.bestellbutton::after {
    content: "+";
    position: absolute;
    top: 8px;
    font-size: 12px;
    font-weight: bold;
    pointer-events: none;
}

/* === add new Joomla section Top C & Bottom C=== */
.container-top-a, .container-top-b, .container-top-c, .container-bottom-a, .container-bottom-b, .container-bottom-c {
  position: relative;
}

.container-top-a > *, .container-top-b > *,  .container-top-c > *, .container-bottom-a > *, .container-bottom-b > *, .container-bottom-c > * {
  flex: 1;
  /*margin: .5em 0;*/ /* === original === */
  margin: 0; /* === neu === */
}

@media (width <= 991.98px) {
  .container-top-a, .container-top-b, .container-top-c, .container-bottom-a, .container-bottom-b, .container-bottom-c {
    flex-direction: column;
  }

  .container-top-a > *, .container-top-b > *, .container-top-c > *, .container-bottom-a > *, .container-bottom-b > *, .container-bottom-c > * {
    flex: 0 auto;
  }
}

@supports (display: grid) {
  .site-grid {
    grid-gap: 0 1em;
    grid-template-columns: [full-start] minmax(0, 1fr)[main-start] repeat(4, minmax(0, 19.875rem))[main-end] minmax(0, 1fr)[full-end];
    grid-template-areas: ". banner banner banner banner ."
                         ". top-a top-a top-a top-a ."
                         ". top-b top-b top-b top-b ."
                         ". top-c top-c top-c top-c ."
                         ". comp comp comp comp ."
                         ". side-r side-r side-r side-r ."
                         ". side-l side-l side-l side-l ."
                         ". bot-a bot-a bot-a bot-a ."
                         ". bot-b bot-b bot-b bot-b ."
                         ". bot-c bot-c bot-c bot-c .";
    display: grid;
  }

  @media (width >= 992px) {
    .site-grid {
      grid-template-areas: ". banner banner banner banner ."
                           ". top-a top-a top-a top-a ."
                           ". top-b top-b top-b top-b ."
                           ". top-c top-c top-c top-c ."
                           ". side-l comp comp side-r ."
                           ". bot-a bot-a bot-a bot-a ."
                           ". bot-b bot-b bot-b bot-b ."
                           ". bot-c bot-c bot-c bot-c .";
    }
  }
}

.container-top-c {
  grid-area: top-c;
}

.container-bottom-c {
  grid-area: bot-c;
}

/* === section for orange backgroud dots === */
.mod-orange-dots {
    --dot-size: 1.6px;
    --row-height: 150px;
    --col-width: 150px;

    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    
    background-image: radial-gradient(
        circle at center,
        #FF7E00 var(--dot-size),
        transparent var(--dot-size)
    );
    background-size: var(--col-width) var(--row-height);
    background-repeat: repeat;
    background-position: center -73.2px;   /* Punkt beginnt genau am oberen Rand */
}

.modal-logo {
    position: absolute;
    top: 16px;
    margin-left: 16px;
}

.uk-list>*>:last-child {
    margin-left: 54px;
}

@media (max-width: 639px) {
    .hidden-small {
        display: none !important;
    }
}

@media (min-width: 640px) {
    .visible-small {
        display: none !important;
    }
}

.logo {
    margin: 0;
    line-height: 1;
}

a {
    text-decoration: none !important;
    border-bottom: none !important;
    color: inherit;
}

a:hover {
    color: #FF7E00;
}

.container-banner {
    margin: 0;
    display: block;
    background-color: #000;
    color: #fff;
    padding: 6px;
}

/* === hero section with overlay === */
.hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    height: calc(100vh - 60px);
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 640px) {
    .hero-image {
        object-position: 100% 50%;
    }
}

.hero-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
    z-index: 2;
}

.hero-title {
    position: relative;
    line-height: 1;
    white-space: nowrap;
    display: inline-block;
    width: auto;
    color: #fff;
    letter-spacing: -0.05em;
    font-size: clamp(24px, 10vw, 160px);
    max-width: 100%;
}

.hero-subtitle {
    position: absolute !important;
    right: -20px !important;
    top: 88% !important;
    transform: translateY(-50%);
    white-space: nowrap;
    letter-spacing: normal;
    color: #FF7E00!important;
    font-size: 3vw;
}

/* NEU: Weißes Overlay auf der LINKEN, UNTEREN Hälfte (50% vertikal) 
.hero::before {
    content: "";
    position: absolute;
    top: 50%;       
    left: 0;
    width: 50%;      
    height: 50%;    
    background: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 1;
}*/

@media (max-width: 640px) {
    .hero::before {
        visibility: hidden;
    }
}

/* Bestehendes: Schwarzes Overlay auf der RECHTEN Hälfte (ganze Höhe) */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 640px) {
    .hero::after {
        top: auto;       /* ← wichtig: obere Positionierung aufheben */
        right: auto;
        bottom: 0;         /* unten beginnen */
        left: 0;
        width: 100%;       /* volle Breite */
        height: 50%;       /* untere Hälfte */
    }
}

/* Titel – zentriert, aber nicht mehr in der Mitte, sondern etwas höher (optional) */
.hero-title-container {
    position: absolute;
    top: 25%;           /* nach Wunsch anpassen */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
    z-index: 2;
}

/* Grid – beginnt bei Desktop 60% Höhe */
.hero-grid-container {
    position: absolute;
    top: 60%;           /* genau hier beginnt der Grid-Bereich */
    left: 0;
    width: 100%;
    z-index: 2;
    padding: 2rem;
    box-sizing: border-box;

    p.left {
        color: #000000;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        font-weight: 500;
    }

    p.right {
        color: #FFFFFF;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
        font-weight: 500;
    }
}

@media (max-width: 640px) {
    .hero-grid-container {
        top: 55%; 
    }
}

/* Vertikale Trennlinie (mittig, gesamte Höhe) */
.hero-vertical-divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 6px;
    height: 100%;
    background: white;
    transform: translateX(-3px);
    pointer-events: none;
    z-index: 2;
}

/* Horizontale Trennlinie (linke Hälfte, bei 50% Höhe) */
.hero-horizontal-divider {
    position: absolute;
    top: 50%;
    left: 0;
    width: 50%;
    height: 6px;
    background: white;
    transform: translateY(-3px);
    pointer-events: none;
    z-index: 2;
}

/* Mobile: Divider ausblenden */
@media (max-width: 640px) {
    .hero-vertical-divider {
        display: none;
    }
}

/* Mobile Divider */
@media (max-width: 640px) {
    .hero-horizontal-divider {
        width: 100%;
    }
}

/* === colors === */
.orange {
    color: #FF7E00;
}

.white {
    color: #ffffff;
}

.black {
    color: #000000;
}

.container-component > :first-child,
.container-sidebar-left > :first-child,
.container-sidebar-right > :first-child,
.container-component > * + *,
.container-sidebar-left > * + *,
.container-sidebar-right > * + * {
    margin-top: 0 !important;
}

.site-grid {
    gap: 0;
}

.card {
    --card-border-color: none;
}

.card-body {
    padding: 0;
}

.container-top-a>*, .container-top-b>*, .container-bottom-a>*, .container-bottom-b>* {
    margin: 0;
}

.container-header {
    background-color: #000000;
    background-image: none;
}

.monte {
    font-family: Montserrat;
    font-weight: 600;
    font-style: italic;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}

.museo {
  font-family: "MuseoModerno", sans-serif! important;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.text-shadow {
text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.6);
}

/* ==== ausgeblendetes Joomla Menu ==== */
header .container-nav {
    padding-bottom: 0;
}

.container-header .grid-child {
    padding: 0;
}

.container-header .mod-menu {
    justify-content: center;
}

/* ====== font-size ====== */
.font-6 {
  	font-size: 6px! important;
}

.font-8 {
  	font-size: 8px! important;
}

.font-10 {
  	font-size: 10px! important;
}

.font-12 {
  	font-size: 12px! important;
}

.font-13 {
    font-size: 13px! important;
}

.font-14 {
  	font-size: 14px! important;
}

.font-16 {
  	font-size: 16px! important;
}

.font-18 {
  	font-size: 18px! important;
}

.font-20 {
  	font-size: 20px! important;
}

.font-22 {
  	font-size: 22px! important;
}

.font-24 {
  	font-size: 24px! important;
}

.font-26 {
  	font-size: 26px! important;
}

.font-28 {
  	font-size: 28px! important;
}

.font-30 {
  	font-size: 30px! important;
}

.font-32 {
  	font-size: 32px! important;
}

.font-34 {
  	font-size: 34px! important;
}

.font-36 {
  	font-size: 36px! important;
}

.font-38 {
  	font-size: 38px! important;
}

.font-40 {
  	font-size: 40px! important;
}

.font-42 {
  	font-size: 42px! important;
}

.font-44 {
  	font-size: 44px! important;
}

@media (max-width: 640px) {
    .font-44 {
        font-size: 38px! important;
    } 
}

.font-46 {
  	font-size: 46px! important;
}

.font-48 {
  	font-size: 48px! important;
}

.font-50 {
  	font-size: 50px! important;
}

.font-60 {
  	font-size: 60px! important;
}

.font-70 {
  	font-size: 70px! important;
}

.font-80 {
  	font-size: 80px! important;
}

.font-90 {
  	font-size: 90px! important;
}

.font-100 {
  	font-size: 100px! important;
}

.font-120 {
    font-size: 120px! important;
}

.font-140 {
    font-size: 140px! important;
}

.font-160 {
    font-size: 160px! important;
}

.font-180 {
    font-size: 180px! important;
}

.font-200 {
    font-size: 200px! important;
}

/* top space */
.top {
  margin-top: 20px! important;
}

.top-list {
  	padding-top: 6px! important;
}

.top-card {
  	margin-top: 45px! important;
}

.top-10 {
  	margin-top: 10px! important;
}

.top-14 {
  	margin-top: 0px! important;
}

.top-20 {
  	margin-top: 20px! important;
}

.top-30 {
  	margin-top: 30px! important;
}

.top-40 {
  	margin-top: 40px! important;
}

.top-50 {
  	margin-top: 50px! important;
}

.top-60 {
  	margin-top: 60px! important;
}

.top-70 {
  	margin-top: 70px! important;
}

.top-80 {
  	margin-top: 80px! important;
}

.top-100 {
  	margin-top: 100px! important;
}

.top-120 {
  	margin-top: 120px! important;
}

.top-140 {
  	margin-top: 140px! important;
}

.top-160 {
  	margin-top: 160px! important;
}

.top-180 {
  	margin-top: 180px! important;
}

.top-190 {
  	margin-top: 190px! important;
}

.top-200 {
  	margin-top: 200px! important;
}