html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.fc-daygrid-event {
    background-color: transparent !important;
    border: none !important;
    padding: 0;
}

body {
    background: #f8f9fa;
    color: #212529;
}

.site-header {
    background:#00164a;
    position:relative;
    z-index:20;
    overflow:visible;
    padding: 1.5rem 0;
    margin-bottom: 0 !important;
    text-align:center;
}

.site-header .logo-img {
    height: 110px;
    width:auto;
    display:block;
    transform: none !important;
    filter:drop-shadow(0 4px 8px rgba(0,0,0,.25));
    transition: none;
    will-change: transform;
}

.site-header .logo-img:hover {
    transform: translateY(calc(var(--logo-overlap) - 6px));
}

@media (max-width:576px) {
    .site-header .logo-img {
        height: 70px;
    }
}

.main-section {
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
}

.content-wrapper,
.main-content-card {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.main-content-card {
    background: rgba(255, 255, 255, 0.95);
    color: #212529;
    border-radius: 1.5rem;
    box-shadow: 0 6px 24px #0001;
    padding: 2.25rem 2rem;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer {
    background: #212529 !important;
    color: #fff;
    position: static;
    font-size: 0.95rem;
    line-height: 1.5;
    border-top: 1px solid #e5e7eb;
}

.footer-heading {
    font-size:.9rem;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.05em;
    margin-bottom:.75rem;
    color:#212529;
}

.footer-logo {
    max-height:90px;
    width:auto;
    display:block;
}

.footer-link {
    color:#212529;
    text-decoration:underline;
}
.footer-link:hover {
    color:#0d6efd;
}

.footer-links li + li {
    margin-top:.35rem;
}

.social-icons-footer a {
    color:#212529;
    transition:color .15s ease, transform .15s ease;
}
.social-icons-footer a:hover {
    color:#0d6efd;
    transform:translateY(-3px);
}

.btn-call-footer, .footer .btn-outline-primary {
    --bs-btn-color:#0d6efd;
    --bs-btn-border-color:#0d6efd;
    --bs-btn-hover-bg:#0d6efd;
    --bs-btn-hover-border-color:#0d6efd;
    --bs-btn-hover-color:#fff;
    font-weight:600;
    letter-spacing:.5px;
}

.footer a.link-light { color:#212529 !important; }

@media (max-width:576px) {
    .footer-logo { max-height:60px; }
}

@media (max-width: 991px) {
    .main-content-card {
        padding: 1.5rem 0.5rem 1.5rem 0.5rem;
    }
}

@media (max-width: 576px) {
    .main-content-card {
        padding: 1rem 0.2rem 1rem 0.2rem;
    }
}

.table-hover tbody tr:hover td {
    background: #f8fafd;
}

.badge {
    font-size: .7rem;
    letter-spacing: .5px;
}

@media (max-width: 992px) {
    .card .display-6 {
        font-size: 1.4rem !important;
    }
}

:root {
    --logo-height: 140px;
    --logo-overlap-factor: 0.15;
    --logo-overlap: calc(var(--logo-height) * var(--logo-overlap-factor));
}

.main-section {
    padding-top: 3.5rem;
}

.main-content-card > .card {
    margin-left: auto;
    margin-right: auto;
}

.fullcalendar-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 1600px) {
    .main-section .card {
        padding: 1.15rem;
    }
}

.form-wide-limit {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

#calendar {
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 1700px) {
    h1, .display-1, .display-2 {
        font-size: clamp(2rem, 2.2vw, 2.8rem);
    }
}

.fullcalendar-wrapper .fc .fc-daygrid-day-number,
.fullcalendar-wrapper .fc .fc-col-header-cell-cushion,
.fullcalendar-wrapper .fc .fc-multimonth-daygrid .fc-daygrid-day-number,
.fullcalendar-wrapper .fc .fc-multimonth-header,
.fullcalendar-wrapper .fc .fc-timegrid-axis-cushion {
    color:#000 !important;
    text-decoration:none;
}

.fullcalendar-wrapper .fc .fc-day-other .fc-daygrid-day-number {
    color:#999 !important;
}

.fullcalendar-wrapper .fc .fc-day-today .fc-daygrid-day-number {
    color:#000 !important;
    font-weight:600;
}

.fullcalendar-wrapper .fc th .fc-col-header-cell-cushion {
    font-weight:600;
    letter-spacing:.5px;
}

.page-header {
    border-bottom:1px solid #e5e7eb;
    padding-bottom:.75rem;
}
.page-header h1,.page-header .h3,.page-header .h4 {
    font-weight:600;
}

:root {
    --footer-bg: #0d3699;
    --footer-bg-accent: #0b2f85;
    --footer-text: #ffffff;
    --footer-text-muted: #d3d8e4;
    --footer-link: #ffffff;
    --footer-link-hover: #c2c7d2;
    --footer-border-color: rgba(255,255,255,.25);
    --footer-separator: rgba(255,255,255,.18);
    --footer-focus-ring: 0 0 0 3px rgba(255,255,255,.35);
}

body .footer {
    background: linear-gradient(145deg,var(--footer-bg) 0%, var(--footer-bg-accent) 90%);
    color: var(--footer-text);
    position: static;
    border-top: 3px solid var(--footer-border-color);
    box-shadow: inset 0 4px 14px -6px rgba(0,0,0,.55);
    font-size: .95rem;
    line-height: 1.55;
}

.footer .footer-heading {
    color: var(--footer-text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-size: .8rem;
    margin-bottom: 1rem;
}

.footer address {
    font-style: normal;
    margin-bottom: .75rem;
    color: var(--footer-text);
}

.footer .lh-sm strong {
    font-weight: 600;
    color: var(--footer-text);
}

.footer .footer-link,
.footer a {
    color: var(--footer-link);
    text-decoration: none;
    position: relative;
    transition: color .2s ease, opacity .2s ease;
}

.footer .footer-link:hover,
.footer a:hover {
    color: var(--footer-link-hover);
    text-decoration: underline;
}

.footer .footer-link:focus-visible,
.footer a:focus-visible,
.footer .btn-outline-primary:focus-visible {
    outline: none;
    box-shadow: var(--footer-focus-ring);
    border-radius: 4px;
}

.footer hr {
    border: 0;
    border-top: 1px solid var(--footer-separator);
    margin-top: 2.25rem;
    margin-bottom: 1.5rem;
    opacity: 1;
}

.footer-logo {
    max-height: 90px;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,.45));
    transition: transform .3s;
}
.footer-logo:hover {
    transform: scale(1.04);
}

.footer .btn-outline-primary {
    --bs-btn-color: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-hover-bg: rgba(255,255,255,.12);
    --bs-btn-hover-border-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: rgba(255,255,255,.2);
    --bs-btn-active-border-color: #fff;
    font-weight: 700;
    border-width: 2px;
    backdrop-filter: blur(2px);
    transition: background-color .25s;
}

.social-icons-footer a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255,255,255,.55);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(2px);
    transition: background .25s, transform .25s, border-color .25s, color .25s;
    font-size: 1.15rem;
}
.social-icons-footer a:hover {
    background: rgba(255,255,255,.18);
    border-color: #fff; 
    transform: translateY(-4px);
    color: #fff;
}

