:root {
  color-scheme: light;
  --bg: #f6f4ef;
  --card: #fff;
  --border: #e5e0d6;
  --text: #1c2a33;
  --muted: #5c6b76;
  --accent: #0d5c56;
  --accent-hover: #0a4a45;
  --radius: 10px;
  --shadow: 0 2px 8px rgb(28 42 51 / 7%);
  --warn-bg: #fffbeb;
  --warn-border: #fcd34d;
  --info-bg: #eef6fb;
  --info-border: #93c5fd;
  --qa-strip-bg: #faf5ff;
  --qa-strip-border: #e9d5ff;
  --font-sans: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

h1,
h2,
h3,
.page-title,
.site-brand {
  font-family: var(--font-serif);
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.4rem 1.25rem;
  font-size: 0.8rem;
  background: #1c2a33;
  color: #e2e8f0;
}

.site-topbar a {
  color: #a5e8e0;
  text-decoration: none;
}
.site-topbar a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-topbar-item {
  white-space: nowrap;
}

/* QA: Slot-Rahmen unabhängig von Marken-CSS (Toggle aus) */
body.qa-page .widget-slot {
  border-style: solid;
  border-width: 2px;
  border-color: #c4b5fd;
}

html.th-widget-brand-off body.qa-page .widget-slot {
  border-color: var(--border);
}

/* Toggle: Host-Marken-CSS für das Widget */
.th-widget-brand-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.35rem 1.25rem;
  background: linear-gradient(90deg, #f5f3ff 0%, #ede9fe 50%, #fae8ff 100%);
  border-bottom: 1px solid #ddd6fe;
  font-size: 0.8125rem;
  color: #4c1d95;
}

.th-widget-brand-bar--qa {
  justify-content: flex-start;
  border-bottom-color: #e9d5ff;
}

.th-widget-brand-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.th-widget-brand-label input {
  width: 1rem;
  height: 1rem;
  accent-color: #7c3aed;
  cursor: pointer;
}

.th-widget-brand-hint {
  margin: 0;
  width: 100%;
  font-size: 0.75rem;
  color: #6b21a8;
  opacity: 0.92;
}

html.th-widget-brand-off .th-widget-brand-bar {
  background: #f1f5f9;
  border-bottom-color: #e2e8f0;
  color: #475569;
}

html.th-widget-brand-off .th-widget-brand-hint {
  color: #64748b;
}

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.site-header--qa {
  border-bottom-color: var(--qa-strip-border);
}

.site-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}
.site-brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.site-nav {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
}

.site-nav-sep {
  color: var(--border);
  user-select: none;
}

.site-nav-qa {
  font-weight: 600;
  color: #6d28d9;
}

.site-nav-current {
  color: var(--text);
  font-weight: 600;
}

.wrap {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.wrap--wide {
  max-width: 72rem;
}

/* Desktop: etwas luftiger als die klassische ~896px-Spalte */
@media (min-width: 1024px) {
  .wrap {
    max-width: 70rem;
  }

  .wrap--wide {
    max-width: 86rem;
  }
}

.hero {
  margin: 2rem 0 2.5rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 50%, #f8fafc 100%);
  border: 1px solid #99f6e4;
  border-radius: calc(var(--radius) + 4px);
}

.hero--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}

@media (min-width: 768px) {
  .hero--split {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }
}

.hero-copy {
  padding: 1.75rem 1.5rem 2rem;
}

@media (min-width: 768px) {
  .hero-copy {
    padding: 2rem 1.75rem 2.25rem;
  }
}

.hero-visual {
  position: relative;
  min-height: 11rem;
  background:
    linear-gradient(160deg, rgb(13 92 86 / 18%) 0%, transparent 45%),
    linear-gradient(20deg, #1e3a4f 0%, #2d5a6b 35%, #4a90a4 55%, #c4a574 85%, #e8d4b8 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem;
}

.hero-visual-caption {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 92%);
  text-shadow: 0 1px 2px rgb(0 0 0 / 35%);
}

.hero-stats {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--accent);
  font-weight: 700;
}

#uz-hero-search,
#beliebt,
#reiseziele,
#so-gehts,
#kontakt,
#impressum {
  scroll-margin-top: 0.75rem;
}

