/* Michael Bloch — sand and teal.
   Palette: sand #f3e9d8 / #e8d9bf / #d9c3a0, teal #0e5a63 / #1e7f86 / #3fb0b5.
   Swap the mark by replacing assets/emblem.svg (and assets/logo.jpg for link previews). */

@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/libre-baskerville-400.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Baskerville";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/libre-baskerville-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/libre-baskerville-700.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-600.woff2") format("woff2");
}

:root {
  --sand-0: #fbf6ec;
  --sand-50: #f7f1e6;
  --sand-100: #f3e9d8;
  --sand-200: #e8d9bf;
  --sand-300: #d9c3a0;
  --sand-gold: #c4a15a;
  --sun: #e4c27a;
  --ink: #102e32;
  --muted: #3e595e;
  --teal-900: #0a3e45;
  --teal-800: #0e5a63;
  --teal-700: #14656e;
  --teal-600: #1e7f86;
  --teal-400: #3fb0b5;
  --line: rgba(14, 90, 99, 0.18);
  --serif: "Libre Baskerville", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", sans-serif;
  --wrap: 70rem;
  --radius: 16px;
  --header-h: 4.75rem;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 55% 40% at 100% -10%, rgba(63, 176, 181, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 30% at -10% 8%, rgba(228, 194, 122, 0.35), transparent 50%),
    var(--sand-100);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

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

a {
  color: var(--teal-800);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-900);
}

:focus-visible {
  outline: 3px solid var(--teal-800);
  outline-offset: 3px;
}

::selection {
  background: #b7e0e2;
  color: var(--teal-900);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--teal-800);
  color: var(--sand-50);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.6rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

h1, h2, h3, .brand__name {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--teal-800);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin: 0;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  margin: 0 0 0.8rem;
}

h3 {
  font-size: 1.45rem;
  margin: 0;
}

p {
  margin: 0 0 0.9rem;
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--teal-700);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.tagline {
  margin: 0.7rem 0 0;
  color: var(--teal-700);
  font-weight: 600;
  letter-spacing: 0.11em;
  font-size: 0.98rem;
}

.tagline::after {
  content: "";
  display: block;
  width: 4.25rem;
  height: 2px;
  margin-top: 1rem;
  background: var(--sand-gold);
}

.lede {
  font-size: 1.15rem;
  max-width: 40rem;
  color: var(--ink);
}

.prose {
  max-width: 66ch;
}

.prose p,
.prose li {
  hyphens: auto;
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #f3e9d8;
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand__mark {
  width: 52px;
  height: auto;
  flex: 0 0 auto;
}

.brand__name {
  display: block;
  font-size: 1.28rem;
  line-height: 1.05;
}

.brand__tag {
  display: block;
  margin-top: 0.18rem;
  color: var(--teal-700);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.95rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--teal-800);
  text-decoration: underline;
}

.site-nav a[aria-current="page"] {
  color: var(--teal-800);
  box-shadow: inset 0 -2px 0 var(--sand-gold);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--teal-800);
  border-radius: 10px;
  background: var(--sand-0);
  color: var(--teal-800);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--teal-800);
  border-radius: 2px;
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero and pages */

main {
  padding-bottom: 3.5rem;
}

#inhalt,
.page-intro h1,
.offer-card,
.step {
  scroll-margin-top: 5.5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 3.2rem 0 2.2rem;
}

.hero__mark {
  justify-self: center;
  width: min(100%, 380px);
}

.hero__mark img {
  width: 100%;
  height: auto;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  border: 2px solid var(--teal-800);
  background: var(--teal-800);
  color: var(--sand-50);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
}

.button:hover {
  background: var(--teal-900);
  border-color: var(--teal-900);
  color: var(--sand-50);
}

.button--ghost {
  background: transparent;
  color: var(--teal-800);
}

.button--ghost:hover {
  background: var(--teal-800);
  color: var(--sand-50);
}

.section {
  padding: 3.4rem 0;
}

.section--band {
  background: rgba(251, 246, 236, 0.72);
  border-block: 1px solid var(--line);
}

.section--sand {
  background: var(--sand-200);
}

.section__intro {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.page-intro {
  padding: 3.2rem 0 0.6rem;
  max-width: 38rem;
}

.invite {
  max-width: 36rem;
}

.invite .lede {
  margin-bottom: 0.4rem;
}

.page-intro h1 {
  margin-bottom: 0.85rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.offer-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 48rem;
}

.offer-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--sand-0);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.45rem 1.55rem;
  height: 100%;
}

.offer-card h2,
.contact-card h2,
.form-card h2,
.aside-note h2 {
  font-size: 1.4rem;
  margin: 0 0 0.35rem;
}

.offer-card p:last-child {
  margin-bottom: 0;
}

.icon {
  width: 42px;
  height: 42px;
  color: var(--teal-600);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.price-card {
  background: var(--sand-0);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem;
  border: 1px solid var(--line);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--sand-0);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin: 0.4rem 0 1rem;
}

