/* ---------- Self-hosted fonts (no external requests to Google) ---------- */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/caveat.woff2') format('woff2');
}
@font-face {
  font-family: 'Caveat Brush';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/caveat-brush.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/nunito.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --cream: #FDF6F0;
  --blush: #F4D2E0;
  --blush-soft: #F9EBF1;
  --pink: #9B4A6C;
  --pink-dark: #7E3050;
  --maroon: #4B162C;
  --maroon-deep: #2B0D1A;
  --footer-dark: #1B0E12;
  --ink: #2B1B1F;
  --ink-soft: #6B565C;
  --line: #EEDEDF;
  --white: #FFFFFF;

  --font-display: 'Caveat Brush', cursive;
  --font-script: 'Caveat', cursive;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 20px 50px -20px rgba(92, 22, 49, 0.25);
  --container: 1160px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; background: var(--footer-dark); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); line-height: 1.15; overflow-wrap: break-word; }
h2 { font-size: clamp(1.8rem, 6vw, 3rem); line-height: 1.2; overflow-wrap: break-word; }
h3 { font-size: 1.5rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-dark);
  margin-bottom: 12px;
}
.eyebrow-light { color: var(--maroon); background: var(--white); padding: 7px 14px; border-radius: 999px; font-size: 0.78rem; text-transform: none; letter-spacing: 0; box-shadow: var(--shadow-soft); }

.section { padding: 96px 0; }

.section-sub {
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 46ch;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
}
.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 64px;
}
.section-head--center .section-sub { max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--pink-dark); }

.btn-ghost {
  color: var(--ink);
  padding: 13px 18px;
}
.btn-ghost:hover { color: var(--pink-dark); }

.btn-light {
  background: var(--cream);
  color: var(--maroon-deep);
}
.btn-light:hover { background: var(--white); }

.btn-store {
  background: var(--ink);
  color: var(--white);
  padding: 10px 20px;
  text-align: left;
}
.btn-store span { display: flex; flex-direction: column; line-height: 1.15; }
.btn-store small { font-size: 0.62rem; font-weight: 400; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.03em; }
.btn-store:hover { background: #000; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 246, 240, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(253, 246, 240, 0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
  transition: padding 0.3s ease;
}

.site-header.is-scrolled .header-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-header.is-scrolled .logo-mark {
  height: 24px;
}

.main-nav {
  overflow: hidden;
  max-width: 600px;
  transition: max-width 0.35s ease, opacity 0.25s ease, margin 0.35s ease;
}

.site-header.is-scrolled .main-nav {
  max-width: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--ink);
}

.logo-mark {
  height: 30px;
  width: auto;
  transition: height 0.3s ease;
}
.logo--footer .logo-mark { height: 26px; }

.main-nav {
  display: flex;
  gap: 32px;
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--pink-dark); }

