/*
 * Rylos.Web - Seitenlayout auf Basis von Bootstrap 5.
 * Farben und Abstände der bisherigen Seite; keine Inline-Styles in den Views.
 */

/* Schrift lokal statt über Google Fonts (keine Datenübertragung an Dritte). Lizenz: lib/open-sans/OFL.txt */
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../lib/open-sans/open-sans-latin-400-normal.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; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../lib/open-sans/open-sans-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../lib/open-sans/open-sans-latin-600-normal.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; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../lib/open-sans/open-sans-latin-ext-600-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../lib/open-sans/open-sans-latin-700-normal.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; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../lib/open-sans/open-sans-latin-ext-700-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--rylos-sand: #c5b59e;
	--rylos-text: #656565;
	--rylos-heading: #333;
	--rylos-primary: #337ab7;
	--rylos-panel: #f5f5f5;
	--rylos-navbar: #f8f8f8;
	--bs-body-font-family: 'Open Sans', Arial, sans-serif;
	--bs-body-color: var(--rylos-text);
	--bs-link-color-rgb: 51, 122, 183;
}

body {
	font-size: 0.875rem;
	line-height: 1.6;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

main {
	flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.1;
	color: var(--rylos-heading);
}

/* Navigation */
.site-navbar {
	background: var(--rylos-navbar);
	padding: 0.75rem 1.5rem;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.site-logo {
	height: 60px;
	width: auto;
}

.site-navbar .nav-link {
	color: #222;
	padding: 0.4rem 1rem;
	font-size: 0.95rem;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
	color: #000;
}

.site-navbar .nav-link.active {
	font-weight: 700;
	color: #000;
}

.site-navbar .dropdown-item.active,
.site-navbar .dropdown-item:active {
	background: var(--rylos-sand);
	color: #000;
}

/* Bereiche */
.section {
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
}

.section-tight {
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
}

.band-sand {
	background: var(--rylos-sand);
}

.page-heading {
	margin-bottom: 1.5rem;
}

/* Karten im Stil der bisherigen Panels */
.panel-card {
	background: var(--rylos-panel);
	border: 0;
	border-radius: 4px;
	height: 100%;
}

.panel-card .card-header {
	background: var(--rylos-primary);
	color: #fff;
	border: 0;
	padding: 0.75rem 1rem;
}

.panel-card .card-header h2,
.panel-card .card-header .h5 {
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	margin: 0;
}

.panel-card ul {
	padding-left: 1.25rem;
	margin-bottom: 0;
}

.panel-card li + li {
	padding-top: 0.35rem;
}

/* Startseite */
.hero-carousel {
	border-radius: 6px;
	overflow: hidden;
}

.hero-carousel .carousel-item img {
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 16 / 9;
}

.client-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 2.5rem 4rem;
	padding: 2.5rem 0;
}

.client-logos a {
	display: block;
	opacity: 0.66;
	transition: opacity 0.3s ease;
}

.client-logos a:hover,
.client-logos a:focus {
	opacity: 1;
}

.client-logos img {
	max-height: 80px;
	max-width: 200px;
	width: auto;
}

/* Lösungsseiten */
.feature-heading {
	font-size: 2rem;
	margin-bottom: 1rem;
}

.feature-heading .text-muted {
	color: #777 !important;
}

.feature-image {
	border-radius: 6px;
	width: 100%;
	max-width: 525px;
	height: auto;
}

/* Kontakt */
.contact-card {
	background: var(--rylos-panel);
	border: 1px solid #e3e3e3;
	border-radius: 4px;
}

.contact-card h2 small {
	color: #777;
	font-weight: 400;
	font-size: 65%;
}

.form-honeypot {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Rechtliche Seiten */
.legal-content h4 {
	margin-top: 1.5rem;
}

.legal-content img.inline-mail {
	vertical-align: text-bottom;
}

/* Fehlerseite */
.error-image {
	max-width: 100%;
	height: auto;
}

/* Fußbereich */
.site-footer {
	background: var(--rylos-sand);
	color: #0d0d0d;
	padding: 2rem 0 1.5rem;
	margin-top: 1.25rem;
}

.site-footer a {
	color: inherit;
	text-decoration: none;
}

.site-footer-logo {
	max-width: 120px;
	height: auto;
}

.site-footer-copyright {
	text-align: center;
	font-size: 0.75rem;
	margin: 1rem 0 0;
}

/* Lizenzportal */
.portal-body {
	background: #f4f5f7;
}

.portal-navbar {
	background: #2b3035;
}

.portal-token {
	font-family: SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
	font-size: 0.8rem;
	word-break: break-all;
	white-space: pre-wrap;
}

.portal-qr {
	width: 220px;
	height: 220px;
	image-rendering: pixelated;
}

.portal-login {
	max-width: 420px;
}

.portal-recovery-codes {
	columns: 2;
	font-family: SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
}

.portal-setup {
	max-width: 640px;
}

.portal-form {
	max-width: 760px;
}

.portal-notes {
	white-space: pre-line;
}
