
:root {
    /* typography */
    --text-l:2.4em;
    --text-m: 2.2rem;
    --text-sm: 1.5rem;
    --text-s: 1.2rem;
    --text-xs: 0.95rem;

    --abstand-s:50px;
	--abstand-m:80px;
	--abstand-kopf:140px;

    --maincolor-schwarz: #000;
    --maincolor-hellgrau: #999999;
}

@media(max-width: 1024px){
  :root {
    --text-l: 2.0rem;
    --text-m: 1.7rem;
    --text-sm: 1.05rem;
    --text-s: 1rem;
    --text-xs: 0.9rem;

    --abstand-s:10px;
    --abstand-m:50px;
	--abstand-kopf:140px;
  }
}
@media(max-width: 768px){
  :root {
    --abstand-s:5px;
    --abstand-m:40px;
	--abstand-kopf:140px;
  }
}

@media(max-width: 640px){
  :root {
    --text-l: 1.4rem;
    --text-m: 1.4rem;
    --text-sm: 1.0rem;
    --text-s: 0.95rem;
    --text-xs: 0.85rem;

    --abstand-s:10px;
    --abstand-m:30px;
	--abstand-kopf:140px;
  }
}



* {
	line-height:140%;
	margin:0;
	padding:0;
	font-size:16px;
	}

body {
  	background: #ffffff;
  	font-family: "Arimo", sans-serif;
  	font-style:normal;
  	font-weight:normal;
  	line-height: 1.5;
  	margin: 0;
  	padding:0 0 var(--abstand-s) 0;
	}
.grid-container {
    max-width: 100%;
    padding: 0 var(--abstand-m);
    }
.kopfzeile {
    position: fixed;
    width:100%;
	text-align:left; 
    background: #ffffff;
    margin:0;
    padding:0;
	height:var(--abstand-kopf);
    z-index: 100;
    border-bottom:1px solid var(--maincolor-schwarz);
	}
#abstand	{
    height:var(--abstand-kopf);
    }
#logo.dunkel {
	opacity: 1.0;
    filter: alpha(opacity=100);
	margin:42px 10px 10px 0;
	padding:0;
	border:0;
    max-width: 320px;
	}

ul.menu {
	list-style-type:none;
	padding:80px 0 80px 10px;
    display: flex;
    justify-content: flex-end;
	}
ul.menu li{
	padding:0;

	}
ul.menu li a{
	opacity: 1.0;
    filter: alpha(opacity=100);
	font-weight:700;
	color:var(--maincolor-schwarz);
	font-size:var(--text-xs);
	padding:3px 14px;
	text-decoration:none;
	float:left;
    -webkit-transition: all 0.2s ease;
 	transition: all 0.2s ease;
    text-transform: uppercase;
	}
ul.menu li a:hover, ul.menu li a.active{
	color:var(--maincolor-hellgrau);
	cursor:pointer;
    -webkit-transition: all 0.2s ease;
 	transition: all 0.2s ease;
	}


.world-clocks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    text-align: center;
    padding: 25px 0 25px 0;
    border-bottom:1px solid var(--maincolor-schwarz);
}

.world-clock h3 {
    font-size:var(--text-sm);
    font-weight: 700;
    margin: 0 0 0 0;
    text-transform: uppercase;
    color:var(--maincolor-schwarz);
}

.clock-time {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
    color:var(--maincolor-schwarz);
}

.clock-date {
    font-size:var(--text-s);
    margin-top: 10px;
    opacity: 0.7;
}

@media (max-width: 640px) {
    .world-clocks {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}



/* Alle Slides etwas heller bzw. transparenter */

.swiper-slide {
    width: 50%;
    opacity: 0.2;
    transition: opacity 0.4s ease;
}

.swiper-slide-active {
    opacity: 1;
}

/* Hochformat-Slides */
.swiper-slide.portrait {
    width: 33.333%;
}

.swiper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
    margin-top:20px;
}

.swiper .swiper-slide {
    height: 35vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.swiper-scrollbar {
    visibility: hidden;
}

.swiper-button-next,
.swiper-button-prev {
   color:var(--maincolor-schwarz);
}

.swiper-zoom-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-zoom-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}




/* ==========================================
   PRODUKT-TEXTE UND LINKS
========================================== */

.product-text,
.hover-text {
    line-height: 1.3;
    font-size: var(--text-m);
}

.hover-info {
    position: relative;
    display: inline-block;
}

