/*
 * ait-gotha.de – Layout (abgeleitet aus fileadmin/templates/css/ait.css, TYPO3 6.2)
 * Farben: Grün #13713a, Gelb #f5cc03. Bilder liegen in ../Images/.
 * Aufbau: mobil einspaltig; ab 900px Seitenleiste + Inhalt; ab 1085px Originalmaße.
 */

:root {
    --ait-green: #13713a;
    --ait-green-dark: #0d5229;
    --ait-yellow: #f5cc03;
    --ait-text: #1a1a1a;
    --ait-muted: #555;
    --ait-border: #ccc;
    --ait-light: #e9eaea;
    --ait-max: 1085px;
}

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

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

body {
    margin: 0;
    background: #f4f2ec url(../Images/bg.jpg) repeat 0 0;
    color: var(--ait-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.875rem;          /* 14px wie bisher, aber zoombar */
    line-height: 1.6;
}

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

p { margin: 0 0 1em; }

h1, h2, h3, h4, h5, h6 { margin: 0.7em 0 0.5em; line-height: 1.25; }
h1 { font-size: 1.7rem; }
h2 { font-size: 1.6rem; color: var(--ait-green); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.2rem; }
h5, h6 { font-size: 1.05rem; }

hr { border: 0; border-bottom: 1px solid var(--ait-border); margin: 1.5em 0; }

a { color: var(--ait-green); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--ait-green-dark); text-decoration-thickness: 2px; }

/* Fokus gut sichtbar auf hellem und dunklem Grund */
:focus-visible {
    outline: 2px solid #000;
    outline-offset: 0;
    box-shadow: 0 0 0 4px var(--ait-yellow);
}

.align-right, .text-end { text-align: right; }
.align-left, .text-start { text-align: left; }
.align-center, .text-center { text-align: center; }
.align-justify { text-align: justify; }

/* Nur für Screenreader */
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip-Link */
.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 1000;
    padding: 0.6rem 1rem;
    background: var(--ait-yellow);
    color: #000;
    font-weight: bold;
    text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.outerwrapper {
    width: 100%;
    max-width: var(--ait-max);
    margin: 0 auto;
}

/* ---------- Kopfbereich ---------- */
.site-header .outerwrapper {
    position: relative;
    background: #13713a url(../Images/top-image.png) no-repeat 0 0;
    background-size: cover;
}

.header-inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 0 1rem 1.25rem;
    min-height: 220px;
}

/* Top-Menü: Home / Mail / Sitemap als Symbole */
.top-menu { order: 1; width: 100%; display: flex; justify-content: flex-end; }
.top-menu ul { display: flex; margin: 0; padding: 0; list-style: none; }
.top-menu__item { width: 32px; height: 53px; margin-left: 15px; }
.top-menu__item a {
    display: block;
    width: 32px;
    height: 53px;
    background-repeat: no-repeat;
    background-position: 9px 20px;   /* wie bisher: Symbol 11x9 px */
}
.top-menu__item:hover,
.top-menu__item:focus-within {
    background: url(../Images/tn-active.png) no-repeat 0 0;
}
.top-menu__item--home a { background-image: url(../Images/top-home.png); }
.top-menu__item--mail a { background-image: url(../Images/top-mail.png); }
.top-menu__item--sitemap a { background-image: url(../Images/top-sitemap.png); }
.top-menu__item--home a:hover, .top-menu__item--home a:focus-visible { background-image: url(../Images/top-home-act.png); }
.top-menu__item--mail a:hover, .top-menu__item--mail a:focus-visible { background-image: url(../Images/top-mail-act.png); }
.top-menu__item--sitemap a:hover, .top-menu__item--sitemap a:focus-visible { background-image: url(../Images/top-sitemap-act.png); }

.logo { order: 2; width: 100%; margin-top: 0.5rem; }
.logo a { display: inline-block; }
.logo img { display: block; max-width: min(100%, 320px); }

