/* MARAMAU Produktseite v1.0.3 – ok digital UG */

.mps {
	--mps-navy: #0d1f35;
	--mps-mid: #1a3352;
	--mps-accent: #2a5a8c;
	--mps-steel: #5a9fd4;
	--mps-mist: #c8daea;
	--mps-sand: #f0f4f8;
	--mps-white: #ffffff;
	--mps-radius: 14px;
	background: var(--mps-white);
	color: var(--mps-navy);
	font-family: 'Inter', Verdana, sans-serif;
	font-size: 16px;
	line-height: 1.6;
}
.mps *, .mps *::before, .mps *::after { box-sizing: border-box; }
.mps-wrap { max-width: 1180px; margin: 0 auto; padding: 32px 16px 48px; }

/* ---------- Layout ---------- */
.mps-produkt {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}
@media (max-width: 860px) {
	.mps-wrap { padding-top: 12px; }
	.mps-produkt { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Galerie ---------- */
.mps-galerie { position: relative; border-radius: var(--mps-radius); overflow: hidden; background: var(--mps-sand); }
.mps-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	outline: none;
}
.mps-track::-webkit-scrollbar { display: none; }
.mps-slide {
	flex: 0 0 100%;
	margin: 0;
	scroll-snap-align: start;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: zoom-in;
}
.mps-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mps-pfeil {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; border-radius: 50%;
	border: none; background: rgba(255,255,255,.85); color: var(--mps-navy);
	font-size: 28px; line-height: 1; cursor: pointer;
	box-shadow: 0 2px 10px rgba(13,31,53,.15);
	transition: background .2s, opacity .2s;
}
.mps-pfeil:hover { background: #fff; }
.mps-pfeil--prev { left: 12px; }
.mps-pfeil--next { right: 12px; }
.mps-pfeil[disabled] { opacity: 0; pointer-events: none; }
@media (hover: none) { .mps-pfeil { display: none; } }

.mps-punkte {
	position: absolute; left: 0; right: 0; bottom: 14px;
	display: flex; justify-content: center; gap: 8px;
}
.mps-punkt {
	width: 8px; height: 8px; padding: 0; border: none; border-radius: 99px;
	background: rgba(13,31,53,.25); cursor: pointer;
	transition: width .25s, background .25s;
}
.mps-punkt.is-aktiv { width: 22px; background: var(--mps-navy); }

/* Bildtext unter der Galerie */
.mps-bildtext {
	margin: 0; padding: 12px 18px 14px; min-height: 46px;
	background: #fff; border-top: 1px solid var(--mps-mist);
	font-size: 14px; font-style: italic; color: var(--mps-mid); line-height: 1.5;
	transition: opacity .2s;
}
.mps-bildtext.is-leer { color: transparent; }
.mps-galerie.has-text .mps-punkte { bottom: 60px; }
.mps-galerie.has-text .mps-pfeil { top: calc(50% - 23px); }

/* ---------- Info ---------- */
.mps-info { position: sticky; top: var(--mps-top, 140px); }
@media (max-width: 860px) { .mps-info { position: static; } }

.mps-chip {
	display: inline-block; padding: 4px 12px; margin-bottom: 14px;
	border-radius: 99px; background: var(--mps-sand); color: var(--mps-accent);
	font-size: 13px; font-weight: 500; letter-spacing: .02em; text-decoration: none;
}
.mps-chip:hover { background: var(--mps-mist); }

.mps .mps-titel {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 600; font-size: clamp(28px, 4vw, 40px); line-height: 1.15;
	color: var(--mps-navy); margin: 0 0 14px; padding: 0;
}
.mps-kurz { color: var(--mps-mid); margin-bottom: 18px; }
.mps-kurz p:last-child { margin-bottom: 0; }

.mps-preis { font-size: 26px; font-weight: 600; color: var(--mps-navy); }
.mps-preis del { color: var(--mps-steel); font-weight: 400; font-size: .7em; margin-right: 6px; }
.mps-preis ins { text-decoration: none; }
.mps-legal { font-size: 13px; color: var(--mps-accent); margin: 4px 0 22px; }
.mps-legal p, .mps-legal .wc-gzd-additional-info { margin: 0; padding: 0; font-size: 13px; }
.mps-legal a { color: var(--mps-accent); }

/* ---------- Riemen ---------- */
.mps-riemen {
	background: var(--mps-sand); border-radius: var(--mps-radius);
	padding: 18px; margin-bottom: 18px;
}
.mps-riemen-kopf { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.mps-label { font-weight: 600; }
.mps-riemen-breite { font-size: 13px; color: var(--mps-accent); }
.mps-label-klein { display: block; font-size: 13px; color: var(--mps-mid); margin-bottom: 6px; }

.mps-farben { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.mps-farbe { cursor: pointer; margin: 0; }
.mps-farbe input { position: absolute; opacity: 0; pointer-events: none; }
.mps-farbe span {
	display: inline-block; padding: 9px 16px; border-radius: 99px;
	border: 1.5px solid var(--mps-mist); background: #fff;
	font-size: 14px; transition: all .2s;
}
.mps-farbe input:checked + span { border-color: var(--mps-navy); background: var(--mps-navy); color: #fff; }
.mps-farbe input:focus-visible + span { outline: 2px solid var(--mps-steel); outline-offset: 2px; }

.mps-laenge select {
	width: 100%; padding: 11px 12px; border-radius: 10px;
	border: 1.5px solid var(--mps-mist); background: #fff; color: var(--mps-navy);
	font-size: 15px; font-family: inherit;
}
.mps-laenge select:disabled { opacity: .55; }

.mps-hinweis { font-size: 13px; color: var(--mps-mid); margin: 12px 0 0; line-height: 1.55; }
.mps-hinweis strong { display: block; color: var(--mps-navy); margin-bottom: 2px; }
.mps-link { color: var(--mps-accent); font-weight: 500; text-decoration: none; white-space: nowrap; }
.mps-link:hover { text-decoration: underline; }

.mps-summe {
	display: flex; justify-content: space-between; align-items: baseline;
	margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--mps-mist);
}
.mps-summe strong { font-size: 20px; }

/* ---------- Button ---------- */
.mps-kaufen {
	width: 100%; padding: 16px 20px; border: none; border-radius: 99px;
	background: var(--mps-navy); color: #fff; cursor: pointer;
	font-family: inherit; font-size: 16px; font-weight: 600; letter-spacing: .02em;
	transition: background .2s, transform .1s;
}
.mps-kaufen:hover { background: var(--mps-mid); }
.mps-kaufen:active { transform: scale(.99); }
.mps-kaufen[disabled] { opacity: .6; cursor: default; }
.mps-kaufen.is-ok { background: #2e6b4f; }

.mps-meldung { min-height: 22px; margin-top: 10px; font-size: 14px; text-align: center; }
.mps-meldung a { color: var(--mps-accent); font-weight: 600; }
.mps-meldung.is-fehler { color: #b3261e; }

.mps-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; font-size: 13px; color: var(--mps-accent); }
.mps-meta .stock { margin: 0; font-size: 13px; }
.mps-meta .in-stock { color: #2e6b4f; }
.mps-meta .out-of-stock { color: #b3261e; }

/* Standard-Formular (variable Produkte) */
.mps-wc-form .single_add_to_cart_button { background: var(--mps-navy) !important; color: #fff !important; border-radius: 99px !important; border: none !important; padding: 12px 28px !important; }

/* ---------- Die Geschichte dahinter ---------- */
.mps-geschichte {
	position: relative; max-width: 760px; margin: 72px auto 0; padding: 0 0 56px;
	text-align: center;
}
.mps-geschichte-eyebrow {
	display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
	color: var(--mps-steel); margin-bottom: 10px;
}
.mps .mps-geschichte h2 {
	font-family: 'Playfair Display', Georgia, serif; font-weight: 500;
	font-size: clamp(26px, 4vw, 36px); color: var(--mps-navy); margin: 0 0 22px; padding: 0;
}
.mps-geschichte-text {
	font-family: 'Playfair Display', Georgia, serif; font-size: clamp(18px, 2.2vw, 21px);
	line-height: 1.75; color: var(--mps-mid); text-align: left;
}
.mps-geschichte-text p { margin: 0 0 1em; }
.mps-geschichte-text p:first-child::first-letter {
	float: left; font-size: 3.2em; line-height: .85; padding: 6px 10px 0 0; color: var(--mps-accent);
}
.mps-geschichte-welle {
	position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
	width: 160px; height: 18px; opacity: .6;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 18'%3E%3Cpath d='M0 9 Q20 0 40 9 T80 9 T120 9 T160 9' fill='none' stroke='%235a9fd4' stroke-width='2'/%3E%3C/svg%3E") no-repeat center;
}

/* ---------- Akkordeon ---------- */
.mps-akkordeon { max-width: 760px; margin: 48px auto 0; border-top: 1px solid var(--mps-mist); }
.mps-akk { border-bottom: 1px solid var(--mps-mist); }
.mps-akk summary {
	list-style: none; cursor: pointer; padding: 18px 0;
	font-family: 'Playfair Display', Georgia, serif; font-size: 20px; color: var(--mps-navy);
	display: flex; justify-content: space-between; align-items: center;
}
.mps-akk summary::-webkit-details-marker { display: none; }
.mps-akk summary::after { content: '+'; font-family: 'Inter', sans-serif; font-size: 22px; color: var(--mps-accent); transition: transform .2s; }
.mps-akk[open] summary::after { transform: rotate(45deg); }
.mps-akk-inhalt { padding: 0 0 20px; color: var(--mps-mid); }
.mps-akk-inhalt table { width: 100%; border-collapse: collapse; }
.mps-akk-inhalt th, .mps-akk-inhalt td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--mps-sand); font-size: 14px; }
.mps-akk-inhalt th { width: 40%; font-weight: 600; color: var(--mps-navy); }
.mps-akk-inhalt td p { margin: 0; }

/* ---------- Laden ---------- */
.mps-laden {
	position: relative; overflow: hidden;
	margin: 64px 0 0; padding: 48px 24px 44px;
	border-radius: var(--mps-radius);
	background: linear-gradient(160deg, var(--mps-navy) 0%, var(--mps-mid) 70%, var(--mps-accent) 100%);
	color: var(--mps-mist); text-align: center;
}
.mps-laden h2 {
	font-family: 'Playfair Display', Georgia, serif; font-weight: 500;
	color: #fff; font-size: clamp(22px, 3vw, 30px); margin: 0 0 12px; padding: 0;
}
.mps-laden p { max-width: 620px; margin: 0 auto 22px; }
.mps-welle {
	position: absolute; left: 0; right: 0; bottom: 0; height: 40px; opacity: .18;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20 Q150 0 300 20 T600 20 T900 20 T1200 20 V40 H0Z' fill='%23c8daea'/%3E%3C/svg%3E") repeat-x;
	background-size: 600px 40px;
}
.mps-btn-hell {
	position: relative; display: inline-block; padding: 12px 26px; border-radius: 99px;
	background: #fff; color: var(--mps-navy); font-weight: 600; text-decoration: none;
	transition: background .2s;
}
.mps-btn-hell:hover { background: var(--mps-mist); }

/* ---------- Passt dazu ---------- */
.mps-dazu { margin-top: 64px; }
.mps-dazu h2 {
	font-family: 'Playfair Display', Georgia, serif; font-weight: 500;
	font-size: clamp(22px, 3vw, 30px); color: var(--mps-navy); margin: 0 0 20px; padding: 0; text-align: center;
}
.mps-dazu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .mps-dazu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.mps-karte { display: block; text-decoration: none; color: var(--mps-navy); }
.mps-karte-bild { display: block; aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; background: var(--mps-sand); margin-bottom: 10px; }
.mps-karte-bild img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.mps-karte:hover .mps-karte-bild img { transform: scale(1.04); }
.mps-karte-name { display: block; font-weight: 500; font-size: 15px; }
.mps-karte-preis { display: block; font-size: 14px; color: var(--mps-accent); }

.mps-version { margin-top: 40px; text-align: center; font-size: 11px; color: var(--mps-mist); }

/* ---------- Vollbild (liegt direkt in <body>, daher eigene Variablen) ---------- */
.mps-lightbox {
	position: fixed; inset: 0; z-index: 2147483000;
	background: rgba(13,31,53,.95);
	display: flex; align-items: center; justify-content: center;
	padding: 72px 16px 24px;
	cursor: zoom-out;
}
.mps-lightbox[hidden] { display: none; }
.mps-lightbox { flex-direction: column; }
.mps-lightbox img { max-width: 100%; max-height: calc(100% - 50px); object-fit: contain; }
.mps-lb-text { margin: 14px 0 0; max-width: 720px; text-align: center; color: #c8daea; font-size: 15px; font-style: italic; font-family: 'Inter', Verdana, sans-serif; }
.mps-lb-text:empty { display: none; }
.mps-lb-zu {
	position: fixed;
	top: max(16px, calc(env(safe-area-inset-top) + 10px));
	right: max(16px, calc(env(safe-area-inset-right) + 10px));
	width: 46px; height: 46px; padding: 0;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid rgba(200,218,234,.45); border-radius: 50%;
	background: #0d1f35; color: #fff;
	font-size: 28px; line-height: 1; cursor: pointer;
	box-shadow: 0 4px 18px rgba(0,0,0,.45);
}
.mps-lb-zu:hover { background: #2a5a8c; }
body.mps-lb-offen { overflow: hidden; }
body.mps-lb-offen #main-header,
body.mps-lb-offen #top-header,
body.mps-lb-offen .et-l--header,
body.mps-lb-offen #wpadminbar { visibility: hidden !important; }
