/* Original-Inline-Styles (Gantry: Sticky-Menü) */
#mod_resizefonts a {color: black;}
#mod_resizefonts a:HOVER {color: #F07C01;}
#mod_resizefonts { position: relative; vertical-align: bottom; width: 100%; text-align: right; font-size: 16px; }
#mod_resizefonts > a { font-weight: bold; text-decoration:none; }
#mod_resizefonts .fontSmaller { font-size: 1.125rem; }
#mod_resizefonts .fontDefault { font-size: 1.375rem; }
#mod_resizefonts .fontBigger { font-size: 2.0625rem; }
.g-main-nav {
/* Needed for Safari (Mac) */
width: 100%;
}
.g-main-nav.g-fixed-active {
position: fixed;
width: 100%;
top: 0;
z-index: 1003;
left: 0;
transition: all 0.5s;
}
.animated {
transition: transform 200ms linear;
}
.slideDown {
transform: translateY(0%);
}
.slideUp {
transform: translateY(-100%);
}
.animated {
animation-duration: 0.5s;
animation-fill-mode: both;
}



@keyframes slideDownHR {
0% {
transform: translateY(-100%);
}
100% {
transform: translateY(0);
}
}
.animated.slideDown {
animation-name: slideDownHR;
}



@keyframes slideUpHR {
0% {
transform: translateY(0);
}
100% {
transform: translateY(-100%);
}
}
.animated.slideUp {
animation-name: slideUpHR;
}



@keyframes swingInX {
0% {
transform: perspective(400px) rotateX(-90deg);
}
100% {
transform: perspective(400px) rotateX(0deg);
}
}
.animated.swingInX {
-ie-transform-origin: top;
transform-origin: top;
backface-visibility: visible !important;
animation-name: swingInX;
}



@keyframes swingOutX {
0% {
transform: perspective(400px) rotateX(0deg);
}
100% {
transform: perspective(400px) rotateX(-90deg);
}
}
.animated.swingOutX {
animation-name: swingOutX;
backface-visibility: visible !important;
}



@keyframes flipInX {
0% {
transform: perspective(400px) rotateX(90deg);
opacity: 0;
}
100% {
transform: perspective(400px) rotateX(0deg);
opacity: 1;
}
}
.animated.flipInX {
backface-visibility: visible !important;
animation-name: flipInX;
}



@keyframes flipOutX {
0% {
transform: perspective(400px) rotateX(0deg);
opacity: 1;
}
100% {
transform: perspective(400px) rotateX(90deg);
opacity: 0;
}
}
.animated.flipOutX {
animation-name: flipOutX;
backface-visibility: visible !important;
}



@keyframes bounceInDown {
0% {
opacity: 0;
transform: translateY(-200px);
}
60% {
opacity: 1;
transform: translateY(30px);
}
80% {
transform: translateY(-10px);
}
100% {
transform: translateY(0);
}
}
.animated.bounceInDown {
animation-name: bounceInDown;
}



@keyframes bounceOutUp {
0% {
transform: translateY(0);
}
30% {
opacity: 1;
transform: translateY(20px);
}
100% {
opacity: 0;
transform: translateY(-200px);
}
}
.animated.bounceOutUp {
animation-name: bounceOutUp;
}


