/* =================================================================
   Koffer & Kompass – Reiseblog
   Design-Tokens
   -----------------------------------------------------------------
   Farbe:    Tiefsee-Ink (#16302B), warmer Sand (#F3ECDF),
             Sonnenkoralle (#E2673F), Passstempel-Gold (#C99A3E)
   Type:     Fraunces (Display, editorial-warm) + Work Sans (Body)
   Signatur: Passstempel-Badges für die Kontinent-Auswahl
   ================================================================= */

:root {
  --ink:        #16302B;
  --ink-soft:   #3F5B54;
  --sand:       #F3ECDF;
  --cream:      #FBF8F2;
  --coral:      #E2673F;
  --coral-dark: #C6502C;
  --gold:       #C99A3E;
  --line:       #DED2B8;
  --white:      #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max: 1180px;
  --radius: 4px;
  --shadow-soft: 0 12px 28px -18px rgba(22, 48, 43, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 2.2em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.8em 1.2em;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container.narrow { max-width: 820px; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.6em;
}

/* -----------------------------------------------------------------
   Buttons
   ----------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.9em 1.6em;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.button--primary {
  background: var(--coral);
  color: var(--white);
}
.button--primary:hover { background: var(--coral-dark); transform: translateY(-1px); }
.button--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.button--ghost:hover { background: var(--ink); color: var(--white); }

/* -----------------------------------------------------------------
   Header & Navigation
   ----------------------------------------------------------------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo { display: inline-flex; align-items: center; gap: 0.5em; }
.logo__mark {
  display: inline-grid;
  place-items: center;
  width: 2.1em;
  height: 2.1em;
  border-radius: 50%;
  background: var(--ink);
  color: var(--sand);
  font-size: 1.15rem;
  transform: rotate(-12deg);
}
.logo__text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}
.logo__text em { color: var(--coral); font-style: normal; }
.logo--footer .logo__mark { background: var(--sand); color: var(--ink); }
.logo--footer .logo__text { color: var(--cream); }

.nav-toggle-input { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.main-nav > ul > li > a {
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.is-active {
  border-color: var(--coral);
}

.has-mega { position: relative; }
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 90vw);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-menu__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem 1.8rem;
}
.mega-menu__heading {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--coral);
  margin-bottom: 0.5em;
  padding-bottom: 0.35em;
  border-bottom: 1px solid var(--line);
}
.mega-menu__col ul li a {
  display: block;
  padding: 0.28em 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.mega-menu__col ul li a:hover { color: var(--coral); }

/* -----------------------------------------------------------------
   Hero (Startseite)
   ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 62vh;
  max-height: 760px;
  display: flex;
  align-items: flex-end;
  background-image:
    linear-gradient(180deg, rgba(22,48,43,0.15) 0%, rgba(22,48,43,0.82) 92%),
    var(--hero-img);
  background-size: cover;
  background-position: center 42%;
  color: var(--white);
}
.hero__content {
  padding: 4rem 1.5rem 3.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}
.hero__content h1 { color: var(--white); max-width: 14ch; }
.hero__content .eyebrow { color: var(--gold); }
.hero__lead {
  max-width: 46ch;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
}
.hero__byline {
  margin: 0.6rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold);
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero__actions .button--ghost { border-color: var(--white); color: var(--white); }
.hero__actions .button--ghost:hover { background: var(--white); color: var(--ink); }

/* -----------------------------------------------------------------
   Passstempel-Badges (Signature-Element: Kontinent-Auswahl)
   ----------------------------------------------------------------- */
.stamp-section { padding: 4.5rem 0 3rem; }
.stamp-section__head { text-align: center; max-width: 620px; margin: 0 auto 2.8rem; }
.stamp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.6rem 1.2rem;
}
.stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  padding: 0.4rem;
}
.stamp__ring {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 2px dashed var(--ink);
  display: grid;
  place-items: center;
  position: relative;
  color: var(--ink);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.stamp:nth-child(2n)  .stamp__ring { transform: rotate(-6deg); }
.stamp:nth-child(3n)  .stamp__ring { transform: rotate(5deg); }
.stamp:nth-child(5n)  .stamp__ring { transform: rotate(-3deg); }
.stamp:hover .stamp__ring {
  transform: rotate(0deg) scale(1.06);
  border-color: var(--coral);
  color: var(--coral);
  border-style: solid;
}
.stamp__ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.5;
}
.stamp__initial {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
}
.stamp__name { font-weight: 600; font-size: 0.95rem; }
.stamp__count { font-size: 0.78rem; color: var(--ink-soft); }