.footer .text-muted {
    color: var(--footer-text-muted) !important;
}

.footer .small {
    font-size: .85rem;
}
.footer .footer-links {
    padding: 0;
    margin: 0;
}
.footer .footer-links li {
    list-style: none;
    margin: 0 0 .45rem;
}

@media (max-width: 767.98px) {
    body .footer {
        text-align: center;
        padding-top: 3rem;
    }
    .social-icons-footer {
        justify-content: center !important;
    }
    .footer hr {
        margin-top: 2rem;
    }
}

.footer .copyright,
.footer .col.small.text-center.text-muted {
    letter-spacing: .5px;
}

.footer a.link-light {
    color: var(--footer-link) !important;
}

.site-header {
    margin-bottom: 0 !important;
}

:root {
    --logo-overlap-factor: 0.08;
    --logo-overlap: calc(var(--logo-height) * var(--logo-overlap-factor));
}

.main-section {
    padding-top: clamp(5rem, 6vh + 3rem, 8rem) !important;
    padding-bottom: 3rem;
}

.main-content-card {
    margin-top: 1.25rem;
}

html, body {
    overflow-x: hidden;
}

@media (max-width: 576px) {
    .main-section {
        padding-top: clamp(4.5rem, 7vh + 2rem, 6rem) !important;
    }
    .main-content-card {
        margin-top: 0.75rem;
    }
}

.site-header {
    margin-bottom: 0 !important;
    padding: 1.5rem 0;
    background: #00164a;
}

.site-header .logo-img {
    height: 110px;
    transform: none !important;
    transition: none;
}

@media (max-width: 576px) {
    .site-header .logo-img {
        height: 70px;
    }
}

