@font-face {
  font-family: Artifika;
  src: url("/styles/fonts/Artifika-Regular.woff") format("woff");
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #183b2c;
  --muted: #4e6557;
  --green: #24553a;
  --line: #d7e3d8;
  --paper: #faf9f5;
  --panel: #214c3a;
  --wash: #eaf1e8;
  --coaster-paper: #fcf6df;
  --coaster-ink: #24553a;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
body.geburtstag { --panel: #574735; --wash: #f4eee3; --coaster-paper: #f7deb1; --coaster-ink: #6d4028; }
body.hochzeit { --panel: #45513e; --wash: #eef0e4; --coaster-paper: #f9f4e5; --coaster-ink: #404e34; }
body.einladung { --panel: #344b55; --wash: #e8f0f1; --coaster-paper: #e0edf0; --coaster-ink: #254957; }
body.foto { --panel: #435044; --wash: #edf1e7; --coaster-paper: #e9edce; --coaster-ink: #354b32; }
a { color: var(--green); text-underline-offset: .19em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #a86a29; outline-offset: 4px; border-radius: 3px; }
.wrap { width: min(1120px, calc(100% - 2 * clamp(16px, 4vw, 48px))); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; inset: 8px auto auto 8px; padding: .6rem 1rem; background: white; }
.skip-link:not(:focus) { clip-path: inset(50%); }

.seo-header { background: white; border-bottom: 1px solid var(--line); }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; }
.header-row { min-height: 72px; padding-block: 10px; }
.header-row img { display: block; width: clamp(145px, 21vw, 195px); height: auto; }
.header-row nav, .footer-row nav { display: flex; flex-wrap: wrap; gap: 4px clamp(14px, 3vw, 30px); }
.header-row nav a, .footer-row nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.crumbs { margin: 20px 0 14px; color: var(--muted); font-size: .875rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 3px 8px; padding: 0; margin: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #657b6e; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 30px #183b2c0c;
}
.hero-copy, .hero-panel { padding: clamp(22px, 5vw, 56px); }
.eyebrow {
  margin: 0 0 .8rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.45;
  text-transform: uppercase;
}
.hero-copy .eyebrow, .example .eyebrow { color: var(--green); }
h1, h2, .panel-title { font-family: Artifika, Georgia, serif; font-weight: 400; line-height: 1.2; }
h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4vw, 3rem);
  text-wrap: balance;
  hyphens: auto;
}
.lead { max-width: 60ch; margin: 0 0 1.55rem; font-size: clamp(1rem, 1.8vw, 1.16rem); color: var(--muted); }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .65em;
  max-width: 100%;
  min-height: 50px;
  padding: .8rem 1.15rem;
  border-radius: 9px;
  background: var(--green);
  color: white;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}
.cta:hover { background: #164732; }
.cta-note { margin: .65rem 0 0; color: var(--muted); font-size: .875rem; }
.hero-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--panel);
  color: #fff;
}
.hero-panel::before, .hero-panel::after {
  position: absolute;
  z-index: -1;
  right: -90px;
  top: -110px;
  width: 210px;
  aspect-ratio: 1;
  border: 1px solid #ffffff33;
  border-radius: 50%;
  content: "";
}
.hero-panel::after { right: -67px; top: -87px; }
.hero-panel .eyebrow { color: #f6f5e4; }
.panel-title { margin: 0 0 1.15rem; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.hero-panel ul { margin: 0; padding: 0; list-style: none; }
.hero-panel li { border-top: 1px solid #ffffff45; padding: .6rem 0; }

.editorial { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; margin: 18px 0; }
.guide, .example, .faq, .related {
  padding: clamp(19px, 4vw, 36px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
}
h2 { margin: 0 0 1.1rem; font-size: clamp(1.5rem, 3vw, 2.1rem); text-wrap: balance; hyphens: auto; }
.guide h3 { margin: 1.25rem 0 .2rem; font-size: 1.04rem; }
.guide p, .motif figcaption { margin: 0; color: var(--muted); }
.example { display: flex; flex-direction: column; background: var(--wash); }
.example h2 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); margin-bottom: .8rem; }
.motif { display: flex; flex: 1; flex-direction: column; margin: 0; }
.coaster-set {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 2vw, 16px);
  padding: clamp(10px, 2vw, 18px);
  margin: 0 0 1rem;
  background: #ffffff80;
  border-radius: 12px;
}
.coaster {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  width: min(48%, 9.5rem);
  aspect-ratio: 1;
  padding: 8px;
  border: 1px solid #214c3a45;
  border-radius: 13%;
  background: var(--coaster-paper);
  color: var(--coaster-ink);
  box-shadow: 0 5px 11px #183b2c1e;
  text-align: center;
  font-size: clamp(.68rem, 1.3vw, .85rem);
  line-height: 1.2;
}
.coaster.round { border-radius: 50%; }
.coaster.alternate { background: #fffdf7; }
.single .coaster { width: min(78%, 11rem); }
.coaster-tag { font-size: .65rem; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.coaster strong { font: 400 clamp(.85rem, 2vw, 1.35rem)/1.13 Artifika, Georgia, serif; }
.coaster .coaster-number { font-size: clamp(2rem, 4.5vw, 3rem); }
.coaster-photo { width: 42%; height: auto; margin-bottom: .2rem; }
.faq dl { margin: 0; }
.faq dl div { padding: .8rem 0; border-top: 1px solid var(--line); }
.faq dl div:last-child { padding-bottom: 0; }
.faq dt { font-weight: 700; }
.faq dd { margin: .15rem 0 0; color: var(--muted); }
.related { margin: 18px 0 30px; }
.related ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.related a {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: .55rem .8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 600;
}
.seo-footer { background: #e9f0e8; border-top: 1px solid var(--line); }
.footer-row { padding-block: 10px; flex-wrap: wrap; }
.footer-row p { margin: 0; font-weight: 600; }

@media (max-width: 760px) {
  .hero, .editorial { grid-template-columns: minmax(0, 1fr); }
  .hero-panel { padding-block: 20px; }
  .hero-panel li { padding-block: .35rem; }
}
@media (max-width: 480px) {
  .header-row { min-height: 64px; gap: 8px; }
  .header-row img { width: clamp(118px, 37vw, 145px); }
  .header-row nav { gap: 0 8px; font-size: .8rem; }
  .crumbs { margin: 10px 0; }
  .hero { border-radius: 14px; }
  .hero-copy { padding: 18px; }
  .hero-copy .eyebrow { margin-bottom: .55rem; }
  .hero-copy h1 { font-size: clamp(1.65rem, 6.5vw, 1.95rem); margin-bottom: .75rem; }
  .lead { line-height: 1.5; margin-bottom: 1rem; }
  .related ul { grid-template-columns: minmax(0, 1fr); }
}
