/* Rund ums Rad, Krems-Stein — template styles.
   Look derived from the shop itself: the red/yellow RuR roundel, the black shop shirts, asphalt in front of the
   door and the tyre tread. Wide, heavy type (Archivo, self-hosted variable font) for a sporty voice. */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin-standard-italic.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: italic;
	font-display: swap;
}

:root {
	--red: #e3000f;
	--red-dark: #b3000c;
	--yellow: #ffeb00;
	--ink: #16181b;
	--ink-2: #24272b;
	--ink-3: #3a3e44;
	--paper: #f3f2ee;
	--white: #fff;
	--muted: #5b6066;
	--muted-light: #b9bcc1;
	--line: rgba(22, 24, 27, .12);
	--line-light: rgba(255, 255, 255, .14);
	--radius: 18px;
	--radius-lg: 28px;
	--shadow: 0 1px 2px rgba(22, 24, 27, .06), 0 12px 32px -12px rgba(22, 24, 27, .22);
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--space: clamp(56px, 8vw, 112px);
	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--header-h: 76px;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	font-kerning: normal;
	text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 6px var(--ink); border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; font-weight: 800; font-stretch: 112%; letter-spacing: -.015em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); font-stretch: 108%; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--yellow); color: var(--ink); font-weight: 700; border-radius: 999px; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(760px + 2 * var(--gutter)); }
@media (min-width: 1800px) { :root { --wrap: 1400px; } }
@media (min-width: 2400px) { :root { --wrap: 1560px; } html { font-size: 112.5%; } }

/* ---------------------------------------------------------------- type helpers */
.display {
	font-size: clamp(2.2rem, 1.2rem + 4vw, 4.1rem);
	font-weight: 850;
	font-stretch: 122%;
	line-height: .98;
	letter-spacing: -.025em;
	text-wrap: balance;
}
.display em, h2 em { font-style: normal; color: var(--red); }
.kicker {
	display: inline-flex; align-items: center; gap: .55em;
	margin: 0 0 1rem;
	font-size: .8125rem; font-weight: 700; font-stretch: 115%; letter-spacing: .09em; text-transform: uppercase;
	color: var(--red);
}
.kicker::before { content: ""; width: .8em; height: .8em; border-radius: 50%; border: 3px solid currentColor; flex: none; }
.kicker a { text-decoration: none; }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); line-height: 1.5; color: var(--ink-3); max-width: 62ch; }
.small { font-size: .9rem; color: var(--muted); }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose li { margin-bottom: .35em; }

/* ---------------------------------------------------------------- buttons & links */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 50px; padding: .75em 1.45em;
	border: 2px solid var(--ink); border-radius: 999px;
	background: var(--ink); color: var(--white);
	font: inherit; font-weight: 700; font-stretch: 110%; line-height: 1.1; text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { color: var(--white); transform: translateY(-2px); }
