/* Mallorca Routes – Landing (Brand: #1c3659 · #d96041) */
:root {
  --brand-navy: #1c3659;
  --brand-navy-soft: #243d63;
  --brand-coral: #d96041;
  --brand-coral-deep: #b84a32;
  --brand-coral-glow: rgba(217, 96, 65, 0.45);
  --color-text: #141820;
  --color-muted: #5a6578;
  --color-surface: #f0f3f8;
  --color-card: #ffffff;
  --shadow-soft: 0 4px 32px rgba(28, 54, 89, 0.08);
  --shadow-card: 0 8px 40px rgba(28, 54, 89, 0.1);
  --shadow-phone: 0 0 0 1px rgba(217, 96, 65, 0.25), 0 32px 64px -16px rgba(0, 0, 0, 0.55);
  --radius-lg: 22px;
  --radius-md: 14px;
  --font-sf: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "SF Pro", system-ui, sans-serif;
  --max-width: 1140px;
  /* Screenshot-Seitenverhältnis (sollte zu images/*.PNG passen) */
  --phone-screenshot-ratio: 390 / 844;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sf);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-coral);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--brand-coral);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* —— Header (gleiche Grundfarbe wie Footer) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brand-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-mark {
  height: 2.35rem;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.logo--long {
  min-width: 0;
}

.logo-mark--long {
  height: 2.35rem;
  width: auto;
  max-width: min(52vw, 280px);
  max-height: 2.5rem;
  object-fit: contain;
  object-position: left center;
  filter: brightness(1.08);
}

@media (min-width: 480px) {
  .logo-mark--long {
    max-width: 320px;
  }
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.footer-logo-row .logo-mark {
  height: 2rem;
  width: auto;
  opacity: 0.95;
  filter: brightness(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links .btn-primary {
  color: #fff;
}

.nav-links .btn-primary:hover {
  color: #fff;
}

@media (max-width: 639px) {
  .site-header--landing .nav-links__desktop {
    display: none;
  }
}

/* Sprachwahl (immer sichtbar, auch mobil auf der Landing Page) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.lang-switch a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.lang-switch a:hover {
  color: #fff;
}

.lang-switch__current {
  color: var(--brand-coral);
}

.lang-switch__sep {
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(145deg, var(--brand-coral) 0%, var(--brand-coral-deep) 100%);
  color: #fff;
  box-shadow: 0 4px 24px var(--brand-coral-glow);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(217, 96, 65, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-ghost--light-bg {
  background: transparent;
  color: var(--brand-navy);
  border: 2px solid rgba(28, 54, 89, 0.2);
}

.btn-ghost--light-bg:hover {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--brand-navy);
  color: #f8fafc;
  padding: clamp(2.5rem, 7vw, 5rem) 1.25rem clamp(3rem, 8vw, 5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 100% -10%, rgba(217, 96, 65, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(217, 96, 65, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, var(--brand-navy-soft) 0%, var(--brand-navy) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-coral);
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(217, 96, 65, 0.12);
  border: 1px solid rgba(217, 96, 65, 0.35);
}

.hero h1 {
  font-family: var(--font-sf);
  font-size: clamp(2.1rem, 4.8vw, 3.35rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 1.1rem;
  letter-spacing: -0.035em;
}

.hero h1 .hero-title-accent {
  color: var(--brand-coral);
  display: inline-block;
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(248, 250, 252, 0.78);
  max-width: 38ch;
  margin: 0 0 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-visual {
    animation: hero-float 7s ease-in-out infinite;
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.phone-mockup {
  width: min(300px, 100%);
  border-radius: 40px;
  background: linear-gradient(165deg, #2a3f5f 0%, #0d1829 100%);
  box-shadow: var(--shadow-phone);
  padding: 11px;
  position: relative;
}

.phone-screen {
  width: 100%;
  aspect-ratio: var(--phone-screenshot-ratio);
  height: auto;
  border-radius: 30px;
  background: #0a1018;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.phone-screen__slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.phone-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* contain: volle Breite/Höhe sichtbar, linke/rechte Ränder nicht abschneiden (ggf. oben/unten Letterboxing) */
  object-fit: contain;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.phone-slide.is-active {
  opacity: 1;
  z-index: 1;
}

/* —— Features —— */
.section {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
}

.section--features {
  background: var(--color-surface);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-coral);
  margin: 0 0 0.5rem;
}

.section-title {
  font-family: var(--font-sf);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--brand-navy);
  margin: 0 0 0.65rem;
  letter-spacing: -0.03em;
}

.section-sub {
  color: var(--color-muted);
  max-width: 48ch;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.55;
}

.features {
  display: grid;
  gap: 1.35rem;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  position: relative;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.45rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(28, 54, 89, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-coral) 0%, var(--brand-navy) 100%);
  opacity: 0.85;
  border-radius: 4px 0 0 4px;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(217, 96, 65, 0.2);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(217, 96, 65, 0.1) 0%, rgba(28, 54, 89, 0.08) 100%);
  border: 1px solid rgba(28, 54, 89, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--brand-navy);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.feature-card:hover .feature-icon {
  color: var(--brand-coral-deep);
  border-color: rgba(217, 96, 65, 0.22);
  background: linear-gradient(145deg, rgba(217, 96, 65, 0.12) 0%, rgba(28, 54, 89, 0.06) 100%);
}

.feature-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--brand-navy);
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.55;
}

/* —— CTA —— */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-coral) 0%, var(--brand-coral-deep) 55%, #9a3f28 100%);
  color: #fff;
  padding: clamp(3rem, 6vw, 4.25rem) 1.25rem;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 55%);
  pointer-events: none;
}

.cta-band h2,
.cta-band p,
.cta-band .btn {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-family: var(--font-sf);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 0 1.5rem;
  opacity: 0.95;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--brand-navy);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cta-band .btn-primary:hover {
  color: var(--brand-coral-deep);
  transform: translateY(-2px);
}

/* —— Footer —— */
.site-footer {
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 2.75rem 1.25rem;
  font-size: 0.9375rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: flex-start;
  }
}

.footer-brand {
  font-family: var(--font-sf);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.35rem;
}

.footer-links {
  display: flex;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand-coral);
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* —— Legal —— */
.legal-page {
  padding: 2.5rem 1.25rem 4rem;
  max-width: 720px;
  margin: 0 auto;
}

.legal-page h1 {
  font-family: var(--font-sf);
  font-size: clamp(1.75rem, 3vw, 2.1rem);
  color: var(--brand-navy);
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.legal-meta {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.125rem;
  margin: 2rem 0 0.75rem;
  color: var(--color-text);
  font-weight: 600;
}

.legal-page p,
.legal-page li {
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.legal-page ul {
  padding-left: 1.25rem;
}

.placeholder {
  display: inline;
  background: rgba(217, 96, 65, 0.12);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-weight: 600;
  color: var(--brand-coral-deep);
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.back-link:hover {
  color: var(--brand-coral);
}
