/* Paradiso · Lieblingsorte auf Kos
   ---------------------------------------------- */

:root {
  --ink:        #1a2742;
  --ink-soft:   #3a4866;
  --ink-mute:   #6b7891;
  --paper:      #ffffff;
  --paper-2:    #f4f5f9;
  --paper-3:    #e8eaf2;
  --rule:       #e6e8ee;
  --sea:        #24368f;       /* original brand blue */
  --sea-deep:   #1a2768;
  --leaf:       #023120;       /* original brand green */
  --leaf-soft:  #1f4a36;
  --terracotta: #c0623a;
  --sun:        #d9a441;
  --max:        1240px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--paper);
}

a { color: inherit; text-decoration: none; }

/* ---------- TYPOGRAPHY ---------- */
.display {
  font-family: 'DM Serif Display', 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
}
.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-feature-settings: "ss01", "ss02";
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 64px 28px 56px;
  max-width: var(--max);
  margin: 0 auto;
}
.hero__top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 56px;
  gap: 16px;
}
.hero__top-right {
  display: flex; align-items: center; gap: 18px;
}
@media (max-width: 600px) {
  .hero__status { display: none; }
}

/* ---------- LANG SWITCH ---------- */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--rule);
  background: white;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink);
  cursor: pointer;
  text-transform: uppercase;
  transition: border-color .15s, background .15s;
}
.lang__btn:hover { border-color: var(--ink); }
.lang__btn svg { color: var(--ink-mute); }
.lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  list-style: none;
  margin: 0; padding: 6px;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(20,30,60,0.12);
  min-width: 160px;
  z-index: 60;
}
.lang__item {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: none; background: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  transition: background .12s;
  text-transform: none;
  letter-spacing: 0;
}
.lang__item:hover { background: var(--paper-2); }
.lang__item.is-active { background: var(--paper-2); color: var(--sea); }
.lang__short {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  width: 22px;
}
.lang__item.is-active .lang__short { color: var(--sea); }
.hero__brand {
  display: flex; align-items: center;
}
.hero__logo {
  height: 56px;
  width: auto;
  display: block;
}
@media (max-width: 720px) {
  .hero__logo { height: 44px; }
}
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--leaf);
  font-style: italic;
  font-size: 17px;
  margin-bottom: 22px;
}
.hero__kicker::before {
  content: ""; width: 28px; height: 1px; background: var(--leaf); display: inline-block;
}
.hero__title {
  font-size: clamp(48px, 8vw, 112px);
  margin: 0 0 24px;
  color: var(--ink);
}
.hero__title em {
  font-style: italic;
  color: var(--sea);
}
.hero__lead {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.hero__lead em { color: var(--leaf); font-style: italic; }
.hero__divider {
  height: 1px;
  background: linear-gradient(to right, var(--rule), transparent 70%);
  margin: 40px 0 0;
}

.hero__map-illustration {
  position: absolute;
  top: 60px;
  right: 28px;
  width: 280px;
  opacity: 0.85;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero__map-illustration { display: none; }
  .hero { padding-top: 32px; padding-bottom: 32px; }
}

/* ---------- STATS BAR ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 28px 0;
  gap: 0;
}
.stat {
  padding: 20px 24px 20px 0;
  border-right: 1px solid var(--rule);
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: 'DM Serif Display', serif;
  font-size: 44px;
  line-height: 1;
  color: var(--sea);
}
.stat__label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 8px;
}
@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--rule); padding: 16px 0; }
  .stat:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--rule); }
}

/* ---------- TAB BAR ---------- */
.tabbar-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  margin-top: 56px;
}
.tabbar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabbar::-webkit-scrollbar { display: none; }

.tab {
  display: inline-flex; flex-direction: column;
  padding: 8px 0;
  border: none; background: none;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: inherit;
  text-align: left;
}
.tab__label {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.tab__sub {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 2px;
}
.tab__count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  margin-left: 6px;
  color: var(--ink-mute);
}
.tab.is-active { border-bottom-color: var(--sea); }
.tab.is-active .tab__label { color: var(--sea); }
.tab:hover .tab__label { color: var(--sea-deep); }