/* ===== Portal-Ergänzungen ===== */
.uk-slideshow-fullscreen > li { height: 100vh; }
.uk-slideshow > li > img { visibility: hidden; }
.hkp-mail { cursor: pointer; }
.hkp-spacer { clear: both; }
.hkp-gallery { margin-bottom: 24px; }
.hkp-gallery img { max-width: 100%; height: auto; }
.hkp-btn-row { margin: 1.5rem 0; }
.hkp-btn { display: inline-block; background: #2e8a89; color: #fff !important; padding: 10px 22px; border-radius: 4px; font-size: 1.4rem; text-decoration: none; box-shadow: 1px 1px 1px rgba(0,0,0,.1); transition: background .2s; }
.hkp-btn:hover { background: #256f6e; color: #fff; }
.hkp-btn-orange { background: #f07c01; }
.hkp-btn-orange:hover { background: #d66e00; }
.item-page .hkp-imagetext { margin: 1.5rem -0.938rem; }

/* Kontaktformular (wie bisher) */
.hkp-form-wrap { text-align: center; }
.hkp-form { margin: 0; }
.hkp-form .control-group { margin: 0; padding: 0; text-align: center; }
.hkp-form .control-label { display: block; float: none; width: auto; font-family: Verdana, Geneva, sans-serif; font-size: 19px; font-weight: 400; line-height: 18px; color: #333; margin: 0 0 5px; padding: 0; text-align: center; }
.hkp-form .control-label .required { color: #f00; font-weight: bold; margin-left: 5px; }
.hkp-form .controls { margin: 0; }
.hkp-form input[type=text], .hkp-form input[type=email], .hkp-form textarea { font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 16px; color: #555; background: #fff; border: 1px solid #ddd; border-radius: 4px; padding: 6px; margin: 0 0 9px; box-shadow: inset 0 1px 1px rgba(0,0,0,.075); box-sizing: content-box; height: 16px; transition: border-color .2s, box-shadow .2s; }
.hkp-form input:focus, .hkp-form textarea:focus { border-color: rgba(82,168,236,.8); outline: 0; box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); }
.hkp-form .hkp-in-m { width: 50%; }
.hkp-form .hkp-in-s { width: 120px; text-align: center; }
.hkp-form textarea.hkp-in-xl { width: 90%; height: 126px; resize: vertical; }
.hkp-form .input-file { font-size: 14px; margin: 0 0 9px; font-family: Arial, Helvetica, sans-serif; }
.hkp-form label.checkbox { display: block; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; color: #303030; padding: 0 0 0 20px; text-align: center; min-height: 18px; margin: 0; cursor: pointer; }
.hkp-form label.checkbox input { float: left; margin: 3px 0 0 -20px; }
.hkp-form .form-actions { padding: 10px; margin: 15px 5px; text-align: center; background: transparent; border: 0; }
.hkp-form .btn-primary { font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20px; color: #fff; background: #2e8a89; border: 0; border-radius: 4px; padding: 10px; box-shadow: 1px 1px 1px rgba(0,0,0,.1); text-shadow: none; cursor: pointer; }
.hkp-form .btn-primary:hover { background: #256f6e; }
.hkp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.hkp-form-msg { max-width: 760px; margin: 0 auto 20px; padding: 14px 18px; border-radius: 4px; font-size: 1.5rem; line-height: 1.5; }
.hkp-form-ok { background: #e6f4f3; border: 1px solid #2e8a89; color: #1d5b5a; }
.hkp-form-err { background: #fdecea; border: 1px solid #d9534f; color: #a12622; }
@media (max-width: 767px) { .hkp-form .hkp-in-m { width: 90%; } .hkp-form .control-label { font-size: 15px; } }

/* Lightbox */
.hkp-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,.85); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; }
.hkp-lb.is-open { opacity: 1; }
.hkp-lb img { max-width: 92vw; max-height: 88vh; box-shadow: 0 0 30px rgba(0,0,0,.6); background: #fff; }
.hkp-lb button { position: absolute; background: transparent; border: 0; color: #fff; font-size: 44px; line-height: 1; cursor: pointer; padding: 14px 20px; opacity: .8; }
.hkp-lb button:hover { opacity: 1; }
.hkp-lb .hkp-lb-x { top: 6px; right: 10px; }
.hkp-lb .hkp-lb-p { left: 6px; top: 50%; transform: translateY(-50%); }
.hkp-lb .hkp-lb-n { right: 6px; top: 50%; transform: translateY(-50%); }
.hkp-lb .hkp-lb-c { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 14px; }

/* Cookie-Hinweis (wie cookieconsent „light-bottom“) */
.hkp-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99990; background: #fff; color: #222; padding: 1em 1.8em; display: flex; align-items: center; justify-content: space-between; gap: 1.5em; font-family: Helvetica, Calibri, Arial, sans-serif; font-size: 17px; box-shadow: 0 -1px 6px rgba(0,0,0,.15); }
.hkp-cookie[hidden] { display: none; }
.hkp-cookie p { margin: 0; color: #222 !important; line-height: 1.5; }
.hkp-cookie a { color: #31a8f0; text-decoration: none; }
.hkp-cookie button { flex: none; background: #f1d600; color: #000; border: 0; border-radius: 5px; padding: 8px 16px; font-size: 16px; cursor: pointer; }
.hkp-cookie button:hover { background: #fff29c; }
@media (max-width: 600px) { .hkp-cookie { flex-direction: column; font-size: 14px; align-items: stretch; text-align: center; } }
