:root {
  --sea: #2e9daf;
  --sea-deep: #0d5f73;
  --sand: #f5eddc;
  --sand-soft: #fbf7ef;
  --terracotta: #d97556;
  --charcoal: #20292e;
  --stone: #6c757b;
  --white: #ffffff;
  --ink-on-dark: #fff7ea;
  --shadow: 0 24px 70px rgba(16, 35, 41, 0.22);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--charcoal);
  background: var(--sand-soft);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(calc(100% - 32px), var(--max));
  min-height: 58px;
  transform: translateX(-50%);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 12px;
  color: var(--ink-on-dark);
  background: rgba(11, 38, 45, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.brand span {
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

nav a {
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 247, 234, 0.88);
  font-size: 0.92rem;
  font-weight: 700;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.lang-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 32px;
  padding: 6px 9px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 247, 234, 0.84);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.lang-button:hover,
.lang-button:focus-visible {
  color: var(--ink-on-dark);
  outline: none;
}

.lang-button.active {
  color: var(--charcoal);
  background: var(--ink-on-dark);
}

.hero {
  position: relative;
  min-height: clamp(620px, 82svh, 760px);
  overflow: hidden;
  color: var(--ink-on-dark);
}

.hero-bg,
.hero-bg img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 35, 42, 0.9), rgba(9, 35, 42, 0.48) 50%, rgba(9, 35, 42, 0.2)),
    linear-gradient(0deg, rgba(8, 30, 36, 0.68), rgba(8, 30, 36, 0.08) 45%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 450px);
  gap: clamp(26px, 5vw, 70px);
  width: min(calc(100% - 40px), var(--max));
  min-height: inherit;
  margin: 0 auto;
  padding: 104px 0 42px;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(4rem, 10vw, 8.7rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 247, 234, 0.9);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 850;
}

.button.primary {
  color: #1d2529;
  background: var(--ink-on-dark);
}

.button.secondary {
  color: var(--ink-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 247, 234, 0.84);
}

.signal-row span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  font-weight: 750;
}

.device-stage {
  position: relative;
  display: grid;
  justify-items: center;
}

.phone-frame,
.tablet-frame {
  overflow: hidden;
  background: #11191d;
  border: 10px solid #11191d;
  box-shadow: var(--shadow);
}

.phone-frame {
  width: min(288px, 28vw);
  aspect-ratio: 1242 / 2688;
  border-radius: 40px;
  transform: rotate(2deg);
}

.phone-frame img,
.tablet-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.quick-card {
  position: absolute;
  right: 0;
  bottom: 24px;
  max-width: 205px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--charcoal);
  background: rgba(255, 247, 234, 0.92);
  box-shadow: var(--shadow);
}

.quick-card strong,
.quick-card span {
  display: block;
}

.quick-card strong {
  margin-bottom: 6px;
  font-size: 1.38rem;
}

.quick-card span {
  color: #526066;
  font-size: 0.92rem;
  line-height: 1.35;
}

.intro-band,
.app-section,
.places-section,
.route-section,
.closing-section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

#app,
#orte,
#routen {
  scroll-margin-top: 132px;
}

.intro-band {
  padding: 24px 0 76px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.intro-grid article,
.feature-list article,
.place-card {
  border: 1px solid rgba(45, 73, 78, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 44px rgba(31, 49, 54, 0.08);
}

.intro-grid article {
  padding: 22px;
}

.metric {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--sea-deep);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-grid h2 {
  margin-bottom: 10px;
  font-family: inherit;
  font-size: 1.22rem;
  line-height: 1.2;
}

.intro-grid p,
.section-copy p,
.feature-list p,
.place-card p,
.route-copy p,
.closing-section p {
  color: var(--stone);
  line-height: 1.65;
}

.app-section,
.places-section {
  padding: 40px 0 86px;
}

.section-copy {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-copy h2,
.route-copy h2,
.closing-section h2 {
  color: var(--charcoal);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(280px, 470px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.tablet-frame {
  width: min(470px, 100%);
  aspect-ratio: 2048 / 2732;
  border-radius: 34px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-list article {
  min-height: 190px;
  padding: 22px;
}

.feature-list span {
  color: var(--terracotta);
  font-size: 0.82rem;
  font-weight: 900;
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.place-card {
  overflow: hidden;
}

.place-card.wide {
  grid-column: span 2;
  grid-row: span 2;
}

.place-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.place-card.wide img {
  height: 510px;
}

.place-card div {
  padding: 18px;
}

.place-card span {
  color: var(--sea-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(24px, 5vw, 74px);
  padding: 70px 0 96px;
  align-items: center;
}

.route-copy {
  max-width: 520px;
}

.route-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.route-tags span {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--sea-deep);
  background: #e7f2f1;
  font-size: 0.9rem;
  font-weight: 800;
}

.route-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.route-image img {
  width: 100%;
  height: min(540px, 58vw);
  min-height: 330px;
  object-fit: cover;
}

.closing-section {
  padding: 80px 0 92px;
  text-align: center;
}

.closing-section img {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 20px;
  box-shadow: 0 15px 34px rgba(13, 95, 115, 0.22);
}

.closing-section p {
  max-width: 640px;
  margin-right: auto;
  margin-left: auto;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.button.primary.light {
  color: var(--white);
  background: var(--sea-deep);
}

.button.secondary.dark {
  color: var(--sea-deep);
  border-color: rgba(13, 95, 115, 0.28);
}

@media (max-width: 920px) {
  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), var(--max));
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero-inner,
  .feature-layout,
  .route-section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 102px;
    padding-bottom: 46px;
  }

  .device-stage {
    justify-self: start;
  }

  .intro-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .places-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .place-card.wide {
    grid-column: span 2;
  }

  .place-card.wide img {
    height: 380px;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: stretch;
    border-radius: 22px;
    flex-direction: column;
    gap: 6px;
  }

  nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .header-actions {
    width: 100%;
    justify-content: stretch;
  }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .lang-button {
    flex: 1;
    min-width: 0;
    padding-right: 6px;
    padding-left: 6px;
  }

  nav a {
    padding: 9px 8px;
    text-align: center;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-inner {
    width: min(calc(100% - 26px), var(--max));
    min-height: inherit;
    padding-top: 136px;
    padding-bottom: 24px;
  }

  h1 {
    font-size: clamp(3.15rem, 18vw, 4.25rem);
  }

  h2 {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .lead {
    font-size: 1.04rem;
  }

  .button {
    width: 100%;
  }

  .phone-frame {
    display: none;
  }

  .quick-card {
    display: none;
  }

  .intro-band,
  .app-section,
  .places-section,
  .route-section,
  .closing-section {
    width: min(calc(100% - 26px), var(--max));
  }

  .places-grid {
    grid-template-columns: 1fr;
  }

  .place-card.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .place-card img,
  .place-card.wide img {
    height: 290px;
  }

  .route-image img {
    height: 330px;
  }
}
