@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ─── Header fix ─── */
.header, .header.scrolled {
  background: rgba(255,255,255,0.95) !important;
  box-shadow: 0 4px 24px rgba(11,47,107,.07) !important;
}

/* ─── Basis ─── */
.events-page {
  background: #f0f4fb;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: #0d1f3c;
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.ev-hero {
  min-height: 50vh;
  background: #071e3d;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 5rem 3rem 4rem;
  position: relative;
  overflow: hidden;
}
.ev-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/Hamburg/HamburgReichstag.jpg') center / cover no-repeat;
  opacity: 0.2;
}
.ev-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a8c8e8, transparent);
}
.ev-hero__inner {
  position: relative;
  max-width: 860px;
  animation: ev-fadeUp 0.8s ease both;
}
.ev-hero__breadcrumb {
  font-size: 0.7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #a8c8e8;
  margin-bottom: 1.2rem;
}
.ev-hero__breadcrumb a {
  color: rgba(255,255,255,.4);
  text-decoration: none;
  transition: color .2s;
}
.ev-hero__breadcrumb a:hover { color: #a8c8e8; }
.ev-hero__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  color: #fff;
  line-height: 1.08;
  margin-bottom: 1rem;
}
.ev-hero__title em { font-style: italic; color: #c5ddf5; }
.ev-hero__divider {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, #a8c8e8, #4a7fad);
  border-radius: 2px;
  margin: 1.5rem 0;
}
.ev-hero__sub {
  font-size: 0.92rem;
  color: rgba(255,255,255,.58);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
}

/* ═══════════════════════════════════════
   INTRO / SECTION HEADER
═══════════════════════════════════════ */
.ev-intro {
  padding: 4rem 3rem 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid #d0dcef;
  max-width: 1400px;
  margin: 0 auto;
}
.ev-intro__label {
  font-size: 0.68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #4a7fad;
  margin-bottom: 0.5rem;
}
.ev-intro__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: #0d1f3c;
  margin-bottom: 0.4rem;
}
.ev-intro__sub {
  font-size: 0.85rem;
  color: #4a6080;
  line-height: 1.7;
  max-width: 480px;
}
.ev-intro__count {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: #d0dcef;
  line-height: 1;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   EVENT LIST
═══════════════════════════════════════ */
.ev-list {
  padding: 0 3rem 6rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* ─── Event Card ─── */
.ev-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 3rem;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #d0dcef;
  box-shadow: 0 4px 20px rgba(11,47,107,.06);
  transition: box-shadow .4s ease, transform .4s ease;
  animation: ev-fadeUp 0.6s ease both;
}
.ev-card:nth-child(1) { animation-delay: .0s; }
.ev-card:nth-child(2) { animation-delay: .08s; }
.ev-card:nth-child(3) { animation-delay: .16s; }
.ev-card:nth-child(4) { animation-delay: .24s; }
.ev-card:nth-child(5) { animation-delay: .32s; }
.ev-card:nth-child(6) { animation-delay: .40s; }

.ev-card:hover {
  box-shadow: 0 20px 60px rgba(11,47,107,.14);
  transform: translateY(-4px);
}
.ev-card--reverse { direction: rtl; }
.ev-card--reverse > * { direction: ltr; }

/* ─── Card Image ─── */
.ev-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.ev-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block !important;
  max-width: none !important;
  transition: transform .6s ease;
}
.ev-card:hover .ev-card__image img { transform: scale(1.05); }