.btn--red { background: var(--red); border-color: var(--red); }
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn--yellow:hover { color: var(--ink); background: #fff34d; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--light:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 0; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; font-stretch: 108%; text-decoration: none; color: var(--ink); }
.link-arrow::after { content: "→"; color: var(--red); transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--back::after { content: none; }
.link-arrow--back::before { content: "←"; color: var(--red); }

/* ---------------------------------------------------------------- notice + header */
.notice-bar { background: var(--yellow); color: var(--ink); font-weight: 600; font-size: .95rem; text-align: center; }
.notice-bar .wrap { padding-block: 10px; }
.notice-bar p { margin: 0; }

.topline { background: var(--ink); color: var(--muted-light); font-size: .8125rem; }
.topline__inner { display: flex; align-items: center; gap: 24px; min-height: 36px; }
.topline__addr { margin-left: auto; }
.topline__tel { color: var(--white); font-weight: 700; text-decoration: none; }
.topline__tel:hover { color: var(--yellow); }
@media (max-width: 720px) { .topline__addr, .topline__tel { display: none; } .topline .status { white-space: nowrap; } }

.status { display: inline-flex; align-items: center; gap: .55em; color: var(--white); font-weight: 600; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted-light); flex: none; }
.status.is-open .status__dot { background: #2fd26f; box-shadow: 0 0 0 4px rgba(47, 210, 111, .22); }
.status.is-closed .status__dot { background: var(--red); }
.status--inline { color: var(--ink); margin: -.3rem 0 1rem; }
.section--dark .status--inline, .band--dark .status--inline { color: var(--white); }

.site-header { position: sticky; top: -36px; z-index: 50; background: var(--white); }
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line); }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(22, 24, 27, .35); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__logo { width: 58px; height: 58px; overflow: visible; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.brand:hover .brand__logo { transform: rotate(-360deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 850; font-stretch: 122%; font-size: 1.28rem; letter-spacing: -.02em; }
.brand__tagline { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.site-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav li { margin: 0; }
.site-nav ul a {
	display: block; padding: .55em .8em; border-radius: 999px;
	font-weight: 650; font-stretch: 108%; font-size: .98rem; text-decoration: none; color: var(--ink);
}
.site-nav ul a:hover { background: var(--paper); color: var(--ink); }
.site-nav .current > a, .site-nav .active > a { background: var(--ink); color: var(--white); }
.site-nav__cta { margin-left: 10px; min-height: 44px; padding-block: .6em; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
	:root { --header-h: 68px; }
	.brand__logo { width: 46px; height: 46px; }
	.nav-toggle {
		display: grid; place-items: center; margin-left: auto; width: 48px; height: 48px;
		border: 0; border-radius: 50%; background: var(--ink); color: var(--white); cursor: pointer;
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
		display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
	}
	.nav-toggle__bars { position: relative; }
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -6px; }
	.nav-toggle__bars::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
	.site-nav {
		/* hangs off the bottom of the sticky header, whether the status line above it is visible or scrolled away */
		position: absolute; top: 100%; left: 0; right: 0; z-index: 49;
		flex-direction: column; align-items: stretch; gap: 16px;
		max-height: calc(100dvh - var(--header-h) - 36px); overflow-y: auto; overscroll-behavior: contain;
		padding: 16px var(--gutter) 28px; background: var(--white); border-top: 1px solid var(--line);
		box-shadow: 0 24px 40px -20px rgba(22, 24, 27, .4);
		transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
	}
	.site-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity .2s ease, transform .2s ease; }
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav ul a { padding: .85em .4em; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
	.site-nav .current > a, .site-nav .active > a { background: transparent; color: var(--red); }
	.site-nav__cta { margin: 0; }
}
@media (max-width: 400px) { .brand__tagline { display: none; } .brand__name { font-size: 1.12rem; } }

/* ---------------------------------------------------------------- sections */
.site-main { min-height: 50vh; }
.section, .band { padding-block: var(--space); position: relative; }
.section--tight, .band--tight { padding-block: calc(var(--space) * .6); }
.section--paper, .band--paper { background: var(--paper); }
.section--dark, .band--dark { background: var(--ink); color: var(--white); }
.section--dark .lead, .band--dark .lead { color: var(--muted-light); }
.section--dark .kicker, .band--dark .kicker { color: var(--yellow); }
.section--dark .link-arrow, .band--dark .link-arrow { color: var(--white); }
.section--dark .link-arrow::after, .band--dark .link-arrow::after { color: var(--yellow); }
.section--yellow, .band--yellow { background: var(--yellow); color: var(--ink); }
.section--yellow .kicker, .band--yellow .kicker { color: var(--ink); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin: 0; max-width: 22ch; }
.section-head > p { max-width: 52ch; margin: 0; color: var(--muted); }
.section--dark .section-head > p, .band--dark .section-head > p { color: var(--muted-light); }

/* tyre tread: the brand's divider */
.tread {
	height: 14px;
	background:
		linear-gradient(135deg, var(--ink) 25%, transparent 25%) 0 0 / 28px 14px,
		linear-gradient(225deg, var(--ink) 25%, transparent 25%) 0 0 / 28px 14px,
		var(--yellow);
}

/* ---------------------------------------------------------------- page head */
.page-head { padding: clamp(40px, 6vw, 88px) 0 clamp(28px, 4vw, 48px); background: var(--paper); position: relative; overflow: hidden; }
.page-head::after {
	content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
	border: 34px solid var(--white); opacity: .8; pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head__title { margin-bottom: .35em; max-width: 18ch; }
.page-head .lead { margin: 0; }
.page--news .page-head__title { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); max-width: 24ch; }
.page-body > .wrap--text:first-child, .page-body.prose { padding-block: clamp(32px, 5vw, 64px); }
.news-photo { margin-top: clamp(24px, 4vw, 40px); margin-bottom: 0; }
.news-photo img { border-radius: var(--radius); width: auto; max-width: 100%; max-height: 72vh; margin-inline: auto; }
.back-link { padding-bottom: var(--space); }

/* ---------------------------------------------------------------- hero (start page) */
.hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.hero::before {
	content: ""; position: absolute; left: -12vw; bottom: -22vw; width: 46vw; height: 46vw; border-radius: 50%;
	border: clamp(24px, 3vw, 48px) solid var(--ink-2); pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 96px) clamp(48px, 7vw, 110px); }
.hero .kicker { color: var(--yellow); }
.hero__title { margin-bottom: .4em; }
.hero__title em { color: var(--yellow); }
.hero .lead { color: #d7d9dc; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 2rem 0 0; padding: 0; list-style: none; }
.hero__facts li { padding: .45em .9em; border: 1px solid var(--line-light); border-radius: 999px; font-size: .9rem; font-weight: 600; color: #e7e8ea; }
.hero__media { position: relative; }
.hero__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-2); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
	position: absolute; left: -34px; bottom: 36px; width: clamp(110px, 12vw, 150px); aspect-ratio: 1;
	border-radius: 50%; background: var(--white); padding: 8px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55);
	animation: roll-in 1.1s cubic-bezier(.2, .8, .2, 1) both .2s;
}
.hero__badge svg, .hero__badge img { width: 100%; height: 100%; }
.hero__note {
	position: absolute; right: 18px; top: 18px; max-width: 220px;
	padding: 12px 16px; border-radius: 14px; background: var(--yellow); color: var(--ink);
	font-size: .9rem; font-weight: 700; line-height: 1.3; box-shadow: var(--shadow);
}
@keyframes roll-in { from { transform: translateX(-60px) rotate(-240deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 860px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__photo { aspect-ratio: 4 / 3.4; }
	.hero__badge { left: auto; right: 14px; bottom: -28px; width: 96px; }
	.hero__note { display: none; }
}

/* ---------------------------------------------------------------- tiles (what we do) */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.tile {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(300px, 30vw, 420px);
	border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--white); text-decoration: none; isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 24, 27, 0) 35%, rgba(22, 24, 27, .88) 100%); }
