/* acp.css */
@font-face{font-family: 'LucatoniBook';               src: url("/assets/css/fonts/lucatoni-book-webfont.eot");               src: url("/assets/css/fonts/lucatoni-book-webfont.eot#iefix") format('embedded-opentype'),  /* IE6-IE8 */                  url("/assets/css/fonts/lucatoni-book-webfont.woff") format('woff'),             /* Moderne Browser */                  url("/assets/css/fonts/lucatoni-book-webfont.ttf") format('truetype'),     /* Safari, Android, iOS */                  url("/assets/css/fonts/lucatoni-book-webfont.svg#svgFontName") format('svg'); /* Ältere iOS-Geräte */}@font-face{font-family: 'LucatoniBold';               src: url("/assets/css/fonts/lucatoni-bold-webfont.eot");               src: url("/assets/css/fonts/lucatoni-bold-webfont.eot#iefix") format('embedded-opentype'),  /* IE6-IE8 */                  url("/assets/css/fonts/lucatoni-bold-webfont.woff") format('woff'),             /* Moderne Browser */                  url("/assets/css/fonts/lucatoni-bold-webfont.ttf") format('truetype'),     /* Safari, Android, iOS */                  url("/assets/css/fonts/lucatoni-bold-webfont.svg#svgFontName") format('svg'); /* Ältere iOS-Geräte */}body{font:16px/22px "LucatoniBook",sans-serif;font-weight: 200;background: url("/hoehenlinien.svg") repeat center top transparent}#wrapper{width:auto}.inside,#main .inside{margin:0 auto;/*width: 960px;/* */                width: 100%}.slider-wrapper{background: black}figure{line-height:0}.flugzeug{margin-bottom:0;padding-top:30px}.flugzeug h3,.flugzeug h2{margin-top:0;padding-top:10px}.grid14{width:96%;padding:30px 0;margin: o 2% !important;box-sizing: border-box}@media (min-width: 1250px){.inside, #main .inside {              /* width: 1140px; */            }            .grid3 {              width: 265px; /* aug: 265 */            }            .grid4 {              width: 359px; /* aug: 359 */            }            .grid6 {              width: 550px; /* aug: 550 */            }            .grid9 {              width: 835px; /* aug: 835 */            }            img{                width: 100%;                height: auto;                /* position: left; */                /* border: 4px solid blue;  /* aug, 05.12.2018 */            }}@media (max-width: 1600px){.slider-wrapper .ce_text h1 {              font-size: 40px !important;              line-height: 40px !important;            }            #main .inside{                width: 90% !important;            }            .grid3 {              width: 23%;              margin: 0 1% !important;            }            .grid6 {              width: 48%;              margin: 0 1% !important;            }            .grid9,            .grid10 {              width: 73%;              margin: 0 1% !important;            }            #footer h4,             #footer ul{                text-align: center;            }}@media (max-width: 767px){/* #header .inside, */            #main .inside,            .inside{                width: 90% !important;            }            #reihe img{                display: none;                /* border: 4px solid green;  /* aug, 05.12.2018 */            }            .slider-wrapper .ce_text {              height: 350px;            }            #logo, #logo svg {              margin: 0 auto;                 /* border: 4px solid green;  /* aug, 05.12.2018 */            }            #wrapper {              margin: 0;              width: auto;            }            img{                width: 100%;                height: auto;                /* border: 4px solid red;  /* aug, 05.12.2018 */            }}#saechsisch{width:70px;left:90px;position:absolute;top: -10px}h1,h2,h3,h4,/*#header .mod_navigation,*/ strong{font-family:"LucatoniBold",sans-serif;font-weight: 400}a{font-size:16px;font-weight:bold}.clear{clear:both}a,h1,h2,h3{text-decoration:none;color:#009DE2}h1{font-size:60px;line-height:60px}h2{font-size:28px;line-height:28px}h3{font-size:20px;line-height:20px}h4{font-size:18px;line-height:20px}header{padding:24px 0}.ce_gallery li{width:25%}.custom{margin-bottom:18px;background: #eef0f1}#einschub h4{position:relative;margin:0;padding:24px;text-align:center}#logo,#logo svg{display:block;/* border: 1px solid red;/* aug, 05.12.2018 */                position: left}#logo,#logo .grid2 svg{height:20px;display:block;/* border: 1px solid maroon;/* aug, 05.12.2018 */}#map-canvas,#map-canvas-junior,#map-canvas-senior{height:500px}#footer li{/* Das steuert das Footer-Menu (wie der Name schon sagt!)*/                display: inline-block;/* */                /* display: block;/* inline-block;/* 11.12.2018*/}#footer .level_1{text-align:right}#footer{padding:2% 0;background: none repeat scroll 0 0 #eef0f1}#footer a{display:block;padding:3px}#footer h4,#footer ul,#footer a{margin-top:0;margin-bottom:0;font-size:16px}.slider-wrapper .ce_text{margin:0}.slider-wrapper .text{left:10%;position:absolute;margin:0;padding:0;top: 10%}.slider-wrapper .ce_text h1{margin-top:0;margin-bottom:12px;font-size:60px;line-height:60px;color: white;text-shadow: 0 0 50px black}.slider-wrapper .ce_text p{font-size:20px;color: white;text-shadow: 0 0 50px black}.mod_article{margin:0 0 2%}.ce_sliderStart{position:relative}.slider-control{width:100%;height:100%;top:0;position:absolute;/* z-index: 9999;*/                z-index: 10}.slider-control .slider-next{right:5%}.slider-control .slider-prev{left:5%}ol{padding:0 0 0 8%;list-style-type:decimal}ol li{padding:0 0 12px}#reihe{padding:2% 0;background: none repeat scroll 0 0 #eef0f1}#reihe .ce_text{min-height:450px;background:white}#reihe .text{padding:5%}#reihe h2{margin-top:2%}#reihe a{display:block;padding:12px 0 0}#slider .inside{width:100%;max-width:1400px}#slider .image_container{line-height:0}#slider img{width:100%;bordker: 4px solid yellow;/* aug, 05.12.2018 */}#slider,.mod_article .ce_sliderStart{margin:0}.slider-control .slider-prev,.slider-control .slider-next{width:40px;height:90px;top:44%;display:block;background:url("/arrow-left.svg") no-repeat center center transparent;opacity: .2}.slider-control .slider-next{background-image:url("/arrow-right.svg")}#slider:hover .slider-control .slider-prev,#slider:hover .slider-control .slider-next{opacity:1}.slider-control .slider-menu{top:90%}.slider-control .slider-menu b{width:20px;display:inline-block;margin:0 .5%;border-radius:60px;text-indent:-9000px;/* display-Änderung hatte keine Wirkung ?!?*/                /* display: block;/* inline-block;/* 11.12.2018*/                height: 20px;background: white}.slider-control .slider-menu b.active{border:1px solid #009de2;color:#666;background: none repeat scroll 0 0 transparent}.wheater{margin:0 18px -20px 0;text-align:right}.wheater p{display:inline-block;margin:0;padding:0 10px}#footer h4,#footer ul,#footer a{margin-top:0;margin-bottom:0;font-size:16px;color:#888;font-weight: 100}#footer a{color: black}#footer a.first{font-weight:bold}#footer .inside .footer-row{display:flex;align-items: center}#footer .inside .footer-nav{flex: 1 1 auto}#footer .inside .footer-logo{display:flex;flex: 0 0 auto;align-items: center;justify-content: center}#footer .inside .footer-logo img{max-width:200px;max-height:100%;object-fit: contain}
/* Contao 5: consistent geometry for legacy and Twig slider text elements. */
.content-slider .slider-wrapper > .ce_text,
.content-slider .slider-wrapper > .content-text {
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.content-slider .slider-wrapper > .ce_text > figure,
.content-slider .slider-wrapper > .content-text > figure {
    display: block;
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
.content-slider .slider-wrapper figure picture,
.content-slider .slider-wrapper figure a,
.content-slider .slider-wrapper figure img {
    display: block;
}
.content-slider .slider-wrapper figure img {
    width: 100%;
    height: auto;
    margin: 0;
}
.content-slider .slider-wrapper > .content-text > .rte,
.content-slider .slider-wrapper > .ce_text > .text {
    position: absolute;
    top: 10%;
    left: 10%;
    margin: 0;
    padding: 0;
}

/* Original slideshow: no navigation or placeholder punctuation. */
.ce_sliderStart > .slider-control {
    display: none !important;
}
.content-slider .slider-wrapper > .ce_text > .text,
.content-slider .slider-wrapper > .content-text > .rte {
    inset: 0;
    pointer-events: none;
}
.content-slider .slider-wrapper > .ce_text > .text p,
.content-slider .slider-wrapper > .content-text > .rte p {
    font-size: 0;
    line-height: 0;
    margin: 0;
    text-shadow: none;
}
.content-slider .slider-wrapper > .ce_text > .text a,
.content-slider .slider-wrapper > .content-text > .rte a {
    position: absolute;
    inset: 0;
    display: block;
    font-size: 0;
    line-height: 0;
    pointer-events: auto;
}

/* Vorstand: restore card spacing after removal of per-image margins. */
.vorstand > .inside {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}
.vorstand > .inside > .grid6 {
    float: none;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 40px 20px 20px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    column-gap: 20px;
    align-items: start;
}
.vorstand > .inside > .grid6 > figure {
    float: none;
    margin: 0;
    grid-column: 1;
}
.vorstand > .inside > .grid6 > figure img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: left top;
}
.vorstand > .inside > .grid6 > .rte,
.vorstand > .inside > .grid6 > .text {
    grid-column: 2;
    min-width: 0;
    overflow-wrap: anywhere;
}
@media (max-width: 767px) {
    .vorstand > .inside { grid-template-columns: minmax(0, 1fr); }
    .vorstand > .inside > .grid6 {
        grid-template-columns: minmax(0, 35%) minmax(0, 1fr);
        padding: 24px 0;
    }
    .vorstand > .inside > .grid6 > figure img { height: auto; max-height: 200px; }
}

/* Contao 5 custom section replaces the former .custom wrapper. */
#einschub { background: #eef0f1 !important; margin-bottom: 18px; }

/* Legacy layout for all above-image text elements, outside slideshows. */
#main .content-text.media--above:not(.content-slider *) {
    display: flex !important;
    flex-direction: column;
}
#main .content-text.media--above:not(.content-slider *) > figure {
    order: -1;
    margin: 0;
}
#main .content-text.media--above:not(.content-slider *) > h2 {
    margin-top: 1em;
}

