/* ==========================================================================
   H 29 – Modern static site styles
   ========================================================================== */

/* Local fonts – no external requests */
@font-face {
  font-family: "Poppins";
  src: url("../vendor/fonts/poppins/Poppins-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../vendor/fonts/poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../vendor/fonts/poppins/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../vendor/fonts/poppins/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../vendor/fonts/poppins/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-dark: #090a0a;
  --color-ink: #1a1d21;
  --color-muted: #5c6570;
  --color-soft: #819bba;
  --color-navy: #405f83;
  --color-navy-deep: #1b365d;
  --color-accent: #22a6a4;
  --color-accent-dark: #1a8583;
  --color-accent-soft: rgba(34, 166, 164, 0.12);
  --color-bg: #ffffff;
  --color-bg-alt: #f6f8fa;
  --color-bg-dark: #0c1118;
  --color-border: rgba(9, 10, 10, 0.08);
  --font-sans: "Poppins", system-ui, -apple-system, sans-serif;
  --nav-h: 76px;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow-sm: 0 4px 20px rgba(9, 10, 10, 0.06);
  --shadow-md: 0 12px 40px rgba(9, 10, 10, 0.1);
  --shadow-lg: 0 24px 60px rgba(9, 10, 10, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-distance: 40px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--color-accent-dark);
}

::selection {
  background: var(--color-accent);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-dark);
}

.display-hero {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.section-kicker::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: currentColor;
}

.section-kicker-light {
  color: rgba(255, 255, 255, 0.92);
}

.lead-text {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 38rem;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1030;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.site-nav.is-scrolled,
.site-nav.is-solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--color-border), var(--shadow-sm);
}

.site-nav .navbar-brand {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #fff !important;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.site-nav.is-scrolled .navbar-brand,
.site-nav.is-solid .navbar-brand {
  color: var(--color-dark) !important;
}

.site-nav .brand-mark {
  color: var(--color-accent);
}

.site-nav .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.site-nav.is-scrolled .nav-link,
.site-nav.is-solid .nav-link {
  color: var(--color-ink) !important;
}

.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after {
  transform: scaleX(1);
}

.site-nav .nav-link.active {
  color: var(--color-accent) !important;
}

.site-nav .navbar-toggler {
  border: none;
  padding: 0.4rem;
  box-shadow: none !important;
}

.site-nav .navbar-toggler-icon {
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-nav.is-scrolled .navbar-toggler-icon,
.site-nav.is-solid .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%289,10,10,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    background: #fff;
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
  }

  .site-nav .nav-link {
    color: var(--color-ink) !important;
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  font-weight: 500;
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-accent {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
  box-shadow: 0 10px 28px rgba(34, 166, 164, 0.35);
}

.btn-outline-light-custom {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.btn-outline-light-custom:hover {
  background: #fff;
  color: var(--color-dark);
  border-color: #fff;
}

.btn-outline-dark-custom {
  border: 1.5px solid var(--color-dark);
  color: var(--color-dark);
  background: transparent;
}

.btn-outline-dark-custom:hover {
  background: var(--color-dark);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(92vh, 900px);
  min-height: min(92svh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + 1.5rem);
  padding-bottom: 2.5rem;
  background: #d9e6f0;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.03);
  animation: heroZoom 16s var(--ease) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

/* Soft light wash only – keeps building bright, never muddies the image */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.18) 42%, transparent 68%),
    linear-gradient(180deg, rgba(12, 17, 24, 0.18) 0%, transparent 28%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Solid panel so type & buttons stay readable on any part of the image */
.hero-panel {
  max-width: 34rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: calc(var(--radius-lg) + 0.15rem);
  box-shadow: 0 20px 50px rgba(12, 17, 24, 0.14);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--color-ink);
}

.hero-panel .display-hero {
  color: var(--color-dark);
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 1rem;
}

.hero-kicker::before {
  content: "";
  width: 1.35rem;
  height: 2px;
  background: var(--color-accent);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--color-muted);
  margin: 0.85rem 0 0;
  max-width: 28rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-navy);
  font-size: 0.82rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@media (max-width: 991.98px) {
  .hero {
    min-height: min(88svh, 760px);
    align-items: flex-end;
    padding-bottom: 1.5rem;
  }

  .hero-media img {
    object-position: 70% center;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(12, 17, 24, 0.2) 0%, transparent 32%),
      linear-gradient(180deg, transparent 40%, rgba(248, 250, 252, 0.55) 100%);
  }

  .hero-panel {
    max-width: none;
    padding: 1.45rem 1.3rem 1.55rem;
  }

  .hero-panel .display-hero {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }
}