/* -----------------------------------------------------------------
   Über-uns-Teaser (Startseite)
   ----------------------------------------------------------------- */
.about-teaser {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 2.2rem 2.4rem;
}
.about-teaser__badge { flex-shrink: 0; }
.about-teaser__badge .stamp__ring {
  width: 100px;
  height: 100px;
  transform: rotate(-6deg);
}
.about-teaser__badge .stamp__initial { font-size: 1.15rem; }
.about-teaser__text h2 { margin-top: 0; }
.about-teaser__text p { color: var(--ink-soft); max-width: 62ch; }

@media (max-width: 640px) {
  .about-teaser { flex-direction: column; text-align: center; gap: 1.2rem; padding: 2rem 1.6rem; }
  .about-teaser__text p { max-width: none; }
  .hero { min-height: 52vh; }
}

/* -----------------------------------------------------------------
   Karten: Länder & Artikel
   ----------------------------------------------------------------- */
.section { padding: 3rem 0; }
.section--tint { background: var(--cream); }
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.section__head h2 { margin-top: 0; }
.link-more { font-weight: 600; color: var(--coral); white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.4rem;
  margin-top: 1.8rem;
}
.country-grid--compact { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }

.country-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease;
  display: block;
}
.country-card:hover { transform: translateY(-4px); }
.country-card__img {
  height: 150px;
  background-size: cover;
  background-position: center;
}
.country-card__body { padding: 0.9rem 1.1rem 1.1rem; }
.country-card__body h3 { margin: 0 0 0.2em; }
.country-card__body p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); }

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.8rem;
  margin-top: 1.8rem;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.article-card__img { height: 170px; background-size: cover; background-position: center; }
.article-card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.article-card__tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); font-weight: 700; }
.article-card__body h3 { margin: 0; }
.article-card__body p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; flex: 1; }
.article-card__more { font-weight: 600; color: var(--coral); font-size: 0.9rem; margin-top: 0.3rem; }

/* -----------------------------------------------------------------
   Newsletter / Info-Streifen
   ----------------------------------------------------------------- */
