/*
 * my-guitarteacher – Stylesheet
 *
 * 1. Schriften (lokal, keine Verbindung zu Google)
 * 2. Seitenstile
 */

/* 1. Schriften ------------------------------------------------------------ */

/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_d0n9QB_VIKg.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_d0n9Qh_VIKg.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_d0n9Qx_VIKg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_d0n9TR_V.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Seitenstile ---------------------------------------------------------- */

/* ==========================================================================
   Grundlagen
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	overflow-x: hidden;
	background: #fff;
	color: #67768e;
	font-family: Inter, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
p,
ul,
figure {
	margin: 0;
}

h1,
h2,
h3,
h4 {
	color: #1e293b;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 600;
}

h2 {
	font-size: 2.6666666667rem;
	line-height: 1.3;
}

h3 {
	font-size: 1.3333333333rem;
	line-height: 1.3;
}

h4 {
	font-size: 1.1111111111rem;
	line-height: 1.2;
}

ul {
	padding-left: 20px;
}

a {
	color: #060097;
	transition: all .2s linear;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 100000;
	padding: 12px 18px;
	background: #fff;
	color: #181818;
	font-weight: 600;
}

.skip-link:focus {
	left: 16px;
	top: 16px;
}

/* ==========================================================================
   Kopfzeile mit Navigation
   ========================================================================== */

.nav {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, .88);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid rgba(24, 24, 24, .08);
	transition: box-shadow .25s ease, background .25s ease;
}

.nav.is-scrolled {
	background: rgba(255, 255, 255, .95);
	box-shadow: 0 8px 30px rgba(24, 24, 24, .08);
}

.nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 8px 40px;
}

.nav__brand {
	display: flex;
	align-items: center;
}

.nav__logo {
	display: block;
	width: auto;
	height: 64px;
	max-width: none;
	transition: transform .3s ease;
}

.nav__brand:hover .nav__logo {
	transform: scale(1.03);
}

.nav__links {
	display: flex;
	align-items: center;
	gap: 6px;
}

.nav__links a {
	position: relative;
	padding: 10px 14px;
	border-radius: 999px;
	color: #2b2b2b;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: color .2s ease, background .2s ease;
}

.nav__links a:not(.nav__cta):hover,
.nav__links a:not(.nav__cta):focus-visible {
	background: rgba(214, 0, 0, .06);
	color: #d60000;
}

.nav__links a[aria-current="page"]:not(.nav__cta) {
	color: #d60000;
}

.nav__links a[aria-current="page"]:not(.nav__cta)::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 3px;
	width: 5px;
	height: 5px;
	margin-left: -2.5px;
	border-radius: 50%;
	background: #d60000;
}

