:root {
  --white: #ffffff;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
  --shadow-strong: 0 22px 60px rgba(17, 24, 39, 0.14);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
  --nav-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
.container { width: min(100% - 40px, var(--container)); margin: 0 auto; }
.narrow { max-width: 820px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
}
.nav { height: var(--nav-height); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand, .footer-brand {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gray-900);
  white-space: nowrap;
}
.brand::before, .footer-brand::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(37,99,235,.12);
}
.nav-links { display: flex; align-items: center; gap: 2px; font-size: .88rem; font-weight: 600; color: var(--gray-700); }

/* ===== Language Dropdown ===== */
.lang-dropdown { position: relative; margin-left: 4px; }
.lang-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 6px 10px; font-size: .82rem; font-weight: 700;
  border: 1px solid var(--gray-200); border-radius: 999px;
  background: var(--white); color: var(--gray-700);
  cursor: pointer; transition: border-color .2s, background .2s;
  white-space: nowrap;
}
.lang-btn:hover { border-color: var(--gray-300); background: var(--gray-50); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  display: none; min-width: 140px;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 14px; box-shadow: var(--shadow-strong);
  padding: 6px; list-style: none; z-index: 1001;
}
.lang-menu.is-open { display: block; }
.lang-menu li a {
  display: block; padding: 8px 12px !important; border-radius: 10px !important;
  font-size: .85rem; font-weight: 600; color: var(--gray-700);
  white-space: nowrap;
}
.lang-menu li a:hover { background: var(--gray-50); color: var(--gray-900); }
.lang-menu li a.active { background: var(--gray-100); color: var(--gray-900); }

@media (max-width: 1100px) {
  .lang-dropdown { margin-left: 0; }
  .lang-btn { width: 100%; justify-content: center; }
  .lang-menu { position: static; min-width: auto; box-shadow: none; border: 1px solid var(--gray-200); margin-top: 2px; }
}
.nav-links a { padding: 10px 11px; border-radius: 999px; transition: background .2s ease, color .2s ease; white-space: nowrap; }
.nav-links a:hover { background: var(--gray-100); color: var(--gray-900); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--gray-200); background: var(--white); border-radius: 12px; padding: 9px; }
.nav-toggle span { display: block; height: 2px; background: var(--gray-900); margin: 5px 0; border-radius: 999px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

main { padding-top: var(--nav-height); }
.hero { padding: 88px 0 72px; background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%); }
.hero-grid, .page-hero-grid { display: grid; grid-template-columns: 1fr .92fr; align-items: center; gap: 64px; }
.hero h1, .page-hero h1 { font-size: clamp(2.65rem, 6vw, 5.8rem); line-height: .96; letter-spacing: -0.075em; margin-bottom: 24px; }
.page-hero h1 { font-size: clamp(2.35rem, 5vw, 4.8rem); }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--gray-700); max-width: 700px; }
.eyebrow { margin-bottom: 16px; color: var(--blue); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 800; }
.hero-image, .page-hero-image, .feature-media { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; background: var(--gray-100); box-shadow: var(--shadow); }
.hero-image img { aspect-ratio: 4 / 5; width: 100%; height: 100%; object-fit: cover; }
.page-hero-image img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }

.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gray-900); color: var(--white); box-shadow: 0 12px 24px rgba(17,24,39,.14); }
.btn-primary:hover { background: #000; box-shadow: 0 16px 32px rgba(17,24,39,.18); }
.btn-outline { border-color: var(--gray-300); background: var(--white); color: var(--gray-900); }
.btn-outline:hover { border-color: var(--gray-900); }
.btn.light { background: var(--white); color: var(--gray-900); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.section { padding: 92px 0; }
.section-soft { background: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading.left { margin-bottom: 0; }
.section-heading h2, .split-panel h2, .cta-card h2 { font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.02; letter-spacing: -0.06em; margin-bottom: 0; }

.bento-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.bento-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(17,24,39,.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); border-color: var(--gray-300); }
.bento-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,24,39,0.05), rgba(17,24,39,0.78)); }
.bento-card > div { position: relative; z-index: 1; padding: 28px; color: var(--white); }
.bento-card span { display: inline-flex; margin-bottom: 12px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.bento-card h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.1; letter-spacing: -0.04em; margin-bottom: 10px; }
.bento-card p { margin: 0; color: rgba(255,255,255,.84); }
.bento-large { grid-row: span 2; min-height: 740px; }
.bento-dark::after { background: linear-gradient(180deg, rgba(29,78,216,.1), rgba(17,24,39,.84)); }