.price-table caption {
  caption-side: bottom;
  text-align: left;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0.65rem 0.15rem 0;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

.price-table thead th {
  color: var(--teal-800);
  font-weight: 600;
}

.price-table tbody th {
  color: var(--ink);
  font-weight: 600;
}

.price-table tr:last-child th,
.price-table tr:last-child td {
  border-bottom: 0;
}

.price {
  margin: 0.35rem 0 0.2rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  color: var(--teal-800);
  line-height: 1.15;
}

.price span {
  display: inline-block;
  margin-left: 0.25rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.meta-line {
  color: var(--muted);
  margin-bottom: 0;
}

.legal-notice {
  margin: 1.4rem 0 0;
  padding: 0.95rem 1.05rem;
  background: var(--sand-0);
  border: 2px solid var(--teal-800);
  border-radius: 12px;
}

.legal-notice p {
  margin: 0;
  font-weight: 600;
}

.legal-notice__label {
  display: inline-block;
  margin-right: 0.35rem;
  color: var(--teal-800);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}

.ph {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border: 2px dashed var(--teal-800);
  border-radius: 12px;
  background: var(--sand-0);
}

.ph p {
  margin: 0;
  font-weight: 600;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 44rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.step:last-child {
  padding-bottom: 0;
}

.step__num {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--teal-800);
  color: var(--sand-50);
  display: grid;
  place-items: center;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.3rem;
  top: 2.6rem;
  bottom: 0;
  width: 2px;
  background: var(--sand-gold);
  transform: translateX(-50%);
}

.step h2 {
  font-size: 1.35rem;
  margin: 0.25rem 0 0.3rem;
}

.aside-note {
  margin-top: 1.6rem;
  padding: 1rem 1.1rem;
  background: var(--sand-0);
  border-radius: 12px;
  border: 1px solid var(--line);
  max-width: 44rem;
}

.aside-note h2 {
  font-size: 1.25rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(200px, 0.78fr) minmax(0, 1.25fr);
  gap: 2rem;
  align-items: center;
  padding-top: 2rem;
}

.portrait-slot {
  margin: 0;
  background: var(--sand-0);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.1rem 1.1rem 0.8rem;
}

.portrait-slot img {
  width: 100%;
  height: auto;
}

.portrait-slot figcaption {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.about-quote {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  line-height: 1.65;
  color: var(--ink);
}

.fact-list {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem 2rem;
  align-items: start;
}

address {
  font-style: normal;
}

.contact-card,
.form-card {
  background: var(--sand-0);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.3rem;
}

.contact-card a {
  font-weight: 600;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

label,
legend {
  font-weight: 600;
  color: var(--teal-800);
}

.field {
  display: grid;
  gap: 0.35rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 1.5px solid var(--teal-700);
  border-radius: 10px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input:user-invalid,
textarea:user-invalid {
  border-color: #7a3e32;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.2rem;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-weight: 400;
  color: var(--ink);
}

input[type="radio"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--teal-800);
}

.form-hint {
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: #e5f2f2;
  color: var(--teal-900);
  font-weight: 600;
}

/* Footer */

.site-footer {
  background: var(--teal-800);
  color: var(--sand-100);
  padding: 2.2rem 0 1.3rem;
}

.site-footer a {
  color: var(--sand-50);
  font-weight: 600;
}

.site-footer a:focus-visible {
  outline-color: var(--sand-50);
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--sand-50);
  margin: 0 0 0.2rem;
}

.footer-tag {
  margin: 0 0 0.8rem;
  letter-spacing: 0.08em;
  color: var(--sand-200);
  font-weight: 600;
  font-size: 0.92rem;
}

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

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.footer-notice {
  margin: 1.4rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(243, 233, 216, 0.35);
  color: var(--sand-50);
  font-weight: 600;
}

.footer-meta {
  margin: 0.7rem 0 0;
  color: var(--sand-200);
  font-size: 0.92rem;
}

/* Responsive */

@media (max-width: 880px) {
  .js .nav-toggle {
    display: inline-flex;
  }

  .header-bar {
    flex-wrap: wrap;
    padding-bottom: 0.35rem;
  }

  .site-nav {
    flex-basis: 100%;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    border-bottom: 1px solid var(--line);
  }

  .js .site-nav {
    display: none;
  }

  .js .site-nav.is-open {
    display: block;
  }

  .hero,
  .about-layout,
  .contact-layout,
  .offer-grid,
  .offer-grid--two,
  .price-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .price-table th,
  .price-table td {
    padding: 0.75rem 0.7rem;
  }

  .about-copy {
    order: -1;
  }

  .hero {
    padding-top: 1.6rem;
  }

  .hero__mark {
    order: -1;
    width: min(210px, 62vw);
  }

  .footer-grid {
    gap: 1.1rem;
  }
}

@media (min-width: 720px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 3rem));
  }
}

@media (max-width: 420px) {
  .brand__name {
    font-size: 1.08rem;
  }

  .brand__tag {
    font-size: 0.64rem;
    letter-spacing: 0.03em;
  }

  .brand__mark {
    width: 44px;
  }

  .actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .nav-toggle,
  .site-nav,
  .skip-link,
  .contact-form,
  .actions {
    display: none !important;
  }

  .site-header {
    position: static;
  }

  body,
  .site-footer {
    background: #fff;
    color: #000;
  }

  .site-footer a,
  h1, h2, h3, .brand__name, .footer-name {
    color: #000;
  }
}
