:root {
  --navy-950: #0b1f4e;
  --navy-800: #142c5c;
  --navy-700: #1c3a70;
  --gold-600: #b8862f;
  --gold-500: #c99a3d;
  --gold-300: #e4c077;
  --cream-50: #fbf7ee;
  --cream-100: #f4eee0;
  --ink-800: #232323;
  --ink-500: #5c5c5c;
  --line: #e6dcc4;
  --danger: #a5303a;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(11, 31, 78, 0.08);
  font-size: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink-800);
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy-950);
  margin: 0;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-950);
  color: #fff;
  border-bottom: 3px solid var(--gold-500);
}
.topbar-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  height: 44px;
  width: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; font-size: 0.85rem; line-height: 1.3; }
.brand-text strong { font-size: 0.95rem; }
.brand-text span { color: var(--gold-300); }

.lang-switch { display: flex; gap: 4px; }
.lang-switch button {
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent;
  color: #cdd6ea;
  cursor: pointer;
}
.lang-switch button.active { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); }
[data-lang-block="de"] { display: none; }
.brand-link { color: var(--gold-300); font-size: 0.8rem; text-decoration: none; white-space: nowrap; }
.brand-link:hover { text-decoration: underline; }

/* ---------- Poster / reklama banner ---------- */
.poster-banner {
  max-width: 620px;
  margin: 24px auto 0;
  padding: 0 20px;
}
.poster-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 3px solid var(--gold-500);
  box-shadow: var(--shadow);
}

/* ---------- Hero (arch / mihrab motif) ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-800) 65%, var(--cream-50) 65%);
  padding: 36px 20px 0;
  display: flex;
  justify-content: center;
}
.hero-arch {
  width: 100%;
  max-width: 720px;
  background: var(--cream-50);
  border: 2px solid var(--gold-500);
  border-bottom: none;
  border-radius: 140px 140px 10px 10px;
  padding: 40px 32px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-arch::before {
  content: "";
  position: absolute;
  top: 14px; left: 14px; right: 14px; bottom: 10px;
  border: 1px solid var(--gold-300);
  border-bottom: none;
  border-radius: 128px 128px 6px 6px;
  pointer-events: none;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 1.75rem;
  color: var(--gold-600);
  font-weight: 700;
  margin: 0 0 10px;
}
.hero-arch h1 {
  font-size: 2.1rem;
  margin-bottom: 12px;
}
.hero-arch h1 .hero-title-name { color: var(--gold-600); }
.hero-sub {
  color: var(--ink-500);
  max-width: 480px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* ---------- Layout ---------- */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

.alert {
  padding: 14px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.92rem;
  border: 1px solid transparent;
}
.alert.success { background: #eaf6ec; border-color: #a9d9b2; color: #235a2d; }
.alert.error { background: #fbeaea; border-color: #e3a9ad; color: var(--danger); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.card h2 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--gold-300);
  font-family: Georgia, serif;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
}

input, select, textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream-50);
  color: var(--ink-800);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold-500);
  outline-offset: 1px;
  background: #fff;
}

.hint { font-size: 0.8rem; color: var(--ink-500); margin: 2px 0 0; }

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-800);
  cursor: pointer;
}
.checkbox-line.small { margin-top: 12px; font-size: 0.85rem; }
.checkbox-line input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }

/* ---------- Traveler cards ---------- */
.traveler-card {
  border: 1px dashed var(--gold-500);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 14px;
  background: var(--cream-100);
}
.traveler-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.traveler-title { color: var(--navy-800); font-size: 0.9rem; }
.remove-traveler {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 1rem;
  cursor: pointer;
  padding: 2px 6px;
}
.remove-traveler:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn-primary, .btn-secondary {
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 13px 26px;
}
.btn-primary {
  display: block;
  width: 100%;
  background: var(--navy-950);
  color: var(--gold-300);
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--navy-800); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-secondary {
  background: #fff;
  border: 1.5px solid var(--gold-500);
  color: var(--gold-600);
  font-size: 0.9rem;
}
.btn-secondary:hover { background: var(--cream-100); }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
  color: var(--ink-500);
  border-top: 1px solid var(--line);
}
.site-footer a { color: var(--gold-600); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .grid-2 { grid-template-columns: 1fr; }
  .hero-arch { border-radius: 60px 60px 8px 8px; padding: 32px 20px 24px; }
  .hero-arch::before { border-radius: 52px 52px 4px 4px; }
  .hero-arch h1 { font-size: 1.6rem; }
}
