/* ==========================================================
   vertical.guide – Anpassungen für die Spectral-Vorlage
   (main.css bleibt unverändert, alles Eigene steht hier)
   ========================================================== */

@import url("../fonts.css");

:root {
	--vg-blue: #0175C4;
	--vg-dark: #023358;
	--vg-cyan: #00EBEF;
	--vg-ink: #1d242a;
}

/* ---------- Schrift: lokal statt Google ---------- */

body, input, select, textarea, button {
	font-family: "Roboto Condensed", "Open Sans", Helvetica, Arial, sans-serif;
}

.script {
	font-family: "Kaushan Script", "Segoe Script", cursive;
	text-transform: none;
	letter-spacing: 0.02em;
	font-weight: 400;
}

/* ---------- Hintergrundbild (statt banner.jpg) ---------- */

body.landing #page-wrapper {
	background-image: url("../../img/Aiguille-Verte-Jardin-ridge-02-scaled-e1681568869292.webp");
}

body.is-mobile.landing #banner {
	background-image: url("../../img/Aiguille-Verte-Jardin-ridge-02-scaled-e1681568869292.webp");
}

body.is-mobile.landing .wrapper.style4 {
	background-image: linear-gradient(rgba(2,51,88,0.6), rgba(0,0,0,0.65)),
		url("../../img/Obergabelhorn-Nordwand-Skibefahrung-01-scaled.webp");
}

/* ---------- Kopfzeile mit Logo ---------- */

#header h1 a {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
}

#header h1 img {
	height: 1.9em;
	width: auto;
}

/* ---------- Banner ---------- */

/* Logo oben links im Titelbild */
#banner .corner-logo {
	position: absolute;
	top: 1.5em;
	left: 2em;
	z-index: 2;
	border-bottom: none;
}

#banner .corner-logo img {
	width: 9em;
	height: auto;
	display: block;
	filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}

/* Überschrift genau in der Bildmitte, Rest darunter */
#banner .inner {
	flex: 1;
	display: grid;
	grid-template-rows: 1fr auto 1fr;
	justify-items: center;
	width: 100%;
}

#banner .banner-sub {
	align-self: start;
	padding-top: 2em;
}

/* ohne Abdunkelung: Lesbarkeit über leichten Textschatten */
#banner h2,
#banner p,
#banner .more {
	text-shadow: 0 2px 12px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.4);
}

@media screen and (max-width: 736px) {
	#banner .corner-logo { top: 1em; left: 1em; }
	#banner .corner-logo img { width: 6em; }
	#banner .inner { display: block; flex: none; }
}

#banner p .script {
	display: block;
	font-size: 1.6em;
	margin-bottom: 0.4em;
}

/* ---------- Farben ---------- */

.wrapper.style1 {
	background-color: var(--vg-blue);
}

.wrapper.style3 {
	background-color: var(--vg-dark);
}

input[type="submit"].primary,
input[type="button"].primary,
.button.primary {
	background-color: var(--vg-blue);
	box-shadow: none;
}

input[type="submit"].primary:hover,
.button.primary:hover {
	background-color: #1a8ad6 !important;
}

input[type="submit"].primary:active,
.button.primary:active {
	background-color: #0163a6 !important;
}

ul.icons.major li .icon.style1:before { color: var(--vg-cyan); }
ul.icons.major li .icon.style2:before { color: #ffffff; }
ul.icons.major li .icon.style3:before { color: var(--vg-dark); }

/* ---------- Über mich ---------- */

.portrait {
	width: 21em;
	height: 21em;
	max-width: 70vw;
	max-height: 70vw;
	border-radius: 100%;
	overflow: hidden;
	margin: 0 auto 2em auto;
	border: solid 4px rgba(255,255,255,0.85);
}

.portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
	display: block;
}

.badge-line {
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-weight: 700;
	font-size: 0.9em;
	margin-bottom: 1em !important;
}

/* ---------- Spotlights: Bilder einheitlich zuschneiden ---------- */

.spotlight .image {
	min-height: 22em;
	position: relative;
	overflow: hidden;
}

.spotlight .image img {
	position: absolute;
	inset: 0;
	height: 100%;
	object-fit: cover;
}

@media screen and (max-width: 980px) {
	.spotlight .image { min-height: 16em; }
}