.nav__links .nav__cta {
	margin-left: 12px;
	padding: 11px 22px;
	background: linear-gradient(180deg, #f01414 0%, #c40000 100%);
	box-shadow: 0 6px 16px rgba(214, 0, 0, .28);
	color: #fff;
	transition: transform .2s ease, box-shadow .2s ease;
}

.nav__links .nav__cta:hover,
.nav__links .nav__cta:focus-visible {
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(214, 0, 0, .34);
}

.nav__links .nav__cta[aria-current="page"] {
	box-shadow: 0 0 0 3px rgba(214, 0, 0, .18), 0 6px 16px rgba(214, 0, 0, .28);
}

.nav a:focus-visible {
	outline: 2px solid #d60000;
	outline-offset: 2px;
}

/* Menü-Knopf (nur auf kleinen Bildschirmen sichtbar) */
.nav__toggle {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(24, 24, 24, .12);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.nav__toggle:hover,
.nav__toggle:focus {
	border-color: rgba(214, 0, 0, .35);
	outline: none;
}

.nav__toggle:focus-visible {
	box-shadow: 0 0 0 3px rgba(214, 0, 0, .18);
}

.nav__toggle[aria-expanded="true"] {
	background: rgba(214, 0, 0, .06);
	border-color: rgba(214, 0, 0, .35);
}

.nav__toggle span {
	position: absolute;
	left: 12px;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: #181818;
	transition: transform .25s ease, opacity .2s ease;
}

.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }

.nav__toggle[aria-expanded="true"] span {
	background: #d60000;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Seitenrahmen
   ========================================================================== */

/* Der Inhalt ist mindestens so hoch wie das Fenster; die Fußzeile liegt dadurch immer darunter. */
.page {
	min-height: 100vh;
	padding: 88px 0 110px;
	overflow-wrap: break-word;
}

/* Unterseiten haben oben etwas mehr Luft als die Startseite, auf großen Bildschirmen auch unten. */
.page--sub {
	padding-top: 115px;
}

@media (min-width: 1200px) {
	.page--sub {
		padding-top: 175px;
		padding-bottom: 170px;
	}
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	margin-top: 24px;
}

.buttons--center {
	justify-content: center;
}

.btn {
	display: inline-block;
	position: relative;
	overflow: hidden;
	padding: 16px 34px;
	border: 1px solid transparent;
	border-top-color: rgba(255, 255, 255, .35);
	border-bottom-color: rgba(90, 0, 0, .45);
	border-radius: 16px;
	background: linear-gradient(180deg, #ff5151 0%, #f72828 22%, #d60000 68%, #9d0000 100%);
	box-shadow: 0 8px 20px rgba(214, 0, 0, .18);
	color: #fff;
	font-size: 1.1111111111rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .2px;
	text-align: center;
	text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

/* Lichtreflex, der beim Darüberfahren über den Button läuft */
.btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: -120%;
	width: 60%;
	height: 100%;
	background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .35), transparent);
	transition: 1s;
}

.btn:hover::before {
	left: 160%;
}

.btn:hover,
.btn:focus {
	color: #fff;
	transform: translateY(-3px) scale(1.02);
}

.btn:active {
	transform: translateY(2px);
}

/* ==========================================================================
   Hero (oberer Bereich jeder Seite)
   ========================================================================== */

.hero {
	padding: 28px 30px 56px;
	background: #fff;
}

.hero__grid {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	max-width: 1360px;
	margin: 0 auto;
}

/* Spalten dürfen schmaler werden als ihr Inhalt; lange Wörter werden umbrochen. */
.hero__text,
.hero__media,
.tile,
.card {
	min-width: 0;
	overflow-wrap: break-word;
	word-break: break-word;
}

.hero__text {
	flex-basis: 55%;
	align-self: center;
	padding-top: 42px;
}

.hero__media {
	flex-basis: 45%;
}

.hero__eyebrow {
	margin-bottom: 1.6em;
	color: #cf2e2e;
	font-size: 13px;
}

.hero__eyebrow strong {
	font-weight: 700;
}

.hero h1 {
	margin-top: 24px;
	color: #181818;
	font-size: clamp(42px, 6vw, 72px);
	line-height: 1.04;
	letter-spacing: -.045em;
}

.hero h1 strong {
	color: #d60000;
	font-weight: 700;
}

.hero__lead {
	margin: 24px 0 32px;
	font-size: 20px;
}

.hero__text > p:not(.hero__eyebrow):not(.hero__lead) {
	margin-top: 24px;
}

.hero__media figure {
	margin: 52px 0;
}

.hero__media img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 24px;
}

/* ==========================================================================
   Bereich mit Überschrift, Einleitung und Karten
   ========================================================================== */

.section--why {
	position: relative;
	padding: 90px 24px;
	background: radial-gradient(circle at 50% 0%, rgba(255, 35, 35, .07), transparent 42%), #fff;
}

