/**
 * A-Team — Gestaltung der Bausteine.
 *
 * Masse nach der bisherigen Website: Abstände 120 / 80 / 60 px (Desktop /
 * Tablet bis 1024 px / Handy bis 767 px), Inhaltsbreite 1290 px.
 */

/* ------------------------------------------------------------ Gemeinsames */
.at-sec { position: relative; }
.at-bg--grau { background: var(--at-grey); }
.at-bg--weiss { background: var(--at-white); }
.at-rich p { margin: 0 0 14.4px; }
.at-rich p:last-child { margin-bottom: 0; }
.at-rich a { text-decoration: underline; }
.at-rich ul, .at-rich ol { margin: 0 0 14.4px; padding-left: 40px; }
.at-rich ul:last-child, .at-rich ol:last-child { margin-bottom: 0; }

/* Liste mit roten Häkchen (Abstand 18 px zwischen Punkten wie bisher). */
.at-check { list-style: none; margin: 0; padding: 0; }
.at-check li { display: flex; align-items: flex-start; padding-bottom: 9px; }
.at-check li + li { margin-top: 9px; }
.at-check li:last-child { padding-bottom: 0; }
.at-check .at-icon { flex: none; width: 14px; height: 14px; margin: 4px 4px 0 0; color: var(--at-red); }
.at-check span { padding-left: 5px; font-size: 16px; line-height: 1.4; }

/* Einblenden beim Scrollen (wie bisher „Einblenden“, schnell). */
.at-js-reveal .at-reveal { opacity: 0; }
.at-js-reveal .at-reveal.is-in { animation: at-fade .8s ease both; }
@keyframes at-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.at-js-reveal .at-reveal { opacity: 1; }
	.at-js-reveal .at-reveal.is-in { animation: none; }
}

/* ------------------------------------------------------------ Hero Startseite */
.at-hero { overflow: hidden; background: var(--at-grey); padding: 120px 0 80px; }
.at-hero__bg {
	position: absolute; left: 0; right: 0; top: 0; height: 140%;
	background-position: center right; background-repeat: no-repeat; background-size: cover;
	will-change: transform;
}
.at-hero__head, .at-hero__line { position: relative; }
.at-hero__head { padding-bottom: 120px; }
.at-hero__title {
	font-size: 160px; line-height: .9; color: var(--at-red); margin: 0 0 10px; max-width: 100%;
}
.at-hero__line > .at-wrap { padding-top: 0; }
.at-hero__line::before { content: none; }
.at-hero__line .at-wrap { position: relative; }
.at-hero__points {
	list-style: none; margin: 0; padding: 80px 0 0;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 60px;
	border-top: 1px solid rgba(255, 255, 255, .32);
}
.at-hero__points li { display: flex; flex-direction: column; gap: 20px; margin-bottom: -6px; }
.at-hero__points .at-icon { width: 45px; height: 45px; color: var(--at-white); }
.at-hero__points .at-h5 { display: block; color: var(--at-white); margin: 8px 0 16px; }
.at-hero__points sup { font-size: 18px; }
.at-js-reveal .at-hero__points .at-reveal.is-in { animation-delay: .6s; }

/* Die Linie über den Vorteilen läuft wie bisher über die volle Breite. */
.at-hero__line { border-top: 1px solid rgba(255, 255, 255, .32); }
.at-hero__points { border-top: 0; }

