/* ==========================================================================
   Karibiktraum — Kolumbien als Neuanfang
   Handgeschriebenes CSS (kein Tailwind-Build). Show-Seite, cinematisch.
   ========================================================================== */

/* -------- Fonts (self-hosted, DSGVO) -------------------------------------- */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/reise/assets/fonts/playfair-display-v40-latin_latin-ext-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/reise/assets/fonts/playfair-display-v40-latin_latin-ext-500.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/reise/assets/fonts/playfair-display-v40-latin_latin-ext-600.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/reise/assets/fonts/playfair-display-v40-latin_latin-ext-700.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/reise/assets/fonts/playfair-display-v40-latin_latin-ext-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/reise/assets/fonts/inter-v20-latin_latin-ext-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/reise/assets/fonts/inter-v20-latin_latin-ext-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/reise/assets/fonts/inter-v20-latin_latin-ext-600.woff2") format("woff2");
}

/* -------- Design-Tokens ---------------------------------------------------- */
:root {
  --cream: #FFFBEB;
  --ink: #0F172A;
  --ink-soft: #334155;
  --ink-muted: #64748B;
  --teal: #14B8A6;
  --teal-dark: #0F766E;
  --coral: #F97316;
  --coral-light: #FB923C;
  --secondary: #FEF3C7;
  --white: #FFFFFF;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --container-narrow: 760px;

  --radius-lg: 1.25rem;   /* rounded-2xl */
  --radius-xl: 1.75rem;   /* rounded-3xl */
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 30px -10px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.28);
  --shadow-teal: 0 18px 40px -14px rgba(15, 118, 110, 0.45);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

::selection {
  background: var(--teal);
  color: var(--white);
}

/* -------- Layout-Helfer ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.container--narrow { max-width: var(--container-narrow); }

.section {
  padding-block: clamp(4.5rem, 11vw, 9rem);
}

.section--tight { padding-block: clamp(3.5rem, 8vw, 6.5rem); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin: 0 0 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--ink);
}

.section-subtitle {
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  max-width: 46ch;
  margin-top: 1rem;
}

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* -------- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 1rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}
.btn--primary:hover { background: var(--teal-dark); }

.btn--glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.85);
}

.btn--white {
  background: var(--white);
  color: var(--teal-dark);
  box-shadow: var(--shadow-md);
}
.btn--white:hover { background: var(--secondary); }

.btn__icon { width: 1.25rem; height: 1.25rem; flex: none; }

/* -------- Scroll-Reveals --------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }

.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal--delay-3 { transition-delay: 0.36s; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 5vw, 2.5rem);
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 251, 235, 0.86);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: var(--shadow-sm);
  padding-block: 0.85rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--white);
  transition: color 0.4s ease;
}
.brand__dot { color: var(--coral-light); }
.site-header.is-scrolled .brand { color: var(--ink); }

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__link {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  transition: color 0.3s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--coral-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }
.site-header.is-scrolled .nav__link { color: var(--ink-soft); }
.site-header.is-scrolled .nav__link:hover { color: var(--teal-dark); }

.nav__link--hide-mobile { display: none; }

@media (min-width: 720px) {
  .nav__link--hide-mobile { display: inline; }
}

/* ==========================================================================
   1) Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -2%, 0); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 50% 12%, rgba(15, 23, 42, 0.06) 0%, rgba(15, 23, 42, 0.28) 55%, transparent 100%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.42) 0%, rgba(15, 23, 42, 0.10) 32%, rgba(15, 23, 42, 0.30) 66%, rgba(15, 23, 42, 0.86) 100%);
}

.hero__inner {
  position: relative;
  padding: 8rem clamp(1.25rem, 5vw, 2.5rem) 7rem;
  max-width: 62rem;
}

.hero__title {
  font-weight: 600;
  font-size: clamp(2.75rem, 9vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 40px rgba(15, 23, 42, 0.45);
}

.hero__script {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--coral-light);
  font-size: clamp(1.35rem, 4.2vw, 2.4rem);
  margin-top: 1.1rem;
  text-shadow: 0 3px 24px rgba(15, 23, 42, 0.4);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.6rem;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  animation: bob 2.4s ease-in-out infinite;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.hero__scroll:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.9);
}
.hero__scroll svg { width: 1.25rem; height: 1.25rem; }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 9px); }
}

/* ==========================================================================
   2) Über mich
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 0.85fr 1fr; }
}

.about__figure {
  position: relative;
  max-width: 26rem;
  margin-inline: auto;
}
.about__portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.about__figure::before {
  content: "";
  position: absolute;
  inset: -1.1rem -1.1rem auto auto;
  width: 55%;
  height: 55%;
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, var(--secondary), rgba(254, 243, 199, 0));
  z-index: -1;
}

.badge-script {
  position: absolute;
  left: -0.75rem;
  bottom: 1.5rem;
  transform: rotate(-6deg);
  background: var(--white);
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.about__body p { color: var(--ink-soft); }
.about__name { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.5rem; }

/* ==========================================================================
   3) Die längere Geschichte
   ========================================================================== */