/* kleine rote Linie über der Überschrift */
.section--why::before {
	content: "";
	display: block;
	width: 54px;
	height: 5px;
	margin: 0 auto 20px;
	border-radius: 999px;
	background: linear-gradient(90deg, #ff4848, #c90000);
	box-shadow: 0 3px 10px rgba(210, 0, 0, .25);
}

.section--why > h2 {
	max-width: 800px;
	margin: 0 auto 16px;
	color: #161616;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: clamp(38px, 5vw, 58px);
	font-weight: 750;
	line-height: 1.08;
	letter-spacing: -.04em;
	text-align: center;
}

.section--why > p {
	max-width: 720px;
	margin: 0 auto 52px;
	color: #667085;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 19px;
	text-align: center;
}

/* steht ein Raster ganz oben im Bereich, beginnt es direkt unter der roten Linie */
.section--why > :first-child {
	margin-top: 0;
}

.section--why > figure {
	max-width: 760px;
	margin: 52px auto;
}

.section--why > figure img {
	display: block;
	width: 100%;
	border-radius: 24px;
}

/* Einfache Karten (Startseite) */
.tiles {
	display: flex;
	gap: 24px;
	max-width: 1200px;
	margin: 24px auto 0;
}

.tile {
	flex: 1 1 0;
	padding: 28px;
	border: 1px solid rgba(214, 0, 0, .12);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(24, 24, 24, .06);
}

.tile h3 {
	color: #181818;
}

.tile p {
	margin-top: 24px;
}

/* Raster mit großen Karten (Unterseiten) */
.grid {
	display: flex;
	gap: 28px;
	max-width: 1360px;
	margin: 24px auto 0;
}

.card {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	position: relative;
	min-height: 260px;
	padding: 36px;
	border: 1px solid rgba(210, 0, 0, .10);
	border-radius: 24px;
	background: radial-gradient(circle at bottom right, rgba(255, 40, 40, .10) 0%, rgba(255, 40, 40, .04) 35%, transparent 65%), #fff;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .95),
		inset 0 -8px 18px rgba(170, 0, 0, .035),
		0 4px 0 rgba(165, 0, 0, .05),
		0 16px 34px rgba(20, 20, 20, .07);
	transition: transform .3s ease, box-shadow .3s ease;
}

/* feine rote Akzentlinie oben */
.card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 32px;
	right: 32px;
	height: 3px;
	border-radius: 0 0 999px 999px;
	background: linear-gradient(90deg, transparent, rgba(230, 0, 0, .75), transparent);
}

.card:hover {
	transform: translateY(-8px);
	border-color: rgba(210, 0, 0, .20);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 1),
		inset 0 -8px 18px rgba(170, 0, 0, .045),
		0 7px 0 rgba(165, 0, 0, .07),
		0 28px 52px rgba(20, 20, 20, .13);
}

.card h3 {
	width: 100%;
	margin: 0 0 18px;
	color: #181818;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.025em;
	overflow-wrap: normal;
	word-break: normal;
}

.card p {
	margin: 0;
	color: #5f6b7a;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.7;
}

.card ul {
	margin-top: 1em;
}

/* ==========================================================================
   Textbereich (Über mich, Unterricht)
   ========================================================================== */

.section--about {
	padding: 90px 80px;
}

.section--about > * {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.section--about > * + * {
	margin-top: 24px;
}

.section--about > p {
	margin-bottom: 1.6em;
}

.section--about > :last-child {
	margin-bottom: 0;
}

.section--about > .grid {
	max-width: 1360px;
}

/* ==========================================================================
   Kontakt-Aufruf (rosa Bereich am Seitenende)
   ========================================================================== */

.section--contact {
	padding: 72px 30px;
	background: #fff6f6;
	text-align: center;
}

.section--contact > * {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

.section--contact > p {
	margin-top: 24px;
	margin-bottom: 1.6em;
}

/* ==========================================================================
   Kontaktseite: Karte
   ========================================================================== */

.map {
	position: relative;
	max-width: 1100px;
	margin: 48px auto 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 20px;
	background: #f6f6f7;
	box-shadow: 0 12px 32px rgba(24, 24, 24, .08);
}

/* Solange die Karte blockiert ist, füllt der Hinweis den Bereich;
   ist er höher als 16:9, wächst der Bereich mit. */
.map:has(.consent-placeholder) {
	display: grid;
	overflow: visible;
}

.map iframe[hidden] {
	display: none;
}

.map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	border: 0;
}

/* ==========================================================================
   Rechtstexte (Impressum, Datenschutz)
   ========================================================================== */

.legal {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 50px;
}

.legal h1 {
	max-width: 1200px;
	margin: 0 0 26px;
	color: #181818;
	font-size: clamp(42px, 6vw, 72px);
	line-height: 1.05;
	letter-spacing: -.045em;
}

.legal h1::after {
	content: "";
	display: block;
	width: 64px;
	height: 5px;
	margin-top: 26px;
	border-radius: 99px;
	background: #d60000;
}

.legal p {
	max-width: 760px;
	margin: 0 0 30px;
	color: #5f6b7a;
	font-size: 19px;
	line-height: 1.7;
}

.legal h2 {
	max-width: 900px;
	margin: 48px 0 12px;
	padding-top: 22px;
	border-top: 1px solid rgba(214, 0, 0, .16);
	color: #181818;
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.2;
}

.legal h2 + p,
.legal h2 + p + p {
	margin-bottom: 12px;
	font-size: 17px;
	line-height: 1.65;
}

.legal h3,
.legal h4 {
	margin-bottom: 20px;
}

.legal ul {
	margin: 1em 0;
}

/* ==========================================================================
   Fußzeile
   ========================================================================== */

.footer {
	border-top: 1px solid rgba(24, 24, 24, .10);
	background: #fff;
}

.footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 22px 30px;
	color: #5f6b7a;
	font-size: 14px;
}