.hero-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}

.hero p.lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 40rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover {
  text-decoration: none;
}

.btn-secondary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent-hover);
}
.btn-secondary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.widget-slot {
  min-height: 4rem;
  padding: 1rem;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.widget-slot--hero {
  border-style: solid;
  border-color: #99f6e4;
  box-shadow: var(--shadow);
}

.widget-slot--embed {
  border-style: solid;
  border-color: var(--border);
  background: #fdfcfa;
}

.widget-slot-label {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.hero-search {
  display: grid;
  gap: 0.75rem;
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}

.hero-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 7rem;
}

.hero-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-field input {
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  background: var(--card);
}

.hero-field.hero-field-wide {
  flex: 1 1 12rem;
  min-width: min(100%, 14rem);
}

.hero-submit {
  padding: 0.55rem 1.25rem;
  border: none;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  align-self: flex-end;
}
.hero-submit:hover {
  background: var(--accent-hover);
}

.section {
  margin-top: 2.5rem;
}

.section--tight {
  margin-top: 1.25rem;
}

.section h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.section .section-note {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.section-divider {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid var(--border);
}

.page-intro {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.page-intro--compact {
  margin-bottom: 1rem;
}

.page-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  letter-spacing: -0.02em;
}

.page-lead {
  margin: 0;
  max-width: 44rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.feature-card {
  margin: 0;
  padding: 1.1rem 1.15rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.feature-card-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.destinations-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.destination-card {
  margin: 0;
  padding: 1.25rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.destination-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-family: var(--font-serif);
}

.destination-card-text {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  color: var(--muted);
}

.destination-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  max-width: 36rem;
}

.steps-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.steps-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.quote-strip {
  margin: 2.75rem 0 0;
  padding: 1.35rem 1.5rem;
  background: #1c2a33;
  color: #e8eef2;
  border-radius: calc(var(--radius) + 4px);
  border: none;
  box-shadow: var(--shadow);
}

.quote-strip p {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-style: italic;
  font-family: var(--font-serif);
  line-height: 1.45;
}

.quote-strip footer {
  font-size: 0.8rem;
  color: #94a3b8;
}

.status-callout {
  margin: 1rem 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  border: 1px solid var(--border);
}

.status-callout--info {
  background: var(--info-bg);
  border-color: var(--info-border);
  color: #1e3a5f;
}

.status-callout--warn {
  background: var(--warn-bg);
  border-color: var(--warn-border);
  color: #78350f;
}

.site-footer {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0 0 0.5rem;
}

.site-footer-links {
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 520px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.footer-muted {
  margin: 0.35rem 0 0;
  max-width: 22rem;
}

.footer-links-title {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-legal {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.5;
}

.qa-banner {
  margin: 0;
  padding: 0.75rem 1.25rem;
  background: var(--qa-strip-bg);
  border-bottom: 1px solid var(--qa-strip-border);
  font-size: 0.875rem;
  color: #4c1d95;
}

.qa-banner p {
  margin: 0 auto;
  max-width: 72rem;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .qa-banner p {
    max-width: 86rem;
  }
}

.qa-matrix {
  margin: 1.5rem 0 2rem;
  overflow-x: auto;
}

.qa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.qa-table th,
.qa-table td {
  padding: 0.6rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.qa-table th {
  background: #f1f5f9;
  font-weight: 600;
  color: var(--text);
}

.qa-table tr:last-child td {
  border-bottom: none;
}

.qa-table code {
  font-size: 0.8em;
}

.qa-panel {
  margin-top: 2.5rem;
  scroll-margin-top: 1rem;
}

.qa-panel-header {
  margin-bottom: 0.75rem;
}

.qa-panel-header h2 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.qa-panel-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.hint {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.hint--qa {
  margin-top: 3rem;
  background: #faf5ff;
  border-color: #e9d5ff;
  color: #4c1d95;
}

.hint code {
  font-size: 0.85em;
}

.breadcrumb {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 1.25rem 0 0.5rem;
}

.breadcrumb strong {
  color: var(--text);
  font-weight: 600;
}

body.qa-page {
  background: #fafafa;
}