.product-text .hover-info > a,
.hover-text .hover-info > a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
    font-size: var(--text-m);
    padding: 3px;
}


/* ==========================================
   POPUP GRUNDEINSTELLUNGEN
========================================== */

.hover-popup {
    display: none;
    position: absolute;
    left: 0;
    bottom: calc(100% + 12px);
    width: min(480px, calc(100vw - 30px));
    max-width: calc(100vw - 30px);
    background: #fff;
    color: var(--maincolor-schwarz);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.18);
    z-index: 1000;
    text-decoration: none;
}

.hover-info.popup-right .hover-popup {
    left: auto;
    right: 0;
}

.hover-popup.portrait {
    width: min(320px, calc(100vw - 30px));
}

.popup-text-only {
    width: min(400px, calc(100vw - 30px));
}

.hover-popup img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
}

.popup-text {
    display: block;
    padding: 16px;
    font-size: var(--text-s);
    line-height: 1.5;
}

.popup-text strong {
    display: block;
}


/* ==========================================
   STADT-POPUPS
   Öffnen ausschließlich per Klick
========================================== */

/* Stadtbilder nicht durch Hover öffnen */
.city-motive:hover .hover-popup,
.city-motive:focus-within .hover-popup {
    display: none !important;
}

/* Nur das aktiv geöffnete Stadtbild anzeigen */
.city-motive.is-open .hover-popup {
    display: block !important;
}

/* Bild ist anklickbar */
.city-motive .hover-popup img {
    cursor: pointer;
}


/* ==========================================
   ROTER AUSWAHLPUNKT IM STADTBILD
========================================== */

.city-motive .motiv-auswahl-haken {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e52329;
    display: none;
    z-index: 10;
}

/* Punkt nur bei ausgewähltem Motiv anzeigen */
.city-motive.is-selected .motiv-auswahl-haken {
    display: block;
}


/* ==========================================
   INFORMATIONS-POPUPS
   Desktop: Mouseover oder Klick
========================================== */

.has-info-popup:hover .hover-popup,
.has-info-popup:focus-within .hover-popup,
.has-info-popup.is-open .hover-popup {
    display: block;
}


/* ==========================================
   AUSGEWÄHLTE STÄDTE
========================================== */

.hover-info.is-selected > a {
    background: #000;
    color: #fff;
    padding: 3px;
    text-decoration: none;
}

/* ==========================================
   PASSAGE SEITE
========================================== */
.passage-motiv-wrapper {
    position: relative;
    display: block;
}

.passage-motiv-wrapper .motiv-auswahl-haken {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e52329;
    display: none;
    z-index: 10;
    pointer-events: none;
}

.passage-motiv-wrapper.is-selected .motiv-auswahl-haken {
    display: block;
}

/* Popups innerhalb des Produkttextes */
.product-text .hover-info {
    position: relative;
    display: inline-block;
}

.product-text .hover-info .hover-popup {
    display: none;
    position: absolute;
    left: 0;
    bottom: calc(100% + 12px);
    max-width: 85vw;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.2);
    z-index: 99999;
}

/* Popup wird per Klick geöffnet */
.product-text .hover-info.is-open .hover-popup {
    display: block !important;
    visibility: visible;
    opacity: 1;
}

/* Text-Popup ohne Bild */
.product-text .hover-info .hover-popup.popup-text-only {
    width: 320px;
    max-width: 85vw;
}

/* Bilder im Popup */
.product-text .hover-info .hover-popup img {
    display: block;
    width: 100%;
    height: auto;
}

/* Smartphone */
@media (max-width: 640px) {
    .product-text .hover-info .hover-popup {
        position: fixed;
        left: 5vw;
        right: 5vw;
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
        width: 90vw;
        max-width: 90vw;
        max-height: 80vh;
        overflow-y: auto;
    }
}
/* ==========================================
   BESTELLBEREICH
========================================== */

.bestellbereich {
    margin-top: 35px;
}

.bestellbereich h3 {
    font-size: var(--text-m);
    margin-bottom: 20px;
}

.bestellposition {
    display: grid;
    grid-template-columns: 200px minmax(130px, 1fr) minmax(130px, 1fr) minmax(130px, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--maincolor-schwarz);
    margin: 0 0 15px 0;
}

.bestellposition__bild {
    width: 200px;
    max-width: 100%;
    height: auto;
    display: block;
}

.bestellposition label {
    display: block;
    font-size: var(--text-xs);
    margin-bottom: 6px;
}

.bestellposition select {
    width: 100%;
    margin: 0;
    border: 1px solid var(--maincolor-schwarz);
}

