body {
	font-family: Verdana, Arial, sans-serif;
	font-size: 16px;
	font-weight: normal;
	vertical-align: top;
	color: #000000;
	margin: 0px;
	padding: 0px;
	background-color: #EEDFDC;
	max-width: 100%;
	overflow-x: hidden;
}

table {
	/*outline: 2px solid red;*/
	max-width: 690px;
	width: 100%; /* Ensure it respects the parent's width */
	margin: 0 auto; /* Center the table */
	padding: 0;
}

div.main {
	max-width: 1200px; /* Maximum width for large screens */
	width: 100%; /* Flexible width for smaller screens */
	margin: 0 auto; /* Horizontal centering */
}

div.main > table {
  max-width: 690px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  table-layout: fixed; /* add this; do not delete the rest */
}

td {
	/*outline: 2px solid blue;*/
	font-family: Verdana, Arial, sans-serif;
	font-size: 16px;
	font-weight: normal;
	vertical-align: bottom;
	color: #000000;
	margin: 0px;
	padding: 0px;
}

td.right {
	display: flex;
	justify-content: right;
	align-content: stretch;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: flex-end;
	margin: 4px 5px 5px 0px;
}

td.preisright {
	text-align: right;
}

td.linksluecke {
	font-family: Verdana, Arial, sans-serif;
	font-size: 16px;
	font-weight: normal;
	vertical-align: top;
	color: #000000;
	margin: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 4px;
	padding-right: 0px;
}

td.rahmenlos {
	display: flex;
	justify-content: center;
	align-content: stretch;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: flex-end;
	margin: 20px 0px 0px 0px;
}

td.center {
	display: flex;
	justify-content: center;
	align-content: stretch;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: flex-end;
	margin: 0px 0px 0px 0px;
}

.centered-td {
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 20px;
}

td.mainpic {
  display: block; /* flex on a <td> is unnecessary here */
}

.mainpic img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

td.recht {
	display: flex;
	justify-content: center;
	align-content: stretch;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: flex-end;
	margin: 0px;
}

.sitemenu {
    background-color: rgba(0, 0, 0, 0.25);
    color: #000000;
    text-align: center;
    margin-bottom: 5px;
    text-transform: lowercase;
    position: relative;
    display: flex;
    justify-content: space-around;
    width: 100%;
    flex-wrap: wrap;
}

.maps {
    width: 425px;
    height: 350px;
}

/* Style the lower-content div to take 50% width and center content */
.lower-content {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

/* Center content within specific elements inside lower-content */
.lower-content p,
.lower-content iframe,
.lower-content div {
    display: block;
    margin: 0 auto;
    text-align: center;
}

/* Ensure the Google Maps iframe is centered and responsive */
.lower-content iframe.maps {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.sitemenu a {
	flex: 1 1 calc(33.33% - 12px); /* Adjusted for increased margin */
	margin: 6px; /* Increased margin for more space between links */
	max-width: 140px; /* Limit width in two-row layout */
	padding: 5px;
	background-color: rgba(0, 0, 0, 0.30);
	color: #ffffff;
	box-sizing: border-box;
	text-align: center;
	text-decoration: none;
	display: block;
}

/* Media query for wider viewports (e.g., above 768px) */
@media (min-width: 768px) {
    .sitemenu a {
        flex: 1 1 calc(16.66% - 10px); /* Six links in one row */
        max-width: 120px; /* Keep width for single-row layout */
        margin: 4px; /* Revert to original margin for single row */
    }
}

.sitemenu a:visited {
	color: #ffffff;
	/*display: none;*/
	padding: 8px;
	font-size: 18px;
	text-decoration: none;
}

.sitemenu a span {
        display: none;
}

.sitemenu a:hover span {
        display: none;
}

.recht a:link {
	text-decoration: none;
	color: #000000;
}

.recht a:visited {
	text-decoration: none;
	color: #000000;
}

.recht a:hover  {
	text-decoration: none;
	color: #000000;
}

.recht a:active {
	text-decoration: none;
	color: #000000;
}

#normal {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#normal > table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

#normal col.col-dauer { width: 5em; } /* 5em; */
#normal col.col-preis { width: 8em; } /* 5.2em; */
#normal col.col-pic   { width: 8em; } /* leftover = big photo = auto*/

#normal td {
  white-space: normal;
  overflow-wrap: anywhere;
  /*word-break: break-word;*/
 }

#normal td.dauer,
#normal td.preisright {
  white-space: nowrap;
  width: auto;
  vertical-align: top; /* was middle / was bottom */
  padding: 0;
}

#normal td.beschreibung {
  white-space: normal;
  overflow-wrap: anywhere;
  /*word-break: break-word;*/
  padding-top: 6px;
  padding-left: 4px;
}
#normal td.preisright {
  text-align: right;
  padding-right: 60px;   /* small gap before the photo, not a wide gutter */
}

#normal td.dauer {
  text-align: right;    /* damit die Dauer rechtsbündig in der Zelle sitzten */
  padding-right: 10px;  /* this is “duration closer to price” */
}

