/* Perlenstunde – Stylesheet
   Farben und Schriften aus dem Markenhandbuch. Schriften liegen lokal (keine Google-Server). */

@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --leinen: #EFE3CE;
  --leinen-hell: #F6EEE0;
  --altholz: #241C14;
  --nuss: #6F4A2B;
  --bernstein: #C8881F;
  --glut: #B23F22;
  --pflaume: #6E2A3A;
  --petrol: #176B63;

  --display: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --text: "Newsreader", Georgia, serif;

  --pad: clamp(20px, 5vw, 72px);
  --gap: clamp(48px, 9vw, 128px);
  --measure: 34rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--leinen);
  color: var(--altholz);
  font-family: var(--text);
  font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(3rem, 2rem + 4.6vw, 6.25rem); }
h2 { font-size: clamp(2.25rem, 1.7rem + 2.4vw, 3.75rem); }
h3 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); font-weight: 600; }
p { margin: 0 0 1em; max-width: var(--measure); }

.skip { position: absolute; left: -999px; top: 0; background: var(--altholz); color: var(--leinen); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

/* Buttons */
.btn {
  display: inline-block;
  font: 500 1.0625rem/1 var(--text);
  background: var(--glut);
  color: var(--leinen-hell);
  border: 0;
  border-radius: 999px;
  padding: 1em 1.6em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s;
}
.btn:hover { background: #962f17; }
.link { font-style: italic; }

/* Kopf */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
}
.brand img { width: clamp(108px, 12vw, 150px); }
.site-header nav { display: flex; gap: clamp(14px, 2.4vw, 32px); align-items: center; }
.site-header nav a { text-decoration: none; font-size: 1rem; }
.site-header nav a:hover { text-decoration: underline; }
.site-header .nav-cta { border: 1px solid var(--altholz); border-radius: 999px; padding: .55em 1.1em; }
.site-header .nav-cta:hover { background: var(--altholz); color: var(--leinen); text-decoration: none; }
@media (max-width: 720px) {
  .site-header nav a:not(.nav-cta) { display: none; }
}

/* Einstieg */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  padding: clamp(16px, 4vw, 48px) var(--pad) var(--gap);
}
.hero-text { padding-bottom: clamp(0px, 4vw, 64px); }
.hero h1 { max-width: 9.5ch; margin-bottom: .45em; }
.lede { font-size: 1.15em; max-width: 30rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 2rem; }
.hero-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 300px 300px 4px 4px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .hero-image img { aspect-ratio: 5 / 4; border-radius: 4px; }
}

/* Herkunft */
.origin {
  background: var(--altholz);
  color: var(--leinen);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  padding: var(--gap) var(--pad);
}
.origin-images { position: relative; aspect-ratio: 1 / 1; }
.origin-images img { position: absolute; width: 62%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.origin-images .o1 { left: 0; top: 0; }
.origin-images .o2 { right: 0; bottom: 0; outline: 10px solid var(--altholz); }
.origin h2 { margin-bottom: .6em; max-width: 12ch; }
.origin p { color: #DCCFB8; }
@media (max-width: 860px) { .origin { grid-template-columns: 1fr; } }

/* Box */
.box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  padding: var(--gap) var(--pad) 0;
}
.box-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.box h2 { margin-bottom: .5em; }
.contents { list-style: none; margin: 1.6em 0; padding: 0; max-width: var(--measure); }
.contents li { position: relative; padding: .7em 0 .7em 1.9em; border-top: 1px solid rgba(111, 74, 43, .28); }
.contents li:last-child { border-bottom: 1px solid rgba(111, 74, 43, .28); }
.contents li::before {
  content: ""; position: absolute; left: .2em; top: 1.22em;
  width: .62em; height: .62em; border-radius: 50%; background: var(--bernstein);
}
.contents strong { font-weight: 500; }
.note { font-style: italic; color: var(--nuss); }
@media (max-width: 860px) { .box { grid-template-columns: 1fr; } }

/* Ablauf: ein Faden, aufgefädelte Schritte */
.steps { padding: var(--gap) var(--pad); }
.steps h2 { margin-bottom: 1.2em; }
.thread { list-style: none; margin: 0; padding: 0; position: relative; max-width: 44rem; counter-reset: step; }
.thread::before {
  content: ""; position: absolute; left: 21px; top: 0; bottom: 34px;
  width: 2px; background: var(--altholz);
}
.thread li { position: relative; padding: 0 0 clamp(28px, 4vw, 44px) 76px; counter-increment: step; }
.thread li::before {
  content: counter(step);
  position: absolute; left: 0; top: -4px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font: 500 1.35rem/1 var(--display);
  background: var(--leinen); border: 2px solid var(--altholz);
}
.thread li:last-child { padding-bottom: 0; }
.thread li:last-child::before { background: var(--altholz); color: var(--leinen); }
.thread h3 { margin-bottom: .2em; }
.thread p { margin: 0; }

/* Pakete */
.packages {
  background: var(--leinen-hell);
  padding: var(--gap) var(--pad);
}
.packages-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.packages-head h2 { max-width: 13ch; }
.packages-head p { margin: 0; font-style: italic; color: var(--nuss); max-width: 24rem; }
.package-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.package {
  display: flex; flex-direction: column; gap: 6px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(36, 28, 20, .35);
  border-radius: 6px;
  text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.package:hover { border-color: var(--altholz); background: var(--leinen); }
.package.is-selected { border-color: var(--petrol); box-shadow: inset 0 0 0 1px var(--petrol); }
.people { display: flex; gap: 7px; margin-bottom: 22px; min-height: 18px; }
.people i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--altholz); }
.people i:nth-child(3n+1) { background: var(--bernstein); border-color: var(--bernstein); }
.people i:nth-child(3n+2) { background: var(--glut); border-color: var(--glut); }
.people i:nth-child(3n) { background: var(--pflaume); border-color: var(--pflaume); }
.p-name { font-family: var(--display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 600; line-height: 1.1; }
.p-price { font-family: var(--display); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; margin: 6px 0 22px; }
.p-pick { margin-top: auto; font-style: italic; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.packages-note { margin: clamp(24px, 3vw, 36px) 0 0; font-size: .95rem; color: var(--nuss); max-width: 46rem; }
@media (max-width: 760px) { .package-list { grid-template-columns: 1fr; } .p-price { margin-bottom: 14px; } }

/* Bildband */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(2, 1fr); } }

