html { 
	-webkit-text-size-adjust: 100%; 
}

body {
	background: #202d47;
	/* background-image: url("bg.jpg"); */
	overflow: hidden;
	margin: 0;
	padding: 0;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 2vh;
}

.title {
	font-size: 2.5em;
	font-weight: bold;
	color: yellowgreen;
	padding-bottom: 40px;
}

.glasstext {
	font-size: 1em;
	color: white;
	line-height: 40px;
}

.glasstext.tableau {
	font-size: 1.5em;
	line-height: 80px;
}

table {
	width: 100%;
	margin: 0 auto;
	/* padding-top: 150px; */
	padding-top: 30px;
}

tr {
	display: flex;
	flex-wrap: wrap;
	/* padding-left: 4%; */
	padding-left: 100px;
}

td {
	text-align: center;
	vertical-align: middle;
	width: 17%;
	position: relative;
	border-color: #161f27;
	border-style: outset;
	border-radius: 30%;
	margin-top: 2%;
	margin-right: 2%;
	background: #08348d;
	filter: opacity(.75);
}

td.active {
	background: #540a0a;
}

.img-wrap {	
	align-items: center;
	width: 100%;
	height: 0 auto;
	padding-bottom: 100%;
	position: relative;
}

.img-zahl {
	position: absolute;
	top: 65%;
	right: 50%; 
	width: 160%;
	height: 25%;
}

img {
	display: block;
	position: absolute;
	/* Bildanpassungen im Kastl BEGINN */
	top: 5%;
	left: 5%;
	right: 5%;
	bottom: 5%;
	width: 90%;
	height: 90%;
	/* Bildanpassungen im Kastl ENDE */
	object-fit: contain;
	border-radius: 25%;
}

/* Nur der Camper-Link wird zum Overlay */
.tile > a.camper, 
td > a.camper {
  position: absolute;
  inset: 0;             /* top/right/bottom/left: 0 */
  display: block;
  width: 100%;
  height: 100%;
  z-index: 1;           /* über dem Bild, unter UI wenn nötig */
}

a {
  position: static;     /* im normalen Flow */
  display: inline;      /* wie üblich */
  width: auto;
  height: auto;
  z-index: auto;
}

td:hover {
	filter: brightness(150%);
	background: #5c5308;
	filter: opacity(.9);
}

.punkte {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* Abstand zwischen Links */
  font-size: 16px;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #08348d;
  border: 1px outset #161f27;
  border-radius: 8px;
  color: black;
  padding: 10px 20px;
  z-index: 9999;
}

.punkte a {
  position: unset;
  color: black;
  font-size: 20px;
  display: inline-block; /* ← wichtig */
  margin: 0 10px;         /* ← optionaler Abstand */
  text-decoration: none;  /* ← optional, um Unterstreichung zu entfernen */
  display: inline-block;
}

.punkte a:hover {
  filter: brightness(150%);
	background: #5c5308;
	filter: opacity(.9);
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('img/camper.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

.glass-box {
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;           /* Fixe Breite */
  max-width: 80%;         /* Responsive fallback */
  height: auto;           /* Höhe durch Inhalt */
  padding: 30px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 3px 8px 40px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  text-align: center;
}

.form {
    max-width: 60%;     /* optional, wenn du es auf großen Bildschirmen begrenzen willst */
    margin: 0 auto;       /* zentriert am Desktop */
    padding: 1em;
}

.form input {
	background-color: #c8ff0041;
}

.form input,
.form button {
    display: block;
    width: 100%;
    padding: 0.75em;
    margin-bottom: 1em;
    font-size: 2em;      /* verhindert Mobile-Zoom bei iOS, wenn <16px */
    box-sizing: border-box;
	text-align: center;
}

.form button {
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.form button:hover {
    background: #0056b3;
}

.text {
	font-size: 24px;
	color:#ffe600;
	font-size: 1.75em;
}

.text a {
	color: rgb(94, 255, 153);
	font-size: 1.2em;
}

.error {
	font-size: 2em;
	color: rgb(255, 94, 94);
	text-align: center;
}








































@media (max-width: 1000px) {
	table {
		padding-top: 25px;
	}

	tr {
		padding-left: 6%;
	}

	td {
		flex-basis: 16%;
	}
}

@media (max-width: 650px) {
	table {
		padding-top: 25px;
	}

	tr {
		padding-left: 17%;
	}

	td {
		flex-basis: 30%;
		padding: 11px;
	}
}

@media (max-width: 250px) {
	table {
		padding-top: 35px;
	}

	tr {
		padding-left: 15%;
	}

	td {
		flex-basis: 70%;
		padding: 10px;
	}
}

/* @media (prefers-color-scheme: dark) {
	body {
		background-color: ;
	}
} */