:root {
  --terracotta: #e2725b;
  --terracotta-dark: #c85a44;
  --sand: #f4e4c1;
  --sand-light: #fbf5e6;
  --ink: #2b2320;
  --ink-soft: #5a4c44;
  --cream: #fffaf2;
  --border: #ecdcc0;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(43, 35, 32, 0.08);
  font-size: 17px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}

a { color: var(--terracotta-dark); }
a:hover { color: var(--ink); }

img, svg { max-width: 100%; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
header.site {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1080px;
  margin: 0 auto;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.logo .flag { font-size: 1.4rem; }

nav.links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  justify-content: flex-end;
}

nav.links a,
.dropdown-toggle {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

nav.links a:hover,
nav.links a.active,
.dropdown:hover .dropdown-toggle,
.dropdown.open .dropdown-toggle {
  background: var(--terracotta);
  color: white;
}

/* ---------- Länder dropdown ---------- */
.dropdown {
  position: relative;
}

.dropdown-toggle .chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}

.dropdown:hover .chevron,
.dropdown.open .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  min-width: 190px;
  z-index: 30;
}

.dropdown.open .dropdown-menu {
  display: flex;
}

@media (hover: hover) {
  .dropdown:hover .dropdown-menu {
    display: flex;
  }
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: var(--sand-light);
  color: var(--terracotta-dark);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--sand-light) 0%, var(--sand) 100%);
  padding: 64px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero .emoji-big {
  font-size: 4rem;
  display: block;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 2.6rem;
  margin: 0 0 12px;
  color: var(--ink);
}

.hero p.lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto;
}

.crumb {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.crumb a { color: var(--ink-soft); text-decoration: underline; }

/* ---------- Sections ---------- */
main {
  padding: 56px 0 24px;
}

section.intro {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

section.intro h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

section.intro p {
  color: var(--ink-soft);
}

/* ---------- Country grid (homepage) ---------- */
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-bottom: 56px;
}

.country-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.country-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(43, 35, 32, 0.14);
}

.country-card .flag {
  font-size: 2.6rem;
}

.country-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.country-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.country-card .go {
  margin-top: auto;
  font-weight: 700;
  color: var(--terracotta-dark);
  font-size: 0.9rem;
}

/* ---------- Yoga callout box ---------- */
.callout {
  background: var(--ink);
  color: var(--sand-light);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 8px;
}

.callout .txt h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  color: white;
}

.callout .txt p {
  margin: 0;
  color: var(--sand);
  max-width: 480px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--terracotta);
  color: white !important;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--terracotta-dark);
}

/* ---------- Etiquette blocks (country pages) ---------- */
.block-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.block {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.block .icon {
  width: 40px;
  height: 40px;
  color: var(--terracotta-dark);
  margin-bottom: 12px;
}

.block h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.block p, .block ul {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.98rem;
}

.block ul {
  padding-left: 20px;
}

.block li {
  margin-bottom: 6px;
}

.block.tabu {
  border-color: #e2b3a5;
  background: #fdf3f0;
}

.block.tip {
  background: var(--sand-light);
}

/* ---------- Related countries ---------- */
section.related {
  margin-top: 8px;
}

section.related h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 26px;
}

/* ---------- Footer ---------- */
footer.site {
  background: var(--ink);
  color: var(--sand);
  padding: 40px 0 30px;
  margin-top: 40px;
}

footer.site .foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

footer.site nav.links a {
  color: var(--sand);
}

footer.site nav.links a:hover {
  background: var(--terracotta);
  color: white;
}

footer.site .yoga-link {
  font-size: 0.95rem;
  color: var(--sand-light);
}

footer.site .yoga-link a {
  color: white;
  font-weight: 700;
  text-decoration: underline;
}

.copy {
  text-align: center;
  font-size: 0.82rem;
  color: #a89686;
  margin-top: 26px;
}

@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .nav-inner { flex-direction: column; align-items: stretch; }
  nav.links { justify-content: center; }
  .callout { flex-direction: column; text-align: center; justify-content: center; }

  .dropdown { display: flex; flex-direction: column; align-items: center; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 4px 0 0;
    align-items: center;
    min-width: 0;
  }
}