.header-cta { display: flex; align-items: center; gap: 4px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { width: 100%; height: 2px; background: var(--ink); border-radius: 2px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
}
.mobile-nav a { padding: 10px 0; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(120% 100% at 8% 15%, var(--blush) 0%, var(--blush-soft) 40%, var(--cream) 75%);
  padding: 72px 0 100px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    "copy visual"
    "actions visual"
    "instagram visual";
  align-items: center;
  gap: 48px;
}
.hero-copy { grid-area: copy; }
.hero-actions { grid-area: actions; }
.hero-instagram { grid-area: instagram; }
.hero-visual { grid-area: visual; }

.hero-copy, .book-copy, .layout-copy, .team-note { min-width: 0; }
.hero-copy .highlight { color: var(--pink-dark); }

.hero-sub {
  margin-top: 20px;
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-actions--center { justify-content: center; }

.hero-instagram {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink-soft);
}
.hero-instagram svg { flex-shrink: 0; margin-top: 3px; color: var(--pink-dark); }
.hero-instagram a { color: var(--pink-dark); border-bottom: 1px solid transparent; transition: border-color .15s ease; }
.hero-instagram a:hover { border-color: var(--pink-dark); }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

/* ---------- Phone mock ---------- */
.phone-mock {
  width: 260px;
  aspect-ratio: 9 / 19.5;
  background: var(--ink);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-soft), 0 0 0 6px rgba(255,255,255,0.4);
  position: relative;
}
.phone-mock--small {
  width: 200px;
  margin: 0 auto;
  padding: 6px;
  border-radius: 26px;
  aspect-ratio: 0.48;
}
.phone-mock--small .phone-screen { border-radius: 18px; }
.phone-mock--small .phone-notch {
  top: 6px;
  width: 32%;
  height: 10px;
  border-radius: 0 0 8px 8px;
}
.phone-mock--hero { aspect-ratio: 0.4853; z-index: 2; }

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 20px;
  background: var(--ink);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-screen {
  background: var(--white);
  width: 100%;
  height: 100%;
  border-radius: 28px;
  padding: 30px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-screen--screenshot {
  padding: 0;
  overflow: hidden;
}
.phone-screenshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.floating-card {
  position: absolute;
  top: 50%;
  left: -12%;
  width: 371px;
  transform: translateY(-50%);
  z-index: 1;
}
.floating-card-photo {
  display: block;
  width: 100%;
  height: auto;
  border: 8px solid var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  margin-bottom: 10px;
}
.floating-card p {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  text-align: center;
  background: var(--white);
  border-radius: 999px;
  padding: 6px 12px;
  box-shadow: var(--shadow-soft);
}

/* ---------- How it works ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 18px;
}
.feature-icon--pink { background: var(--blush-soft); color: var(--pink-dark); }

.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Layout showcase ---------- */
.layout-showcase { background: var(--blush-soft); }

.layout-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 64px;
}

.layout-visual {
  display: flex;
  justify-content: center;
}

/* ---------- Book showcase ---------- */
.book-showcase { background: var(--white); }

.book-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 64px;
}

.book-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.book-mock {
  width: 300px;
  aspect-ratio: 4/5;
}

.book-photo {
  width: 100%;
  max-width: 620px;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(92, 22, 49, 0.25));
}

.book-cover {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--blush) 0%, var(--pink) 100%);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--white);
}
.book-cover-mark { font-size: 1.6rem; }
.book-cover p { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; }

.book-mock--back {
  position: absolute;
  width: 260px;
  right: 6%;
  bottom: -6%;
  z-index: -1;
  opacity: 0.9;
}
.book-cover--alt { background: var(--maroon); }

.checklist { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.check-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 2px;
}
.checklist strong { display: block; margin-bottom: 2px; }
.checklist div span { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Design anywhere ---------- */
.design-anywhere { background: var(--white); }

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.step-item { text-align: center; }
.step-label {
  margin-top: 20px;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 1.05rem;
}

/* ---------- CTA ---------- */
.cta-section {
  background: linear-gradient(160deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  color: var(--white);
}
.cta-inner { text-align: center; }
.cta-section h2 { color: var(--white); }
.cta-section h2 em { font-style: normal; color: var(--blush); }
.cta-section p {
  margin-top: 16px;
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
}

.cta-section .cta-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-dark);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p { margin-top: 14px; font-size: 0.92rem; max-width: 32ch; }

.logo--footer { color: var(--white); }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  font-family: var(--font-body);
}
.footer-col a { font-size: 0.92rem; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.85rem;
}

.social-icons { display: flex; gap: 14px; }
.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-icons a:hover { border-color: var(--pink); color: var(--pink); }

/* ---------- Content pages (Impressum, Datenschutz, AGB, Kontakt, Über uns) ---------- */
.page-hero {
  background: radial-gradient(120% 100% at 8% 15%, var(--blush) 0%, var(--blush-soft) 40%, var(--cream) 75%);
  padding: 64px 0 56px;
}
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(2.4rem, 4.5vw, 3.4rem); }
.page-hero p { color: var(--ink-soft); margin-top: 14px; max-width: 60ch; }
.page-hero + .section { padding-top: 24px; }