/* Anfrage */
.request {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  padding: var(--gap) var(--pad);
}
.request h2 { margin-bottom: .5em; }
.request-gift { font-style: italic; color: var(--nuss); }
@media (max-width: 860px) { .request { grid-template-columns: 1fr; } }

.form { display: grid; gap: 22px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.form legend, .field > span { font-weight: 500; font-size: .95rem; margin-bottom: 8px; display: block; padding: 0; }
.field small { font-weight: 400; color: var(--nuss); }
.choice { position: relative; flex: 1 1 140px; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: block; padding: 14px 16px; border: 1px solid rgba(36, 28, 20, .4); border-radius: 6px; background: var(--leinen-hell);
}
.choice em { display: block; font-style: normal; font-family: var(--display); font-size: 1.6rem; line-height: 1.1; }
.choice input:checked + span { border-color: var(--petrol); box-shadow: inset 0 0 0 1px var(--petrol); }
.choice input:focus-visible + span { outline: 2px solid var(--petrol); outline-offset: 3px; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem;
  color: var(--altholz);
  background: var(--leinen-hell);
  border: 1px solid rgba(36, 28, 20, .4);
  border-radius: 6px;
  padding: 12px 14px;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--petrol); outline-offset: 1px; border-color: var(--petrol); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--glut); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--petrol); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-status { padding: 14px 16px; border-radius: 6px; border-left: 4px solid var(--glut); background: var(--leinen-hell); }

/* Fragen */
.faq { padding: 0 var(--pad) var(--gap); max-width: calc(52rem + 2 * var(--pad)); }
.faq h2 { margin-bottom: .6em; }
.faq details { border-top: 1px solid rgba(111, 74, 43, .3); }
.faq details:last-of-type { border-bottom: 1px solid rgba(111, 74, 43, .3); }
.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem);
  padding: 18px 40px 18px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 14px; height: 14px; margin-top: -7px; border-radius: 50%;
  border: 1.5px solid var(--altholz);
}
.faq details[open] summary::after { background: var(--bernstein); border-color: var(--bernstein); }
.faq details p { margin: 0 0 20px; }

/* Fuß */
.site-footer {
  background: var(--altholz); color: var(--leinen);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px;
  padding: clamp(40px, 6vw, 72px) var(--pad);
}
.site-footer img { width: 130px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Unterseiten (Impressum, Datenschutz, Danke) */
.page { padding: clamp(24px, 5vw, 64px) var(--pad) var(--gap); max-width: calc(44rem + 2 * var(--pad)); }
.page h1 { font-size: clamp(2.5rem, 2rem + 2.4vw, 4rem); margin-bottom: .6em; }
.page h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); font-weight: 600; margin: 1.6em 0 .4em; }
.page .todo { background: #F3D9A8; padding: 0 .25em; border-radius: 3px; }
.page .hint { border-left: 4px solid var(--bernstein); padding: 12px 16px; background: var(--leinen-hell); font-size: .95rem; }