.ev-card__num {
  position: absolute;
  top: 1.2rem; left: 1.2rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.72rem;
  color: #fff;
  background: rgba(7,30,61,.65);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .12em;
}
.ev-card__tag {
  position: absolute;
  bottom: 1.2rem; right: 1.2rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  background: #0b2f6b;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ─── Card Body ─── */
.ev-card__body {
  padding: 2.8rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ev-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 400;
  color: #0d1f3c;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.ev-card__desc {
  font-size: 0.88rem;
  line-height: 1.8;
  color: #4a6080;
  font-weight: 300;
  margin-bottom: 1.6rem;
}
.ev-card__features {
  list-style: none !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 2rem;
}
.ev-card__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #4a6080;
  background: #f0f4fb;
  border: 1px solid #d0dcef;
  border-radius: 999px;
  padding: 6px 12px;
}
.ev-card__features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #a8c8e8;
  border: 1.5px solid #4a7fad;
  flex-shrink: 0;
}
.ev-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ─── Buttons ─── */
.ev-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.72rem !important;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 11px 22px !important;
  text-decoration: none !important;
  border-radius: 999px;
  transition: all .25s ease;
  cursor: pointer;
  border: none;
  box-shadow: none !important;
  white-space: nowrap;
}
.ev-btn--primary {
  background: #0b2f6b !important;
  color: #fff !important;
  border: 2px solid #0b2f6b !important;
}
.ev-btn--primary:hover {
  background: #1a4f8a !important;
  border-color: #1a4f8a !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.ev-btn--outline {
  background: transparent !important;
  border: 1.5px solid #0b2f6b !important;
  color: #0b2f6b !important;
}
.ev-btn--outline:hover {
  background: #0b2f6b !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.ev-btn--gold {
  background: #a8c8e8 !important;
  color: #071e3d !important;
  border: 2px solid #a8c8e8 !important;
  font-size: 0.8rem !important;
  padding: 13px 2.5rem !important;
}
.ev-btn--gold:hover {
  background: #c5ddf5 !important;
  border-color: #c5ddf5 !important;
  transform: translateY(-2px) !important;
}

/* ═══════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════ */
.ev-cta {
  background: linear-gradient(135deg, #071e3d 0%, #0b2f6b 60%, #1a4f8a 100%);
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ev-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(168,200,232,.12) 0%, transparent 70%);
}
.ev-cta__inner {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}
.ev-cta__label {
  font-size: 0.68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #a8c8e8;
  margin-bottom: 1rem;
}
.ev-cta__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: #fff;
  margin-bottom: 0.8rem;
}
.ev-cta__title em { font-style: italic; color: #c5ddf5; }
.ev-cta__divider {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, #a8c8e8, #4a7fad);
  margin: 1.5rem auto;
}
.ev-cta__sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* ═══════════════════════════════════════
   ANIMATION
═══════════════════════════════════════ */
@keyframes ev-fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1000px) {
  .ev-card {
    grid-template-columns: 1fr;
    direction: ltr !important;
  }
  .ev-card__image { aspect-ratio: 16/9; }
  .ev-card__body { padding: 2rem 1.8rem; }
  .ev-card__features { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .ev-hero { padding: 5rem 1.5rem 3rem; }
  .ev-intro { padding: 3rem 1.5rem 1.5rem; flex-direction: column; gap: 1rem; align-items: flex-start; }
  .ev-list { padding: 0 1.5rem 4rem; }
  .ev-cta { padding: 4rem 1.5rem; }
  .ev-card__body { padding: 1.5rem; }
}
/* ═══════════════════════════════════════
   UNTERSEITEN (teamevent, hochzeit etc.)
═══════════════════════════════════════ */

/* Hero mit eigenem Hintergrundbild */
.ev-hero {
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  padding: 7rem 3rem 5rem;
  justify-content: flex-end;
}
/* Dunklerer Overlay für bessere Lesbarkeit */
.ev-hero::before {
  background: linear-gradient(
    to top,
    rgba(7,30,61,0.96) 0%,
    rgba(7,30,61,0.75) 50%,
    rgba(7,30,61,0.45) 100%
  ) !important;
  opacity: 1 !important;
}
.ev-hero__title {
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.ev-hero__sub {
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.ev-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.ev-btn--ghost {
  background: rgba(255,255,255,.15) !important;
  border: 1.5px solid rgba(255,255,255,.5) !important;
  color: #fff !important;
  backdrop-filter: blur(8px);
}
.ev-btn--ghost:hover {
  background: rgba(255,255,255,.25) !important;
  color: #fff !important;
}

/* ─── Sections ─── */
.ev-sub-section {
  padding: 80px 0;
  background: #ffffff;
}
.ev-sub-section--alt {
  background: #f0f4fb;
}
.ev-sub-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}
.ev-sub-container--narrow {
  max-width: 820px;
}
.ev-sub-eyebrow {
  font-size: 0.68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #4a7fad;
  background: rgba(74,127,173,.1);
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.ev-sub-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  color: #0d1f3c;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.ev-sub-lead {
  font-size: 1rem;
  color: #4a6080;
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 720px;
}
.ev-sub-section p {
  font-size: 0.92rem;
  color: #4a6080;
  line-height: 1.9;
  margin-bottom: 1rem;
}
.ev-sub-section p strong { color: #0b2f6b; }

/* ─── Intro Grid ─── */
.ev-sub-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) { .ev-sub-grid { grid-template-columns: 1fr; } }

.ev-sub-text p {
  font-size: 0.92rem;
  color: #4a6080;
  line-height: 1.9;
  margin-bottom: 1rem;
}

/* ─── Fact Cards ─── */
.ev-sub-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ev-fact-card {
  background: #ffffff;
  border: 1px solid #d0dcef;
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(11,47,107,.06);
  transition: transform .25s, box-shadow .25s;
}
.ev-fact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(11,47,107,.12);
}
.ev-fact-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: #0b2f6b;
  line-height: 1;
  margin-bottom: 6px;
}
.ev-fact-label {
  font-size: 0.7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #4a6080;
}