.search {
  margin-left: auto;
  position: relative;
  flex-shrink: 0;
}
.search input {
  border: 1px solid var(--rule);
  background: rgba(255,255,255,0.6);
  border-radius: 999px;
  padding: 9px 16px 9px 38px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  width: 220px;
  transition: all 0.2s ease;
}
.search input:focus {
  outline: none;
  border-color: var(--sea);
  background: white;
  width: 260px;
}
.search svg {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  color: var(--ink-mute);
}
@media (max-width: 700px) {
  .search { display: none; }
  .tabbar { gap: 18px; padding: 10px 18px; }
  .tab__label { font-size: 17px; }
  .tab__sub { display: none; }
}

/* ---------- SECTION HEADER ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 28px 0;
  scroll-margin-top: 100px;
}
.section__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.section__title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(34px, 5vw, 56px);
  margin: 0;
  color: var(--ink);
}
.section__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.16em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.section__sub {
  font-size: 16px; color: var(--ink-soft);
  font-style: italic;
  margin-top: 6px;
}

/* ---------- CARD GRID ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 36px 28px;
}

.card {
  display: flex; flex-direction: column;
  background: transparent;
  border: none;
  text-align: left;
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper-2);
  cursor: zoom-in;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  display: block;
}
.card:hover .card__media img { transform: scale(1.04); }

.card__media-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg,
      var(--paper-2) 0 12px,
      var(--paper-3) 12px 24px);
  color: var(--leaf);
}
.card__media-placeholder svg { width: 56px; height: 56px; }

.card__cat {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px;
  backdrop-filter: blur(6px);
}

.card__cat--inline {
  position: static;
  align-self: flex-start;
  margin-bottom: 10px;
  background: var(--paper-2);
  color: var(--ink-soft);
  border: 1px solid rgba(36, 54, 143, 0.15);
}

.card__body {
  padding: 18px 4px 0;
  display: flex; flex-direction: column;
  flex: 1;
}

.card__name {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 10px;
}

.card__desc {
  font-size: 14.5px; line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
  margin: 0 0 14px;
  flex: 1;
}

.card__note {
  display: flex; gap: 10px;
  background: rgba(2,49,32,0.05);
  border-left: 2px solid var(--leaf);
  padding: 10px 12px;
  font-size: 13px;
  color: var(--leaf-soft);
  font-style: italic;
  border-radius: 0 6px 6px 0;
  margin-bottom: 14px;
  text-wrap: pretty;
}
.card__note svg {
  flex-shrink: 0; color: var(--leaf);
  margin-top: 2px;
}

.card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  align-self: flex-start;
  transition: all 0.18s ease;
  background: transparent;
}
.card__cta:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}
.card__cta svg { transition: transform 0.18s ease; }
.card__cta:hover svg { transform: translate(2px, -2px); }

/* ---------- EMPTY STATE ---------- */
.empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--ink-mute);
  font-style: italic;
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 25, 40, 0.92);
  display: grid; place-items: center;
  padding: 40px;
  animation: fade .2s ease;
  cursor: zoom-out;
}
.lightbox img {
  max-width: 92vw; max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.5);
}
.lightbox__caption {
  position: absolute;
  bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  text-align: center;
}
.lightbox__close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: none; color: white;
  font-size: 32px; cursor: pointer;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: background .15s;
}
.lightbox__close:hover { background: rgba(255,255,255,0.12); }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- FOOTER ---------- */
.footer {
  margin-top: 120px;
  padding: 60px 28px 80px;
  border-top: 1px solid var(--rule);
  background: linear-gradient(to bottom, transparent, rgba(2,49,32,0.04));
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer__sig {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--leaf);
  margin: 0 0 12px;
}
.footer__from {
  font-size: 14px; color: var(--ink-soft);
  line-height: 1.65;
  text-wrap: pretty;
}
.footer__heading {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.footer__link {
  display: block;
  font-size: 15px;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
  width: fit-content;
}
.footer__link:hover { border-bottom-color: var(--ink); }
.footer__meta {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
  max-width: var(--max);
  margin-left: auto; margin-right: auto;
}
@media (max-width: 800px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__meta { flex-direction: column; gap: 10px; }
}

/* ---------- BACK TO TOP ---------- */
.totop {
  position: fixed; bottom: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  border: none; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  transition: all .25s ease;
  opacity: 0; pointer-events: none;
  z-index: 40;
}
.totop.is-visible { opacity: 1; pointer-events: auto; }
.totop:hover { transform: translateY(-3px); }