/* ---------- Tourenliste (Features) ---------- */

.features li h3 a {
	color: inherit;
	border-bottom: none;
}

.features li .more-link {
	display: inline-block;
	margin-top: 0.5em;
	font-size: 0.8em;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-weight: 700;
	border-bottom: dotted 1px;
}

/* ---------- Video (2-Klick, lädt YouTube erst nach Klick) ---------- */

.video-box {
	position: relative;
	max-width: 56em;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
	background: #000 center / cover no-repeat;
	border-radius: 6px;
	overflow: hidden;
}

.video-box iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.video-consent {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1em;
	padding: 2em;
	background: rgba(2, 51, 88, 0.55);
	color: #fff;
	text-align: center;
	cursor: pointer;
	border: 0;
	width: 100%;
	font: inherit;
}

.video-consent .play {
	width: 4.5em;
	height: 4.5em;
	border-radius: 100%;
	background: var(--vg-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4em;
	transition: transform 0.2s ease;
}

.video-consent:hover .play { transform: scale(1.08); }

.video-consent small {
	max-width: 32em;
	font-size: 0.75em;
	line-height: 1.5;
	opacity: 0.85;
}

/* ---------- Spiel ---------- */

.game-frame {
	position: relative;
	max-width: 64em;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	overflow: hidden;
	background: #a9dcff;
	box-shadow: 0 1.5em 3em rgba(0,0,0,0.35);
}

.game-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.game-start {
	position: absolute;
	inset: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	background: rgba(2, 51, 88, 0.35);
	color: #fff;
	border: 0;
	cursor: pointer;
	font: inherit;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-weight: 700;
	transition: background 0.2s ease;
}

.game-start:hover { background: rgba(2, 51, 88, 0.2); }

.game-start .icon:before {
	font-size: 3em;
}

.game-frame.is-playing .game-start { display: none; }

.game-keys {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5em 1.5em;
	margin: 1.75em 0 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.9em;
}

.game-keys kbd {
	display: inline-block;
	min-width: 1.8em;
	padding: 0.1em 0.5em;
	border: solid 1px rgba(255,255,255,0.5);
	border-radius: 4px;
	font-family: inherit;
	margin-right: 0.3em;
}

.game-mobile-note { display: none; }

@media (hover: none) and (pointer: coarse) {
	.game-mobile-note { display: block; font-size: 0.85em; opacity: 0.85; }
}

/* ---------- Kontakt ---------- */

.contact-list {
	list-style: none;
	padding: 0;
	margin: 0 0 2em 0;
}

.contact-list li {
	padding: 0.35em 0;
}

.contact-list .icon {
	margin-right: 0.6em;
	opacity: 0.8;
}

.contact-list a {
	border-bottom: none;
}

/* ---------- Footer ---------- */

.footer-partners {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2.5em;
	margin: 0 0 2em 0;
	flex-wrap: wrap;
}

.footer-partners a { border-bottom: none; }

.footer-partners img {
	height: 5.5em;
	width: auto;
	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.footer-partners a:hover img { opacity: 1; }

.footer-legal {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5em 0;
	font-size: 0.8em;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.footer-legal li {
	display: inline-block;
	margin: 0 0.9em;
}

/* WhatsApp-Knopf unten rechts */
.wa-fab {
	position: fixed;
	right: 1.25em;
	bottom: 1.25em;
	width: 3.4em;
	height: 3.4em;
	border-radius: 100%;
	background: #25D366;
	color: #fff !important;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0.5em 1.5em rgba(0,0,0,0.3);
	z-index: 9000;
	border-bottom: none !important;
}

.wa-fab:before { font-size: 1.6em; }

/* ---------- Farbcodes vertical.guide (exakt, ohne Abdunkelung) ---------- */

.wrapper.style2,
#footer,
body.landing #footer,
body.is-mobile.landing #footer {
	background-color: #023358;
}

/* Spectral dunkelt jede Spotlight-Zeile zusätzlich ab – abschalten,
   damit überall genau #023358 zu sehen ist */
.spotlight,
.spotlight:nth-child(n) {
	background-color: transparent !important;
}

.wrapper.style1 {
	background-color: #0175C4;
}

.wrapper.style3 {
	background-color: #023358;
}

/* Kontaktbereich: das Titelbild scheint durch, leichte Tönung nur hier
   für die Lesbarkeit */
body.landing:not(.is-mobile) #kontakt.wrapper.style4 {
	background-color: rgba(2, 51, 88, 0.55);
}

/* Spiel- und Video-Knopf: feste Knopfhöhe der Vorlage aufheben,
   damit die ganze Fläche mit Icon und Text sichtbar ist */
.game-frame button.game-start,
.video-box button.video-consent {
	height: auto !important;
	line-height: 1.5 !important;
	padding: 1em !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	white-space: normal !important;
	font-size: 1em !important;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.game-frame button.game-start {
	font-weight: 700;
	letter-spacing: 0.2em;
}

.game-frame button.game-start .icon:before {
	font-size: 3.5em;
	line-height: 1;
}

.video-box button.video-consent {
	letter-spacing: 0.05em;
	text-transform: none;
}

@media screen and (max-width: 736px) {
	.footer-partners img { height: 4.5em; }
}

.video-note {
	max-width: 56em;
	margin: 1em auto 0 auto;
	font-size: 0.85em;
	opacity: 0.8;
}


/* ---------- Bergkette als Übergang zur Fußzeile ---------- */

#footer {
	position: relative;
}

#footer:before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(100% - 1px);
	height: 150px;
	background: url("images/alpen.svg") bottom center / 100% 100% no-repeat;
	pointer-events: none;
	z-index: 1;
}

