/* KristalLang - responsive template (TYPO3 13) */
:root {
  --kl-bg: #000;
  --kl-text: #fff;
  --kl-muted: #b1b3b4;
  --kl-dim: #777;
  --kl-blue: #00a7e3;
  --kl-blue-dark: #0085b5;
  --kl-line: #333;
  --kl-panel: #141414;
  --kl-width: 950px;
  --kl-gap: 16px;
}

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

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

body {
  margin: 0;
  background: var(--kl-bg);
  color: var(--kl-text);
  font: 14px/1.65 Verdana, Tahoma, "DejaVu Sans", sans-serif;
}

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

a { color: var(--kl-blue); text-decoration: none; }
a:hover, a:focus-visible { color: #fff; text-decoration: underline; }
:focus-visible { outline: 2px solid var(--kl-blue); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: calc(var(--kl-width) + 2 * var(--kl-gap));
  margin: 0 auto;
  padding: 0 var(--kl-gap);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--kl-blue); color: #fff; padding: 8px 12px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* Top bar ---------------------------------------------------------------- */
.topbar { font-size: 11px; }
.topbar__inner {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 30px; gap: 12px;
}
.topbar__shop { color: #fff; font-weight: bold; border-right: 1px solid var(--kl-line); padding-right: 10px; }
.langmenu { display: flex; align-items: center; gap: 4px; color: var(--kl-dim); }
.langmenu__item { color: #999; padding: 1px 4px; text-transform: lowercase; }
.langmenu__item:hover { background: var(--kl-blue); color: #fff; text-decoration: none; }
.langmenu__item.is-active { background: var(--kl-blue); color: #fff; }

/* Header ----------------------------------------------------------------- */
.header__inner {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 4px; padding-bottom: 6px; gap: 16px;
}
.header__logo { display: block; flex: 0 1 300px; }
.header__logo img { display: block; width: 100%; max-width: 300px; }
.header__swarovski { display: block; width: 150px; flex: 0 0 auto; }

/* Main navigation -------------------------------------------------------- */
.mainnav__inner { position: relative; }
.mainnav__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap;
  border-top: 1px solid #555;
  border-bottom: 2px solid var(--kl-blue);
  background: linear-gradient(#262626, #0b0b0b);
}
.mainnav__list li { border-right: 1px solid #444; }
.mainnav__list a {
  display: block; padding: 9px 12px;
  color: #fff; font-weight: bold; font-size: 12px; line-height: 1.3;
}
.mainnav__list a:hover, .mainnav__list a:focus-visible, .mainnav__list a.is-active {
  background: var(--kl-blue); color: #fff; text-decoration: none;
}
.mainnav__toggle {
  display: none;
  width: 100%; align-items: center; gap: 10px;
  background: linear-gradient(#262626, #0b0b0b); color: #fff;
  border: 0; border-top: 1px solid #555; border-bottom: 2px solid var(--kl-blue);
  font: bold 14px/1 Verdana, sans-serif; padding: 12px; cursor: pointer; text-align: left;
}
.mainnav__burger, .mainnav__burger::before, .mainnav__burger::after {
  display: inline-block; width: 20px; height: 2px; background: #fff; position: relative; content: "";
}
.mainnav__burger::before { position: absolute; top: -6px; left: 0; }
.mainnav__burger::after { position: absolute; top: 6px; left: 0; }

.gallerybar {
  display: block; margin-top: 4px;
  border-top: 1px solid var(--kl-line); border-bottom: 1px solid var(--kl-line);
  color: #555; text-align: center; text-transform: uppercase;
  font-size: 10px; letter-spacing: 6px; line-height: 18px;
}
.gallerybar:hover { color: #fff; text-decoration: none; background: #111; }

/* Content ---------------------------------------------------------------- */
.main { padding-top: 28px; padding-bottom: 40px; min-height: 40vh; }

h1, h2, h3, h4 { font-weight: normal; line-height: 1.3; margin: 0 0 .7em; }
.main h1 { font-size: 22px; text-align: center; color: #fff; margin-bottom: 1.2em; }
.main h2 { font-size: 18px; color: #fff; }
.main h3 { font-size: 15px; color: var(--kl-blue); font-weight: bold; }
.main h4 { font-size: 13px; color: var(--kl-blue); font-weight: bold; text-transform: uppercase; }
p { margin: 0 0 1em; }
.main ul, .main ol { padding-left: 1.4em; }
.main li { margin-bottom: .2em; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.frame { margin-bottom: 36px; }
.frame:last-child { margin-bottom: 0; }
.frame > header { text-align: center; }
.frame-type-image > header h2, .frame-type-textmedia > header h2 { font-size: 17px; }

table { border-collapse: collapse; width: 100%; }
td, th { border-bottom: 1px solid var(--kl-line); padding: 6px 8px; text-align: left; vertical-align: top; }

.btn, .main a.btn {
  display: inline-block; background: var(--kl-blue); color: #fff;
  padding: 9px 18px; border: 0; border-radius: 2px;
  font: bold 13px/1.2 Verdana, sans-serif; cursor: pointer; text-decoration: none;
}
.btn:hover, .main a.btn:hover, .btn:focus-visible { background: var(--kl-blue-dark); color: #fff; text-decoration: none; }

.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: none; }
.linklike:hover { color: #fff; text-decoration: underline; }
.footer .linklike { color: #fff; font-size: 12px; text-align: left; }
.footer .linklike:hover { color: var(--kl-blue); }

.contact-box {
  background: var(--kl-panel); border: 1px solid var(--kl-line);
  padding: 20px; margin: 0 auto; max-width: 640px;
}

/* fluid_styled_content images ------------------------------------------- */
.ce-gallery { margin-bottom: 1em; }
.ce-gallery figure { margin: 0; }
.ce-gallery img { display: block; max-width: 100%; height: auto; }
.ce-gallery:not([data-ce-columns="1"]) img { width: 100%; }
.ce-gallery .ce-inner {
  display: grid; gap: 12px;
  grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr));
}
.ce-gallery .ce-row, .ce-gallery .ce-outer { display: contents; }
.ce-gallery[data-ce-columns="2"] { --cols: 2; }
.ce-gallery[data-ce-columns="3"] { --cols: 3; }
.ce-gallery[data-ce-columns="4"] { --cols: 4; }
.ce-gallery[data-ce-columns="5"] { --cols: 5; }
.ce-gallery[data-ce-columns="6"] { --cols: 6; }
.ce-gallery[data-ce-columns="7"] { --cols: 6; }
.ce-gallery[data-ce-columns="8"] { --cols: 6; }
.ce-center .ce-gallery[data-ce-columns="1"] figure { text-align: center; }
.ce-center .ce-gallery[data-ce-columns="1"] img { margin: 0 auto; }
.ce-gallery[data-ce-columns="1"] a { display: inline-block; max-width: 100%; }
.ce-center .ce-gallery[data-ce-columns="1"] figure { text-align: center; }
.image-caption { font-size: 11px; color: var(--kl-muted); font-style: italic; padding-top: 4px; line-height: 1.4; }

.ce-gallery a { display: block; overflow: hidden; border: 1px solid #222; }
.ce-gallery a img { transition: transform .3s ease, opacity .3s ease; }
.ce-gallery a:hover img { transform: scale(1.04); opacity: .9; }

.frame-layout-10 .ce-gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.frame-layout-10 .image-caption { display: none; }
.frame-layout-20 .ce-gallery img { aspect-ratio: 3 / 4; object-fit: cover; background: #111; }

.ce-textpic::after { content: ""; display: table; clear: both; }
.ce-intext.ce-right .ce-gallery { float: right; width: 45%; margin: 0 0 12px 24px; }
.ce-intext.ce-left .ce-gallery { float: left; width: 45%; margin: 0 24px 12px 0; }
.ce-bodytext { overflow-wrap: anywhere; }

/* Footer ----------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--kl-line);
  color: var(--kl-muted); font-size: 12px; padding-top: 28px;
}
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__title { color: #fff; font-size: 13px; font-weight: bold; text-transform: uppercase; margin-bottom: 10px; }
.footer a { color: #fff; }
.footer a:hover { color: var(--kl-blue); }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li { border-left: 1px solid #fff; padding-left: 6px; margin-bottom: 6px; line-height: 1.4; }
.footer__handle {
  margin: 24px auto 0; max-width: var(--kl-width);
  aspect-ratio: 950 / 150;
  background: url("../Images/footer-handle.jpg") no-repeat center / contain;
}
.footer__legal { text-align: center; font-size: 11px; color: var(--kl-dim); padding-top: 10px; padding-bottom: 24px; }
.footer__legal p { margin: 0 0 4px; }

/* Cookie banner ---------------------------------------------------------- */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(20, 20, 20, .97); border-top: 2px solid var(--kl-blue);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .6);
}
.cookie[hidden] { display: none; }
.cookie__inner {
  max-width: calc(var(--kl-width) + 2 * var(--kl-gap)); margin: 0 auto;
  padding: 14px var(--kl-gap); display: flex; align-items: center; gap: 16px;
}
.cookie__text { margin: 0; flex: 1; font-size: 12px; }

/* Lightbox --------------------------------------------------------------- */
.kl-lb {
  position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .94);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  padding: 50px 60px;
}
.kl-lb[hidden] { display: none; }
.kl-lb__img { max-width: 100%; max-height: calc(100vh - 140px); box-shadow: 0 0 30px #000; }
.kl-lb__caption { color: var(--kl-muted); font-size: 12px; font-style: italic; margin-top: 10px; text-align: center; min-height: 1.4em; }
.kl-lb__btn {
  position: absolute; background: rgba(0, 0, 0, .5); color: #fff; border: 1px solid #444;
  width: 44px; height: 44px; font-size: 24px; line-height: 1; cursor: pointer; border-radius: 50%;
}
.kl-lb__btn:hover { background: var(--kl-blue); }
.kl-lb__close { top: 12px; right: 12px; }
.kl-lb__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.kl-lb__next { right: 10px; top: 50%; transform: translateY(-50%); }
.kl-lb__count { position: absolute; top: 20px; left: 20px; color: var(--kl-dim); font-size: 12px; }
body.kl-noscroll { overflow: hidden; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 760px) {
  body { font-size: 15px; }
  .header__logo { flex-basis: 200px; }
  .header__swarovski { width: 100px; }
  .mainnav__toggle { display: flex; }
  .js .mainnav__list { display: none; }
  .js .mainnav__list.is-open { display: block; }
  .mainnav__list { border-top: 0; }
  .mainnav__list li { border-right: 0; border-bottom: 1px solid #333; }
  .mainnav__list a { padding: 13px 14px; font-size: 14px; }
  .main h1 { font-size: 19px; }
  .ce-gallery { --cols: 2 !important; }
  .frame-layout-20 .ce-gallery { --cols: 3 !important; }
  .ce-center .ce-gallery[data-ce-columns="1"] { --cols: 1 !important; }
  .ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery { float: none; width: 100%; margin: 0 0 16px; }
  .footer__cols { grid-template-columns: 1fr; gap: 8px; }
  .cookie__inner { flex-direction: column; align-items: stretch; text-align: center; }
  .kl-lb { padding: 50px 8px; }
  .kl-lb__prev, .kl-lb__next { top: auto; bottom: 12px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ce-gallery a img { transition: none; }
}

@media print {
  .topbar, .mainnav, .gallerybar, .cookie, .footer__handle { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