.infobox {
    order: 3;
    width: 100%;
    max-width: 380px;
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    color: #fff;
    text-align: right;
    background: rgba(0, 0, 0, 0.45);   /* Kontrast auf dem Kopfbild (mobil) */
}
.infobox p { margin: 0; }
.infobox__phone { display: flex; justify-content: flex-end; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.infobox__phone-label { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 0.95rem; line-height: 1.1; text-align: right; }
.infobox__phone-number { font-family: Tahoma, Verdana, sans-serif; font-size: 1.4rem; font-weight: bold; color: #fff; text-decoration: none; }
a.infobox__phone-number:hover { color: var(--ait-yellow); text-decoration: underline; }
.infobox__slogan {
    margin-top: 1rem !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.5;
}
.infobox__slogan b { font-weight: normal; color: var(--ait-yellow); }

/* ---------- Hauptbereich ---------- */
.site-main .outerwrapper { background: transparent; }
.main-inner { display: flex; flex-direction: column; }

/* Hauptmenü */
.navigation { padding: 1rem 1rem 0; }
.nav-toggle {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    min-height: 44px;
    padding: 0.6rem 1rem;
    border: 0;
    background: var(--ait-green);
    color: #fff;
    font: bold 1rem/1.2 Georgia, "Times New Roman", serif;
    text-transform: uppercase;
    cursor: pointer;
}
.nav-toggle[hidden] { display: none; }
.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s;
}
.nav-toggle__icon { position: relative; }
.nav-toggle__icon::before, .nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icon::before { top: -7px; }
.nav-toggle__icon::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-7px) rotate(-45deg); }

.main-nav { margin: 0; padding: 0; list-style: none; background: rgba(255, 255, 255, 0.85); }
.js-nav-collapsed .main-nav { display: none; }
.main-nav li { border-bottom: 1px solid var(--ait-light); }
.main-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--ait-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    text-decoration: underline;
}
.main-nav a:hover,
.main-nav li.current > a {
    color: #000;
    text-decoration: none;
    background: var(--ait-yellow);
}

/* Inhalt */
.maincontent { padding: 1rem 1rem 2rem; min-width: 0; }
.maincontent:focus { outline: none; }
.pagetitle { margin-top: 0.3em; }

.maincontent ul { margin: 0 0 1em; padding: 0; list-style: none; }
.maincontent ul li {
    position: relative;
    margin: 0 0 0.9em;
    padding: 0 0 0 15px;
    line-height: 1.5;
    background: url(../Images/li.gif) no-repeat 0 0.6em;
}
.maincontent ol { margin: 0 0 1em 1.5em; padding: 0; }

/* ---------- fluid_styled_content ---------- */
.frame { margin-bottom: 1.5rem; }
.frame-space-before-small { margin-top: 1rem; }
.frame-space-before-medium { margin-top: 2rem; }
.frame-space-before-large { margin-top: 3rem; }
.frame-space-after-small { margin-bottom: 1rem; }
.frame-space-after-medium { margin-bottom: 2rem; }
.frame-space-after-large { margin-bottom: 3rem; }
.frame-ruler-before::before { content: ""; display: block; border-top: 1px solid var(--ait-border); margin-bottom: 1.5rem; }
.frame-ruler-after::after { content: ""; display: block; border-bottom: 1px solid var(--ait-border); margin-top: 1.5rem; }