#normal tr:has(td[colspan="2"]) td[colspan="2"] {
  vertical-align: top;
  padding-bottom: 6px;
}

#normal td.abstand {
  vertical-align: bottom; /* photo foot = last price */
  padding: 0;
}

#normal .abstand img {
  display: block;
  width: 100%;
  height: auto;
}

#normal small {
  font-size: 14px;   /* or 0.95em; 16px if you want it equal to the rest */
  line-height: 1.35;
}

#normal .recht a:link {
	text-decoration: none;
	color: #000000;
}

#normal .recht a:visited {
	text-decoration: none;
	color: #000000;
}

#normal .recht a:hover  {
	text-decoration: none;
	color: #000000;
}

#normal .recht a:active {
	text-decoration: none;
	color: #000000;
}

.sitemenu p.desc {
         display: none;
}

.sitemenu h2 {
         display: none;
}

#normal a {
	font-weight: normal;
	color: #000000;
	text-decoration: underline;
}

#normal a:hover {
	color: #000000;
 	text-decoration: underline;  /* Fügt den Unterstrich hinzu */
	font-weight: normal;         /* Verhindert, dass der Text fett wird (überschreibt eventuelle Standard-Fettung) */
}

.rahmenlos img {
	max-width: 100%;
}

a {
        color: #000000;
}

a:visited, a:active {			/*, a:link*/
	display: inline;
	color: #000000;
	text-decoration: none;
}

.styled-select select {
	background: transparent;
	height: 18px;
	width: 50px;
	padding: 1px;
	color:black;
	line-height: 1;
	border: 0;
	border-radius: 0;
	-webkit-appearance: none;
   }

.styled-select {
	height: 18px;
	width: 50px;
	overflow: hidden;
	background: url(https://static.massagefromhell.de/pixx/down_arrow_select.png) no-repeat right;
}

#panel1,
#panel2,
#panel3,
#panel4,
#panel5,
#panel6,
#panel7,
#panel8,
#panel9,
#panel10,
#panel11,
#panel12,
#panel13,
#panel14,
#panel15,
#panel16,
#flip1,
#flip2,
#flip3,
#flip4,
#flip5,
#flip6,
#flip7,
#flip8,
#flip9,
#flip10,
#flip11,
#flip12,
#flip13,
#flip14,
#flip15,
#flip16 {
	text-align: left;
	max-width: 687px;
	margin: 1em auto;
	font-size: 1em;
	font-family: Verdana, Arial, Sans-Serif;
	font-weight: 400;
}

#flip1,
#flip2,
#flip3,
#flip4,
#flip5,
#flip6,
#flip7,
#flip8,
#flip9,
#flip10,
#flip11,
#flip12,
#flip13,
#flip14,
#flip15,
#flip16 {
	background-color: rgba(0, 0, 0, 0.15);
}

#panel1,
#panel2,
#panel3,
#panel4,
#panel5,
#panel6,
#panel7,
#panel8,
#panel9,
#panel10,
#panel11,
#panel12,
#panel13,
#panel14,
#panel15,
#panel16 {
	display: none;
	color: #FFFFFF;
	background-color: rgba(0, 0, 0, 0.45);
}

.insidetext {
	padding: 10px 10px 10px 16px;
}

.insidetext a,
.insidetext a:link,
.insidetext a:visited,
.insidetext a:hover,
.insidetext a:active,
.insidetext a:focus {
    color: white;
}

.headtext {
	padding: 10px 4px 10px 8px;
}

.iframe-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 520px;          /* or aspect-ratio: 4 / 3; height: auto; */
  margin: 0 auto;
  overflow: hidden;       /* must be hidden, not auto */
  min-width: 0;
}

.iframe-clipper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  min-width: 0;
}

.iframe-container iframe,
.gb-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  min-width: 0;           /* this is the actual fix */
  border: 0;
}

/* Styling for iframe and images */
.iframe-container iframe,
.iframe-container img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none; /* No borders for iframe */
    display: block;
    box-sizing: border-box;
    object-fit: cover; /* Ensure images fill container without distortion */
}

/* Desktop: Slim scrollbar for iframe (optional) */
@supports (scrollbar-width: thin) {
    .iframe-container iframe {
        scrollbar-width: thin;
        scrollbar-color: #888 transparent;
    }
}

.iframe-container iframe::-webkit-scrollbar {
    width: 6px;
}

.iframe-container iframe::-webkit-scrollbar-track {
    background: transparent;
}

.iframe-container iframe::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.iframe-container iframe::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Link container for fallback URL */
.fallback-link {
    margin-top: 10px;
    text-align: center;
    font-family: Verdana, Arial, sans-serif;
    font-size: 16px;
    color: #000000;
}

.fallback-link a {
    color: #0066cc;
    text-decoration: none;
}

.fallback-link a:hover {
    text-decoration: underline;
}

/* Mobile: Adjust content */
@media (max-width: 600px) {
    .iframe-container {
        max-width: 100%; /* Fit viewport width */
        width: 100%; /* Ensure full width */
    }

    .iframe-container iframe,
    .iframe-container img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensure content fills without scaling */
        transform: none; /* Remove scaling */
    }
}