.legal-content {
  max-width: 760px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.legal-content h2 {
  font-size: 1.5rem;
  color: var(--ink);
  margin-top: 44px;
  margin-bottom: 14px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-content p { margin-bottom: 14px; }
.legal-content ul { margin: 0 0 14px 20px; list-style: disc; }
.legal-content ol { margin: 0 0 14px 20px; list-style: decimal; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--pink-dark); text-decoration: underline; overflow-wrap: break-word; word-break: break-word; }
.legal-content strong { color: var(--ink); }
.legal-content .toc-list { margin: 0 0 14px 0; columns: 2; column-gap: 32px; list-style: none; }
.legal-content .toc-list li { margin-bottom: 4px; break-inside: avoid; font-size: 0.94rem; }
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 0.9rem;
}
.legal-content th, .legal-content td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal-content th { background: var(--blush-soft); color: var(--ink); font-weight: 700; }
.legal-content .table-scroll { overflow-x: auto; margin-bottom: 20px; }
.legal-content .table-scroll table { margin-bottom: 0; }

.legal-updated {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.placeholder {
  background: var(--blush-soft);
  color: var(--pink-dark);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.fill-in-notice {
  background: var(--blush-soft);
  border: 1px solid var(--blush);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 36px;
  font-size: 0.92rem;
  color: var(--maroon);
  max-width: 760px;
}

.legal-form-block {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ---------- Contact form ---------- */
.contact-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.form-field input,
.form-field textarea {
  font: inherit;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--pink);
}
.form-note { font-size: 0.85rem; color: var(--ink-soft); }
.form-success {
  display: none;
  background: var(--blush-soft);
  color: var(--maroon);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.92rem;
}
.form-success.is-visible { display: block; }

.form-error {
  background: var(--blush-soft);
  color: var(--pink-dark);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info-item strong { display: block; color: var(--ink); margin-bottom: 4px; }
.contact-info-item span, .contact-info-item a { color: var(--ink-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
}

.team-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 88px;
  align-items: start;
}

.team-note {
  color: var(--ink-soft);
  line-height: 1.7;
}
.team-note p { margin-bottom: 16px; }

.about-photo-wrap { margin: 0 0 0 auto; max-width: 320px; }
.about-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.photo-credit {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: right;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 48px 0 56px; }
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "actions"
      "instagram";
    gap: 0;
  }
  .hero-visual {
    width: 100%;
    max-width: 420px;
    margin: 24px auto 0;
    justify-content: flex-end;
  }
  .phone-mock--hero { padding: 8px; }
  .phone-mock--hero .phone-notch { top: 8px; height: 13px; }
  .phone-mock--hero .phone-screen--screenshot { border-radius: 26px; }
  .hero-visual .phone-mock--hero { width: 60%; }
  .floating-card {
    width: 60%;
    left: 0;
  }
  .hero-actions { justify-content: center; margin-top: 28px; }
  .book-inner { grid-template-columns: 1fr; }
  .book-visual { order: -1; }
  .layout-inner { grid-template-columns: 1fr; }
  .layout-copy { order: -1; }
  .layout-visual { width: 100%; max-width: 300px; margin: 32px auto 0; }
  .layout-visual .phone-mock--hero { width: 100%; }
  .team-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.is-open { display: flex; }
  .section { padding: 64px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; gap: 48px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .legal-content .toc-list { columns: 1; }
  .hero .eyebrow-light { display: none; }
}

/* ---------- Print (legal pages) ---------- */
@media print {
  .site-header, .site-footer, .skip-link, .fill-in-notice { display: none; }
  .page-hero { background: none; padding: 0 0 24px; }
  .section { padding: 0; }
  body { background: var(--white); }
  .legal-content { color: #000; }
  .legal-content h2, .legal-content h3, .page-hero h1 { color: #000; }
  .legal-content a { color: #000; text-decoration: underline; }
  .legal-content .toc-list { columns: 1; }
  .placeholder { background: none; border: 1px solid #000; padding: 0 4px; }
}