.main-section {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.content-wrapper,
.main-content-card {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.main-content-card {
    padding: 2.25rem 2rem;
    margin-bottom: 3rem;
}

@media (min-height: 640px) {
    .main-section {
        padding-bottom: 5rem !important;
    }
}

@media (max-width: 576px) {
    .main-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    .main-content-card {
        padding: 1.5rem 1rem;
        margin-bottom: 2.5rem;
    }
}

html, body {
    overflow-x: hidden;
}

.fullcalendar-wrapper .fc .fc-daygrid-day-frame {
    position: relative;
}

.fullcalendar-wrapper .fc-daygrid-day.tag-frei {
    background: #dff8e9 !important;
    border: 1px solid #92e2b5;
    box-shadow: inset 0 0 0 1px #92e2b5;
    transition: background .15s, box-shadow .2s;
}
.fullcalendar-wrapper .fc-daygrid-day.tag-frei:hover {
    background: #c9f2da !important;
    box-shadow: inset 0 0 0 2px #5acb89;
}

.fullcalendar-wrapper .fc-daygrid-day.tag-belegt {
    background: #eceeef !important;
    color: #6c757d !important;
    opacity: .9;
}

.fullcalendar-wrapper .fc-daygrid-day .kontingent-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    pointer-events: none;
    color: #168a4d;
    line-height: 1.1;
}

.fullcalendar-wrapper .fc-daygrid-day.tag-belegt .kontingent-center {
    color: #6c757d;
}

.fullcalendar-wrapper .fc .fc-daygrid-day-top {
    z-index: 2;
    position: relative;
}

.fullcalendar-wrapper .fc-daygrid-day.tag-belegt .fc-daygrid-day-number {
    opacity: .8;
}

.fullcalendar-wrapper .fc-daygrid-day.tag-frei {
    cursor: pointer;
}
.fullcalendar-wrapper .fc-daygrid-day.tag-belegt {
    cursor: not-allowed;
}

.fullcalendar-wrapper .fc-daygrid-day.tag-frei:focus-within,
.fullcalendar-wrapper .fc-daygrid-day.tag-frei:focus {
    outline: 2px solid #33c172;
    outline-offset: -2px;
}

.main-section {
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
}

.main-content-card {
    margin-bottom: 1.5rem;
}

footer.footer {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
}

.site-header {
    background: url('/images/aufstellungheader1.jpg') top center / auto 177px repeat-x;
    height: 177px;
    padding: 0;
}

:root {
    --logo-height: 96px;
    --logo-overlap-factor: 0.25;
    --logo-overlap: calc(var(--logo-height) * var(--logo-overlap-factor));
}

.site-header {
    background: url('/images/aufstellungheader1.jpg') center center / cover no-repeat !important;
    height: 90px !important;
    padding: 0 !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
}

.site-header > .container-xl {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.site-header .site-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.site-header .logo-img {
    height: var(--logo-height) !important;
    width: auto !important;
    transform: translateY(var(--logo-overlap)) !important;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,.25));
    will-change: transform;
}

.main-section {
    padding-top: calc(1rem + var(--logo-overlap)) !important;
}

@media (max-width: 576px) {
    .site-header { height: 70px !important; }
    :root { --logo-height: 72px; }
}

:root {
    --logo-height: 162px;
    --logo-overlap-factor: 0.15;
    --logo-overlap: calc(var(--logo-height) * var(--logo-overlap-factor));
}

.site-header {
    background: url('/images/aufstellungheader1.jpg') center center / cover no-repeat !important;
    height: 135px !important;
    padding: 0 !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
}

@media (max-width: 576px) {
    :root { --logo-height: 120px; }
    .site-header { height: 105px !important; }
}

.header-bottom-bar {
    height: 25px;
    background: #0068cd;
    width: 100%;
    line-height: 0;
    font-size: 0;
    position: relative;
    z-index: 10;
}

.site-header .logo-img {
    height: var(--logo-height) !important;
    transform: translateY(var(--logo-overlap)) !important;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,.25));
    will-change: transform;
    position: relative;
    z-index: 15;
}

html {
    min-height: 100%;
}

body.site-bg {
    background-image: url('/images/site-bg.jpg') !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    position: relative;
    min-height: 100vh;
}

body.site-bg::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .30);
    pointer-events: none;
    z-index: -1;
}

.site-header { position: relative; z-index: 20; }
.header-bottom-bar { position: relative; z-index: 10; }
.main-section { position: relative; z-index: 1; }
.footer { position: relative; z-index: 1; }

@media (max-width: 576px) {
  .fullcalendar-wrapper .fc .fc-header-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: .35rem;
  }
 
  .fullcalendar-wrapper .fc .fc-toolbar-title {
    flex-basis: 100%;
    text-align: center;
    font-size: 1rem;
    margin: 0;
  }

  .fullcalendar-wrapper .fc .fc-header-toolbar .fc-toolbar-chunk:last-child {
    margin-left: auto;
  }

  .fullcalendar-wrapper .fc .fc-button {
    padding: .25rem .5rem;
    font-size: .85rem;
    line-height: 1.2;
    min-height: 32px;
  }
}


@media (max-width: 576px) {
  .fullcalendar-wrapper .fc .fc-header-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between; 
    gap: .25rem .5rem;
  }
  .fullcalendar-wrapper .fc .fc-toolbar-title {
    font-size: clamp(1.1rem, 4.5vw, 1.35rem); 
    white-space: nowrap;      
    flex-shrink: 0;           
  }
  .fullcalendar-wrapper .fc .fc-header-toolbar .fc-toolbar-chunk:last-child {
    margin-left: auto;        
  }
  .fullcalendar-wrapper .fc .fc-button {
    padding: .25rem .5rem;
    min-height: 32px;
    line-height: 1.2;
  }
}