.ce-textpic, .ce-image, .ce-uploads, .ce-table { overflow: hidden; }
.ce-gallery figure { margin: 0; display: table; }
.ce-gallery img { display: block; }
.ce-gallery figcaption, .image-caption {
    display: table-caption;
    caption-side: bottom;
    padding-top: 0.3em;
    font-size: 0.8rem;
    color: var(--ait-muted);
}
.ce-border img, .ce-border iframe { border: 1px solid var(--ait-border); padding: 5px; background: #fff; }
.ce-gallery a.lightbox, .ce-gallery a[data-lightbox] { display: block; cursor: zoom-in; }

/* Text mit Bild: mobil immer untereinander */
@media (max-width: 599px) {
    .ce-intext.ce-left .ce-gallery,
    .ce-intext.ce-right .ce-gallery {
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100%;
    }
    .ce-column { float: none !important; width: 100% !important; margin-right: 0 !important; }
    .ce-gallery, .ce-gallery .ce-outer, .ce-gallery .ce-inner { float: none !important; position: static !important; right: auto !important; }
}

/* Tabellen */
.maincontent table, .ce-table, table.contenttable {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.5em;
    background: #eee;
    color: #404040;
}
.maincontent th, .maincontent td {
    border: 1px solid #fff;
    padding: 6px 10px;
    text-align: left;
    vertical-align: top;
}
.maincontent thead th, .ce-table thead th { background: var(--ait-green); color: #fff; }
.ce-table-striped tbody tr:nth-child(odd) { background: #f6f6f6; }
.table-scroll, .ce-table-wrap { overflow-x: auto; }
@media (max-width: 599px) {
    .ce-table { display: block; overflow-x: auto; }
}

/* Sitemap-Inhaltselement */
.maincontent .ce-menu ul ul,
.maincontent .csc-sitemap ul ul { margin: 0.6em 0 0.6em 20px; }

/* ---------- EXT:news (Standard-Templates news 14) ---------- */
.news-list-view .article {
    margin: 0 0 1.5rem;
    background: #fff;
    border: 1px solid var(--ait-light);
    overflow: hidden;
}
.news-list-view .article .header {
    background: var(--ait-green);
    padding: 0.4rem 1.25rem;
}
.news-list-view .article .header h3 { margin: 0.3em 0; font-size: 1.2rem; color: #fff; }
.news-list-view .article .header h3 a { color: #fff; text-decoration: none; }
.news-list-view .article .header h3 a:hover { text-decoration: underline; }
.news-list-view .article .news-img-wrap {
    float: left;
    margin: 1rem 1.5rem 1rem 1.25rem;
    max-width: 225px;
}
.news-list-view .article .news-img-wrap img,
.news-single .news-img-wrap img { border: 1px solid var(--ait-light); padding: 9px; background: #fff; }
.news-list-view .article .teaser-text { padding: 1rem 1.25rem 0; overflow: hidden; }
.news-list-view .article .teaser-text table,
.news-single .news-text-wrap table { width: auto; }
/* Datum gab es auf der alten Seite nicht */
.news-list-view .article .footer, .news-single .footer { display: none; }

/* Blätternavigation von news (ul.f3-widget-paginator): nur die untere, waagerecht */
.news-list-view > .f3-widget-paginator:first-child { display: none; }
.maincontent ul.f3-widget-paginator { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0; padding: 0; }
.maincontent ul.f3-widget-paginator li { margin: 0; padding: 0; background: none; }
.maincontent ul.f3-widget-paginator li > a,
.maincontent ul.f3-widget-paginator li.current {
    display: inline-block;
    min-width: 2.2em;
    padding: 0.3em 0.6em;
    border: 1px solid var(--ait-green);
    text-align: center;
    background: #fff;
}
.maincontent ul.f3-widget-paginator li.current { background: var(--ait-green); color: #fff; }
.news-list-view .article .more { display: inline-block; margin-top: 0.5rem; }
.news-list-view .article .footer {
    clear: both;
    padding: 0.4rem 1.25rem;
    font-size: 0.8rem;
    color: var(--ait-muted);
}
.news-list-view .article .footer p { margin: 0; }
.news-list-view .no-news-found { font-style: italic; }

.news-single .article .header h3, .news-single .article .header h1 { color: var(--ait-text); }
.news-single .footer { font-size: 0.8rem; color: var(--ait-muted); margin-bottom: 1rem; }
.news-single .footer p { margin: 0; }
.news-single .news-img-wrap { float: left; margin: 0 1.5rem 1rem 0; max-width: 45%; }
.news-single .news-img-wrap .outer { margin-bottom: 0.75rem; }
.news-single .news-img-caption { font-size: 0.75rem; color: var(--ait-muted); }
.news-single .news-text-wrap { overflow: hidden; }
.news-single .news-backlink-wrap { clear: both; padding-top: 1rem; }
.news-single .news-backlink-wrap a::before { content: "« "; }
.news-related-wrap { clear: both; }
.news .page-navigation ul { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0; }
.news .page-navigation ul li { margin: 0; padding: 0; background: none; }
.news .page-navigation a, .news .page-navigation .current {
    display: inline-block;
    min-width: 2.2em;
    padding: 0.3em 0.6em;
    border: 1px solid var(--ait-green);
    text-align: center;
}
.news .page-navigation .current { background: var(--ait-green); color: #fff; }

@media (max-width: 599px) {
    /* .maincontent davor: news bringt eigene Float-Regeln mit, die sonst gewinnen (Designtest 22.10.2026) */
    .maincontent .news-list-view .article .news-img-wrap,
    .maincontent .news-single .news-img-wrap { float: none; max-width: 100%; margin: 1rem 1.25rem 0; }
    .maincontent .news-single .news-img-wrap { margin: 0 0 1rem; }
    /* news-basic.css laesst auch die Links/Bilder IM Bildbereich umfliessen */
    .maincontent .news-list-view .article .news-img-wrap,
    .maincontent .news-single .news-img-wrap { overflow: hidden; }
    .maincontent .news-list-view .article .news-img-wrap *,
    .maincontent .news-single .news-img-wrap * { float: none; }
    .maincontent .news-list-view .article .teaser-text table,
    .maincontent .news-single .news-text-wrap table { width: 100%; }
}

/* ---------- EXT:form ---------- */
/* Formulartitel ausblenden: die Seite hat schon die Überschrift "Kontakt" (wie auf der alten Seite) */
.frame-type-form_formframework h2 { display: none; }
.maincontent form { max-width: 640px; }
.maincontent form fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.maincontent form legend { font-weight: bold; font-size: 1.1rem; margin-bottom: 0.5rem; }
.maincontent form .form-group,
.maincontent form .form-element,
.maincontent form .mb-3 { margin-bottom: 1rem; }
.maincontent form label,
.maincontent form .form-label { display: block; margin-bottom: 0.3rem; font-weight: bold; }
.maincontent form .form-check label,
.maincontent form .form-check-label { display: inline; font-weight: normal; }
.maincontent form .required { color: #b00020; font-weight: bold; }
.maincontent form input[type="text"],
.maincontent form input[type="email"],
.maincontent form input[type="tel"],
.maincontent form input[type="url"],
.maincontent form input[type="number"],
.maincontent form input[type="date"],
.maincontent form input[type="password"],
.maincontent form input[type="file"],
.maincontent form select,
.maincontent form textarea,
.maincontent form .form-control,
.maincontent form .form-select {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 0.5rem 0.65rem;
    border: 1px solid #767676;
    border-radius: 2px;
    background: #fff;
    color: var(--ait-text);
    font: inherit;
}
.maincontent form textarea { min-height: 8rem; resize: vertical; }
.maincontent form input:focus-visible,
.maincontent form select:focus-visible,
.maincontent form textarea:focus-visible { border-color: var(--ait-green); }
.maincontent form .form-check { display: flex; gap: 0.5rem; align-items: flex-start; margin-bottom: 0.4rem; }
.maincontent form .form-check-input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--ait-green); }
.maincontent form .help-block,
.maincontent form .form-text,
.maincontent form .inline-help { display: block; font-size: 0.8rem; color: var(--ait-muted); margin-top: 0.25rem; }

/* Fehler */
.maincontent form .has-error .form-control,
.maincontent form .is-invalid,
.maincontent form [aria-invalid="true"] { border: 2px solid #b00020; }
.maincontent form .error,
.maincontent form .has-error .help-block,
.maincontent form .invalid-feedback,
.maincontent form .error.help-block {
    display: block;
    margin-top: 0.25rem;
    color: #b00020;
    font-size: 0.85rem;
    font-weight: bold;
}

/* Schaltflächen */
.maincontent form .actions,
.maincontent form .form-navigation .btn-toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.maincontent form button,
.maincontent form input[type="submit"],
.maincontent form .btn {
    min-height: 44px;
    padding: 0.55rem 1.5rem;
    border: 2px solid var(--ait-green);
    border-radius: 2px;
    background: var(--ait-green);
    color: #fff;
    font: bold 1rem/1.2 Arial, Helvetica, sans-serif;
    cursor: pointer;
}
.maincontent form button:hover,
.maincontent form input[type="submit"]:hover,
.maincontent form .btn:hover { background: var(--ait-green-dark); border-color: var(--ait-green-dark); }
.maincontent form .btn-secondary,
.maincontent form .previous button { background: #ddd; border-color: #ddd; color: #000; }

/* Bestätigungstext nach dem Absenden */
.maincontent .form-confirmation, .maincontent .alert { padding: 0.75rem 1rem; border-left: 4px solid var(--ait-green); background: #fff; }

/* ---------- Fußbereich ---------- */
.site-footer {
    background: #3c3c3c url(../Images/footer-bg.jpg) repeat 0 0;
    color: #fff;
}
.footer-inner { position: relative; padding: 0.75rem 1rem 1rem; }
.skizze, .footerlogo { display: none; }

.footernavi ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.footernavi li + li::before { content: "|"; padding: 0 0.15rem; color: #fff; }
.footernavi a {
    display: inline-block;
    padding: 0.6rem 0.7rem;
    color: #fff;
    font-size: 0.8125rem;
    text-decoration: underline;
}
.footernavi a:hover, .footernavi a:focus-visible { background: var(--ait-yellow); color: #000; text-decoration: none; }

.credentials { margin-top: 0.5rem; }
.copyright { margin: 0; font-size: 0.8125rem; color: #fff; }
.copyright a { color: #fff; }
.copyright a:hover { color: var(--ait-yellow); }
.copyright__mail { display: block; }

/* Mobil: keine Trennstriche, die beim Umbruch verwaist am Zeilenanfang stehen */
@media (max-width: 599px) {
    .footernavi ul { gap: 0 0.5rem; }
    .footernavi li + li::before { content: none; }
}

/* ---------- ab 600px ---------- */
@media (min-width: 600px) {
    .header-inner { min-height: 300px; }
    .logo { width: auto; margin: 2.5rem 0 0 1rem; }
    .infobox { margin-left: 0; }
}

/* ---------- ab 900px: Seitenleiste + Inhalt ---------- */
@media (min-width: 900px) {
    .header-inner { display: block; height: 458px; padding: 0 22px 0 0; }
    .site-header .outerwrapper { background-size: auto; background-color: transparent; }
    .top-menu { position: absolute; top: 0; right: 45px; width: auto; }
    .logo { position: absolute; top: 59px; left: 32px; margin: 0; }
    .logo img { max-width: none; }
    .infobox {
        position: absolute;
        left: 10px;
        top: 255px;   /* gemessen gegen die alte Seite (Vergleich 22.10.2026) */
        width: 360px;
        margin: 0;
        padding: 0;
        background: none;
    }
    /* Werte 1:1 aus dem alten ait.css (.infobox table / td / p), Vergleich alt/neu 22.10.2026 */
    .infobox__phone { margin-top: 14px; align-items: center; gap: 0; }
    .infobox__phone-label { font-size: 15px; line-height: 15px; margin-right: 12px; text-align: right; }
    .infobox__phone-number { font-size: 22px; line-height: 1.2; }
    .infobox__slogan { font-size: 20px; line-height: normal; margin-top: 30px !important; }
    .infobox__claim { margin-top: 30px !important; }

    .main-inner {
        flex-direction: row;
        align-items: flex-start;
        min-height: 370px;
        max-width: 1040px;
        padding-bottom: 130px;   /* Platz für Skizze und Fußbild */
        background:
            url(../Images/bg-left.png) repeat-y 21px 0,
            url(../Images/bg-right.png) repeat-y 290px 0;
    }
    .navigation { flex: 0 0 275px; margin-left: 33px; padding: 0 0 25px; }
    .nav-toggle { display: none !important; }
    .js-nav-collapsed .main-nav { display: block; }
    .main-nav { background: none; }
    .main-nav li { border: 0; margin-bottom: 0; }
    .main-nav a {
        width: 262px;
        min-height: 34px;
        padding: 7px;
        line-height: 20px;
    }
    .main-nav a:hover,
    .main-nav li.current > a { background: url(../Images/navi-li-bg.png) no-repeat 0 0; }
    .maincontent { flex: 1 1 auto; margin-left: 20px; padding: 10px 10px 2rem; max-width: 710px; }

    .site-footer .outerwrapper { min-height: 105px; }
    .footer-inner { min-height: 105px; padding: 9px 0 0 35px; }
    .skizze {
        display: block;
        position: absolute;
        left: 52px;
        bottom: 100%;
        width: 232px;
        height: 208px;
        background: url(../Images/nav-skizze.png) no-repeat center bottom;
        pointer-events: none;
    }
    .footernavi { max-width: calc(100% - 500px); }
    .credentials {
        position: absolute;
        right: 0;
        bottom: 12px;
        width: 476px;
        margin: 0;
    }
    .footerlogo {
        display: block;
        width: 476px;
        height: 219px;
        background: url(../Images/footer-image.png) no-repeat 0 0;
    }
    .copyright { margin-top: -13px; }
    .copyright__mail { display: inline; margin-left: 0.5rem; }
}

/* zwischen 900 und 1084px: Kopfbild nicht abschneiden lassen */
@media (min-width: 900px) and (max-width: 1084px) {
    .credentials { width: 380px; }
    .footerlogo { width: 380px; height: 175px; background-size: contain; }
    .footernavi { max-width: calc(100% - 400px); }
}

/* ---------- Lightbox (main.js) ---------- */
.ait-lightbox {
    width: min(96vw, 1100px);
    max-width: none;
    max-height: 96vh;
    padding: 0;
    border: 0;
    background: #111;
    color: #fff;
}
.ait-lightbox::backdrop { background: rgba(0, 0, 0, 0.8); }
.ait-lightbox__figure { margin: 0; padding: 3rem 3.5rem 1rem; text-align: center; }
.ait-lightbox__img { display: block; margin: 0 auto; max-width: 100%; max-height: calc(96vh - 8rem); width: auto; height: auto; }
.ait-lightbox__caption { margin-top: 0.75rem; font-size: 0.9rem; min-height: 1.4em; }
.ait-lightbox__counter { font-size: 0.8rem; color: #ccc; }
.ait-lightbox__btn {
    position: absolute;
    min-width: 44px;
    min-height: 44px;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}
.ait-lightbox__btn:hover { background: var(--ait-green); }
.ait-lightbox__close { top: 0.5rem; right: 0.5rem; }
.ait-lightbox__prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.ait-lightbox__next { right: 0.5rem; top: 50%; transform: translateY(-50%); }
.ait-lightbox__btn[hidden] { display: none; }

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

@media print {
    .top-menu, .navigation, .skip-link, .skizze, .footerlogo, .footernavi { display: none !important; }
    .site-header .outerwrapper, body, .site-footer { background: none !important; color: #000; }
    .infobox { color: #000; background: none; }
    .main-inner { padding: 0; background: none !important; }
}
