/*
 * RN Landing – Übergangsseite. Systemschriften, keine externen Ressourcen.
 *
 * Farben (Logo): Türkis #30b1a2 (nur Flächen/Zierde), Schiefergrau #40535e.
 * Kontraste (WCAG AA):
 *   #40535e auf Weiß          8,0 : 1
 *   #1f7f74 auf Weiß          4,8 : 1  (Schaltflächen und Links; weiße Schrift darauf ebenso 4,8 : 1)
 *   Weiß auf #30b1a2          2,7 : 1  -> deshalb NICHT für Text/Schaltflächen verwendet
 */
:root {
	--rn-turkis: #30b1a2;
	--rn-turkis-dunkel: #1f7f74;
	--rn-turkis-hover: #17655c;
	--rn-schiefer: #40535e;
	--rn-schiefer-hover: #2e3d46;
	--rn-hell: #eef7f6;
	--rn-linie: #d3e3e1;
	--rn-weiss: #fff;
	--rn-radius: 14px;
}

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

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

body.rn-seite {
	margin: 0;
	background: var(--rn-weiss);
	color: var(--rn-schiefer);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

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

a { color: var(--rn-turkis-dunkel); text-underline-offset: 2px; }
a:hover { color: var(--rn-turkis-hover); }

:focus-visible {
	outline: 3px solid var(--rn-schiefer);
	outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--rn-weiss);
}

.rn-wrap {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 16px;
}

.rn-sprunglink {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--rn-schiefer);
	color: var(--rn-weiss);
	padding: 8px 14px;
	z-index: 10;
}
.rn-sprunglink:focus { left: 8px; top: 8px; }

