/* TC-Rent - statische HTML5-Seite (November 2026). Keine externen Ressourcen. */
@font-face { font-family: "Function Pro"; src: url("../fonts/FunctionPro-Book-webfont.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Function Pro"; src: url("../fonts/FunctionPro-Medium-webfont.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Function Pro"; src: url("../fonts/FunctionPro-Demi-webfont.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Function Pro"; src: url("../fonts/FunctionPro-Bold-webfont.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
	--blau: #00519e;
	--blau-dunkel: #004c91;
	--rot: #e10915;
	--hellblau: #c5d9e9;
	--hellblau-2: #e5edf4;
	--text: #1a1a1a;
	--grau: #5a6b7b;
	--breite: 1218px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: "Function Pro", "Segoe UI", Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--text);
	background: #fff linear-gradient(#c5d7e6, #f4f8fb 270px, #fff 270px) no-repeat;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); }
a:hover, a:focus-visible { color: var(--rot); }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 2px; }
.huelle { width: min(100% - 2rem, var(--breite)); margin-inline: auto; }
.sprungmarke { position: absolute; left: -9999px; }
.sprungmarke:focus { left: 1rem; top: 1rem; z-index: 10; background: #fff; padding: .5rem 1rem; }

/* ---------- Kopf ---------- */
.kopf { position: relative; }
.kopf .huelle { position: relative; min-height: 170px; background: url("../../images/header_glow.png") no-repeat 0 0; }
.logo { position: absolute; left: 30px; top: 38px; width: 280px; }
.claim { position: absolute; right: 30px; bottom: 50px; width: 320px; }
.metanav { position: absolute; right: 0; top: 12px; display: flex; gap: 1.2rem; align-items: center; font-size: .85rem; }
.metanav ul { display: flex; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.metanav a { text-decoration: none; }
.sprachen { display: flex; gap: .35rem; }
.sprachen img { width: 18px; height: 12px; border: 1px solid #fff; }
.sprachen a[aria-current] img { outline: 2px solid var(--blau); }

/* ---------- Hauptmenue ---------- */
.hauptmenue { background: var(--blau); border-bottom: 6px solid var(--rot); }
.hauptmenue > ul { display: flex; margin: 0; padding: 0; list-style: none; }
.hauptmenue li { position: relative; }
.hauptmenue a { display: block; padding: .65rem 1rem; color: #fff; text-decoration: none; font-weight: 600; }
.hauptmenue a:hover, .hauptmenue a:focus-visible, .hauptmenue .aktiv > a { background: var(--rot); color: #fff; }
.hauptmenue ul ul { display: none; position: absolute; left: 0; top: 100%; z-index: 5; min-width: 220px; margin: 0; padding: .35rem 0; list-style: none; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.hauptmenue ul ul a { color: var(--blau); font-weight: 500; }
.hauptmenue li:hover > ul, .hauptmenue li:focus-within > ul { display: block; }
.menue-knopf { display: none; }

/* ---------- Inhalt ---------- */
main { padding: 1.5rem 0 3rem; }
h1 { color: var(--rot); font-weight: 700; font-size: 1.9rem; line-height: 1.2; margin: .4rem 0 1rem; }
h2 { color: var(--blau); font-weight: 600; font-size: 1.3rem; margin: 1.6rem 0 .5rem; }
h3 { color: var(--blau-dunkel); font-weight: 600; font-size: 1.05rem; margin: 1.2rem 0 .3rem; }
.spalten { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; }
.seitenleiste { background: var(--hellblau-2); padding: 1rem 1.2rem; align-self: start; border-top: 4px solid var(--blau); }
.seitenleiste h2 { margin-top: 0; }
.seitenleiste img { margin-bottom: .4rem; }
.bildunterschrift { font-size: .9rem; color: var(--grau); margin: 0 0 1rem; }
table { border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; padding: .15rem 1rem .15rem 0; font-weight: 400; }
th { color: var(--grau); }
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; margin: 1rem 0; }

/* Startseite */
.buehne { position: relative; overflow: hidden; background: var(--blau); margin-bottom: 1.5rem; }
.buehne .folie { display: none; position: relative; }
.buehne .folie.aktiv, .buehne:not(.mit-js) .folie:first-child { display: block; }
.buehne .folie h2 { position: absolute; left: 0; bottom: 1.2rem; margin: 0; padding: .5rem 1.2rem; background: rgba(0,81,158,.88); color: #fff; font-size: 1.5rem; }
.buehne button { position: absolute; top: 50%; transform: translateY(-50%); border: 0; background: rgba(255,255,255,.8); color: var(--blau); font-size: 1.6rem; width: 2.4rem; height: 2.4rem; cursor: pointer; }
.buehne .zurueck { left: .6rem; } .buehne .vor { right: .6rem; }
.buehne:not(.mit-js) button { display: none; }
.module { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.modul { background: var(--hellblau-2); border-top: 4px solid var(--blau); padding: 1rem 1.2rem; }
.modul h2 { margin-top: 0; }
.modul ul { margin: 0; padding-left: 1.1rem; }

/* Kontakt / Standorte */
.personen { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.person { background: var(--hellblau-2); padding: 1rem; }
.person img { width: 120px; float: left; margin: 0 1rem .5rem 0; }
.person .name { font-weight: 700; margin: 0; }
.person .funktion { color: var(--grau); margin: 0 0 .5rem; }
.person table { clear: both; }
.knopf { display: inline-block; padding: .55rem 1.1rem; background: var(--blau); color: #fff; text-decoration: none; font-weight: 600; border-radius: 2px; }
.knopf:hover, .knopf:focus-visible { background: var(--rot); color: #fff; }
.standorte { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.standort h2 { margin-top: .6rem; }

/* Historie */
.historie { list-style: none; margin: 1rem 0; padding: 0; border-left: 3px solid var(--hellblau); }
.historie li { position: relative; padding: 0 0 1rem 1.4rem; }
.historie li::before { content: ""; position: absolute; left: -9px; top: .35rem; width: 15px; height: 15px; border-radius: 50%; background: var(--rot); }
.historie .jahr { font-weight: 700; color: var(--blau); }
.historie img { margin-top: .4rem; max-width: 240px; }

/* Mietanfrage */
.hinweis { background: var(--hellblau-2); border-left: 4px solid var(--rot); padding: 1rem 1.2rem; margin: 1.2rem 0; }

/* ---------- Fuss ---------- */
.fussmenue { background: var(--blau); color: #fff; }
.fussmenue nav > ul { display: flex; flex-wrap: wrap; margin: 0; padding: 1.2rem 0 2rem; list-style: none; }
.fussmenue nav > ul > li { padding: 0 1.4rem; border-left: 1px solid rgba(255,255,255,.25); min-width: 120px; }
.fussmenue nav > ul > li:first-child { border-left: 0; padding-left: 0; }
.fussmenue ul ul { margin: .3rem 0 0; padding: 0; list-style: none; }
.fussmenue a { color: #fff; text-decoration: none; }
.fussmenue ul ul a { color: var(--hellblau); }
.fussmenue a:hover, .fussmenue a:focus-visible { text-decoration: underline; color: #fff; }
.impressumzeile { font-size: .85rem; padding: 1rem 0 2rem; color: var(--grau); }

/* ---------- schmale Bildschirme ---------- */
@media (max-width: 900px) {
	.spalten, .module, .zweispaltig { grid-template-columns: 1fr; }
	.kopf .huelle { min-height: 120px; }
	.logo { left: 0; top: 46px; width: 200px; }
	.claim { display: none; }
	.metanav { position: static; justify-content: flex-end; padding-top: .5rem; flex-wrap: wrap; }
	.menue-knopf { display: block; width: 100%; padding: .7rem 1rem; text-align: left; background: var(--blau); color: #fff; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
	.hauptmenue > ul { display: none; flex-direction: column; }
	.hauptmenue.offen > ul { display: flex; }
	.hauptmenue ul ul { display: block; position: static; box-shadow: none; background: var(--blau-dunkel); }
	.hauptmenue ul ul a { color: #fff; padding-left: 2rem; }
	.buehne .folie h2 { position: static; font-size: 1.05rem; background: var(--blau); }
	.buehne button { top: 35%; width: 2rem; height: 2rem; font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { .kopf, .hauptmenue, .fussmenue, .buehne button { display: none; } body { background: #fff; } }