@media (max-width: 575.98px) {
  .hero {
    min-height: min(90svh, 700px);
    padding-bottom: 1.15rem;
  }

  .hero-panel {
    padding: 1.3rem 1.15rem 1.4rem;
  }

  .hero-panel .display-hero {
    font-size: clamp(1.7rem, 8vw, 2.15rem);
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 4.5rem) 0 4rem;
  background: var(--color-bg-dark);
  color: #fff;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(34, 166, 164, 0.25), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(64, 95, 131, 0.35), transparent 50%);
  pointer-events: none;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

.page-hero .lead-text {
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb-custom {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}

.breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb-custom a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: 6rem 0;
}

.section-tight {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-dark {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.88);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-accent {
  background: linear-gradient(135deg, #1a8583 0%, #22a6a4 50%, #2ccbc8 100%);
  color: #fff;
}

.section-accent h2,
.section-accent h3 {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Meaning / H29 acronym
   -------------------------------------------------------------------------- */

.meaning-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.meaning-item {
  display: flex;
  align-items: center;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.25s var(--ease);
}

.meaning-item:last-child {
  border-bottom: none;
}

.meaning-item:hover {
  background: var(--color-bg-alt);
}

.meaning-term {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  line-height: 1.3;
}

.meaning-accent {
  color: var(--color-accent);
  font-weight: 700;
}

.meaning-num {
  color: var(--color-accent);
  font-weight: 700;
  margin-left: 0.15em;
}

@media (min-width: 768px) {
  .meaning-item {
    padding: 1.35rem 2rem;
  }
}

/* --------------------------------------------------------------------------
   Feature / highlight cards
   -------------------------------------------------------------------------- */

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

.stat-block {
  padding: 1.5rem 0;
}

.stat-value {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-accent);
  line-height: 1.1;
}

.stat-label {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

.highlight-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.use-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.use-tag {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-navy);
}

/* Comfort pills */
.comfort-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.comfort-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 500;
  backdrop-filter: blur(6px);
}

/* --------------------------------------------------------------------------
   Location / content blocks
   -------------------------------------------------------------------------- */

.content-block + .content-block {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border);
}

.content-block h3 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
  color: var(--color-navy-deep);
}

.portrait-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portrait-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(transparent, rgba(9, 10, 10, 0.85));
  color: #fff;
}

.portrait-caption strong {
  display: block;
  font-size: 1.1rem;
}

.portrait-caption span {
  opacity: 0.75;
  font-size: 0.9rem;
}

.article-preview {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.article-preview img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: top;
}

.article-preview-body {
  padding: 1.5rem;
}

/* --------------------------------------------------------------------------
   Gallery strip
   -------------------------------------------------------------------------- */

.gallery-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.gallery-frame img {
  width: 100%;
  display: block;
}

.plan-frame {
  background: #fff;
  border: 1px solid var(--color-border);
  max-width: 720px;
  margin-inline: auto;
}

.plan-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  height: 100%;
}

.form-control,
.form-select {
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  background: var(--color-bg-alt);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-control:focus {
  background: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.2rem rgba(34, 166, 164, 0.18);
}

.form-label {
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.form-check-input:checked {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-detail a {
  color: var(--color-dark);
  font-weight: 500;
}

.contact-detail a:hover {
  color: var(--color-accent);
}

/* Local map image card – opens Google Maps on click */
a.map-card {
  display: flex;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

a.map-card:hover {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.map-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  min-height: 320px;
  background-color: #e4ebf2;
  background-image: url("../assets/karte.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  align-items: flex-end;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgba(12, 17, 24, 0.55) 100%
  );
  pointer-events: none;
}

.map-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1rem;
  align-items: center;
  width: 100%;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.map-card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.map-card strong {
  display: block;
  font-size: 1.05rem;
  color: var(--color-dark);
  margin-bottom: 0.1rem;
}

.map-card p {
  color: var(--color-muted);
  margin-bottom: 0.65rem;
}

.map-card .btn {
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */

.legal-content {
  max-width: 48rem;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-navy-deep);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content ul {
  padding-left: 1.2rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

.footer-brand span {
  color: var(--color-accent);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(calc(var(--reveal-distance) * -1));
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-right {
  opacity: 0;
  transform: translateX(var(--reveal-distance));
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-media img {
    animation: none;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.text-accent { color: var(--color-accent) !important; }
.text-muted-custom { color: var(--color-muted) !important; }
.bg-soft { background: var(--color-bg-alt); }

.divider-accent {
  width: 3rem;
  height: 3px;
  background: var(--color-accent);
  border: none;
  margin: 1.25rem 0;
  opacity: 1;
}

/* Form feedback (static demo) */
.form-success {
  display: none;
  background: var(--color-accent-soft);
  border: 1px solid rgba(34, 166, 164, 0.35);
  color: var(--color-accent-dark);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}

.form-success.is-shown {
  display: block;
}
