@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/eb-garamond-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/eb-garamond-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/eb-garamond-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/eb-garamond-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --cream: #f8f7f4;
  --cream-deep: #ede9e2;
  --marine: #0e2b46;
  --marine-soft: #183d5e;
  --gold: #cea84e;
  --gold-dark: #9f7b2e;
  --forest: #286d55;
  --text: #3a4a57;
  --ink: #172331;
  --white: #ffffff;
  --line: rgba(14, 43, 70, 0.16);
  --shadow: 0 24px 70px rgba(14, 43, 70, 0.16);
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", Arial, sans-serif;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(206, 168, 78, 0.08), transparent 26rem),
    linear-gradient(180deg, var(--cream) 0%, #f4f1eb 100%);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(14, 43, 70, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 43, 70, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 72%, transparent);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: rgba(206, 168, 78, 0.7);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--marine);
  text-decoration-color: var(--marine);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(206, 168, 78, 0.72);
  outline-offset: 4px;
}

::selection {
  background: rgba(206, 168, 78, 0.34);
  color: var(--marine);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  background: var(--marine);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 1.35rem clamp(1.25rem, 4vw, 4rem);
  background: linear-gradient(90deg, rgba(14, 43, 70, 0.28), rgba(14, 43, 70, 0.46));
  color: var(--white);
  backdrop-filter: blur(5px);
  transition:
    min-height 280ms ease,
    padding 280ms ease,
    background 280ms ease,
    color 280ms ease,
    box-shadow 280ms ease;
}

.site-header.is-scrolled,
.site-header--static {
  min-height: 68px;
  padding-block: 0.75rem;
  background: rgba(248, 247, 244, 0.94);
  color: var(--marine);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(100%, 1680px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.brand-subtitle {
  margin-top: 0.18rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.76;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.2rem);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.42rem;
  height: 1px;
  background: var(--gold);
  transition: right 220ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
}

.nav-legal {
  opacity: 0.72;
}

main {
  overflow: clip;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  align-items: stretch;
  isolation: isolate;
  background: var(--marine);
}

.hero-media {
  position: relative;
  grid-column: 1 / 10;
  grid-row: 1;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 43, 70, 0.08) 0%, rgba(14, 43, 70, 0.02) 62%, rgba(14, 43, 70, 0.5) 100%),
    linear-gradient(180deg, rgba(14, 43, 70, 0.32), transparent 28%, transparent 72%, rgba(14, 43, 70, 0.38));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 100svh;
  object-fit: cover;
  object-position: 50% 58%;
  transform: scale(1.055);
  animation: hero-settle 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-caption {
  position: absolute;
  left: clamp(1rem, 2.6vw, 3rem);
  bottom: clamp(1rem, 2.8vw, 2.5rem);
  z-index: 2;
  width: min(31rem, calc(100% - 2rem));
  padding: 0.8rem 1rem 0.8rem 1.25rem;
  border-left: 3px solid var(--gold);
  background: rgba(14, 43, 70, 0.72);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.45;
  backdrop-filter: blur(6px);
}

.hero-content {
  position: relative;
  z-index: 3;
  grid-column: 9 / 17;
  grid-row: 1;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 4rem) clamp(1.5rem, 5.2vw, 6.5rem) 5rem clamp(1.75rem, 5vw, 6rem);
  background:
    linear-gradient(135deg, rgba(248, 247, 244, 0.98), rgba(237, 233, 226, 0.97)),
    var(--cream);
}

.hero-content::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: linear-gradient(transparent, var(--gold), transparent);
}

.hero-copy {
  max-width: 46rem;
}

.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.25rem;
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before,
.section-label::before {
  content: "";
  width: 58px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--gold);
}

.hero h1,
.page-hero h1,
.legal-title {
  margin: 0;
  color: var(--marine);
  font-family: var(--serif);
  font-size: clamp(3.15rem, 6.3vw, 6.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero h1 .title-accent {
  color: var(--forest);
  font-style: italic;
  font-weight: 400;
}

.hero-lead {
  max-width: 37rem;
  margin: 1.65rem 0 0;
  color: var(--marine-soft);
  font-family: var(--serif);
  font-size: clamp(1.28rem, 1.7vw, 1.62rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 2.35rem;
}

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.35rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: var(--gold);
  color: var(--marine);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.button:hover {
  background: transparent;
  border-color: currentColor;
  color: var(--marine);
  transform: translateY(-2px);
}

.button--ghost {
  background: transparent;
  border-color: rgba(14, 43, 70, 0.28);
  color: var(--marine);
}

.button--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.button--light {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--marine);
}

.button--light:hover {
  border-color: var(--white);
  color: var(--white);
}

.year-badge {
  position: absolute;
  z-index: 4;
  left: calc((9 / 16) * 100% - 54px);
  bottom: clamp(2rem, 8vh, 6rem);
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--marine);
  box-shadow: var(--shadow);
  text-align: center;
}

.year-badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 0.9;
}