.footer__links {
	display: flex;
	gap: 22px;
}

.footer__links a {
	color: #181818;
	font-weight: 600;
	text-decoration: none;
}

.footer__links a:hover,
.footer__links a:focus {
	color: #d60000;
}

/* ==========================================================================
   „Nach oben“-Button
   ========================================================================== */

.to-top {
	display: none;
	position: fixed;
	right: 30px;
	bottom: 30px;
	z-index: 99;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 14px;
	background: linear-gradient(180deg, #f01414 0%, #c40000 100%);
	box-shadow: 0 8px 20px rgba(214, 0, 0, .30);
	color: #fff;
	font-size: 15px;
	line-height: 46px;
	text-align: center;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease;
}

.to-top.is-visible {
	display: block;
}

.to-top:hover,
.to-top:focus {
	outline: none;
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(214, 0, 0, .36);
}

.to-top:focus-visible {
	box-shadow: 0 0 0 3px rgba(214, 0, 0, .22), 0 12px 26px rgba(214, 0, 0, .36);
}

.to-top svg {
	width: 1em;
	height: auto;
	fill: #fff;
	vertical-align: middle;
	transform: translate(0, -20%) rotate(180deg);
}

/* ==========================================================================
   Einwilligungs-Banner und Karten-Platzhalter
   ========================================================================== */

.consent {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 10000;
	display: flex;
	justify-content: center;
	padding: 16px;
	pointer-events: none;
}

.consent[hidden] {
	display: none;
}

.consent__card {
	width: 100%;
	max-width: 640px;
	padding: 26px 28px 22px;
	border: 1px solid rgba(214, 0, 0, .14);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(24, 24, 24, .18);
	color: #181818;
	pointer-events: auto;
}

.consent__title {
	margin: 0 0 10px;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.65;
	letter-spacing: -.02em;
}

.consent__text {
	margin: 0 0 20px;
	color: #5f6b7a;
	font-size: 15px;
	line-height: 1.6;
}

.consent__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.consent__links {
	display: flex;
	justify-content: center;
	gap: 22px;
	margin: 16px 0 0;
	font-size: 13px;
}

.consent__links a,
.consent-placeholder a {
	color: #5f6b7a;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.consent__links a:hover,
.consent-placeholder a:hover {
	color: #d60000;
}

/* Beide Entscheidungen gleich groß und gleich auffällig */
.consent-btn {
	display: inline-block;
	padding: 13px 20px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(180deg, #f01414 0%, #c40000 100%);
	box-shadow: 0 6px 16px rgba(214, 0, 0, .24);
	color: #fff;
	font-family: Inter, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease;
}

.consent-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(214, 0, 0, .32);
}

.consent-btn:focus {
	outline: none;
}

.consent-btn:focus-visible {
	box-shadow: 0 0 0 3px rgba(214, 0, 0, .22), 0 6px 16px rgba(214, 0, 0, .24);
}

.consent-placeholder {
	border-radius: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background:
		radial-gradient(circle at 30% 30%, rgba(214, 0, 0, .06), transparent 60%),
		repeating-linear-gradient(45deg, #f4f4f5 0 14px, #efeff1 14px 28px);
	text-align: center;
}

.consent-placeholder__inner {
	width: 100%;
	max-width: 440px;
	padding: 26px 26px 20px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 12px 30px rgba(24, 24, 24, .08);
}

.consent-placeholder p {
	margin: 0 0 16px;
	color: #5f6b7a;
	font-size: 15px;
	line-height: 1.6;
}

.consent-placeholder .consent-placeholder__title {
	margin-bottom: 8px;
	color: #181818;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 20px;
	font-weight: 600;
}

.consent-placeholder .consent-placeholder__note {
	margin: 14px 0 0;
	font-size: 13px;
}

/* ==========================================================================
   Kleinere Bildschirme
   ========================================================================== */

@media (max-width: 1100px) {
	.grid {
		gap: 22px;
	}
}

@media (max-width: 921px) {
	html {
		font-size: 102.6%;
	}

	.page--sub {
		padding-top: calc(88px + 1.5rem);
	}

	.section--about {
		padding-left: 50px;
		padding-right: 50px;
	}
}


@media (max-width: 781px) {
	.nav__inner {
		flex-wrap: wrap;
		gap: 0;
		padding: 12px 20px;
	}

	.nav__logo {
		height: 50px;
	}

	.nav__toggle {
		display: block;
	}

	.nav__links {
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		width: 100%;
		padding: 14px 0 8px;
	}

	.nav__links.is-open {
		display: flex;
	}

	.nav__links a {
		padding: 13px 14px;
		border-radius: 12px;
		font-size: 16px;
	}

	.nav__links a[aria-current="page"]:not(.nav__cta) {
		background: rgba(214, 0, 0, .06);
	}

	.nav__links a[aria-current="page"]:not(.nav__cta)::after {
		display: none;
	}

	.nav__links .nav__cta {
		margin: 10px 0 0;
		text-align: center;
	}

	.page {
		padding: 56px 0 72px;
	}

	.page--sub {
		padding-top: calc(56px + 1.5rem);
	}

	.hero {
		padding-top: 48px;
		padding-bottom: 56px;
	}

	.hero__grid,
	.tiles,
	.grid {
		flex-wrap: wrap;
	}

	.hero__text,
	.hero__media,
	.tile,
	.card {
		flex-basis: 100%;
	}

	.hero__text {
		padding-top: 10px;
	}

	.hero h1 {
		font-size: clamp(38px, 12vw, 54px);
	}

	.section--why,
	.section--about {
		padding-top: 56px;
		padding-bottom: 56px;
	}

	.section--why {
		padding-left: 18px;
		padding-right: 18px;
	}

	.section--why > p {
		margin-bottom: 34px;
		font-size: 17px;
	}

	.tile {
		padding: 24px;
	}

	.grid {
		gap: 18px;
	}

	.card {
		min-height: auto;
		padding: 28px;
	}

	.card h3 {
		font-size: 22px;
	}

	.card p {
		font-size: 16px;
	}

	.legal {
		padding: 0 40px;
	}

	.legal h1 {
		font-size: 42px;
	}

	.footer__inner {
		padding: 18px 20px;
	}
}

@media (max-width: 544px) {
	/* gestapelte Spalten bekommen etwas Abstand zueinander */
	.hero__grid > :not(:last-child),
	.tiles > :not(:last-child),
	.grid > :not(:last-child) {
		margin-bottom: 20px;
	}

	.section--about {
		padding-left: 30px;
		padding-right: 30px;
	}
}

@media (max-width: 600px) {
	.consent {
		padding: 10px;
	}

	.consent__card {
		padding: 22px 20px 18px;
	}

	.consent__actions {
		grid-template-columns: 1fr;
	}
}
