/* =====================================================================
   Entwurf 2 — Topbar, Hero-Struktur, Logo-Medaille, Buttons.
   Portiert aus mockups/entwurf-2/assets/css/site.css (Abschnitte 5-7).
   Bläschen- und Delfin-Effekte liegen in hero-fx.css (R1: <400 Zeilen).
   ===================================================================== */

/* ---------- Topbar (default: weiße Karte für Seiten ohne Hero) ---------- */
.entwurf2 .topbar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.015em;
}

.entwurf2 .topbar__row {
  max-width: var(--max);
  margin-inline: auto;
  padding: 0.6rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.entwurf2 .topbar a:hover {
  color: var(--water);
}

.entwurf2 .topbar__info {
  display: inline-flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  align-items: center;
}

.entwurf2 .topbar__info strong {
  color: var(--navy);
  font-weight: 600;
}

.entwurf2 .topbar__info > * + * {
  position: relative;
  padding-left: 1.1rem;
}

.entwurf2 .topbar__info > * + *::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  background: var(--line);
  border-radius: 50%;
  transform: translateY(-50%);
}

@media (width <= 720px) {
  .entwurf2 .topbar__info:first-child {
    display: none;
  }
}

/* Topbar IM Hero: durchgehender semi-transparenter dunkler Streifen. */
.entwurf2 .hero .topbar {
  position: relative;
  z-index: 5;
  background: rgb(10 30 60 / 0.22);
  backdrop-filter: blur(2px);
  border-bottom: none;
  color: #fff;
  font-weight: 600;
  margin-bottom: clamp(1.2rem, 2.5vw, 2rem);
}

.entwurf2 .hero .topbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.entwurf2 .hero .topbar a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entwurf2 .hero .topbar__info strong {
  color: #fff;
  font-weight: 600;
}

.entwurf2 .hero .topbar__info > * + *::before {
  background: rgb(255 255 255 / 0.55);
}

/* ---------- Hero ---------- */
.entwurf2 .hero {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 40%, rgb(255 255 255 / 0.12), transparent 55%),
    linear-gradient(180deg, var(--water) 0%, var(--water-600) 60%, var(--water-700) 100%);
  color: #fff;
  padding-top: 0;
  padding-bottom: clamp(4rem, 6vw, 6rem);
  overflow: hidden;
  isolation: isolate;
  user-select: none;
}

/* Subtile Wasser-Textur über dem Gradient. Das Bild ist über das
   ACF-Feld „Hero-Hintergrundbild" pflegbar (--hero-image); ohne
   gepflegtes Bild greift das externe CDN-Bild als Fallback — vor
   Prod-Launch lokalisieren (DSGVO R6). */
.entwurf2 .hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(
      --hero-image,
      url('https://images.unsplash.com/photo-1500575351013-6b9af18d7722?w=2400&q=80&auto=format&fit=crop')
    )
    center / cover no-repeat;
  mix-blend-mode: overlay;
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

/* Sanft fließende SVG-Wellen im Hintergrund */
.entwurf2 .hero__waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  pointer-events: none;
  color: var(--paper);
}

.entwurf2 .hero__waves svg {
  width: 100%;
  height: clamp(70px, 7vw, 130px);
  display: block;
}

/* Zwei-Spalten-Hero */
.entwurf2 .hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: clamp(2rem, 4vw, 3.5rem);
  row-gap: clamp(0.85rem, 1.6vw, 1.4rem);
  align-items: center;
  text-align: left;
  max-width: 1080px;
  margin-inline: auto;
}

/* Logo-Medaille */
.entwurf2 .hero__logo {
  grid-column: 1 / -1;
  justify-self: center;
  width: clamp(88px, 8.5vw, 118px);
  height: clamp(88px, 8.5vw, 118px);
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  box-shadow:
    0 12px 32px rgb(10 40 80 / 0.22),
    0 4px 10px rgb(10 40 80 / 0.12),
    inset 0 0 0 1px rgb(15 71 135 / 0.08);
  animation: e2-float 7s ease-in-out infinite;
  cursor: pointer;
  transition: transform 0.15s var(--ease);
}

.entwurf2 .hero__logo svg {
  width: 80%;
  height: 80%;
  color: var(--water-700);
  display: block;
  transform: translateY(-2%);
  transform-origin: 50% 55%;
}

.entwurf2 .hero__logo:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

@keyframes e2-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(-2deg);
  }
}

.entwurf2 .hero__text {
  min-width: 0;
}

.entwurf2 .hero__title {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  text-shadow: 0 4px 30px rgb(0 0 0 / 0.2);
  margin: 0 0 0.5rem;
}

.entwurf2 .hero__title em {
  font-style: normal;
  color: #fff;
  position: relative;
  white-space: nowrap;
  text-decoration: underline solid var(--red);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.04em;
  text-decoration-skip-ink: auto;
}

.entwurf2 .hero__sub {
  margin: 0;
  max-width: 56ch;
  color: rgb(255 255 255 / 0.92);
  font-size: clamp(0.98rem, 0.4vw + 0.85rem, 1.12rem);
  line-height: 1.5;
}

.entwurf2 .hero__sub strong {
  color: #fff;
  font-weight: 600;
}

.entwurf2 .hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
  margin-top: 0;
  min-width: clamp(180px, 18vw, 240px);
}

.entwurf2 .hero__ctas .btn {
  justify-content: space-between;
}

@media (width <= 720px) {
  .entwurf2 .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .entwurf2 .hero__ctas {
    width: 100%;
    max-width: 320px;
    align-items: stretch;
  }

  .entwurf2 .hero__sub {
    margin-inline: auto;
  }
}

/* ---------- Buttons (Red-Flood + Arrow-Slide) ---------- */
.entwurf2 .btn {
  --bg: var(--navy);
  --fg: #fff;

  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.4rem;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border: none;
  isolation: isolate;
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.25s var(--ease);
}

.entwurf2 .btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
  z-index: -1;
}

.entwurf2 .btn:hover {
  transform: translateY(-2px);
}

.entwurf2 .btn:hover::before {
  transform: translateY(0);
}

.entwurf2 .btn .arrow {
  width: 1.05em;
  height: 1.05em;
  transition: transform 0.35s var(--ease);
}

.entwurf2 .btn:hover .arrow {
  transform: translateX(0.3em);
}

.entwurf2 .btn--white {
  --bg: #fff;
  --fg: var(--water-700);
}

.entwurf2 .btn--ghost {
  --bg: transparent;
  --fg: #fff;

  border: 1px solid rgb(255 255 255 / 0.55);
}

.entwurf2 .btn--small {
  padding: 0.7rem 1.1rem;
  font-size: 0.8rem;
}