.year-badge span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding: clamp(5rem, 10vw, 9.5rem) clamp(1.25rem, 4vw, 4rem);
}

.section-grid {
  width: min(100%, 1600px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  column-gap: clamp(1rem, 2vw, 2rem);
}

.section-kicker {
  grid-column: 1 / 5;
}

.section-kicker .section-label {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.section-body {
  grid-column: 5 / 14;
}

.section-aside {
  grid-column: 14 / 17;
  align-self: start;
}

.prose {
  max-width: 62rem;
  color: var(--text);
  font-size: clamp(1.12rem, 1.45vw, 1.38rem);
  line-height: 1.75;
}

.prose p {
  margin: 0;
}

.prose p + p {
  margin-top: 1.45rem;
}

.prose .dropcap::first-letter {
  float: left;
  margin: 0.08em 0.14em 0 0;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 4.8em;
  font-weight: 500;
  line-height: 0.72;
}

.fact-panel {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  margin-top: 0.2rem;
  padding: 1.4rem 1.25rem;
  border-top: 4px solid var(--gold);
  background: var(--marine);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.6;
}

.fact-panel strong {
  display: block;
  color: var(--white);
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1;
}

.fact-panel span {
  display: block;
  margin-top: 0.45rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.divider-ornament {
  grid-column: 5 / 14;
  height: 1px;
  margin-top: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(90deg, var(--gold), transparent 72%);
}

.section-heading {
  margin: 0;
  color: var(--marine);
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}

.occasions {
  background: linear-gradient(180deg, transparent, rgba(237, 233, 226, 0.72));
}

.occasion-list {
  grid-column: 5 / 15;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.occasion-item {
  display: grid;
  grid-template-columns: minmax(4rem, 0.18fr) 1fr minmax(12rem, 0.32fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: baseline;
  padding: clamp(1.45rem, 3vw, 2.3rem) 0;
  border-bottom: 1px solid var(--line);
}

.occasion-number {
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.3vw, 2.3rem);
  font-style: italic;
}

.occasion-title {
  margin: 0;
  color: var(--marine);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.8vw, 2.7rem);
  font-weight: 500;
  line-height: 1.1;
}

.occasion-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-section {
  position: relative;
  padding-block: clamp(5rem, 9vw, 8.5rem);
  background:
    radial-gradient(circle at 88% 20%, rgba(206, 168, 78, 0.16), transparent 26rem),
    linear-gradient(135deg, var(--marine), #071827 78%);
  color: rgba(255, 255, 255, 0.78);
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(120deg, transparent 48%, rgba(255,255,255,0.22) 49%, transparent 50%);
  background-size: 140px 140px;
  pointer-events: none;
}

.contact-grid {
  position: relative;
  z-index: 1;
  width: min(100%, 1600px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  column-gap: clamp(1rem, 2vw, 2rem);
}

.contact-copy {
  grid-column: 1 / 9;
}

.contact-copy .section-label {
  color: var(--gold);
}

.contact-copy .section-label::before {
  background: var(--gold);
}

.contact-copy h2 {
  margin: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-wrap: balance;
}

.contact-copy p {
  max-width: 42rem;
  margin: 1.45rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
}

.contact-panel {
  grid-column: 10 / 17;
  align-self: center;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-value {
  min-width: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.contact-value a {
  color: var(--white);
  text-decoration-color: rgba(206, 168, 78, 0.8);
}

.contact-value a:hover {
  color: var(--gold);
}

.contact-reveal {
  min-height: auto;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(206, 168, 78, 0.72);
  border-radius: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    background 220ms ease,
    color 220ms ease;
}

.contact-reveal:hover {
  background: var(--gold);
  color: var(--marine);
}

.contact-link {
  display: inline-block;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.7vw, 1.75rem);
  text-decoration-color: rgba(206, 168, 78, 0.85);
}

.legal-content .contact-reveal {
  margin-left: 0.4rem;
}

.legal-content .contact-link {
  color: var(--marine);
  font-size: 1.08rem;
}

/* Datenschutz */
.privacy-content {
  padding-bottom: clamp(5rem, 8vw, 7rem);
}

.privacy-content .legal-section {
  grid-template-columns: minmax(13rem, 0.34fr) 1fr;
}

.privacy-content h3 {
  margin: 1.6rem 0 0.35rem;
  color: var(--marine);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 500;
  line-height: 1.2;
}

.privacy-content h3:first-child {
  margin-top: 0;
}

.privacy-content p {
  margin: 0;
}

.privacy-content p + p {
  margin-top: 0.9rem;
}

.privacy-content ul {
  margin: 0.9rem 0 0;
  padding-left: 1.2rem;
}

.privacy-content li {
  margin: 0.45rem 0;
  padding-left: 0.25rem;
}

.privacy-content li::marker {
  color: var(--gold-dark);
}

.privacy-content .emphasis {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.privacy-content address {
  margin: 0;
  color: var(--text);
  font-style: normal;
  line-height: 1.75;
}

.privacy-content address p {
  margin-top: 0.45rem;
}

.source-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: rgba(58, 74, 87, 0.66);
  font-size: 0.85rem;
}

.privacy-note {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  line-height: 1.55;
}

.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 4rem);
  background: #071827;
  color: rgba(255, 255, 255, 0.58);
}

.footer-inner {
  width: min(100%, 1600px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

/* Impressum */
.legal-page {
  background: var(--cream);
}

.page-hero {
  padding: calc(var(--header-height) + clamp(4rem, 8vw, 7rem)) clamp(1.25rem, 4vw, 4rem) clamp(3.5rem, 7vw, 6rem);
  background:
    linear-gradient(135deg, rgba(248, 247, 244, 0.96), rgba(237, 233, 226, 0.92)),
    var(--cream);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner,
.legal-content {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.page-hero p {
  max-width: 48rem;
  margin: 1.4rem 0 0;
  color: var(--marine-soft);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.45;
}

.legal-content {
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.25rem, 4vw, 4rem) clamp(5rem, 8vw, 7rem);
}

.draft-warning {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 2.5rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(206, 168, 78, 0.62);
  border-left-width: 5px;
  background: rgba(206, 168, 78, 0.1);
  color: var(--marine);
}

.draft-warning svg {
  width: 24px;
  height: 24px;
  margin-top: 0.15rem;
  color: var(--gold-dark);
}

.draft-warning strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--marine);
}

.draft-warning p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-section {
  display: grid;
  grid-template-columns: minmax(11rem, 0.28fr) 1fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.legal-section:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0;
  color: var(--marine);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.1;
  hyphens: manual;
}

.legal-section address,
.legal-section p {
  margin: 0;
  color: var(--text);
  font-style: normal;
  line-height: 1.75;
}

.legal-section address {
  font-size: 1.08rem;
}

.placeholder {
  display: inline-block;
  padding: 0.05rem 0.35rem;
  background: rgba(206, 168, 78, 0.2);
  color: var(--marine);
  font-weight: 600;
}

.legal-small {
  margin-top: 1rem !important;
  color: rgba(58, 74, 87, 0.74) !important;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-settle {
  from {
    transform: scale(1.09);
  }
  to {
    transform: scale(1.015);
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media,
  .hero-content {
    grid-column: 1;
  }

  .hero-media {
    grid-row: 2;
    min-height: 62svh;
    order: 2;
  }

  .hero-content {
    grid-row: 1;
  }

  .hero-media img {
    min-height: 62svh;
  }

  .hero-content {
    min-height: 68svh;
    padding-top: calc(var(--header-height) + 4rem);
  }

  .year-badge {
    left: auto;
    right: 1.4rem;
    bottom: 62svh;
    transform: translateY(50%);
  }

  .section-kicker,
  .section-body,
  .section-aside,
  .divider-ornament,
  .occasion-list {
    grid-column: 1 / 17;
  }

  .section-kicker .section-label,
  .fact-panel {
    position: static;
  }

  .section-aside {
    margin-top: 2rem;
  }

  .fact-panel {
    max-width: 24rem;
  }

  .contact-copy,
  .contact-panel {
    grid-column: 1 / 17;
  }

  .contact-panel {
    margin-top: 3rem;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 76px;
  }

  body {
    font-size: 16px;
  }

  .site-header {
    padding-inline: 1rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text {
    display: none;
  }

  .site-nav {
    gap: 0.8rem;
    font-size: 0.67rem;
    letter-spacing: 0.08em;
  }

  .site-nav a[href$="#geschichte"],
  .site-nav .nav-legal {
    display: none;
  }

  .hero-content {
    min-height: auto;
    padding: calc(var(--header-height) + 3rem) 1.25rem 5.2rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.65rem, 15vw, 4.2rem);
  }

  .hero-media,
  .hero-media img {
    min-height: 72svh;
  }

  .hero-caption {
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
    width: auto;
  }

  .year-badge {
    width: 92px;
    height: 92px;
    right: 1rem;
  }

  .year-badge strong {
    font-size: 1.85rem;
  }

  .section,
  .contact-section {
    padding-inline: 1.25rem;
  }

  .occasion-item {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-section {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .draft-warning {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .site-nav {
    gap: 0.6rem;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .site-nav a[href$="#geschichte"],
  .site-nav .nav-legal {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