.split-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; align-items: start; }
.metric-grid, .process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.metric-card, .process-step, .service-card, .destination-card, .team-card, .contact-card, .contact-form, .legal-card, .story-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 28px;
  box-shadow: 0 1px 0 rgba(17,24,39,.04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.metric-card:hover, .process-step:hover, .service-card:hover, .destination-card:hover, .team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gray-300); }
.metric-card strong, .card-index, .process-step strong { display: block; color: var(--blue); font-weight: 800; margin-bottom: 22px; }
.metric-card span { display: block; font-weight: 800; font-size: 1.08rem; margin-bottom: 8px; }
.metric-card p, .service-card p, .destination-card p, .team-card p, .process-step p { margin-bottom: 0; color: var(--gray-700); }

.cta-card { text-align: center; max-width: 900px; padding: 52px; border: 1px solid var(--gray-200); border-radius: calc(var(--radius) + 6px); background: linear-gradient(135deg, var(--white), var(--gray-50)); box-shadow: var(--shadow); }
.cta-card p { max-width: 650px; margin: 16px auto 28px; color: var(--gray-700); }

.page-hero { padding: 74px 0 70px; background: var(--white); }
.page-hero.compact { background: linear-gradient(180deg, var(--white), var(--gray-50)); }
.image-header {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.image-header::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--header-image); background-size: cover; background-position: center; }
.image-header::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,24,39,.92), rgba(17,24,39,.65), rgba(17,24,39,.35)); }
.image-header .lead { color: rgba(255,255,255,.84); }
.travel-hero { background: linear-gradient(180deg, var(--white), #F8FAFC); }

.feature-stack { display: grid; gap: 30px; }
.feature-row { display: grid; grid-template-columns: .95fr 1.05fr; gap: 42px; align-items: center; padding: 24px; background: var(--white); border: 1px solid var(--gray-200); border-radius: calc(var(--radius) + 6px); }
.feature-row.reverse .feature-media { order: 2; }
.feature-media img { aspect-ratio: 5 / 4; width: 100%; object-fit: cover; }
.feature-content h2 { font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.04; letter-spacing: -0.055em; }
.check-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; color: var(--gray-700); }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); box-shadow: inset 0 0 0 4px var(--white), 0 0 0 1px var(--blue); }
.card-grid { display: grid; gap: 18px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.service-card h3, .destination-card h3, .team-card h3, .process-step h3 { font-size: 1.25rem; letter-spacing: -0.035em; margin-bottom: 10px; }
.process-wrap { display: grid; grid-template-columns: .65fr 1.35fr; gap: 48px; align-items: start; }
.destination-card { min-height: 230px; }
.large-text { font-size: clamp(1.1rem, 2vw, 1.45rem); color: var(--gray-700); margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team-avatar { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; margin-bottom: 22px; }
.avatar-placeholder { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; background: var(--gray-100); border: 1px solid var(--gray-200); color: var(--gray-900); font-weight: 800; letter-spacing: -.04em; }
.location { color: var(--blue) !important; font-weight: 800; margin-bottom: 12px !important; }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; }
.story-card p:last-child { margin-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 24px; align-items: start; }
address { font-style: normal; color: var(--gray-700); margin: 18px 0 28px; }
.muted { color: var(--gray-500); }
.form-note { border: 1px solid #BFDBFE; background: #EFF6FF; color: #1E3A8A; padding: 14px 16px; border-radius: 14px; margin-bottom: 22px; font-size: .94rem; }
.contact-form { display: grid; gap: 10px; }
.contact-form label { font-weight: 800; font-size: .92rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; border: 1px solid var(--gray-300); border-radius: 14px; padding: 14px 15px; font: inherit; background: var(--gray-50); color: var(--gray-700); resize: vertical;
}
.contact-form button { margin-top: 10px; justify-self: start; }

.legal-card { max-width: 920px; }
.legal-card h2 { font-size: 1.35rem; letter-spacing: -0.035em; margin-top: 34px; margin-bottom: 12px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { color: var(--gray-700); }
.legal-card a { color: var(--blue); font-weight: 700; }
.legal-list { display: grid; gap: 0; border: 1px solid var(--gray-200); border-radius: 16px; overflow: hidden; margin: 18px 0; }
.legal-list div { display: grid; grid-template-columns: 180px 1fr; gap: 18px; padding: 14px 16px; border-bottom: 1px solid var(--gray-200); }
.legal-list div:last-child { border-bottom: 0; }
.legal-list dt { font-weight: 800; color: var(--gray-900); }
.legal-list dd { margin: 0; color: var(--gray-700); }

.site-footer { background: var(--gray-900); color: var(--white); padding: 58px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr; gap: 42px; }
.footer-grid p { color: rgba(255,255,255,.68); max-width: 420px; }
.footer-grid h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.52); margin-bottom: 16px; }
.footer-grid a:not(.footer-brand) { display: block; color: rgba(255,255,255,.78); margin: 9px 0; transition: color .2s ease; }
.footer-grid a:hover { color: var(--white); }
.footer-brand { color: var(--white); display: inline-block; margin-bottom: 16px; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.54); font-size: .9rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

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

@media (max-width: 1100px) {
  .nav-links { position: fixed; left: 20px; right: 20px; top: calc(var(--nav-height) + 10px); display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 20px; box-shadow: var(--shadow-strong); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 14px; }
  .nav-toggle { display: block; }
  .hero-grid, .page-hero-grid, .split-panel, .process-wrap, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .card-grid.four, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large { min-height: 460px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 68px 0; }
  .hero { padding: 56px 0 60px; }
  .hero-grid, .page-hero-grid { gap: 34px; }
  .hero h1, .page-hero h1 { letter-spacing: -0.065em; }
  .button-row { width: 100%; }
  .button-row .btn, .cta-card .btn, .feature-content .btn { width: 100%; }
  .bento-card, .bento-large { min-height: 380px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; padding: 16px; }
  .feature-row.reverse .feature-media { order: 0; }
  .metric-grid, .process-grid, .card-grid.three, .card-grid.four, .team-grid, .footer-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 34px 22px; }
  .image-header { min-height: 520px; }
  .legal-list div { grid-template-columns: 1fr; gap: 4px; }
}

