/* CrystalMail — crystalmail.de
   Freundliche Crystal-Farbwelt: warmes Papier, Teal/Cyan (aus dem
   Logo), Koralle + Amber als warme Akzente. Fonts lokal gehostet
   (Fraunces für Display, Manrope für Fließtext) — keine Tracker,
   keine externen Requests. */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/Fraunces-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/Fraunces-Italic-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --paper: #faf6ee;
  --paper-deep: #f1e9da;
  --white: #ffffff;
  --tint: #e3f2f3;
  --tint-deep: #cde8ea;

  --ink: #1f2f3a;
  --muted: #5b7180;
  --soft: #8598a5;

  --teal: #0e8593;
  --teal-deep: #0a5f6b;
  --cyan: #2ec4d8;
  --coral: #f2705e;
  --coral-deep: #d8553f;
  --amber: #f5b73f;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(31, 47, 58, 0.08);
  --shadow-lift: 0 18px 44px rgba(31, 47, 58, 0.14);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 700; }

h1 em, h2 em {
  font-style: italic;
  color: var(--teal);
}

p { margin: 0 0 1em; }

a { color: var(--teal-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--coral-deep); }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ─── Kicker & Buttons ─────────────────────────────────────────── */

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.9rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--accent {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 20px rgba(242, 112, 94, 0.35);
}
.btn--accent:hover { background: var(--coral-deep); color: #fff; box-shadow: var(--shadow-lift); }

.btn--ghost {
  border: 2px solid var(--teal);
  color: var(--teal-deep);
  background: transparent;
}
.btn--ghost:hover { background: var(--tint); color: var(--teal-deep); }

.btn--light {
  background: #fff;
  color: var(--teal-deep);
}
.btn--light:hover { color: var(--coral-deep); }

.btn--ghost-light {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ─── Header ───────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 47, 58, 0.07);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img { border-radius: 10px; }
.brand-words { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.brand-claim { font-size: 0.78rem; color: var(--muted); }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}
.main-nav a:hover { color: var(--teal); }
.main-nav a[aria-current="page"] { color: var(--teal); border-bottom: 2px solid var(--cyan); }

.nav-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--teal-deep); }

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 2px solid var(--teal);
  background: transparent;
  color: var(--teal-deep);
  font: inherit;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0.9rem; padding: 1rem 0; }
  .site-header .container { flex-wrap: wrap; }
}

/* ─── Hero ─────────────────────────────────────────────────────── */

.hero {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(52rem 30rem at 85% -10%, var(--tint) 0%, transparent 60%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(245, 183, 63, 0.14) 0%, transparent 55%),
    var(--paper);
  text-align: center;
}
.hero .sub {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto;
}
.hero .btn-row { justify-content: center; }
.hero-note { font-size: 0.9rem; color: var(--soft); margin-top: 1rem; }

.hero--split { text-align: left; }
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 3rem;
  align-items: center;
}
.hero--split .sub { margin: 0; }
.hero--split .btn-row { justify-content: flex-start; }
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  transform: rotate(1.2deg);
  transition: transform 0.25s ease;
}
.hero-media img:hover { transform: rotate(0deg) scale(1.01); }

@media (max-width: 880px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero--split { text-align: center; }
  .hero--split .sub { margin: 0 auto; }
  .hero--split .btn-row { justify-content: center; }
}

/* ─── Sections & Bänder ────────────────────────────────────────── */

.section { padding: 4rem 0; }
.section--tight { padding: 3.2rem 0; }

.band--paper { background: var(--paper-deep); }
.band--white { background: var(--white); }
.band--tint { background: var(--tint); }

.section-head {
  max-width: 44rem;
  margin: 0 auto 2.4rem;
  text-align: center;
}
.section-head .sub { color: var(--muted); font-size: 1.1rem; }

/* ─── Cards ────────────────────────────────────────────────────── */

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

@media (max-width: 880px) {
  .grid, .grid--2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 47, 58, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card h3 { margin-bottom: 0.4em; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.card--link h3::after {
  content: "→";
  float: right;
  color: var(--teal);
  transition: transform 0.15s ease;
}
.card--link:hover h3::after { transform: translateX(4px); }
.card--link:hover { border-color: var(--cyan); }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: var(--tint);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* ─── Steps ────────────────────────────────────────────────────── */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
  max-width: 46rem;
  margin-inline: auto;
}
.step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow);
}
.step p { margin: 0; color: var(--muted); }
.step h3 { margin-bottom: 0.2em; }
.step-num {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ─── Quotes ───────────────────────────────────────────────────── */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.quote {
  margin: 0;
  background: var(--white);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow);
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
}
.quote figcaption { margin-top: 0.7rem; font-size: 0.9rem; color: var(--soft); }

/* ─── Shots (Produkt-Mockups) ──────────────────────────────────── */

.shot {
  margin: 0;
  text-align: center;
}
.shot img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}
.shot figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 44rem;
  margin-inline: auto;
}

/* ─── Prose ────────────────────────────────────────────────────── */

.prose { max-width: 44rem; }
.prose--center { margin-inline: auto; text-align: center; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.35em; }
.prose code {
  background: var(--tint);
  padding: 0.1em 0.4em;
  border-radius: 6px;
  font-size: 0.9em;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 0.95rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.prose th, .prose td {
  text-align: left;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid rgba(31, 47, 58, 0.07);
  vertical-align: top;
}
.prose th {
  background: var(--tint);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.prose tr:last-child td { border-bottom: none; }
.prose kbd {
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  padding: 0.1em 0.5em;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85em;
}

/* ─── CTA-Banner ───────────────────────────────────────────────── */

.cta-banner {
  background:
    radial-gradient(30rem 16rem at 90% -20%, rgba(46, 196, 216, 0.35) 0%, transparent 60%),
    var(--teal-deep);
  color: #fff;
  border-radius: calc(var(--radius) * 1.4);
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-lift);
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); max-width: 36rem; margin-inline: auto; }
.cta-banner .btn-row { justify-content: center; }

/* ─── Footer ───────────────────────────────────────────────────── */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand img { border-radius: 12px; }
.footer-brand p { margin: 0; max-width: 26rem; }
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}
