/* ==========================================================================
   Startseite — Screen 1 des Handoff-Pakets
   ========================================================================== */

/* ---------------------------------------------------------------- Hero */

.hero {
  position: relative;
  min-height: 670px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--weiss);
  padding: 30px 0 180px;   /* unten Platz für den überlappenden Reisefinder */
}

.hero-bild,
.hero-bild picture,
.hero-bild img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-bild img {
  object-fit: cover;
  /* Etwas oberhalb der Mitte: so bleibt die Taucherin im Bild, wenn der
     Browser bei sehr breiten Fenstern oben und unten beschneidet. */
  object-position: 50% 38%;
}

.hero-schleier {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 30, 37, 0) 62%, rgba(3, 30, 37, .5) 100%);
}

.hero-inhalt {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.hero-panel {
  max-width: 640px;
  padding: 26px 30px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(3, 30, 37, .22);
}
.hero-panel h1 { color: var(--weiss); max-width: 15ch; }
.hero-text {
  font-size: 1.12rem;
  color: #EAF7F8;
  max-width: 46ch;
  margin-bottom: 0;
}
.eyebrow.hell { color: var(--auf-dunkel-hell); }

/* Aufsteigende Blasen */
.blasen { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.blasen span {
  position: absolute;
  bottom: -40px;
  border: 2px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  animation: aufsteigen 14s linear infinite;
}
.blasen span:nth-child(1) { left: 12%; width: 18px; height: 18px; animation-delay: 0s; }
.blasen span:nth-child(2) { left: 18%; width: 12px; height: 12px; animation-delay: 2s; }
.blasen span:nth-child(3) { left: 82%; width: 26px; height: 26px; animation-delay: 4s; }
.blasen span:nth-child(4) { left: 88%; width: 14px; height: 14px; animation-delay: 7s; }

@keyframes aufsteigen {
  0%   { transform: translateY(120px); opacity: 0; }
  12%  { opacity: .7; }
  100% { transform: translateY(-680px); opacity: 0; }
}

.finder-huelle { position: relative; z-index: 5; margin-top: -150px; }

/* ---------------------------------------------------------- USP-Leiste */

.usp {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 58px 22px 8px;
}
.usp-punkt { display: flex; gap: 14px; align-items: flex-start; }
.usp-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--riff);
  color: var(--lagune-dkl);
}
.usp-titel { font-weight: 700; font-size: .98rem; color: var(--tiefsee); }
.usp-text  { font-size: .86rem; color: var(--ink-soft); }

.specials { position: relative; background: var(--riff); padding: 52px 0 72px; }
.schiffe  { padding: 52px 22px 72px; }

/* ------------------------------------------------------ Schiffskarten */

.schiff-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.schiff-karte {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rand-1);
  border-radius: var(--radius-lg);
  background: var(--weiss);
  box-shadow: var(--schatten-soft);
  overflow: hidden;
  transition: transform .2s;
}
.schiff-karte:hover { transform: translateY(-4px); }

.schiff-bild {
  display: block;
  height: 190px;
  background-color: #0E5B66;
  background-size: cover;
  background-position: center;
}
/* Die Sammelkarte trägt ein Raster aus Schiffsfotos (siehe
   bin/partnerschiffe-mosaik.php). Der Farbverlauf bleibt als Grund darunter:
   solange das Bild lädt -- und falls jemand bin/media-build.php vergisst --
   ist die Karte gefärbt und nicht weiss. */
.schiff-bild.partner {
  background-color: var(--tiefsee);
  background-image: linear-gradient(135deg, var(--lagune-dkl), var(--tiefsee));
}

.schiff-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.schiff-body h3 { font-size: 1.25rem; margin-bottom: .3em; }
.schiff-body h3 a { color: var(--tiefsee); text-decoration: none; }
.schiff-body h3 a:hover { color: var(--lagune-dkl); }
.region {
  font-family: var(--font-mono);
  font-size: .78rem;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: .3em;
}
.schiff-text { font-size: .92rem; color: var(--ink-soft); }

.termin-liste {
  margin: 6px 0 18px;
  padding: 10px 0 0;
  list-style: none;
  border-top: 1px dashed #DCEBED;
  font-family: var(--font-mono);
  font-size: .84rem;
}
.termin-liste li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  color: var(--tiefsee);
}
.termin-liste .preis { color: var(--sand); font-weight: 500; white-space: nowrap; }

.schiff-body .btn { margin-top: auto; align-self: flex-start; }

/* -------------------------------------------------------------- Über uns */

.ueberuns { background: var(--sand-hell); padding: 72px 0; }
.ueberuns-raster {
  display: grid;
  /* PROVISORIUM: Das Design sieht 300px vor. Das derzeit einzige verfügbare
     Porträt misst nur 150 × 200 Pixel; auf 300px gezogen wäre es deutlich
     unscharf. Bis ein größeres Bild vorliegt steht die Spalte auf 190px —
     dann bitte auf 300px zurücksetzen (siehe config/medien.php). */
  grid-template-columns: 190px 1fr;
  gap: 44px;
  align-items: center;
}
.portrait img {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--schatten);
}
.ueberuns blockquote {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.35;
  color: var(--treibholz);
}
.signatur { color: var(--treibholz); font-size: .95rem; }

/* ----------------------------------------------------------- Breakpoints */

@media (max-width: 980px) {
  .hero { min-height: 560px; padding-bottom: 150px; }
  .hero-inhalt { justify-content: flex-start; }

  .usp { grid-template-columns: 1fr 1fr; }
  .schiff-raster { grid-template-columns: 1fr; }

  .ueberuns-raster { grid-template-columns: 1fr; }
  .portrait { max-width: 300px; }

}

@media (max-width: 640px) {
  .usp { grid-template-columns: 1fr; }
  .hero-panel { padding: 20px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .blasen { display: none; }
}