/* ─── Features Grid ─── */
.ev-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 2rem;
}
@media (max-width: 900px) { .ev-features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ev-features-grid { grid-template-columns: 1fr; } }

.ev-feature {
  background: #ffffff;
  border: 1px solid #d0dcef;
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: 0 4px 16px rgba(11,47,107,.05);
  transition: transform .25s, box-shadow .25s;
}
.ev-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(11,47,107,.1);
}
.ev-feature__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.ev-feature h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #0d1f3c;
  margin-bottom: 8px;
}
.ev-feature p {
  font-size: 0.85rem;
  color: #4a6080;
  line-height: 1.75;
  margin: 0;
}

/* ─── Ships Grid ─── */
.ev-ships-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 2rem;
}
@media (max-width: 1100px) { .ev-ships-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .ev-ships-grid { grid-template-columns: 1fr; } }

.ev-ship-card {
  text-decoration: none;
  color: #0d1f3c;
  background: #ffffff;
  border: 1px solid #d0dcef;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(11,47,107,.06);
  transition: transform .28s, box-shadow .28s;
  display: flex;
  flex-direction: column;
}
.ev-ship-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(11,47,107,.14);
}
.ev-ship-card__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.ev-ship-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block !important;
  max-width: none !important;
  transition: transform .45s;
}
.ev-ship-card:hover .ev-ship-card__img img { transform: scale(1.06); }
.ev-ship-card__capacity {
  position: absolute;
  bottom: 10px; right: 10px;
  background: #0b2f6b;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: .1em;
  padding: 5px 12px;
  border-radius: 999px;
}
.ev-ship-card__body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ev-ship-card__tag {
  font-size: 0.62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #4a7fad;
  font-weight: 600;
}
.ev-ship-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #0d1f3c;
  margin: 0;
}
.ev-ship-card p {
  font-size: 0.82rem;
  color: #4a6080;
  line-height: 1.65;
  margin: 0;
}
.ev-ship-card__link {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #0b2f6b;
  margin-top: 4px;
}

/* ─── Formular ─── */
.ev-form {
  margin-top: 2rem;
}
.ev-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
@media (max-width: 700px) { .ev-form__grid { grid-template-columns: 1fr; } }

.ev-form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ev-form__field--full { grid-column: 1 / -1; }

.ev-form__field label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #0b2f6b;
}
.ev-form__field input,
.ev-form__field select,
.ev-form__field textarea {
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(11,47,107,.14);
  background: #fff;
  font-size: 0.92rem;
  color: #0d1f3c;
  font-family: 'DM Sans', system-ui, sans-serif;
  transition: border-color .2s, box-shadow .2s;
}
.ev-form__field input:focus,
.ev-form__field select:focus,
.ev-form__field textarea:focus {
  outline: none;
  border-color: #4a7fad;
  box-shadow: 0 0 0 4px rgba(74,127,173,.1);
}
.ev-form__field textarea { min-height: 120px; resize: vertical; }

.ev-form__submit {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 700px) {
  .ev-sub-section { padding: 56px 0; }
  .ev-sub-facts { grid-template-columns: 1fr 1fr; }
}
/* Hero Text zentriert für Unterseiten */
.ev-hero {
  align-items: center;
  text-align: center;
}
.ev-hero__inner {
  max-width: 800px;
  margin: 0 auto;
}
.ev-hero__breadcrumb {
  justify-content: center;
  display: flex;
  gap: 0.5rem;
}
.ev-hero__divider {
  margin: 1.5rem auto;
}
.ev-hero__actions {
  justify-content: center;
}