/* Keep the normal headline-to-text gap; collapse adjacent headlines. */
#main .content-text.media--above:not(.content-slider *) > h2 {
    margin-bottom: 12px;
}
#main .content-text.media--above:not(.content-slider *):has(> .rte > h2:first-child) > h2 {
    margin-bottom: 0;
}
/* Desktop menu: restore gaps lost between the inline list items. */
@media (min-width: 1025px) {
    #header .mod_navigation > .level_1 > li:not(:last-child) {
        margin-right: 6.666667px;
    }
    #header .mod_navigation > .level_1 {
        position: relative;
        top: 4px;
    }
}

/* Restore original 50px image margins for flight-training elements 367/369. */
#main .content-image > figure:has(> a[data-lightbox="lb367"]),
#main .content-image > figure:has(> a[data-lightbox="lb369"]) {
    margin-top: 50px;
}

/* TMG testimonials start below both floated training columns. */
#main .tmg-stimmen {
    clear: both;
    float: none;
    width: auto !important;
    max-width: none;
    margin: 0 10px !important;
    padding-top: 28px;
    display: flow-root;
}

/* Local video animations must scale to their content container. */
#main video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Legacy below-image text elements also render the image before their text. */
#main .content-text.media--below:not(.content-slider *) {
    display: flex !important;
    flex-direction: column;
}
#main .content-text.media--below:not(.content-slider *) > figure {
    order: -1;
    margin: 0;
}
/* Include floated content in the main area's height before the footer. */
#main::after {
    content: "";
    display: block;
    clear: both;
}
#footer {
    clear: both;
}

/* All non-side-by-side text images use the legacy image-first sequence. */
#main .content-text:has(> figure):not(.media--left):not(.media--right):not(.content-slider *) {
    display: flex !important;
    flex-direction: column;
}
#main .content-text:has(> figure):not(.media--left):not(.media--right):not(.content-slider *) > figure {
    order: -1;
    margin: 0;
}

/* Full-width closing text starts below all preceding floated columns. */
#main .content-text.grid14 {
    clear: both;
    float: none;
}

/* Original top spacing for the two Fliegerurlaub price illustrations. */
#main .content-text.ferien-bild {
    padding-top: 20px;
}

/* Event element 687 originally had a 25px top image margin. */
#main .content-text.grid4:has(> figure img[src*="flugplatzfest2026"]) {
    padding-top: 25px;
}

/* Blog introduction follows the centered matrix and its card inset. */
#main #article-104 > .inside > .content-text:first-child {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

/* Mobile slideshow: override the old fixed 350px slide height. */
@media (max-width: 767px) {
    .content-slider .slider-wrapper > .ce_text,
    .content-slider .slider-wrapper > .content-text {
        height: auto !important;
        min-height: 0 !important;
    }
}