/* Kopf */
.rn-kopf {
	width: 100%;
	border-bottom: 4px solid var(--rn-turkis);
	padding: 16px 0 14px;
	text-align: center;
}
.rn-kopf-innen { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.rn-logo { display: inline-block; max-width: 100%; }
.rn-logo img { display: block; width: auto; max-width: 100%; height: auto; max-height: 56px; margin: 0 auto; }
.rn-untertitel { margin: 0; font-size: 0.95rem; }
.rn-kopf-aktion { display: grid; gap: 8px; width: 100%; }
.rn-kopf-tel { display: block; font-size: 1.15rem; font-weight: 700; color: var(--rn-schiefer); text-decoration: none; padding: 8px; }
.rn-kopf-tel:hover { color: var(--rn-turkis-hover); text-decoration: underline; }
.rn-kopf .rn-kopf-knopf { min-height: 48px; padding: 10px 18px; font-size: 1rem; }

/* Abschnitte */
.rn-abschnitt { width: 100%; padding: 32px 0; }
.rn-abschnitt-getoent { background: var(--rn-hell); }

h1, h2, h3 { line-height: 1.25; color: var(--rn-schiefer); margin: 0 0 12px; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }

.rn-held { text-align: left; padding: 32px 0; }
.rn-held-hinweis { margin: 0 0 4px; font-size: 1.1rem; }

/* Hero irepairit: randlos Schiefer, weiße Schrift (Weiß auf #40535e = 8,0 : 1) */
.rn-held { background: linear-gradient(135deg, #40535e 0%, #2f3e46 100%); color: #fff; }
.rn-held h1, .rn-held h2 { color: #fff; }
.rn-held-raster { display: grid; gap: 24px; align-items: center; }
.rn-held-karte { padding: 20px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: var(--rn-radius); background: rgba(255, 255, 255, 0.08); }
.rn-held-karte h2 { font-size: 1.2rem; }
.rn-held-karte .rn-zeiten-titel { font-size: 1.2rem; margin: 22px 0 4px; color: #fff; }
.rn-held-karte .rn-zeiten th, .rn-held-karte .rn-zeiten td { border-bottom-color: rgba(255, 255, 255, 0.28); color: #fff; }
.rn-held-karte .rn-zeiten tr:last-child th, .rn-held-karte .rn-zeiten tr:last-child td { border-bottom: 0; }
.rn-held .rn-knopf-haupt { background: #fff; color: var(--rn-schiefer); }
.rn-held .rn-knopf-haupt:hover { background: var(--rn-hell); color: var(--rn-schiefer); }
.rn-held .rn-knopf-dunkel { background: var(--rn-turkis-dunkel); color: #fff; border-color: #fff; }
.rn-held .rn-knopf-dunkel:hover { background: var(--rn-turkis-hover); }
.rn-held .rn-knopf-hell { background: transparent; color: #fff; border-color: #fff; }
.rn-held .rn-knopf-hell:hover { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: #fff; }
.rn-held :focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px #2f3e46; }

/* Termin-Abschnitt: Formular + Seitenspalte */
.rn-termin-raster { display: grid; gap: 28px; }
.rn-termin-seite .rn-karte { margin-bottom: 14px; }
.rn-karte-hinweis { background: var(--rn-hell); border-left: 6px solid var(--rn-turkis); }

/* Schaltflächen */
.rn-knoepfe { display: grid; gap: 12px; margin-top: 18px; }
.rn-knopf {
	display: block;
	width: 100%;
	min-height: 52px;
	padding: 13px 18px;
	border: 2px solid transparent;
	border-radius: var(--rn-radius);
	font: inherit;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}
.rn-knopf-zusatz { display: block; font-size: 0.95rem; font-weight: 400; }
.rn-knopf-haupt { background: var(--rn-turkis-dunkel); color: var(--rn-weiss); }
.rn-knopf-haupt:hover { background: var(--rn-turkis-hover); color: var(--rn-weiss); }
.rn-knopf-dunkel { background: var(--rn-schiefer); color: var(--rn-weiss); }
.rn-knopf-dunkel:hover { background: var(--rn-schiefer-hover); color: var(--rn-weiss); }
.rn-knopf-hell { background: var(--rn-weiss); color: var(--rn-turkis-dunkel); border-color: var(--rn-turkis-dunkel); }
.rn-knopf-hell:hover { background: var(--rn-hell); color: var(--rn-turkis-hover); border-color: var(--rn-turkis-hover); }

/* Hinweis und Zeiten */
.rn-hinweis {
	margin: 0 0 24px;
	padding: 16px 18px;
	background: var(--rn-hell);
	border-left: 6px solid var(--rn-turkis);
	border-radius: var(--rn-radius);
	font-weight: 600;
}
.rn-zeiten { width: 100%; border-collapse: collapse; }
.rn-zeiten th, .rn-zeiten td { padding: 10px 6px; border-bottom: 1px solid var(--rn-linie); text-align: left; vertical-align: top; }
.rn-zeiten th { font-weight: 600; }

/* Formular */
.rn-formular { margin-top: 16px; }
.rn-feld { margin-bottom: 16px; }
.rn-feld label { display: block; margin-bottom: 4px; font-weight: 600; }
.rn-feld input[type="text"],
.rn-feld input[type="tel"],
.rn-feld input[type="email"],
.rn-feld input[type="date"],
.rn-feld select,
.rn-feld textarea {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 2px solid #7d8d95;
	border-radius: 10px;
	background: var(--rn-weiss);
	color: var(--rn-schiefer);
	font: inherit;
}
.rn-feld textarea { min-height: 110px; resize: vertical; }
.rn-hilfe { margin: 4px 0 0; font-size: 0.9rem; }
.rn-zeile { display: grid; gap: 0; align-items: start; }
.rn-haken { display: flex; gap: 12px; align-items: flex-start; }
.rn-haken input { flex: 0 0 auto; width: 24px; height: 24px; margin: 3px 0 0; accent-color: var(--rn-turkis-dunkel); }
.rn-haken label { margin: 0; font-weight: 400; }
.rn-senden { margin-top: 8px; }

/* Honeypot: für Menschen unsichtbar */
.rn-falle {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rn-meldung { margin: 0 0 18px; padding: 14px 16px; border-radius: var(--rn-radius); }
.rn-meldung p { margin: 0 0 6px; }
.rn-meldung ul { margin: 0; padding-left: 20px; }
.rn-meldung-ok { background: #e3f4ea; border: 2px solid #1d6b3d; color: #124a29; }
.rn-meldung-fehler { background: #fdeceb; border: 2px solid #a32920; color: #6e1812; }

/* Karten */
.rn-karten { display: grid; gap: 16px; }
.rn-karte { padding: 18px; border: 1px solid var(--rn-linie); border-radius: var(--rn-radius); background: var(--rn-weiss); }
.rn-karte p { margin: 0 0 8px; }

/* Rechtstexte */
.rn-wrap.rn-text { max-width: 832px; } /* Lesebreite ca. 800 px + Polster */
.rn-text h1 { margin-bottom: 18px; }
.rn-text h2, .rn-text h3 { margin-top: 24px; }
.rn-daten dt { font-weight: 600; margin-top: 12px; }
.rn-daten dd { margin: 0; }
.rn-zurueck { display: inline-block; margin-top: 18px; }

/* Fuß */
.rn-fuss { width: 100%; background: #2f3e46; color: #fff; padding: 22px 0 30px; text-align: center; }
.rn-fuss a { color: #fff; }
.rn-fuss a:hover { color: #cfe3e8; }
.rn-fuss :focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px #2f3e46; }
.rn-fuss nav a { display: inline-block; padding: 8px 10px; }
.rn-klein { margin: 4px 0 0; font-size: 0.9rem; }
.rn-dezent { opacity: 0.85; }

@media (min-width: 640px) {
	h1 { font-size: 2rem; }
	.rn-knoepfe { grid-template-columns: repeat(3, 1fr); }
	.rn-zeile { grid-template-columns: 1fr 1fr; gap: 16px; }
	.rn-karten { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
	.rn-wrap { padding: 0 24px; }
	.rn-abschnitt { padding: 48px 0; }
	h1 { font-size: 2.5rem; }
	h2 { font-size: 1.6rem; }
	.rn-kopf-innen { flex-direction: row; justify-content: space-between; }
	.rn-logo img { max-height: 64px; margin: 0; }
	.rn-kopf-aktion { display: flex; align-items: center; gap: 20px; width: auto; }
	.rn-kopf .rn-kopf-knopf { width: auto; }
	.rn-held { padding: 64px 0; }
	.rn-held-raster { grid-template-columns: 1.4fr 1fr; gap: 56px; }
	.rn-held .rn-knoepfe { grid-template-columns: repeat(3, auto); justify-content: start; }
	.rn-held .rn-knopf { width: auto; min-width: 150px; }
	.rn-held-karte { padding: 28px; }
	.rn-termin-raster { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 48px; align-items: start; }
	.rn-termin-haupt h2 { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
}

/*
 * Reparatur-Netzwerk (Blog 1, Vorlage netzwerk) – nur unter body.rn-netz.
 * Kontraste (WCAG AA): Weiß auf #2f3e46 = 10,6 : 1; #7fd6e6 auf #2f3e46 = 6,6 : 1;
 *   Weiß auf #0e7490 = 5,4 : 1; #0e7490 auf Weiß = 5,4 : 1; #2f3e46 auf Weiß = 10,6 : 1.
 */
body.rn-netz {
	--rn-turkis: #0e7490;
	--rn-turkis-dunkel: #0e7490;
	--rn-turkis-hover: #0a5a70;
	--rn-schiefer: #2f3e46;
	--rn-schiefer-hover: #222e34;
	--rn-hell: #eef4f6;
	--rn-linie: #d2dde1;
}
body.rn-netz .rn-kopf {
	background: #2f3e46;
	border-bottom: 4px solid #0e7490;
	color: #fff;
	padding: 20px 0 16px;
}body.rn-netz .rn-kopf :focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px #2f3e46; }
body.rn-netz .rn-logo { text-decoration: none; color: #fff; }
.rn-textlogo {
	display: inline-block;
	max-width: 100%;
	padding-left: 14px;
	border-left: 6px solid #7fd6e6;
	color: #fff;
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-align: left;
}
body.rn-netz .rn-untertitel { color: #cfe3e8; }
.rn-netz-held { background: #2f3e46; color: #fff; text-align: left; padding: 32px 0 40px; }
.rn-netz-held h1 { color: #fff; }
.rn-netz-lead { margin: 0; font-size: 1.1rem; }
.rn-netz-ueberschrift { margin-bottom: 16px; }
.rn-netz-karte { display: flex; flex-direction: column; border-top: 5px solid #0e7490; padding: 20px; }
.rn-netz-logobox { display: flex; align-items: center; height: 56px; margin: 0 0 14px; }
.rn-netz-kartenlogo { display: block; width: auto; max-width: 100%; height: auto; max-height: 56px; }
.rn-netz-hinweis-abschnitt { background: var(--rn-hell); padding: 28px 0; }
.rn-netz-art { font-weight: 600; }
.rn-netz-knopf { margin-top: auto; }
.rn-netz-karte > p:last-of-type { margin-bottom: 16px; }
.rn-netz-hinweis { margin: 0; background: transparent; padding: 4px 0 4px 18px; border-radius: 0; }
@media (min-width: 640px) {
	.rn-netz-held { padding-top: 48px; }
	.rn-textlogo { font-size: 2rem; }
}
@media (min-width: 900px) {
	.rn-netz-held { padding: 64px 0 72px; }
	.rn-netz-lead { font-size: 1.25rem; }
	.rn-netz-karten { gap: 32px; }
	.rn-netz-karte { padding: 28px; }
}
