/* Julikat Footer · TYPO3-ready visual prototype */
.jk-footer{
  /* Oliv tief + Creme = 5,17:1 (auf Oliv nur 3,84:1). Text ohne Transparenz, die drückt den Kontrast */
  --jk-footer-bg:var(--julikat-olive-deep);
  --jk-footer-ink:var(--julikat-creme);
  --jk-footer-divider:rgba(var(--bs-light-rgb),.24);
  --jk-footer-muted:var(--julikat-creme);
  background:var(--jk-footer-bg);color:var(--jk-footer-ink);
  font-family:var(--bs-body-font-family,system-ui,sans-serif);
}
.jk-footer *{box-sizing:border-box}
.jk-footer-container{width:min(100% - 48px,1360px);margin-inline:auto}
.jk-travel-status{border-bottom:1px solid var(--jk-footer-divider)}
.jk-travel-status__inner{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:28px;padding-block:19px}
.jk-travel-status__location{display:flex;align-items:center;gap:12px}
.jk-status-dot{flex:none;width:13px;height:13px;border-radius:50%;background:#FBF8F2;border:3px solid rgba(255,255,255,.3);box-shadow:0 0 0 3px rgba(255,255,255,.12)}
.jk-travel-status__location div{display:flex;flex-direction:column;gap:1px}
.jk-eyebrow{font-size:.65rem;font-weight:700;letter-spacing:.18em;line-height:1.4}
.jk-travel-status__location strong{font:normal clamp(1.25rem,1.9vw,1.7rem)/1.1 Georgia,'Times New Roman',serif}
.jk-travel-status__inner p{font-size:.83rem;text-align:center;margin:0;color:var(--jk-footer-muted)}
.jk-footer-pill{border:1px solid rgba(251,248,242,.75);border-radius:999px;color:inherit;text-decoration:none;padding:11px 19px;font-size:.81rem;white-space:nowrap;display:inline-flex;gap:12px;align-items:center;justify-content:center;min-height:42px}
.jk-footer-pill:hover{background:#FBF8F2;color:#39402F}
.jk-footer-main{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.6fr);gap:clamp(45px,7vw,115px);padding-block:clamp(46px,5.2vw,78px) 50px}
.jk-footer-about{max-width:410px}
.jk-footer-brand{color:inherit;display:inline-flex;gap:15px;align-items:center;text-decoration:none}
.jk-footer-mark{width:70px;height:70px;flex:none;border:1px solid currentColor;border-radius:50%;display:grid;place-items:center;position:relative}
.jk-footer-mark::before{content:'';position:absolute;inset:5px;border:1px dotted currentColor;border-radius:50%;opacity:.68}
.jk-footer-mark span{font:italic 38px/1 Georgia,'Times New Roman',serif;position:relative}
.jk-footer-wordmark{display:flex;flex-direction:column;gap:2px}
.jk-footer-wordmark strong{font:normal 2.05rem/1 Georgia,'Times New Roman',serif}
.jk-footer-wordmark small{font-size:.73rem;letter-spacing:.025em}
.jk-footer-about>p{margin:22px 0 21px;font-size:.91rem;line-height:1.75;color:var(--jk-footer-muted)}
.jk-footer-social{display:flex;gap:10px}
.jk-footer-social a{display:grid;place-items:center;border:1px solid rgba(251,248,242,.45);border-radius:50%;width:35px;height:35px;color:inherit;text-decoration:none}
.jk-footer-social a:hover{color:#39402F;background:#FBF8F2}
.jk-footer-social svg{width:16px;height:16px}
.jk-footer-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,3vw,46px)}
.jk-footer-col h2{font:normal clamp(1.3rem,1.55vw,1.8rem)/1.2 Georgia,'Times New Roman',serif;color:inherit;margin:4px 0 17px}
.jk-footer-col ul{list-style:none;margin:0;padding:0}
.jk-footer-col li{margin:0 0 10px}
.jk-footer-col a{color:var(--jk-footer-muted);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:.7px;font-size:.89rem;line-height:1.4}
.jk-footer-col a:hover{color:#fff;text-decoration-thickness:1.5px}
.jk-footer-col .jk-footer-col__subhead{margin-top:29px}
.jk-footer-bottom{border-top:1px solid var(--jk-footer-divider);padding-block:26px 36px}
.jk-footer-disclosure{font-size:.76rem;line-height:1.7;color:var(--jk-footer-muted);margin:0 0 22px;max-width:800px}
.jk-footer-legal{display:flex;flex-wrap:wrap;align-items:center;gap:11px 22px;font-size:.75rem}
.jk-footer-legal a,.jk-footer-legal button{color:inherit;text-decoration:underline;text-underline-offset:2px;background:none;border:0;padding:0;font:inherit;cursor:pointer}
.jk-footer-legal a:hover,.jk-footer-legal button:hover{color:#fff;text-decoration-thickness:2px}
.jk-footer a:focus-visible,.jk-footer button:focus-visible{outline:3px solid #FBF8F2;outline-offset:4px}
@media(max-width:1000px){.jk-footer-main{grid-template-columns:1fr;gap:35px}.jk-footer-about{max-width:620px}.jk-travel-status__inner{grid-template-columns:1fr auto}.jk-travel-status__inner p{grid-column:1/-1;grid-row:2;text-align:left}}
@media(max-width:620px){.jk-footer-container{width:min(100% - 32px,1360px)}.jk-travel-status__inner{display:flex;align-items:flex-start;flex-direction:column;gap:16px}.jk-travel-status__inner p{line-height:1.5}.jk-footer-links{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:30px}.jk-footer-col:last-child{grid-column:1/-1}.jk-footer-main{padding-block:42px 35px}.jk-footer-bottom{padding-bottom:28px}.jk-footer-mark{width:60px;height:60px}.jk-footer-wordmark strong{font-size:1.8rem}}
@media(max-width:390px){.jk-footer-links{grid-template-columns:1fr}.jk-footer-col:last-child{grid-column:auto}}

/* TYPO3 content elements: edits stay within the footer's individual areas. */
.jk-footer .jk-footer-area > .frame { margin: 0 0 1rem; padding: 0; background: transparent; color: inherit; }
.jk-footer .jk-footer-area > .frame:last-child { margin-bottom: 0; }
.jk-footer .jk-footer-area :is(p, li, h2, h3, h4) { color: inherit; }
.jk-footer .jk-footer-area a { color: inherit; }
.jk-footer .jk-footer-area a:hover { color: #fff; }
.jk-footer .jk-footer-area img { max-width: 100%; height: auto; }
.jk-footer .jk-footer-area .ce-bodytext > :last-child { margin-bottom: 0; }
/* Status: content is edited freely, rather than tied to fixed database fields. */
.jk-footer-status-area { padding-block: 19px; }
.jk-footer-status-area :is(p, h2, h3) { margin-top: 0; }
.jk-footer-status-area .jk-footer-area { width: 100%; }
/* Main columns: all headings and link lists originate in the TYPO3 content elements. */
.jk-footer .jk-footer-col :is(h2, h3) { font: normal clamp(1.3rem,1.55vw,1.8rem)/1.2 Georgia,'Times New Roman',serif; margin: 4px 0 17px; }
.jk-footer .jk-footer-col :is(ul, ol) { list-style: none; margin: 0 0 22px; padding: 0; }
.jk-footer .jk-footer-col li { margin-bottom: 10px; }
.jk-footer .jk-footer-col a { color: var(--jk-footer-muted); text-decoration: underline; text-underline-offset: 3px; }
.jk-footer .jk-footer-col a:hover { color: #fff; }
.jk-footer .jk-footer-about :is(p,ul) { margin-top: 0; color: var(--jk-footer-muted); line-height: 1.75; }
.jk-footer .jk-footer-about h2 { color: var(--jk-footer-ink); font: normal 2.05rem/1.15 Georgia,'Times New Roman',serif; }
.jk-footer .jk-footer-bottom { display: block; }
.jk-footer .jk-footer-bottom p { font-size: .76rem; line-height: 1.7; }
.jk-footer .jk-footer-bottom a { color: inherit; }
.jk-footer .jk-footer-bottom :is(ul,ol) { display: flex; flex-wrap: wrap; gap: 11px 22px; padding: 0; margin: 12px 0 0; list-style: none; font-size: .75rem; }
.jk-footer .jk-footer-bottom li { margin: 0; }

/* ==========================================================
   Julikat Footer - Copyright
   ========================================================== */

.jk-footer-copyright {
    color: var(--jk-footer-muted);
}

.jk-footer-copyright-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 30px;
    padding-block: 18px;
}

.jk-footer-copyright-text {
    font-size: .78rem;
    line-height: 1.6;
}

.jk-footer-copyright-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 24px;
}

.jk-footer-copyright-links a {
    color: inherit;
    font-size: .78rem;
    text-decoration: none;
    transition: color .2s ease;
}

.jk-footer-copyright-links a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jk-footer-copyright-links a:focus-visible {
    outline: 3px solid var(--jk-footer-ink);
    outline-offset: 4px;
}

/* ----------------------------------------------------------
   Scroll-to-Top "Nach oben" (Partials/Page/Footer.html, JavaScript/totop.js)
   .jk-totop-dock ist ein 0 px hoher Andockpunkt am Ende des Footers mit position: sticky:
   - Footer kommt ins Bild → die Pill schwebt unten rechts am Bildschirmrand mit
   - ganz unten → sie landet rechts in der Copyright-Leiste (dort ist Platz reserviert)
   totop.js setzt .jk-totop--floating, solange sie schwebt (gefüllte Fläche + Schatten,
   damit sie über dem Footer-Text lesbar bleibt).
   ---------------------------------------------------------- */
.jk-footer {
    --jk-totop-gap: 9px;          /* Abstand zur Unterkante, angedockt mittig in der Copyright-Leiste */
    --jk-totop-reserve: 10rem;    /* freigehaltene Breite rechts in der Copyright-Leiste */
}

.jk-totop-dock {
    position: sticky;
    bottom: 16px;
    z-index: 20;
    display: flex;
    justify-content: flex-end;
    width: min(100% - 48px, 1360px);
    height: 0;
    margin-inline: auto;
    pointer-events: none;
}

.jk-totop {
    min-height: 38px;
    padding: 8px 16px;
    font-size: .78rem;
    pointer-events: auto;
    transform: translateY(calc(-100% - var(--jk-totop-gap)));
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.jk-totop--floating {
    background: var(--julikat-olive-hover); /* eine Stufe dunkler als der Footer */
    border-color: var(--julikat-creme);
    box-shadow: var(--bs-box-shadow);
}
.jk-totop:hover,
.jk-totop:focus-visible {
    background: var(--julikat-creme);
    color: var(--julikat-olive-deep);
}
.jk-totop:focus-visible {
    outline: 3px solid var(--jk-footer-ink);
    outline-offset: 4px;
}
.jk-totop i {
    transition: transform .2s ease;
}
.jk-totop:hover i {
    transform: translateY(-2px);
}

/* Platz für die angedockte Pill rechts in der Copyright-Leiste */
.jk-footer-copyright-inner {
    padding-inline-end: var(--jk-totop-reserve);
}

@media (prefers-reduced-motion: reduce) {
    .jk-totop,
    .jk-totop i {
        transition: none;
    }
}

/* Mobile */
@media (max-width: 620px) {
    .jk-footer-copyright-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-block: 20px;
    }

    .jk-footer-copyright-links {
        gap: 10px 20px;
    }

    /* Telefon: angedockte Pill unter den Links statt daneben */
    .jk-footer {
        --jk-totop-gap: 16px;
    }
    .jk-footer-copyright-inner {
        padding-inline-end: 0;
        padding-bottom: 70px;
    }
}

.jk-stamp { width: 120px; height: 120px; color: #ffffff; }

.jk-footer-brand-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.jk-footer-brand-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    color: var(--bs-light);
    transition: background-color .2s ease, transform .2s ease;
}

.jk-footer-brand-social a:hover {
    background-color: rgba(255, 255, 255, .15);
    transform: translateY(-2px);
}

.jk-footer-brand-social-icon {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}