.tile:hover { color: var(--white); }
.tile:hover img { transform: scale(1.05); }
.tile__body { padding: 20px 22px 22px; }
.tile__title { margin: 0 0 .25em; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); font-stretch: 118%; }
.tile__text { margin: 0; font-size: .95rem; color: #dfe0e2; }
.tile__go { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-weight: 800; transition: transform .2s ease; }
.tile:hover .tile__go { transform: rotate(-45deg); }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 260px; } }

/* ---------------------------------------------------------------- split media/text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split--wide-media { grid-template-columns: 1.2fr .8fr; }
.split__media { position: relative; }
.split__media img, .photo img { width: 100%; border-radius: var(--radius); }
.photo { margin: 0; }
.photo--frame { aspect-ratio: var(--ar, 4 / 3); border-radius: var(--radius); overflow: hidden; }
.photo--frame img { height: 100%; object-fit: cover; border-radius: 0; }
.photo figcaption, .split__media figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted); }
.band--dark .photo figcaption, .section--dark .photo figcaption { color: var(--muted-light); }
.split__stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split__stack .photo:first-child { grid-column: 1 / -1; }
.split__stack--pair .photo:first-child { grid-column: auto; }
.prose .photo img { margin: 0; }
.prose .split__stack { margin: 1.5em 0; }
@media (max-width: 860px) { .split, .split--wide-media { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* ---------------------------------------------------------------- lists, facts, steps */
.checks { list-style: none; padding: 0; margin: 1.2em 0; display: grid; gap: .6em; }
.checks li { position: relative; padding-left: 2em; }
.checks li::before {
	content: ""; position: absolute; left: 0; top: .2em; width: 1.3em; height: 1.3em; border-radius: 50%;
	background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.band--dark .checks li::before, .section--dark .checks li::before { background-color: var(--yellow); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2316181b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 1.2em 0; }
.chips li { padding: .4em .9em; border-radius: 999px; background: var(--paper); font-size: .92rem; font-weight: 600; }
.band--paper .chips li { background: var(--white); }
.band--dark .chips li { background: var(--ink-2); color: var(--white); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 32px); box-shadow: var(--shadow); color: var(--ink); }
.band--paper .card, .section--paper .card { box-shadow: none; }
.band--dark .card, .section--dark .card { background: var(--ink-2); color: var(--white); box-shadow: none; }
.card__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); margin-bottom: 18px; }
.card__icon svg { width: 26px; height: 26px; }
.card__title { font-size: 1.3rem; margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card--map { padding: 0; overflow: hidden; }
.card--map .card__body { padding: 22px 26px 26px; }
@media (max-width: 900px) { .cards--3 { grid-template-columns: 1fr; } }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before {
	content: counter(step); position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%;
	display: grid; place-items: center; background: var(--red); color: var(--white); font-weight: 850; font-stretch: 120%; font-size: 1.2rem;
}
.steps li::after { content: ""; position: absolute; top: 24px; left: 60px; right: 0; border-top: 2px dashed var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: .35em; }
.steps p { margin: 0; color: var(--muted); }
.band--dark .steps p { color: var(--muted-light); }
.band--dark .steps li::after { border-color: var(--line-light); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; } .steps li::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* big numbers / facts row */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.facts > div { background: var(--white); padding: 22px 24px; }
.facts dt { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-size: 1.15rem; font-weight: 750; font-stretch: 110%; }

/* ---------------------------------------------------------------- brands */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.brands li { display: grid; place-items: center; height: 88px; padding: 18px 22px; border-radius: 14px; background: var(--white); }
.brands img { max-height: 34px; width: auto; filter: grayscale(1) contrast(1.2); opacity: .75; transition: filter .2s ease, opacity .2s ease; }
.brands li:hover img { filter: none; opacity: 1; }
.band--paper .brands li, .section--paper .brands li { background: var(--white); }
.band:not([class*="--"]) .brands li, .section:not([class*="--"]) .brands li { background: var(--paper); }

/* ---------------------------------------------------------------- quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.quote { margin: 0; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius); background: var(--ink-2); color: var(--white); display: flex; flex-direction: column; }
.section--paper .quote, .band--paper .quote { background: var(--white); color: var(--ink); }
.quote::before { content: "★★★★★"; color: var(--yellow); letter-spacing: .15em; font-size: 1rem; margin-bottom: 14px; }
.section--paper .quote::before, .band--paper .quote::before { color: var(--red); }
.quote p { font-size: 1.05rem; line-height: 1.55; flex: 1; }
.quote footer { font-size: .9rem; font-weight: 700; }
.quote footer span { font-weight: 500; opacity: .7; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
.member { margin: 0; }
.member__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: #cfe0ea; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member figcaption { padding-top: 14px; }
.member strong { display: block; font-size: 1.2rem; font-weight: 800; font-stretch: 115%; }
.member span { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------- CTA band */
.cta { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
.cta h2 { margin: 0 0 .3em; }
.cta p { margin: 0; }
.cta .btn-row { margin: 0; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- panne (Donauradweg) */
.panne { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; }
.panne__sign {
	width: clamp(88px, 9vw, 120px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
	background: var(--ink); color: var(--yellow);
}
.panne__sign svg { width: 55%; height: 55%; }
.panne h2 { margin: 0 0 .25em; }
.panne p { margin: 0; max-width: 60ch; }
.panne .en { margin-top: .6em; font-size: .92rem; opacity: .8; }
@media (max-width: 860px) { .panne { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- visit (start page) */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.visit__map { border-radius: var(--radius); overflow: hidden; display: block; min-height: 320px; position: relative; }
.visit__map img { width: 100%; height: 100%; object-fit: cover; }
.visit__map > .btn { position: absolute; left: 16px; bottom: 16px; }
.visit h2 { margin-bottom: .6em; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

.hours { margin: 0; display: grid; gap: 0; }
.hours > div { display: flex; justify-content: space-between; gap: 16px; padding: .55em 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.hours dd:where(:not(:empty)) { white-space: nowrap; }
.hours .is-today { color: var(--red); }
.hours .is-today dt::after { content: " · heute"; font-weight: 500; }

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: var(--white); padding: 0 22px; }
.band:not([class*="--"]) .faq details { background: var(--paper); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 700; font-stretch: 106%; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); font-weight: 700; }
.faq details[open] summary::after { content: "–"; background: var(--red); }
.faq details > :not(summary) { margin-top: 0; }
.faq details > p:last-child { padding-bottom: 18px; margin-bottom: 0; }

/* ---------------------------------------------------------------- news */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(16px, 2vw, 28px); padding-block: clamp(32px, 5vw, 64px) var(--space); }
.section .news-grid { padding: 0; }
.news-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .news-grid--3 { grid-template-columns: 1fr; } }
.news-card { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.section--paper .news-card { box-shadow: none; }
.news-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); }
.news-card__link:hover { color: var(--ink); }
.news-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card__link:hover img { transform: scale(1.04); }
.news-card__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 24px; flex: 1; }
.news-card time { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.news-card__title { margin: 0; font-size: 1.3rem; }
.news-card__text { color: var(--muted); font-size: .95rem; flex: 1; }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 3vw, 40px); align-items: start; padding-block: clamp(32px, 5vw, 64px) var(--space); }
.contact-info { display: grid; gap: 18px; }
.contact-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quick { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border-radius: var(--radius); background: var(--paper); text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.quick span { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.quick strong { font-size: 1.05rem; font-stretch: 105%; }
.quick--red { background: var(--red); color: var(--white); }
.quick:hover { color: inherit; transform: translateY(-2px); }
.map { display: block; }
.map img { width: 100%; aspect-ratio: 14 / 9; object-fit: cover; }
.contact-panel { background: var(--ink); color: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 44px); position: sticky; top: calc(var(--header-h) + 24px); }
.contact-panel__title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.contact-panel .small { color: var(--muted-light); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .contact-panel { position: static; } }
@media (max-width: 460px) { .contact-quick { grid-template-columns: 1fr; } }

/* Joomla form markup (contact form); the request type (custom fields) goes first */
.contact-panel form { display: flex; flex-direction: column; }
.contact-panel form > fieldset:nth-of-type(2) { order: -1; }
.contact-panel textarea { height: 170px; }
.contact-panel form { margin-top: 20px; }
.contact-panel fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.contact-panel legend { display: none; }
.control-group { margin-bottom: 16px; }
.control-label label, .control-label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .92rem; }
.control-label .star, .required .star { color: var(--yellow); }
.form-control, .form-select, .contact-panel input[type="text"], .contact-panel input[type="email"], .contact-panel input[type="tel"], .contact-panel textarea, .contact-panel select {
	width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 2px solid transparent;
	background: var(--ink-2); color: var(--white); font: inherit;
}
.contact-panel textarea { min-height: 150px; resize: vertical; }
.contact-panel select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23ffeb00' stroke-width='2.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.form-control:focus, .contact-panel input:focus, .contact-panel textarea:focus, .contact-panel select:focus { outline: none; border-color: var(--yellow); box-shadow: none; }
.contact-panel .form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.contact-panel .form-check-input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--yellow); flex: none; }
.contact-panel .btn-primary, .contact-panel button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8em 1.8em; margin-top: 8px;
	border: 0; border-radius: 999px; background: var(--yellow); color: var(--ink); font: inherit; font-weight: 800; font-stretch: 112%; cursor: pointer;
}
.contact-panel .btn-primary:hover { background: #fff34d; }
.invalid { border-color: #ff6b6b !important; }
label.invalid, .form-control-feedback { color: #ff9b9b; font-size: .85rem; }
.alert { padding: 14px 18px; border-radius: 12px; background: var(--paper); margin: 16px 0; }
.alert-success, .alert-message { background: #dff5e6; }
.alert-error, .alert-danger, .alert-warning { background: #ffe2e2; }
joomla-alert { display: block; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--muted-light); font-size: .95rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--yellow); }
.site-footer__grid { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr 1fr; gap: 32px 40px; padding-block: clamp(48px, 6vw, 80px) 40px; }
.site-footer__brand .brand__logo { width: 112px; height: 112px; margin-bottom: 16px; }
.site-footer__brand strong { color: var(--white); font-stretch: 118%; font-size: 1.1rem; }
.site-footer__title { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1em; }
.site-footer .hours > div { border-color: var(--line-light); padding: .35em 0; }
.site-footer .hours dt { font-weight: 500; }
.site-footer .link-arrow { color: var(--white); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink-2); }
.social a:hover { background: var(--yellow); color: var(--ink); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 20px 28px; border-top: 1px solid var(--line-light); font-size: .85rem; }
.site-footer__base ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.site-footer__base a { color: var(--muted-light); }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- mobile action bar */
.action-bar { display: none; }
body.nav-open { overflow: hidden; }
@media (max-width: 760px) {
	body { padding-bottom: 72px; }
	.action-bar {
		position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60;
		display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--ink); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .5);
	}
	.action-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 999px; color: var(--white); font-weight: 700; font-size: .92rem; text-decoration: none; }
	.action-bar svg { width: 18px; height: 18px; fill: currentColor; }
	.action-bar .action-bar__cta { flex: 1.4; background: var(--red); }
	body.nav-open .action-bar { display: none; }
}

/* ---------------------------------------------------------------- error page */
.error-page { min-height: 100vh; display: grid; place-items: center; background: var(--paper); padding-block: 60px; }
.error-page__logo img { width: 110px; height: 110px; margin-bottom: 28px; }
.error-page .lead { margin-bottom: 0; }

/* ---------------------------------------------------------------- reveal */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; } }

@media print {
	.site-header, .action-bar, .site-footer, .notice-bar { display: none; }
	.hero, .band--dark, .section--dark { background: none; color: #000; }
}