@media screen and (max-width: 736px) {
	#footer:before { height: 80px; }
}

/* Platz für die Bergkette unter dem letzten Abschnitt */
#kontakt.wrapper {
	padding-bottom: calc(4em + 150px);
}

@media screen and (max-width: 736px) {
	#kontakt.wrapper { padding-bottom: calc(2em + 80px); }
}


/* VDBS-Logo 15 % größer, damit beide Logos optisch gleich groß wirken */
.footer-partners img[src*="vdbs"] {
	height: 6.3em;
}

@media screen and (max-width: 736px) {
	.footer-partners img[src*="vdbs"] { height: 5.2em; }
}

/* Fußzeilen-Icons: 20 % größer und weiß */
#footer ul.icons {
	font-size: 1.5em;
}

#footer ul.icons a,
#footer ul.icons a:before {
	color: #ffffff !important;
}

#footer ul.icons a:hover,
#footer ul.icons a:hover:before {
	color: #00EBEF !important;
}

/* Untertitel im Startbild in einer Zeile */
#banner .nowrap-line {
	white-space: nowrap;
}

@media screen and (max-width: 736px) {
	#banner .nowrap-line { white-space: normal; }
}

/* Startbild: Knöpfe und „Mehr erfahren“ weiter nach unten */
#banner .banner-sub {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#banner .banner-sub ul.actions {
	margin-top: auto;
	margin-bottom: 6.5em;
}

#banner .more {
	height: 6em;
}

#banner .more:after {
	bottom: 2.2em;
}

@media screen and (max-width: 736px) {
	#banner .banner-sub ul.actions { margin-top: 1.5em; margin-bottom: 0; }
}


/* Über mich: Text weiß */
#one,
#one p,
#one header.major p {
	color: #ffffff;
}

/* ==========================================================
   Über mich – zweispaltig, Porträt vor Namensschriftzug
   ========================================================== */

#one.about {
	background-color: #0175C4;
	overflow: hidden;
	padding: 6em 0 6em 0;
}

#one .about-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 4em;
	align-items: center;
	max-width: 70em;
	width: 90%;
	margin: 0 auto;
}

/* linke Spalte: großer Schriftzug in Dunkelblau hinter dem Bild */
#one .about-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 28em;
}

#one .about-name {
	position: absolute;
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%) rotate(-8deg);
	font-family: "Kaushan Script", "Segoe Script", cursive;
	font-size: 7.2em;
	line-height: 0.95;
	color: #023358;
	text-align: center;
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
	z-index: 0;
}

#one .portrait {
	position: relative;
	z-index: 1;
	width: 21em;
	height: 21em;
	max-width: 70vw;
	max-height: 70vw;
	margin: 0;
	border: solid 6px #ffffff;
	box-shadow: 0 1.5em 3em rgba(2, 51, 88, 0.45);
}

/* rechte Spalte */
#one .about-text {
	text-align: left;
	color: #ffffff;
}

