@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* MOBIL */
@media (orientation: portrait) {

	:root{
		--brand: #990000;
		--text: rgba(255,255,255,.92);
		--muted: rgba(255,255,255,.72);
		--stroke: rgba(255,255,255,.18);
		--glass: rgba(255,255,255,.10);
		--glass2: rgba(255,255,255,.16);
		--shadow: 0 18px 55px rgba(0,0,0,.45);
		--shadow-soft: 0 10px 30px rgba(0,0,0,.35);
		--radius: 22px;
	}

	*{
		margin: 0;
		padding: 0;
		box-sizing: border-box;
		font-family: 'Montserrat', sans-serif;
		-webkit-tap-highlight-color: transparent;
	}

	html{
		height: 100%;
		width: 100%;
		position: relative;
		overflow: hidden;
		-webkit-text-size-adjust: 100%;
	}

	body{
		height: 100%;
		width: 100%;
	}

	#content{
		height: 100%;
		width: 100%;
		position: absolute;
		top: 0;
		left: 0;

		background-image: url("../images/Musik00099.jpg");
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;

		transition: background 2s ease;
	}

	.overlay-1{
		height: 100%;
		width: 100%;
		position: absolute;
		top: 0;
		left: 0;

		opacity: 0.28;
		background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.72));
		transition: opacity .35s ease;
	}

	.overlay-2{
		height: 100%;
		width: 100%;
		position: absolute;
		top: 0;
		left: 0;

		opacity: 0.52;
		background: radial-gradient(900px 700px at 35% 15%, rgba(0,0,0,.25), rgba(0,0,0,.72));
	}

	#logo{
		width: 50%;
		height: 10%;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 101;
		background-color: transparent;

		display: flex;
		align-items: center;
		justify-content: center;
	}

	#logo img{
		height: auto;
		width: 80%;
		cursor: pointer;

		filter: drop-shadow(0 10px 22px rgba(0,0,0,0.55));
	}

	#cont{
		height: 85%;
		width: 100%;
		background-color: transparent;
		position: absolute;
		left: 0;
		top: 10%;
		opacity: 0;

		overflow-y: auto;

		animation-name: fadeIn;
		animation-duration: 1.1s;
		animation-fill-mode: forwards;
		animation-delay: .15s;
	}

	#cont::-webkit-scrollbar{
		width: 10px;
	}
	#cont::-webkit-scrollbar-track{
		background: rgba(255,255,255,.06);
	}
	#cont::-webkit-scrollbar-thumb{
		background: rgba(255,255,255,.22);
		border-radius: 999px;
	}

	#headline{
		color: var(--text);
		margin: 4% 0 0 0;
		font-size: 3.2vh;
		text-align: center;
		letter-spacing: .2px;
		text-shadow: 0 10px 30px rgba(0,0,0,.55);
	}

	#boxes{
		width: 92%;
		margin: 18px auto 70px auto;

		display: grid;
		grid-template-columns: 1fr;
		gap: 16px;

		padding: 8px 0 24px 0;
	}

	.box{
		height: 56vh;
		width: 100%;
		border-radius: var(--radius);
		box-shadow: var(--shadow-soft);
		overflow: hidden;
		position: relative;

		border: 1px solid rgba(255,255,255,.12);
		background: rgba(255,255,255,.04);

		transition: transform .2s ease, box-shadow .2s ease;
	}

	.box:active{
		transform: scale(.985);
		box-shadow: 0 18px 55px rgba(0,0,0,.45);
	}

	.box img{
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: top;
		transform: scale(1.02);
		transition: transform .45s ease;
	}

	/* Overlay: auf Mobile per Tap/Active ist Hover oft nicht da,
	   aber es funktioniert trotzdem am Desktop. Für Mobile bleibt es wie bisher: */
	.box-overlay{
		opacity: 0;
		position: absolute;
		inset: 0;

		background: rgba(0,0,0,.38);
		color: var(--text);
		text-align: center;

		transition: opacity .25s ease;

		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;

		gap: 8px;
		padding: 22px;

		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
	}

	.box-overlay p{
		margin: 0;
		line-height: 1.25;
		font-size: clamp(14px, 3.8vw, 18px);
		color: rgba(255,255,255,.88);
	}

	.box-overlay p b{
		color: rgba(255,255,255,.95);
		font-size: clamp(16px, 4.2vw, 20px);
	}

	/* Hover bleibt für Geräte die es unterstützen */
	.box:hover .box-overlay{
		opacity: 1;
	}

	.box:hover img{
		transform: scale(1.06);
	}

	@keyframes fadeIn {
		0% { opacity: 0; transform: translateY(8px); }
		100% { opacity: 1; transform: translateY(0); }
	}
}