/* === KI-Dienstleistungen: Hintergrundgrafik === */
.section-ki-bg {
  position: relative;
  isolation: isolate;
  background: var(--gray-900);
  overflow: hidden;
}
.section-ki-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('../images/ki-bg-abstract.jpg') center/cover no-repeat fixed;
  opacity: 0.35;
}
.section-ki-bg h1 {
  color: var(--white);
}
.section-ki-bg .lead {
  color: rgba(255,255,255,.84);
}
.section-ki-bg .section-heading p.eyebrow,
.section-ki-bg .section-heading h2 {
  color: var(--white);
}
.section-ki-bg .service-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white);
  padding: 24px 24px 28px;
  text-align: center;
}
.section-ki-bg .service-card p {
  color: rgba(255,255,255,.75);
}
.section-ki-bg .service-card h3 {
  color: var(--white);
}
.section-ki-bg .service-card .card-index {
  color: var(--blue);
}
.section-ki-bg .card-index {
  display: block;
  font-weight: 800;
  margin-bottom: 22px;
}
/* === Service-Card Bilder für KI-Seite === */
/* === Rabbit Hole: Dschungel-Hintergrund === */
.section-rh-bg {
  position: relative;
  isolation: isolate;
  background: #0d2818;
  overflow: hidden;
}
.section-rh-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('../images/rabbithole-bg-jungle.jpg') center/cover no-repeat fixed;
  opacity: 0.25;
}
.section-rh-bg .section-heading p.eyebrow,
.section-rh-bg .section-heading h2 {
  color: var(--white);
}
.section-rh-bg .section-heading {
  text-align: center;
   margin: 0 auto;
}
.section-rh-bg .rh-logo {
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 2px solid rgba(255,255,255,.25);
}
.section-rh-bg .feature-stack .feature-row .feature-content p.eyebrow,
.section-rh-bg .feature-stack .feature-row .feature-content h2,
.section-rh-bg .feature-stack .feature-row .feature-content p {
  color: var(--white);
}
.section-rh-bg .feature-stack .feature-row .feature-content ul.check-list li {
  color: rgba(255,255,255,.8);
}
.section-rh-bg .feature-stack .feature-row .feature-content ul.check-list li::before {
  color: #4ade80;
}
.section-rh-bg .feature-row {
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: calc(var(--radius) + 4px);
  padding: 24px;
}

.ki-card-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 16px;
  margin: 0 auto 16px;
  display: block;
  background: rgba(15, 23, 42, 0.4);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