#one .about-kicker {
	margin: 0 0 0.6em 0;
	font-size: 0.8em;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: #023358;
}

#one .about-text h2 {
	margin: 0 0 0.4em 0;
	padding: 0 0 0.6em 0;
	font-size: 2em;
	letter-spacing: 0.2em;
	color: #ffffff;
	border-bottom: solid 2px rgba(255, 255, 255, 0.35);
	display: inline-block;
}

#one .about-text .badge-line {
	margin: 0 0 1.5em 0 !important;
	font-size: 0.85em;
	color: #ffffff;
}

#one .about-text p {
	color: #ffffff;
}

#one .about-claim {
	font-family: "Kaushan Script", "Segoe Script", cursive;
	font-size: 1.6em;
	line-height: 1.3;
	margin: 0.4em 0 1.2em 0;
	color: #ffffff;
}

#one .about-text .actions {
	margin: 0;
}

#one .about-text .button.primary {
	background-color: #023358 !important;
}

#one .about-text .button.primary:hover {
	background-color: #04467a !important;
}

/* Tablet / Handy: untereinander, mittig */
@media screen and (max-width: 980px) {
	#one .about-grid {
		grid-template-columns: 1fr;
		gap: 2.5em;
	}
	#one .about-text {
		text-align: center;
	}
	#one .about-text .actions {
		justify-content: center;
	}
	#one .about-name {
		font-size: 5.5em;
	}
}

@media screen and (max-width: 736px) {
	#one.about { padding: 4em 0; }
	#one .about-visual { min-height: 20em; }
	#one .about-name { font-size: 3.6em; }
	#one .portrait { width: 15em; height: 15em; }
}

/* Schriftzug: „Martin“ hinter dem Bild oben links,
   „Siefermann“ wie eine Signatur unten über den Bildrand */
#one .about-name {
	inset: auto;
	transform: rotate(-7deg);
	font-size: 5.6em;
	line-height: 1;
	text-align: left;
}

#one .about-name--first {
	top: 0.1em;
	left: 0;
	z-index: 0;
}

#one .about-name--last {
	bottom: 0.05em;
	right: -0.1em;
	z-index: 2;
	text-shadow: 0 0 0.25em rgba(255, 255, 255, 0.35);
}

#one .about-visual {
	min-height: 32em;
}

#one .about-text .actions li {
	padding-left: 0;
	padding-right: 1em;
}

@media screen and (max-width: 980px) {
	#one .about-visual { max-width: 34em; width: 100%; margin: 0 auto; }
	#one .about-name { font-size: 4.6em; }
	#one .about-text .actions li { padding: 0 0.5em; }
}

@media screen and (max-width: 736px) {
	#one .about-visual { min-height: 23em; max-width: 22em; }
	#one .about-name { font-size: 3.2em; }
}

#one .about-name--first { top: 1.05em; left: 0.1em; }
#one .about-name--last  { bottom: 0.85em; right: 0; text-shadow: none; }

#one .about-name--first { top: 0.55em; left: 0.05em; z-index: 2; }
#one .about-name--last  { bottom: 0.45em; right: 0; z-index: 2; }


/* Über mich ohne Schriftzug/Überschrift: Bildspalte ohne Extrahöhe */
#one .about-visual { min-height: 0; }
#one .about-text .badge-line { margin-top: 0 !important; }

/* Startbild etwas höher gesetzt: Bergsteiger über den Knöpfen */
body.landing #page-wrapper,
body.is-mobile.landing #banner {
	background-position: center 88%;
}

body.landing #page-wrapper,
body.is-mobile.landing #banner { background-position: center 100%; }
#banner .banner-sub ul.actions { margin-bottom: 4.6em; }
#banner .more { height: 5em; }
#banner .more:after { bottom: 1.6em; }

/* Video-Vorschau: eigenes Vorschaubild (img/video-vorschau.jpg), sonst Ersatzfoto */
.video-box {
	background-size: cover, cover;
	background-position: center, center;
}

/* Auf dem echten Videobild nur noch leicht abdunkeln, damit es gut zu sehen ist */
.video-box .video-consent {
	background: linear-gradient(to top, rgba(2, 51, 88, 0.65), rgba(2, 51, 88, 0.15) 60%);
}