@media (max-width: 1024px) {
	.at-hero__line { border-top: 0; }
	.at-hero__points { border-top: 1px solid rgba(255, 255, 255, .32); }
	.at-hero { padding: 80px 0; }
	.at-hero__head { padding-bottom: 80px; }
	.at-hero__title { margin: -8px 0 -6px; }
	.at-hero__points { grid-template-columns: repeat(2, 1fr); gap: 50px; }
}
@media (max-width: 767px) {
	.at-hero { padding: 60px 0; }
	.at-hero__head { padding-bottom: 60px; }
	.at-hero__title { font-size: 100px; margin: -7px 0 -7px; }
	.at-hero__points { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ Seitenkopf (Titel und Text) */
.at-kopf { padding: 100px 0 120px; }
.at-kopf--klein { padding: 120px 0 70px; }
.at-kopf--minimal { padding: 120px 0 20px; }
.at-kopf--klein .at-kopf__text, .at-kopf--minimal .at-kopf__text { max-width: 75%; }
.at-kopf__text .at-hinweis { margin-top: 34.4px; }
.at-kopf__title { max-width: 75%; }
.at-kopf__text { max-width: 72%; margin-top: 20px; }
.at-kopf__text p:last-child { margin-bottom: 14.4px; }
.at-hinweis { color: var(--at-red); font-weight: 700; }
@media (max-width: 767px) {
	.at-kopf, .at-kopf--klein, .at-kopf--minimal { padding: 40px 0 0; }
	.at-kopf__title, .at-kopf__text { max-width: 100%; }
	.at-kopf__title { font-size: 10vw; }
}

/* ------------------------------------------------------------ Seitenkopf mit Bild */
.at-bildkopf {
	position: relative;
	background-color: var(--at-black);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 120px 0;
}
.at-bildkopf::before { content: ''; position: absolute; inset: 0; background: var(--at-black); opacity: .5; }
.at-bildkopf .at-wrap { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.at-bildkopf__title {
	max-width: 75%;
	font-size: 100px; line-height: 1.1; letter-spacing: -3px; color: var(--at-white);
	margin: -13px 0 -11px;
}
.at-bildkopf__text { max-width: 538px; color: var(--at-white); margin: -7px 0 -21px; }
.at-bildkopf__text p { margin-bottom: 14.4px; }
@media (max-width: 1024px) {
	.at-bildkopf { padding: 80px 0 160px; }
	.at-bildkopf .at-wrap { gap: 35px; }
	.at-bildkopf__title { font-size: 42px; letter-spacing: -1.2px; max-width: 450px; margin: -8px 0 -6px; }
}
@media (max-width: 767px) {
	.at-bildkopf { padding: 120px 0; }
	.at-bildkopf__title { font-size: 38px; max-width: 100%; margin: -7px 0; }
	.at-bildkopf__text { max-width: 100%; }
}

/* ------------------------------------------------------------ Bild mit roter Box (Startseite) */
.at-bildbox { padding: 120px 0 170px; }
.at-bildbox__grid { display: flex; gap: 40px; }
.at-bildbox__media, .at-bildbox__text { width: 50%; }
.at-bildbox__media { display: flex; flex-direction: column; }
.at-bildbox__media img { width: 500px; max-width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; }
.at-bildbox__box { position: relative; margin-top: -262px; padding-left: 50px; display: flex; }
.at-bildbox__box .at-h5 {
	background: var(--at-red); color: var(--at-white); padding: 50px; margin: 0; width: 100%;
}
.at-bildbox__text {
	display: flex; flex-direction: column; justify-content: center; gap: 35px;
	padding-left: 30px; margin-bottom: -50px;
}
.at-bildbox__text .at-h6 { margin: -2px 0 -4px; }
.at-bildbox__title { max-width: 558px; line-height: 1; margin: -9px 0 -8px; }
.at-bildbox__text .at-rich { max-width: 567px; margin: -7px 0; }
.at-bildbox__text .at-btn { align-self: flex-start; }
.at-js-reveal .at-bildbox .at-reveal.is-in { animation-duration: .8s; }
@media (max-width: 1024px) {
	.at-bildbox { padding: 80px 0; }
	.at-bildbox__grid { flex-direction: column; gap: 50px; }
	.at-bildbox__media, .at-bildbox__text { width: 100%; }
	.at-bildbox__text { order: -1; padding-left: 0; margin-bottom: 0; }
	.at-bildbox__media { flex-direction: row; gap: 25px; }
	.at-bildbox__media img { width: 50%; }
	.at-bildbox__box { margin-top: 0; padding-left: 0; width: 50%; flex-direction: column; justify-content: flex-start; }
	.at-bildbox__title { max-width: 470px; margin: -7px 0 -5px; }
	.at-bildbox__text .at-rich { max-width: 448px; }
}
@media (max-width: 767px) {
	.at-bildbox { padding: 60px 0 20px; }
	.at-bildbox__grid { gap: 60px; }
	.at-bildbox__media { flex-direction: column; }
	.at-bildbox__media img, .at-bildbox__box { width: 100%; }
	.at-bildbox__box .at-h5 { padding: 40px; text-align: center; }
	.at-bildbox__title { margin: -6px 0 -4px; }
}

/* ------------------------------------------------------------ Bild neben Text */
.at-bildtext { padding: 120px 0; background: var(--at-white); }
.at-bildtext__grid { display: flex; gap: 100px; align-items: stretch; }
.at-bildtext__media, .at-bildtext__text { width: 50%; }
.at-bildtext__media { display: flex; align-items: center; }
.at-bildtext__media img { width: 100%; height: auto; will-change: transform; transition: transform 100ms; }
.at-bildtext__text { display: flex; flex-direction: column; justify-content: center; gap: 35px; }
.at-bildtext__title { font-size: 52px; line-height: 1; max-width: 558px; margin: -9px 0 -8px; }
.at-bildtext__lead {
	font-family: var(--at-head); font-weight: 700; font-size: 24px; line-height: 1.1; text-transform: uppercase;
	max-width: 558px; margin: -9px 0 -8px;
}
.at-bildtext__text .at-rich { max-width: 567px; margin: -7px 0; }
@media (max-width: 1024px) {
	.at-bildtext { padding: 80px 0; }
	.at-bildtext__grid { gap: 50px; }
	.at-bildtext__title, .at-bildtext__lead { margin: -7px 0 -5px; }
	.at-bildtext__text .at-rich { max-width: 448px; }
}
@media (max-width: 767px) {
	.at-bildtext { padding: 60px 0; }
	.at-bildtext__grid { flex-direction: column; gap: 40px; }
	.at-bildtext__media, .at-bildtext__text { width: 100%; }
	.at-bildtext__title, .at-bildtext__lead { margin: -6px 0 -4px; }
	.at-bildtext__title { font-size: var(--at-title-m, 52px); }
}

/* ------------------------------------------------------------ Rotes Band */
.at-band { padding: 0 0 120px; }
.at-band--oben { padding: 120px 0 0; }
.at-band__box {
	display: grid; grid-template-columns: 2fr 1fr; gap: 30px;
	background: var(--at-red); padding: 50px; color: var(--at-white);
}
.at-band__main { display: flex; align-items: center; gap: 20px; }
.at-band__icon { width: 45px; height: 45px; flex: none; color: var(--at-white); margin-bottom: -5px; }
.at-band__title {
	font-family: var(--at-head); font-weight: 700; font-size: 36px; line-height: 1.1; text-transform: uppercase;
	color: var(--at-white); margin: 8px 0;
}
.at-band__text { color: var(--at-white); margin: 0; }
.at-band__main > div { margin: -10px 0 -6px; }
.at-band__btn { align-self: center; justify-self: end; font-size: 15px; font-weight: 400; line-height: 1; }
.at-band__btn.at-btn--black:hover { background: var(--at-white); border-color: var(--at-white); color: var(--at-black); }
@media (max-width: 1024px) {
	.at-band { padding-top: 80px; padding-bottom: 80px; }
	.at-band--unten { padding-top: 80px; }
	.at-band__box { grid-template-columns: 1fr; }
	.at-band__main { flex-direction: column; gap: 25px; }
	.at-band__main > div { max-width: 65%; text-align: center; }
	.at-band__title { margin-bottom: 15px; }
	.at-band__btn { justify-self: center; }
}
@media (max-width: 767px) {
	.at-band { padding: 0 0 60px; }
	.at-band--oben { padding: 60px 0 0; }
	.at-band__box { padding: 50px 30px; }
	.at-band__main > div { max-width: 100%; }
	.at-band__btn { justify-self: start; }
}

/* ------------------------------------------------------------ Überschrift, Text, Einbindung */
.at-einbindung { padding: 120px 0; }
.at-einbindung .at-wrap { display: flex; flex-direction: column; gap: 20px; }
.at-einbindung__title, .at-einbindung__text { max-width: 75%; }
.at-einbindung__embed { margin-top: 14px; }
@media (max-width: 767px) {
	.at-einbindung { padding: 60px 0; }
	.at-einbindung__title, .at-einbindung__text { max-width: 100%; }
}

/* Platzhalter vor der Einwilligung */
.at-blocked {
	display: flex; align-items: center; justify-content: center; text-align: center;
	background: #fafafa; color: #555; border-radius: 4px; padding: 96px 16px;
}
.at-blocked__box { max-width: 560px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.at-blocked__box p { margin: 0; }

/* ------------------------------------------------------------ Klassen-Kacheln */
.at-kacheln__grid { display: grid; grid-template-columns: repeat(var(--at-cols, 5), 1fr); }
.at-kachel {
	position: relative; overflow: hidden;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 20vw 50px 50px;
	background-position: center center; background-repeat: no-repeat; background-size: cover;
	color: var(--at-white);
}
.at-kachel::before {
	content: ''; position: absolute; inset: 0;
	background-image: linear-gradient(180deg, rgba(2, 1, 1, 0) 0%, #000 100%);
	opacity: .5; transition: background .6s, opacity .6s;
}
.at-kachel:hover::before { background-color: var(--at-black); opacity: .6; }
.at-kachel > * { position: relative; }
.at-kachel__klasse { color: var(--at-white); margin: -1px 0 -4px; }
.at-kachel__name { color: var(--at-white); margin: 20px 0 -6px; }
.at-kachel__btn {
	display: inline-flex; align-self: flex-start; margin-top: 50px;
	border: 1px solid var(--at-white); padding: 20px 21px; line-height: 0;
	color: var(--at-white); transition: background-color .3s, border-color .3s;
}
.at-kachel__btn .at-icon { width: 15px; height: 15px; }
.at-kachel__btn:hover { background: var(--at-red); border-color: var(--at-red); color: var(--at-white); }
@media (max-width: 1024px) {
	.at-kacheln { padding: 80px 0; }
	.at-kacheln__grid { grid-template-columns: repeat(2, 1fr); }
	.at-kachel { padding-top: 250px; }
}
@media (max-width: 767px) {
	.at-kacheln { padding: 0; }
	.at-kacheln__grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ Kontakt-Aufruf */
.at-cta { background: var(--at-red); padding: 120px 0; }
.at-cta__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.at-cta__box {
	display: flex; flex-direction: column; gap: 35px;
	background: var(--at-white); padding: 100px;
}
.at-cta__title { margin: -7px 0 -6px; }
.at-cta__box .at-rich { margin: -7px 0 -21px; }
.at-cta__box .at-rich p { margin-bottom: 14.4px; }
.at-cta__box .at-btn { align-self: flex-start; }
.at-cta__media { min-height: 50px; background-position: center center; background-repeat: no-repeat; background-size: cover; }
@media (max-width: 1024px) {
	.at-cta { padding: 80px 0; }
	.at-cta__grid { grid-template-columns: 1fr; }
	.at-cta__box { gap: 30px; padding: 80px; }
	.at-cta__title { margin: -6px 0; }
	.at-cta__media { min-height: 70vh; }
}
@media (max-width: 767px) {
	.at-cta { padding: 60px 0; }
	.at-cta__box { gap: 30px; padding: 40px; }
	.at-cta__title { margin: -5px 0; }
	.at-cta__box .at-btn { align-self: stretch; }
	.at-cta__media { min-height: 50vh; }
}

/* ------------------------------------------------------------ Was darf ich lenken? */
.at-lenken { padding: 120px 0; }
.at-lenken__head { display: flex; flex-direction: column; gap: 35px; padding-bottom: 70px; width: 65%; }
.at-lenken__head .at-h6 { margin: -2px 0 -4px; }
.at-lenken__title { max-width: 475px; margin: -9px 0 -8px; }
.at-lenken__grid { display: grid; grid-template-columns: repeat(var(--at-cols, 3), 1fr); gap: 30px; align-items: stretch; }
.at-lenken__card {
	display: flex; flex-direction: column; gap: 25px;
	background: var(--at-white); padding: 50px; box-shadow: 0 1px 20px 0 rgba(0, 0, 0, .04);
}
.at-lenken__klasse { font-size: 42px; color: var(--at-red); margin: -5px 0 -6px; }
.at-lenken__line { border: 0; border-top: 1px solid var(--at-red); margin: 0; }
.at-lenken__sub { color: var(--at-red); }
.at-lenken__sub--gross { font-size: 24px; }
.at-lenken__sub--klein { font-size: 18px; }
@media (max-width: 1024px) {
	.at-lenken { padding: 80px 0; }
	.at-lenken__head { width: 100%; gap: 30px; padding-bottom: 60px; }
	.at-lenken__title { max-width: 382px; margin: -7px 0 -5px; }
	.at-lenken__grid, .at-lenken__grid[style] { grid-template-columns: repeat(2, 1fr); }
	.at-lenken__card { gap: 30px; }
}
@media (max-width: 767px) {
	.at-lenken { padding: 60px 0; }
	.at-lenken__head { padding-bottom: 50px; }
	.at-lenken__title { max-width: 100%; margin: -6px 0 -4px; }
	.at-lenken__grid, .at-lenken__grid[style] { grid-template-columns: 1fr; }
	.at-lenken__card { padding: 20px; }
}

/* ------------------------------------------------------------ Akkordeon */
.at-acc { display: flex; flex-direction: column; }
.at-acc__item { border-bottom: 1px solid var(--at-line); }
.at-acc__head {
	display: flex; justify-content: space-between; align-items: center; gap: 20px;
	padding: 20px 0; cursor: pointer; list-style: none;
}
.at-acc__head::-webkit-details-marker { display: none; }
.at-acc__title {
	font-family: var(--at-head); font-weight: 700; font-size: 24px; line-height: 1.1; text-transform: uppercase;
	color: var(--at-black); transition: color .3s;
}
.at-acc__item[open] > .at-acc__head .at-acc__title, .at-acc__head:hover .at-acc__title { color: var(--at-red); }
.at-acc__icon { display: inline-flex; width: 15px; height: 15px; flex: none; }
.at-acc__icon .at-icon { width: 15px; height: 15px; color: var(--at-black); }
.at-acc__item[open] > .at-acc__head .at-icon { color: var(--at-red); }
.at-acc__minus { display: none; }
.at-acc__item[open] > .at-acc__head .at-acc__plus { display: none; }
.at-acc__item[open] > .at-acc__head .at-acc__minus { display: block; }
.at-acc__item.is-closing > .at-acc__head .at-acc__title { color: var(--at-black); }
.at-acc__item.is-closing > .at-acc__head .at-icon { color: var(--at-black); }
.at-acc__item.is-closing > .at-acc__head .at-acc__plus { display: block; }
.at-acc__item.is-closing > .at-acc__head .at-acc__minus { display: none; }
.at-acc__item.is-closing > .at-acc__body { border-top-color: transparent; transition: border-color .4s; }
.at-acc__body { padding: 30px 0; border-top: 1px solid var(--at-line); }
.at-acc__body > * + * { margin-top: 30px; }
.at-acc__cols { display: grid; gap: 35px; }
.at-acc__cols--2 { grid-template-columns: repeat(2, 1fr); }
.at-acc__cols--3 { grid-template-columns: repeat(3, 1fr); }
.at-acc__col h3 { margin-bottom: 28px; }
.at-rich--check ul { list-style: none; padding-left: 0; }
.at-rich--check ul li { position: relative; padding: 0 0 9px 23px; }
.at-rich--check ul li + li { margin-top: 9px; }
.at-rich--check ul li:last-child { padding-bottom: 0; }
.at-rich--check ul li::before {
	content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; background: var(--at-red);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M173.9 439.4l-166.4-166.4c-10-10-10-26.2 0-36.2l36.2-36.2c10-10 26.2-10 36.2 0L192 312.7 432.1 72.6c10-10 26.2-10 36.2 0l36.2 36.2c10 10 10 26.2 0 36.2l-294.4 294.4c-10 10-26.2 10-36.2 0z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M173.9 439.4l-166.4-166.4c-10-10-10-26.2 0-36.2l36.2-36.2c10-10 26.2-10 36.2 0L192 312.7 432.1 72.6c10-10 26.2-10 36.2 0l36.2 36.2c10 10 10 26.2 0 36.2l-294.4 294.4c-10 10-26.2 10-36.2 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.at-akk { padding: 120px 0; }
.at-akk__inner { display: flex; flex-direction: column; gap: 15px; }
.at-akk--reifen { background: var(--at-white); }
.at-akk--reifen::before, .at-verlauf__card::before {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background: url('../img/reifenspuren.webp') var(--at-bg-pos, center center) / var(--at-bg-size, cover) no-repeat; opacity: .04;
}
.at-verlauf__card::before { opacity: .05; }
.at-akk--reifen .at-wrap, .at-verlauf__card > * { position: relative; }
.at-akk--reifen .at-wrap { max-width: calc(1200px + 2 * var(--at-gutter)); }
.at-akk--weiss { padding-top: 0; }
.at-akk--weiss .at-akk__title { font-size: 36px; color: var(--at-red); }
.at-akk__note {
	display: flex; align-items: center; gap: 20px;
	background: var(--at-red); color: var(--at-white); padding: 52px 50px; margin-top: 10px;
}
.at-akk__note .at-icon { width: 45px; height: 45px; flex: none; color: var(--at-white); }
.at-akk__note .at-h5 { color: var(--at-white); margin: 0; }
@media (max-width: 1024px) {
	.at-akk { padding: 80px 0; }
	.at-akk--weiss { padding-top: 0; }
}
@media (max-width: 767px) {
	.at-akk { padding: 60px 0; }
	.at-akk--weiss { padding-top: 0; }
	.at-acc__cols--2, .at-acc__cols--3 { grid-template-columns: 1fr; }
	.at-akk__note { padding: 30px; }
}

/* ------------------------------------------------------------ Zwei Karten mit Akkordeon */
.at-verlauf { padding: 0 0 120px; }
.at-verlauf .at-wrap { max-width: calc(1200px + 2 * var(--at-gutter)); }
.at-verlauf__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; align-items: stretch; }
.at-verlauf__card {
	position: relative; display: flex; flex-direction: column; gap: 35px;
	background: var(--at-white); padding: min(108px, 7.5vw);
}
.at-verlauf__card .at-h6 { margin: -2px 0 -4px; }
.at-verlauf__title { font-size: 42px; line-height: 1.1; margin: -7px 0; }
.at-verlauf + .at-termine { padding-top: 0; }
.at-acc--klein { margin-top: -15px; }
.at-acc--klein .at-acc__title { font-size: 22px; }
@media (max-width: 767px) { .at-verlauf__title { font-size: 28px; } }
@media (max-width: 1024px) {
	.at-verlauf { padding: 0; }
	.at-verlauf .at-wrap { padding: 0; }
	.at-verlauf__grid { grid-template-columns: 1fr; gap: 0; }
	.at-verlauf__card { gap: 30px; padding: 80px 40px; }
}
@media (max-width: 767px) {
	.at-verlauf { padding: 0 0 60px; }
	.at-verlauf .at-wrap { padding: 0 20px; }
	.at-verlauf__card { padding: 20px; }
}

/* ------------------------------------------------------------ Kurstermine */
.at-termine { padding: 120px 0; }
.at-termine__title { text-align: center; margin: -7px 0 63px; }
.at-termine__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; align-items: start; }
.at-termine__card { background: var(--at-white); padding: 50px; display: flex; flex-direction: column; }
.at-termine__ort { font-size: 36px; color: var(--at-red); margin: -5px 0 9px; }
.at-termine__line { border: 0; border-top: 1px solid var(--at-line); margin: 10px 0 37px; }
.at-termine__group + .at-termine__group { margin-top: 40px; }
.at-termine__group h4 { margin-bottom: 31px; }
.at-termine__text { font-size: 16px; line-height: 1.4; }
.at-termine__text p { margin: 0 0 14.4px; }
.at-termine__anmelden a { font-family: var(--at-head); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--at-red); text-decoration: none; border-bottom: 2px solid currentColor; }
.at-termine__anmelden a:hover { color: var(--at-black); }
@media (max-width: 1024px) {
	.at-termine { padding: 80px 0; }
	.at-termine__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.at-termine { padding: 60px 0; }
	.at-termine__title { margin-bottom: 40px; }
	.at-termine__card { padding: 30px; }
}

/* ------------------------------------------------------------ Kopf mit Galerie */
.at-galkopf { padding: 120px 0 0; background: var(--at-white); }
.at-galkopf__head { padding-bottom: 120px; }
.at-galkopf__head .at-h6 { margin-bottom: 23px; }
.at-galkopf__title { max-width: 694px; }
.at-galerie { overflow: hidden; }
.at-galerie__track { display: flex; transition: transform .8s ease; }
.at-galerie__slide { flex: 0 0 50%; }
.at-galerie__slide img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
@media (max-width: 1024px) {
	.at-galkopf { padding-top: 80px; }
	.at-galkopf__head { padding-bottom: 80px; }
}
@media (max-width: 767px) {
	.at-galkopf { padding-top: 40px; }
	.at-galkopf__head { padding-bottom: 40px; }
	.at-galkopf__title { font-size: 10vw; }
	.at-galerie__slide { flex-basis: 100%; }
}

/* ------------------------------------------------------------ Termine Fahrsicherheitstraining */
.at-fsttermine { padding: 120px 0; }
.at-fsttermine__card { background: var(--at-white); padding: 50px; }
.at-fsttermine__title { font-size: 36px; color: var(--at-red); max-width: 75%; margin: 0; }
.at-fsttermine .at-termine__line { margin: 10px 0 40px; }
@media (max-width: 1024px) { .at-fsttermine { padding: 80px 0; } }
@media (max-width: 767px) {
	.at-fsttermine { padding: 60px 0; }
	.at-fsttermine__card { padding: 30px; }
	.at-fsttermine__title { max-width: 100%; }
}

/* ------------------------------------------------------------ Prüfungstermine */
.at-pruefung { padding: 0 0 120px; }
.at-pruefung__group + .at-pruefung__group { margin-top: 40px; }
.at-pruefung__title { margin: 8px 0 16px; }
.at-pruefung__note { color: var(--at-red); margin: 0 0 20px; }
.at-pruefung__note a { color: var(--at-red); }
@media (max-width: 1024px) { .at-pruefung { padding-bottom: 80px; } }
@media (max-width: 767px) { .at-pruefung { padding-bottom: 60px; } }

/* Umschalter Standort */
.at-pt__tabs { display: inline-flex; gap: 0; margin: 0 0 50px; border: 2px solid var(--at-black); }
.at-pt__tab { font-family: var(--at-head); font-weight: 700; font-size: 20px; text-transform: uppercase; padding: 14px 34px; background: var(--at-white); color: var(--at-black); transition: background .2s, color .2s; }
.at-pt__tab + .at-pt__tab { border-left: 2px solid var(--at-black); }
.at-pt__tab[aria-selected="true"] { background: var(--at-red); color: var(--at-white); }
.at-pt__tab:not([aria-selected="true"]):hover { background: var(--at-grey); }
.at-pt__panel + .at-pt__panel { margin-top: 70px; }
.has-tabs .at-pt__panel + .at-pt__panel { margin-top: 0; }
.has-tabs .at-pt__ort { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.at-pt__ort { color: var(--at-red); margin: 0 0 30px; }

/* Gruppe */
.at-pt__group + .at-pt__group { margin-top: 70px; }
.at-pt__head { margin: 0 0 24px; }
.at-pt__title { margin: 0 0 10px; }
.at-pt__head .at-pruefung__note { margin: 0; }
.at-pt__empty { margin: 0; padding: 24px 30px; background: var(--at-white); }

/* Prüfungsdurchgänge */
.at-pt__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.at-pt__card { position: relative; background: var(--at-white); padding: 34px 30px 30px; border-top: 5px solid var(--at-line); }
.at-pt__card.is-next { border-top-color: var(--at-red); box-shadow: 0 14px 40px rgba(0, 0, 0, .08); }
.at-pt__badge { position: absolute; top: 0; right: 0; background: var(--at-red); color: var(--at-white); font-family: var(--at-head); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px 5px; }
.at-pt__kicker { margin: 0; font-family: var(--at-head); font-weight: 500; font-size: 14px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--at-red); }
.at-pt__when { margin: 2px 0 26px; font-family: var(--at-head); font-weight: 700; font-size: 30px; line-height: 1.1; text-transform: uppercase; }
.at-pt__steps { list-style: none; margin: 0; padding: 0; }
.at-pt__step { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 0 0 22px; }
.at-pt__step:last-child { padding-bottom: 0; }
.at-pt__step:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 36px; bottom: 4px; width: 2px; background: var(--at-line); }
.at-pt__num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--at-black); color: var(--at-white); font-family: var(--at-head); font-weight: 700; font-size: 17px; line-height: 1; }
.at-pt__step:last-child .at-pt__num { background: var(--at-red); }
.at-pt__info { display: flex; flex-direction: column; padding-top: 5px; line-height: 1.35; }
.at-pt__label { font-family: var(--at-head); font-weight: 700; font-size: 19px; text-transform: uppercase; line-height: 1.1; }
.at-pt__unter { font-size: 14px; color: #555; margin-top: 2px; }
.at-pt__date { font-weight: 700; margin-top: 6px; }
.at-pt__date em { font-style: normal; font-weight: 400; font-size: 13px; color: #777; margin-left: 6px; }
.at-pt__time { font-size: 15px; }
.at-pt__hint { font-size: 14px; color: #555; }
.at-pt__step.is-past .at-pt__info { opacity: .45; }
.at-pt__step.is-past .at-pt__num { background: var(--at-line); color: var(--at-black); }

/* Datumsliste (z. B. Moped) */
.at-pt__dates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.at-pt__chip { display: flex; flex-direction: column; background: var(--at-white); padding: 18px 20px; border-left: 4px solid var(--at-line); }
.at-pt__chip.is-next { border-left-color: var(--at-red); }
.at-pt__day { font-family: var(--at-head); font-weight: 500; font-size: 14px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--at-red); }
.at-pt__chipdate { font-family: var(--at-head); font-weight: 700; font-size: 24px; line-height: 1.15; }

@media (max-width: 1024px) {
	.at-pt__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.at-pt__tabs { margin-bottom: 40px; }
}
@media (max-width: 767px) {
	.at-pt__grid { grid-template-columns: 1fr; gap: 36px; }
	.at-pt__tabs { display: flex; margin-bottom: 30px; }
	.at-pt__tab { flex: 1; padding: 12px 10px; font-size: 18px; }
	.at-pt__card { padding: 30px 22px 24px; }
	.at-pt__when { font-size: 26px; }
	.at-pt__dates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.at-pt__chip { padding: 14px 16px; }
	.at-pt__chipdate { font-size: 21px; }
	.at-pt__group + .at-pt__group { margin-top: 50px; }
}

/* ------------------------------------------------------------ Standorte */
.at-standorte { padding: 120px 0 0; }
.at-standorte__head { padding-bottom: 70px; display: flex; flex-direction: column; gap: 20px; }
.at-standorte__head .at-h1, .at-standorte__head .at-rich { max-width: 968px; }
.at-standorte__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.at-standort { background: var(--at-white); box-shadow: 0 1px 20px 0 rgba(0, 0, 0, .04); display: flex; flex-direction: column; }
.at-standort__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.at-standort__body { padding: 50px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.at-standort__icon { width: 45px; height: 45px; color: var(--at-black); }
.at-standort__name { line-height: 37px; margin: 5px 0 -6px; }
.at-standort__body .at-btn { margin-top: 9px; }
.at-standort__text { margin: 0; }
.at-standort__text a { color: inherit; }
.at-standort__text a:hover { color: var(--at-red); }
@media (max-width: 1024px) {
	.at-standorte { padding-top: 80px; }
	.at-standorte__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.at-standorte { padding-top: 60px; }
	.at-standorte__head { padding-bottom: 40px; }
	.at-standort__body { padding: 30px; }
}

/* ------------------------------------------------------------ Team */
.at-team { padding: 120px 0; }
.at-team__head { padding-bottom: 70px; display: flex; flex-direction: column; gap: 20px; }
.at-team__head .at-h1, .at-team__head .at-rich { max-width: 968px; }
.at-team__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 30px; }
.at-person { background: var(--at-white); display: flex; flex-direction: column; }
.at-person__img { aspect-ratio: 410 / 273; background: var(--at-white); }
.at-person__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.at-person__body { padding: 40px; display: flex; flex-direction: column; flex: 1; }
.at-person__name { line-height: 37px; margin: -4px 0 8px; }
.at-person__job { margin: 0; }
.at-person__line { border: 0; border-top: 1px solid var(--at-line); margin: 45px 0 24px; width: 100%; }
.at-person__klassen { color: var(--at-red); min-height: 26px; margin: 0; }
@media (max-width: 1024px) {
	.at-team { padding: 80px 0; }
	.at-team__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.at-team { padding: 60px 0; }
	.at-team__grid { grid-template-columns: 1fr; }
	.at-person__body { padding: 30px; }
}

/* ------------------------------------------------------------ Videos */
.at-videos { padding: 0 0 120px; }
.at-videos__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; }
.at-video { position: relative; aspect-ratio: 16 / 9; background: var(--at-black); overflow: hidden; }
.at-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.at-video__poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; display: block; }
.at-video__poster img { width: 100%; height: 100%; object-fit: cover; }
.at-video__play {
	position: absolute; left: 50%; top: 50%; width: 100px; height: 100px; transform: translate(-50%, -50%);
	color: rgba(255, 255, 255, .8); filter: drop-shadow(1px 0 6px rgba(0, 0, 0, .3)); transition: color .3s;
}
.at-video__play .at-icon { width: 100%; height: 100%; }
.at-video__poster:hover .at-video__play { color: var(--at-white); }
.at-video__ask {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
	background: rgba(0, 0, 0, .78); color: var(--at-white); text-align: center; padding: 20px;
}
.at-video__ask p { margin: 0; max-width: 420px; }
@media (max-width: 1024px) {
	.at-videos { padding-bottom: 80px; }
	.at-videos__grid { gap: 30px; }
}
@media (max-width: 767px) {
	.at-videos { padding-bottom: 60px; }
	.at-videos__grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ Preisliste */
.at-preisliste { padding: 60px 0 0; }
@media (max-width: 767px) { .at-preisliste { padding: 40px 0 0; } }

/* ------------------------------------------------------------ Rechtstext */
.at-recht { padding: 100px 0; }
.at-recht__card { background: var(--at-white); padding: 100px; }
.at-recht__title { font-size: 42px; margin-bottom: 28px; }
.at-recht__sub { font-size: 24px; margin: 8px 0 16px; }
.at-recht--gross .at-recht__sub { font-size: 30px; margin: 40px 0 20px; }
.at-recht__part + .at-recht__part { margin-top: 40px; }
.at-recht--trenner .at-recht__part + .at-recht__part { border-top: 1px solid var(--at-line); padding-top: 30px; margin-top: 29px; }
/* Wie bisher: am Tablet ohne Seitenrand, am Handy weisse Fläche ohne Abstand. */
.at-recht.at-bg--grau { background: #F3F3F3; }
@media (max-width: 1024px) {
	.at-recht .at-wrap { padding-left: 0; padding-right: 0; }
}
@media (max-width: 767px) {
	.at-recht { padding: 0; }
	.at-recht__card { padding: 40px 20px; }
}

/* ------------------------------------------------------------ Chatbot (Zwei-Klick) */
.at-chat { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.at-chat__toggle {
	width: 60px; height: 60px; border-radius: 50%; background: var(--at-red); color: var(--at-white);
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .25); transition: background-color .3s;
}
.at-chat__toggle:hover { background: var(--at-black); }
.at-chat__toggle svg { width: 30px; height: 30px; }
.at-chat__panel {
	position: relative; width: 340px; max-width: calc(100vw - 40px);
	background: var(--at-white); padding: 28px 28px 24px; box-shadow: 0 6px 30px rgba(0, 0, 0, .18);
	font-size: 14px; line-height: 1.5;
}
.at-chat__panel[hidden] { display: none; }
.at-chat__close { position: absolute; top: 8px; right: 12px; font-size: 26px; line-height: 1; color: var(--at-red); }
.at-chat__title { font-family: var(--at-head); font-weight: 700; font-size: 22px; line-height: 1.1; text-transform: uppercase; margin: 0 24px 12px 0; }
.at-chat__text { margin: 0 0 18px; }
.at-chat__text a { color: var(--at-red); text-decoration: underline; }
.at-chat__start { width: 100%; }
.at-video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }

/* Wie bisher: der letzte Absatz im Text behält seinen Abstand (Elementor-Textfeld). */
.at-bildkopf__text p:last-child, .at-cta__box .at-rich p:last-child { margin-bottom: 14.4px; }
.at-akk__note .at-h5 { font-size: 36px; line-height: 1.1; max-width: 75%; }
@media (max-width: 1024px) {
	.at-akk__note { flex-direction: column; gap: 25px; text-align: center; }
	.at-akk__note .at-h5 { max-width: 65%; }
}
@media (max-width: 767px) {
	.at-akk__note { padding: 50px 30px; }
	.at-akk__note .at-h5 { max-width: 100%; }
}

/* Überschriften im Fliesstext (wie bisher: Abstand oben 8 px, unten 16 px). */
.at-rich h1, .at-rich h2, .at-rich h3, .at-rich h4, .at-rich h5, .at-rich h6 { margin: 8px 0 16px; }
.at-recht .at-rich p:last-child { margin-bottom: 14.4px; }
.at-recht__part + .at-recht__part { margin-top: 20px; }

@media (max-width: 767px) {
	.at-bildbox__text .at-btn { align-self: stretch; }
}
.at-bildbox__text .at-rich p { margin-bottom: 22.4px; }
.at-bildbox__text .at-rich p:last-child { margin-bottom: 0; }

/* Handy: Masse wie bisher */
@media (max-width: 767px) {
	.at-akk--reifen { padding: 40px 0; }
	.at-akk--reifen .at-wrap { padding-left: 40px; padding-right: 40px; }
	.at-akk__title { font-size: 28px; }
	.at-acc__col h3 { font-size: 30px; }
	.at-termine__title { font-size: 10vw; margin-bottom: 50px; }
	.at-termine__card { padding: 20px; }
	.at-termine__grid { grid-template-columns: 1fr; }
	.at-cta__box { padding: 40px; }
	.at-team__title, .at-standorte__title { font-size: 10vw; }
	.at-team__head, .at-standorte__head { gap: 30px; padding-bottom: 50px; }
	.at-team__head { padding-bottom: 60px; }
	.at-person__line { margin-top: 65px; }
	.at-standort__body { padding: 50px; }
	.at-standort__body .at-btn { align-self: stretch; }
	.at-standorte__grid { gap: 20px; }
	.at-person__body { padding: 40px; }
	.at-band--oben { padding: 0; }
}

/* Köpfe von Team und Standorten wie bisher (Überschrift −7 px, Text −6 px). */
.at-team__head, .at-standorte__head { gap: 21px; }
.at-team__head .at-h1, .at-standorte__head .at-h1 { margin-top: -7px; }
.at-team__head .at-rich p:last-child, .at-standorte__head .at-rich p:last-child { margin-bottom: -6px; }
.at-fsttermine__title { margin-top: -5px; }

.at-recht .at-rich h5 { margin: 30px 0 20px; }
.at-recht .at-rich ul { margin-bottom: 0; }
.at-fsttermine__text p:last-child { margin-bottom: 14.4px; }

/* Tablet: Masse wie bisher */
@media (max-width: 1024px) and (min-width: 768px) {
	.at-akk--reifen { padding: 0; }
	.at-akk--reifen .at-wrap { padding-left: 0; padding-right: 0; }
	.at-galkopf__head { text-align: center; padding-bottom: 164px; }
	.at-galkopf__head .at-h6 { margin-bottom: 18px; }
	.at-galkopf__title { max-width: 425px; margin: 0 auto; }
	.at-fsttermine { padding: 120px 0; }
	.at-fsttermine__card { width: calc(50% - 15px); padding: 50px 20px 50px 50px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px 30px; align-items: start; }
	.at-fsttermine .at-termine__line { margin: 0; }
	.at-fsttermine__title { max-width: none; }
	.at-akk--weiss { padding-bottom: 120px; }
	.at-standort__img img { height: auto; aspect-ratio: 3 / 2; }
}

/* Rasterzellen dürfen schmaler werden als ihr längstes Wort (lange Wörter
   ragen wie bisher über den Innenabstand hinaus, statt das Raster zu weiten). */
.at-sec [class*="__grid"] > * { min-width: 0; }

/* ------------------------------------------------------------ Kurstermine und Trainings (Karten, Kacheln) */
.at-pt__tabs--center { display: flex; width: max-content; margin: 0 auto 50px; }
.at-kt__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; align-items: start; }
.at-kt__card { position: relative; min-width: 0; background: var(--at-white); padding: 34px 30px 30px; border-top: 5px solid var(--at-line); }
.at-kt__card.is-next { border-top-color: var(--at-red); box-shadow: 0 14px 40px rgba(0, 0, 0, .08); }
.at-kt__card .at-pt__badge ~ .at-kt__name { padding-right: 110px; }
.at-kt__name { margin: 0 0 18px; font-size: 24px; line-height: 1.1; }
.at-kt__spans { list-style: none; margin: 0; padding: 0; }
.at-kt__spans li { display: flex; flex-direction: column; }
.at-kt__spans li + li { margin-top: 14px; }
.at-kt__date { font-weight: 700; }
.at-kt__time { font-size: 15px; }
.at-kt__notes { margin-top: 16px; font-size: 15px; line-height: 1.4; }
.at-kt__notes p { margin: 0 0 2px; }
.at-kt__notes hr { border: 0; border-top: 1px solid var(--at-line); margin: 12px 0; width: 60px; }
.at-kt__notes .at-kt__highlight { margin-top: 12px; font-family: var(--at-head); font-weight: 700; font-size: 19px; text-transform: uppercase; color: var(--at-red); }
.at-kt__notes .at-kt__or { font-size: 13px; color: #777; }
.at-kt__info { min-width: 0; background: var(--at-white); padding: 34px 30px 30px; border-top: 5px solid var(--at-black); }
.at-kt__info .at-kt__name { margin-bottom: 12px; }
.at-kt__info .at-kt__notes { margin-top: 0; }
.at-kt__cards + .at-pt__dates, .at-pt__dates + .at-kt__cards { margin-top: 30px; }
.at-pt__chipdate--multi { font-size: 19px; line-height: 1.25; }
.at-pt__badge.is-full { background: var(--at-black); }
.at-pt__plaetze { margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--at-red); }
.at-pt__plaetze.is-full { color: #777; }
.at-termine .at-pt__group + .at-pt__group { margin-top: 60px; }
.at-termine .at-pt__head { margin-bottom: 20px; }

/* Fahrsicherheitstraining */
.at-fsttermine__title { color: var(--at-red); font-size: 36px; margin: 0 0 40px; max-width: none; }
.at-fsttermine__list { max-width: 100%; }

@media (max-width: 1024px) {
	.at-kt__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.at-pt__tabs--center { margin-bottom: 40px; }
}
@media (max-width: 767px) {
	.at-kt__cards { grid-template-columns: 1fr; gap: 24px; }
	.at-kt__card { padding: 30px 22px 24px; }
	.at-pt__tabs--center { width: auto; margin-bottom: 30px; }
	.at-kt__info { padding: 30px 22px 24px; }
	.at-fsttermine__title { font-size: 28px; margin-bottom: 30px; }
}

/* Termine aus drively */
.at-alletermine { padding: 120px 0; }
.at-alletermine__title { margin: 0 0 40px; }
.at-pt__dates--wide { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.at-pt__chiptitle { font-weight: 700; margin-top: 4px; }
@media (max-width: 1024px) { .at-alletermine { padding: 80px 0; } }
@media (max-width: 767px) { .at-alletermine { padding: 60px 0; } .at-pt__dates--wide { grid-template-columns: 1fr; } }

/* Kurstermine auf Weiss: Liste mit hellgrauer Fläche absetzen. */
.at-termine.at-bg--weiss .at-tl, .at-termine.at-bg--weiss .at-tl__empty { background: var(--at-grey); }
.at-termine.at-bg--weiss .at-tl__row + .at-tl__row { border-top-color: #E2E2E2; }
.at-termine.at-bg--weiss .at-tl__row.is-laufend { background: #EFEFEF; }

/* ------------------------------------------------------------ Terminliste (einheitlich für alle Termine) */
.at-tl { list-style: none; margin: 0; padding: 0; background: var(--at-white); }
.at-tl__row { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) 220px 170px; gap: 0 32px; align-items: center; padding: 22px 30px 22px 26px; border-left: 4px solid transparent; }
.at-tl__row + .at-tl__row { border-top: 1px solid #E6E6E6; }
.at-tl__row.is-next { border-left-color: var(--at-red); }
.at-tl__date { display: flex; flex-direction: column; line-height: 1; }
.at-tl__wd { font-family: var(--at-head); font-weight: 500; font-size: 14px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--at-red); }
.at-tl__dm { font-family: var(--at-head); font-weight: 700; font-size: 32px; margin-top: 4px; }
.at-tl__dm--icon { font-size: 36px; line-height: .9; }
.at-tl__y { font-size: 13px; color: #777; margin-top: 4px; }
.at-tl__main p { margin: 0; }
.at-tl__title { font-family: var(--at-head); font-weight: 700; font-size: 21px; line-height: 1.15; text-transform: uppercase; }
.at-tl__sub { font-size: 14px; color: #666; margin-top: 2px !important; }
.at-tl__details { list-style: none; margin: 6px 0 0; padding: 0; font-size: 15px; line-height: 1.45; }
.at-tl__details .is-strong { font-weight: 700; color: var(--at-red); margin-top: 4px; }
.at-tl__sep { height: 1px; width: 48px; background: var(--at-line); margin: 8px 0; }
.at-tl__time { display: flex; flex-direction: column; font-size: 16px; line-height: 1.45; }
.at-tl__status { text-align: right; }
.at-tl__tag { display: inline-block; font-family: var(--at-head); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; line-height: 1; padding: 7px 10px 6px; border: 2px solid var(--at-red); color: var(--at-red); white-space: nowrap; }
.at-tl__tag.is-next { background: var(--at-red); color: var(--at-white); }
.at-tl__tag.is-full { border-color: #999; color: #777; }
.at-tl__row.is-laufend { background: #FAFAFA; }
.at-tl__empty { margin: 0; padding: 24px 30px; background: var(--at-white); }

@media (max-width: 1024px) {
	.at-tl__row { grid-template-columns: 84px minmax(0, 1fr) 180px; }
	.at-tl__status { grid-column: 2 / -1; text-align: left; }
	.at-tl__status:not(:empty) { margin-top: 10px; }
}
@media (max-width: 767px) {
	.at-tl__row { grid-template-columns: 64px minmax(0, 1fr); gap: 0 18px; padding: 18px 18px 18px 14px; align-items: start; }
	.at-tl__dm { font-size: 24px; }
	.at-tl__title { font-size: 19px; }
	.at-tl__time, .at-tl__status { grid-column: 2; }
	.at-tl__time { margin-top: 6px; font-size: 15px; }
	.at-tl__time:empty { display: none; }
}

/* ------------------------------------------------------------ Was darf ich lenken? — eine Zeile je Klasse */
.at-kl { display: flex; flex-direction: column; gap: 20px; }
.at-kl__row { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(300px, 400px); gap: 0 50px; align-items: start; background: var(--at-white); padding: 40px 44px; border-left: 5px solid var(--at-red); }
.at-kl__label, .at-kl__head { display: block; margin: 0 0 14px; font-family: var(--at-head); font-weight: 500; font-size: 14px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--at-red); }
.at-kl__label { margin-bottom: 6px; }
.at-kl__head { margin-bottom: 18px; font-weight: 700; font-size: 24px; letter-spacing: 0; line-height: 1.1; color: var(--at-black); padding-bottom: 12px; border-bottom: 2px solid var(--at-red); }
.at-kl__alter .at-kl__head { font-size: 22px; }
.at-kl__code { margin: 0; font-size: 56px; line-height: .95; color: var(--at-black); overflow-wrap: anywhere; }
.at-kl__sub { margin: 18px 0 10px; font-size: 18px; color: var(--at-black); }
.at-kl__darf .at-check li { padding-bottom: 0; }
.at-kl__darf .at-check li + li { margin-top: 10px; }
.at-kl__alter { background: var(--at-grey); padding: 24px 26px; }
.at-kl__ages { margin: 0; }
.at-kl__age { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 14px 0; }
.at-kl__age + .at-kl__age { border-top: 1px solid #E0E0E0; }
.at-kl__age:first-child { padding-top: 0; }
.at-kl__age:last-child { padding-bottom: 0; }
.at-kl__age dt { font-family: var(--at-head); font-weight: 700; font-size: 17px; text-transform: uppercase; line-height: 1.2; }
.at-kl__age dd { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.at-kl__val { display: flex; flex-direction: column; }
.at-kl__val strong { font-family: var(--at-head); font-weight: 700; font-size: 30px; line-height: 1; }
.at-kl__val small { font-size: 13px; line-height: 1.3; color: #555; margin-top: 3px; }
.at-kl__val--text { grid-column: 1 / -1; }
.at-kl__text { font-size: 15px; line-height: 1.4; }
@media (max-width: 1024px) {
	.at-kl__row { grid-template-columns: 110px minmax(0, 1fr); gap: 30px 36px; padding: 34px 32px; }
	.at-kl__alter { grid-column: 2; }
	.at-kl__code { font-size: 46px; }
}
@media (max-width: 767px) {
	.at-kl__head { font-size: 21px; }
	.at-kl__row { grid-template-columns: 1fr; gap: 24px; padding: 26px 22px; }
	.at-kl__alter { grid-column: auto; padding: 20px; }
	.at-kl__code { font-size: 44px; }
}

/* Linien links und rechts auf einer Höhe: Spalten beginnen mit dem Innenabstand der Altersbox. */
@media (min-width: 1025px) {
	.at-kl__klasse, .at-kl__darf { padding-top: 24px; }
}
@media (max-width: 1024px) and (min-width: 768px) {
	.at-kl__klasse { padding-top: 0; }
}

/* ------------------------------------------------------------ Team (Leitung gross, Team als Porträt-Raster) */
.at-team__leitung { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-bottom: 30px; }
.at-lead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: var(--at-white); }
.at-lead__img { aspect-ratio: 4 / 5; overflow: hidden; background: #E9E9E9; }
.at-lead__img img, .at-member__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.at-lead__body { display: flex; flex-direction: column; justify-content: center; padding: 40px 36px; border-top: 5px solid var(--at-red); }
.at-lead__kicker { margin: 0 0 10px; font-family: var(--at-head); font-weight: 500; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--at-red); }
.at-lead__name { margin: 0 0 12px; font-size: var(--at-fs-h3, 30px); line-height: 1.05; }
.at-lead__job { margin: 0 0 24px; color: #444; }

.at-team__grid { display: grid; grid-template-columns: repeat(var(--at-team-cols, 4), minmax(0, 1fr)); grid-auto-rows: auto; gap: 30px; }
.at-member { display: flex; flex-direction: column; background: var(--at-white); }
.at-member__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #E9E9E9; }
.at-member__img img { transition: transform .5s ease; }
.at-member:hover .at-member__img img { transform: scale(1.04); }
.at-member__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.at-member__name { margin: 0 0 6px; font-size: var(--at-fs-h4, 22px); line-height: 1.1; }
.at-member__job { margin: 0 0 16px; font-size: 15px; line-height: 1.45; color: #555; }
.at-member__initials, .at-lead__img .at-member__initials {
	position: absolute; inset: 0; display: grid; place-items: center;
	font-family: var(--at-head); font-weight: 700; font-size: clamp(56px, 6vw, 88px); letter-spacing: .02em; color: #BDBDBD;
}

.at-member__klassen { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 0; }
.at-member__klassen li { font-family: var(--at-head); font-weight: 700; font-size: 14px; line-height: 1; padding: 6px 8px 5px; border: 1.5px solid var(--at-red); color: var(--at-red); }
.at-lead .at-member__klassen { margin-top: 0; }
.at-lead .at-member__klassen li { font-size: 15px; padding: 7px 10px 6px; }

@media (max-width: 1240px) {
	.at-team__leitung { grid-template-columns: 1fr; }
	.at-lead { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
	.at-team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.at-lead { grid-template-columns: 1fr; }
	.at-lead__body { padding: 26px 22px 28px; }
	.at-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.at-member__body { padding: 14px 14px 16px; }
	.at-member__name { font-size: 17px; }
	.at-member__job { font-size: 13px; margin-bottom: 10px; }
	.at-member__klassen li { font-size: 12px; padding: 5px 6px 4px; }
}