.bestellposition__preis {
    min-width: 100px;
    text-align: right;
    font-weight: 700;
    white-space: nowrap;
    margin-top: 20px;
}

.bestellposition__entfernen {
    display: block;
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: none;
    text-decoration: underline;
    cursor: pointer;
    font-size: var(--text-xs);
    color:var(--maincolor-schwarz);
}

.bestellsumme {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--maincolor-schwarz);
    text-align: right;
    font-size: var(--text-s);
    font-weight: 700;
    color: var(--maincolor-schwarz);
}

#bestellung-email,
#anfrage-email {
    margin-top: 20px;
    padding: 12px 24px;
    border: none;
    background: var(--maincolor-schwarz);
    color: #fff;
    cursor: pointer;
}

#bestellung-email:hover,
#anfrage-email:hover {
    opacity: 0.8;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1000px) {
    .bestellposition {
        grid-template-columns: 150px 1fr 1fr;
        gap: 15px;
    }

    .bestellposition__bildbereich {
        grid-row: span 2;
    }

    .bestellposition__preis {
        text-align: left;
        margin-top: 0;
    }
}


/* ==========================================
   SMARTPHONE
========================================== */

@media (max-width: 700px) {
    .bestellposition {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .bestellposition__bildbereich {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .bestellposition__bild {
        width: 200px;
    }

    .bestellposition__preis {
        text-align: left;
        margin-top: 0;
    }
}

@media screen and (max-width: 768px) {

    /* Keine automatischen Hover-Popups auf Smartphones */
    .hover-info:hover .hover-popup {
        display: none !important;
    }

    /* Stadtbild nur nach Klick öffnen */
    .city-motive.is-open .hover-popup {
        display: block !important;
    }

    /* Informationsfenster nur nach Klick öffnen */
    .has-info-popup.is-open .hover-popup {
        display: block !important;
        cursor: pointer;
    }
}


/* ==========================================
   PASSAGE-MOTIVE
========================================== */

.passage-motiv {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.passage-motiv.is-selected {
    outline-offset: -3px;
    opacity: 0.55;
}


/* ==========================================
   MOTIVZÄHLER
========================================== */

.motiv-zaehler {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e52320;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.motiv-zaehler:hover {
    transform: scale(1.08);
}

/*****************************/	
/********  Schrift  **********/	
/****************************/	

h1 {
	color:var(--maincolor-schwarz);
	font-weight:700;
	font-size:var(--text-l);
	line-height:140%;
	margin:50px 0 8px 0;
	padding:0;

	}
h2 {
	color:var(--maincolor-schwarz);
	font-weight:700;
	font-size:var(--text-m);
	line-height:140%;
	margin:10px 0 8px 0;
	padding:0;
	}

p {
	color:var(--maincolor-schwarz);
	font-size:var(--text-s);
	font-style:normal;
	font-weight:400;
	line-height:170%;
	margin:0 0 0 0;
	}
p.gross {
    font-size:var(--text-m);
    font-weight:400;
    line-height:140%;
    }
p a {
	font-size: 100%;	
	font-weight:500;
  	color:#999;
  	text-decoration: none;
	}
p a:hover {
	color:var(--maincolor-hellgrau);
	text-decoration:none;
	}
p b, .fett, strong{
	font-weight:700;
	font-size:100%;
	}


	
/***********************************/	
/********  Kopfzeile / Logo ********/	
/******************************/


#back-top {
	display:block;
	position:fixed;
	width:52px;
	height:52px;
	bottom:100px;
	right:20px;
	text-align:center;
	z-index:2000;
	}

/**********************************************/
@media only screen and (max-width: 1024px)  {
#logo.dunkel {
	margin:22px 10px 10px 0;
	padding:0;
	border:0;
    max-width: 300px;
	}
ul.menu {
	list-style-type:none;
	padding:10px 0 20px 0;
    margin-left:-14px;
    display: flex;
    justify-content: flex-start;
	}

}

/**********************************************/
@media only screen and (max-width: 768px)  {

    .swiper-slide {
        width: calc(100% - 100px);
        opacity: 0.2;
        margin:var(--abstand-s) 0;
    }

    /* Auch Hochformat-Slides erhalten dieselbe Breite */
    .swiper-slide.portrait {
        width: calc(100% - 100px);
    }

    .swiper-slide-active {
        opacity: 1;
    }

    .swiper .swiper-slide {
        height: 350px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

}

/**********************************************/