.strip {
  background: var(--ink);
  color: var(--sand);
  border-radius: var(--radius);
  padding: 2.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.strip h2 { color: var(--white); margin: 0 0 0.3em; }
.strip p { color: rgba(243,236,223,0.82); margin: 0; max-width: 46ch; }

/* -----------------------------------------------------------------
   Breadcrumb
   ----------------------------------------------------------------- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
  margin: 1.6rem 0 0.4rem;
}
.breadcrumb a:hover { color: var(--coral); }

/* -----------------------------------------------------------------
   Länderseite
   ----------------------------------------------------------------- */
.land-hero {
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  background-image:
    linear-gradient(180deg, rgba(22,48,43,0.1) 0%, rgba(22,48,43,0.85) 95%),
    var(--hero-img);
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.land-hero__overlay {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 3rem 1.5rem 2.6rem;
  width: 100%;
}
.land-hero h1 { color: var(--white); margin-bottom: 0.2em; }
.land-hero__teaser { max-width: 52ch; color: rgba(255,255,255,0.88); margin: 0; }

.land-content { padding-bottom: 4rem; }
.land-intro { font-size: 1.08rem; color: var(--ink-soft); }

.land-facts {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
  margin: 1.6rem 0 2rem;
  padding: 1.1rem 1.4rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.land-facts__item { display: flex; flex-direction: column; gap: 0.2em; }
.land-facts__label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); font-weight: 700; }
.land-facts__value { font-weight: 600; }

.land-highlights li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 0.6em;
}
.land-highlights li::before {
  content: "✈";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--coral);
  font-size: 0.9em;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin: 1.6rem 0 2.2rem;
}
.highlight-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.highlight-card__img {
  height: 140px;
  background-size: cover;
  background-position: center;
}
.highlight-card figcaption {
  padding: 0.8rem 1rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

@media (max-width: 640px) {
  .highlight-grid { grid-template-columns: 1fr; }
}

.land-story {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1.3rem 1.6rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-figure {
  margin: 1.8rem 0 2.2rem;
}
.article-figure__img {
  width: 100%;
  height: 320px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.article-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}

@media (max-width: 640px) {
  .article-figure__img { height: 220px; }
}

.hotel-cta {
  margin-top: 2.6rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.hotel-cta__text h2 { margin: 0 0 0.25em; font-size: 1.3rem; }
.hotel-cta__text p { margin: 0; color: var(--ink-soft); max-width: 44ch; }
.affiliate-hint { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.7rem; }

.guide-cta {
  margin-top: 1.6rem;
  background: var(--ink);
  color: var(--sand);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.guide-cta__text h2 { margin: 0 0 0.3em; font-size: 1.25rem; color: var(--white); }
.guide-cta__text p { margin: 0; color: rgba(243,236,223,0.82); max-width: 48ch; }
.guide-cta .button--ghost { border-color: var(--sand); color: var(--sand); flex-shrink: 0; }
.guide-cta .button--ghost:hover { background: var(--sand); color: var(--ink); }

/* -----------------------------------------------------------------
   Reiseziele-Übersicht
   ----------------------------------------------------------------- */
.continent-block { margin-bottom: 3rem; }
.continent-block h2 { display: flex; align-items: center; gap: 0.5em; }
.continent-block h2 .count { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }

/* -----------------------------------------------------------------
   Formulare (Kontakt)
   ----------------------------------------------------------------- */
.form-field { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: 0.4em; }
.form-field label { font-weight: 600; font-size: 0.92rem; }
.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75em 0.9em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--coral);
}
.form-note { font-size: 0.85rem; color: var(--ink-soft); }

/* -----------------------------------------------------------------
   Footer
   ----------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--sand); margin-top: 4rem; }
.site-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 3.2rem 1.5rem 2.4rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.4rem;
}
.footer-col h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.9em;
}
.footer-col p { color: rgba(243,236,223,0.75); font-size: 0.92rem; }
.footer-col ul li { margin-bottom: 0.5em; }
.footer-col ul li a { color: rgba(243,236,223,0.82); font-size: 0.92rem; }
.footer-col ul li a:hover { color: var(--gold); }

.site-footer__bottom {
  border-top: 1px solid rgba(243,236,223,0.15);
  padding: 1.2rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(243,236,223,0.6);
}

/* -----------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------- */
@media (max-width: 880px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-toggle-input:checked ~ .main-nav { max-height: 80vh; overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.5rem 1.2rem; }
  .main-nav > ul > li > a { display: block; padding: 0.8rem 0; }
  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
    padding: 1rem 0 0.5rem;
  }
  .has-mega:focus-within .mega-menu,
  .has-mega.is-open .mega-menu { display: block; }
  .mega-menu__inner { grid-template-columns: 1fr; gap: 1rem; }

  .hotel-cta { flex-direction: column; align-items: flex-start; }
  .guide-cta { flex-direction: column; align-items: flex-start; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .strip { flex-direction: column; align-items: flex-start; }
}