.story {
  background:
    linear-gradient(180deg, rgba(254, 243, 199, 0.35) 0%, rgba(255, 251, 235, 0) 40%);
}
.story__block { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.story__block:last-child { margin-bottom: 0; }

.story__heading {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  color: var(--teal-dark);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
}
.story__heading::before {
  content: "";
  flex: none;
  width: 2.2rem;
  height: 2px;
  background: var(--coral);
  transform: translateY(-0.4rem);
}
.story__body p {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  line-height: 1.85;
}

/* ==========================================================================
   4) So begleite ich dich (Karten)
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--teal), var(--teal-dark));
  color: var(--white);
  box-shadow: var(--shadow-teal);
  margin-bottom: 1.5rem;
}
.card__icon svg { width: 1.7rem; height: 1.7rem; }

.card__title {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}
.card__text { color: var(--ink-muted); margin: 0; }

/* ==========================================================================
   5) Timeline
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 46rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding-left: 2.5rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), var(--coral-light));
}

.tl-item {
  position: relative;
  padding-bottom: 2.75rem;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-item::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: 0.3rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--teal);
  box-shadow: 0 0 0 5px rgba(20, 184, 166, 0.14);
  transform: translateX(-0.075rem);
}
.tl-item:last-child::before { border-color: var(--coral); box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.14); }

.tl-year {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--secondary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.7rem;
}
.tl-title {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.tl-text { color: var(--ink-muted); margin: 0; }

/* ==========================================================================
   6) Zitat
   ========================================================================== */
.quote {
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(254, 243, 199, 0.9) 0%, var(--secondary) 55%, #FDE9B0 100%);
  text-align: center;
}
.quote__mark {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 0.5;
  color: var(--coral-light);
  opacity: 0.5;
  margin-bottom: 1rem;
}
.quote__text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.15;
  color: var(--coral);
  max-width: 20ch;
  margin-inline: auto;
}
.quote__author {
  margin-top: 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ==========================================================================
   7) Galerie „Inselzauber"
   ========================================================================== */
.gallery__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

.masonry {
  column-count: 1;
  column-gap: 1.25rem;
}
@media (min-width: 640px) { .masonry { column-count: 2; } }
@media (min-width: 1000px) { .masonry { column-count: 3; } }

.masonry__item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.masonry__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s var(--ease);
}
.masonry__item:hover img { transform: scale(1.06); }
.masonry__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.22) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.masonry__item:hover::after { opacity: 1; }

/* ==========================================================================
   8) Kontakt-CTA
   ========================================================================== */
.contact {
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 60%, #0B5D57 100%);
}
.contact::before,
.contact::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 0;
}
.contact::before {
  width: 22rem; height: 22rem;
  top: -8rem; right: -6rem;
  background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 70%);
}
.contact::after {
  width: 26rem; height: 26rem;
  bottom: -12rem; left: -8rem;
  background: radial-gradient(circle, rgba(249,115,22,0.22), transparent 70%);
}
.contact__inner { position: relative; z-index: 1; }
.contact__eyebrow { color: rgba(255, 255, 255, 0.8); }
.contact__title {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  color: var(--white);
}
.contact__text {
  color: rgba(255, 255, 255, 0.9);
  max-width: 44ch;
  margin: 1.25rem auto 2.5rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
}

/* ==========================================================================
   9) Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding-block: 3rem;
  font-size: 0.95rem;
}
.site-footer a {
  color: var(--coral-light);
  font-weight: 500;
  transition: color 0.3s ease;
}
.site-footer a:hover { color: var(--white); }
.site-footer .brand-line {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   Reduced Motion — alles sofort sichtbar & statisch
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__img { animation: none !important; transform: scale(1.05); }
  .hero__scroll { animation: none !important; }
}