/* Video-Vorschau mit Titelbild: Mitte frei lassen (dort steht der Name im Bild),
   Abspiel-Knopf klein unten links, Datenschutz-Hinweis unter der Box */
.video-box button.video-consent {
	flex-direction: row;
	align-items: flex-end;
	justify-content: flex-start;
	gap: .8em;
	padding: 1.2em 1.4em !important;
	background: linear-gradient(to top, rgba(2, 51, 88, .75), rgba(2, 51, 88, 0) 38%);
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-size: .9em !important;
}
.video-box button.video-consent .play {
	width: 3.2em;
	height: 3.2em;
	font-size: 1.1em;
	flex: 0 0 auto;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}
.video-box button.video-consent > span:not(.play) { margin-bottom: .9em; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.video-box button.video-consent:hover { background: linear-gradient(to top, rgba(2, 51, 88, .85), rgba(2, 51, 88, 0) 45%); }
.video-hint {
	max-width: 56em;
	margin: .9em auto 0;
	font-size: .75em;
	line-height: 1.5;
	opacity: .75;
	text-align: center;
}
.video-hint a { color: inherit; border-bottom: 1px dotted currentColor; }
@media screen and (max-width: 480px) {
	.video-box button.video-consent { padding: .8em .9em !important; font-size: .78em !important; }
	.video-box button.video-consent .play { width: 2.8em; height: 2.8em; }
	.video-box button.video-consent > span:not(.play) { margin-bottom: .75em; }
}
.video-box button.video-consent { width: 100% !important; height: 100% !important; max-width: none !important; position: absolute !important; inset: 0 !important; }

/* ---------- Spiel am Handy: Vollbild + Querformat ---------- */
.game-close { display: none; }
.game-rotate { display: none; }

.game-frame.is-fs,
.game-frame:fullscreen {
	position: fixed !important;
	inset: 0;
	z-index: 100000;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-width: none;
	margin: 0;
	aspect-ratio: auto;
	border-radius: 0;
	background: #023358;
	box-shadow: none;
}
html.game-fs-open, html.game-fs-open body { overflow: hidden !important; }
html.game-fs-open .wa-fab, html.game-fs-open .fab--top, html.game-fs-open #header { visibility: hidden; }

.game-frame.is-fs .game-close {
	display: grid !important;
	place-items: center;
	position: absolute;
	top: max(10px, env(safe-area-inset-top));
	right: max(10px, env(safe-area-inset-right));
	z-index: 3;
	width: 40px !important;
	height: 40px !important;
	min-width: 0;
	padding: 0 !important;
	border-radius: 50% !important;
	border: 2px solid rgba(255,255,255,0.8) !important;
	background: rgba(2, 51, 88, 0.75) !important;
	color: #fff !important;
	font-size: 24px !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
}

@media (orientation: portrait) {
	.game-frame.is-fs .game-rotate {
		display: flex;
		position: absolute;
		inset: 0;
		z-index: 2;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.6em;
		padding: 2em;
		background: rgba(2, 51, 88, 0.94);
		color: #fff;
		text-align: center;
	}
	.game-rotate strong { text-transform: uppercase; letter-spacing: 0.15em; font-size: 1.05em; }
	.game-rotate span { font-size: 0.9em; opacity: 0.8; }
	.game-rotate__icon { font-size: 3.2em !important; opacity: 1 !important; line-height: 1; animation: vg-rotate 1.8s ease-in-out infinite; }
}
@keyframes vg-rotate { 0%, 20% { transform: rotate(0); } 60%, 100% { transform: rotate(90deg); } }

/* Am Handy: Tastatur-Hinweise ausblenden, nur „eigenes Fenster“ + Touch-Hinweis */
@media (hover: none) and (pointer: coarse) {
	.game-keys li:not(:last-child) { display: none; }
}

/* Schließen-Knopf im Vollbild ganz oben in die Ecke */
.game-frame.is-fs .game-close {
	top: max(4px, env(safe-area-inset-top)) !important;
	right: max(4px, env(safe-area-inset-right)) !important;
	width: 34px !important;
	height: 34px !important;
	font-size: 20px !important;
}

/* Startseite: Einblenden des Titelbilds 0,5 s kürzer (Verzögerung 1,25 s → 0,75 s) */
#banner:after {
	-webkit-transition-delay: 0.75s !important;
	transition-delay: 0.75s !important;
}
