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

:root {
  --bg: #1c1610;
  --bg-alt: #221a13;
  --surface: #2b2118;
  --surface-2: #33271b;
  --border: rgba(255, 235, 215, 0.11);
  --border-strong: rgba(255, 235, 215, 0.2);
  --text: #f9f2ea;
  --text-dim: #c9baa8;
  --text-faint: #93826f;
  --accent: #ef8a4d;
  --accent-2: #f4b13c;
  --accent-grad: linear-gradient(135deg, var(--accent), var(--accent-2));
  --shadow-sm: 0 2px 10px rgba(35, 18, 8, 0.3);
  --shadow-md: 0 24px 48px -26px rgba(35, 18, 8, 0.5);
  --radius: 20px;
  --radius-full: 999px;
  --container: 1120px;
  --font-heading: 'Sora', var(--font-body);
  --font-body: 'Space Grotesk', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
svg { width: 22px; height: 22px; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--font-heading); }

.accent-text { color: var(--accent); }

/* Subtle grain overlay for texture */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(28, 22, 16, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.92rem;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
}
.nav-link:hover { color: var(--text); }

.nav-cta {
  color: #fff;
  background: var(--accent-grad);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover { color: #fff; filter: brightness(1.08); }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -15%;
  right: -15%;
  width: 55vw;
  height: 55vw;
  max-width: 640px;
  max-height: 640px;
  background: radial-gradient(circle, rgba(239, 138, 77, 0.16), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.hero-inner { max-width: 640px; }

.hero-photo-wrap { display: flex; justify-content: center; }
.hero-photo-frame {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 32px;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3ee08e;
  box-shadow: 0 0 8px rgba(62, 224, 142, 0.6);
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
  color: var(--text);
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { filter: brightness(1.08); }

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-block { width: 100%; border: none; }

.hero-stack { display: flex; flex-direction: column; gap: 16px; }
.stack-label {
  font-size: 0.75rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.stack-groups { display: flex; flex-direction: column; gap: 12px; }
.stack-group { display: flex; flex-direction: column; gap: 8px; }
.stack-group-label {
  font-size: 0.75rem;
  color: var(--text-faint);
}
.stack-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.stack-tags span {
  font-size: 0.8rem;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

/* ---------- Sections (shared) ---------- */
.section { padding: 128px 0; }
.section-alt { background: var(--bg-alt); }

.section-heading { margin-bottom: 60px; max-width: 620px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-kicker {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--text-dim);
  margin-top: 14px;
  font-size: 1.03rem;
}

/* ---------- About ---------- */
.about-content {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 60px;
  align-items: start;
}

.about-avatar {
  width: 210px;
  height: 210px;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text p { color: var(--text-dim); margin-bottom: 18px; }

.about-facts {
  margin: 22px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-dim);
  border-left: 2px solid var(--border);
  padding-left: 18px;
}
.about-facts strong { color: var(--text); font-weight: 600; }

.skill-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-tag {
  font-size: 0.83rem;
  color: var(--text-dim);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: var(--radius-full);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--accent);
  margin-bottom: 22px;
}
.service-icon svg { width: 20px; height: 20px; }

.service-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.service-card p { color: var(--text-dim); font-size: 0.93rem; }

/* ---------- Portfolio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.portfolio-card[data-preview-url], .portfolio-card[data-open-url] { cursor: pointer; }
.portfolio-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.portfolio-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.portfolio-preview {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border-bottom: 1px solid var(--border);
}
.preview-placeholder { color: var(--text-faint); }

.portfolio-body { padding: 24px 26px 28px; }
.portfolio-tag {
  font-size: 0.75rem;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.placeholder-card .portfolio-tag { color: var(--text-faint); }
.portfolio-body h3 { font-size: 1.1rem; font-weight: 600; margin: 12px 0 8px; }
.portfolio-body p { color: var(--text-dim); font-size: 0.9rem; }
.placeholder-card { opacity: 0.65; border-style: dashed; box-shadow: none; }

.preview-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
}

/* ---------- Portfolio preview modal ---------- */
.preview-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20, 14, 8, 0.8);
  padding: 24px;
  align-items: center;
  justify-content: center;
}
.preview-modal.open { display: flex; }

.preview-modal-inner {
  width: min(1100px, 100%);
  height: min(720px, 100%);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.preview-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.preview-modal-title {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.preview-modal-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.preview-modal-open {
  font-size: 0.85rem;
  color: var(--accent);
}
.preview-modal-open:hover { color: var(--text); }

.preview-modal-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.preview-modal-close:hover { color: var(--text); }

.preview-modal-inner iframe {
  flex: 1;
  width: 100%;
  border: none;
  background: #fff;
}

@media (max-width: 600px) {
  .preview-modal { padding: 0; }
  .preview-modal-inner { border-radius: 0; }
}

/* ---------- Zertifikate ---------- */
.cert-year-group { margin-bottom: 40px; }
.cert-year-group:last-child { margin-bottom: 0; }

.cert-year-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.cert-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--accent);
}
.cert-icon svg { width: 20px; height: 20px; }

.cert-body h4 { font-size: 1rem; font-weight: 600; }

/* ---------- Preise ---------- */
.price-table-wrap {
  overflow-x: auto;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.price-table th, .price-table td {
  text-align: left;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}

.price-table th {
  color: var(--text-faint);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover { background: var(--surface-2); }

.price-table td:first-child {
  font-weight: 500;
  color: var(--text);
}
.price-table td span {
  display: block;
  font-weight: 400;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 3px;
}

.price-table td:last-child {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.price-note {
  text-align: center;
  color: var(--text-faint);
  font-size: 0.9rem;
  max-width: 640px;
  margin: 0 auto;
}

.price-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ---------- Contact ---------- */
.contact-grid {
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.97rem;
}
.contact-item svg { color: var(--accent); }
.contact-item:hover { color: var(--accent); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-md);
}

.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.83rem; color: var(--text-dim); }

.form-row input, .form-row textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note { font-size: 0.79rem; color: var(--text-faint); text-align: center; }
.form-note-success { color: #3ee08e; }
.form-note-error { color: #ff8080; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Legal pages ---------- */
.legal-page { padding-top: 160px; }
.legal-content { max-width: 720px; margin: 0 auto; }
.legal-content h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 600;
  margin: 8px 0 32px;
}
.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 34px 0 10px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { color: var(--text-dim); margin-bottom: 12px; line-height: 1.7; }
.legal-content a { color: var(--accent); }
.legal-content a:hover { text-decoration: underline; }
.legal-content ul { margin: 0 0 12px; padding-left: 20px; list-style: disc; }
.legal-content li { color: var(--text-dim); margin-bottom: 6px; line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-faint);
}
.footer-inner a:hover { color: var(--accent); }

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-faint);
}
.footer-legal a { color: var(--text-faint); }
.footer-legal a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo-wrap { order: -1; }
  .hero-photo-frame { max-width: 220px; }
  .hero-inner { max-width: 100%; }
}

@media (max-width: 860px) {
  .about-content { grid-template-columns: 1fr; }
  .about-avatar { width: 150px; height: 150px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 16px;
    right: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    gap: 8px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open {
    display: flex;
  }
  .nav-link { padding: 10px 8px; }
  .nav-cta { text-align: center; }
  .nav-toggle { display: flex; }

  .section { padding: 88px 0; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
}

/* ---------- Admin ---------- */
.admin-body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
}

.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.admin-login-card {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.admin-login-card .logo { align-self: flex-start; }
.admin-login-card h1 { font-size: 1.4rem; font-weight: 600; margin-top: 8px; }
.admin-login-card .section-sub { margin-top: -10px; }

.admin-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.admin-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-header-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-badge {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 9px;
  margin-left: 6px;
  vertical-align: middle;
}

.admin-main {
  padding: 48px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.admin-section h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.admin-table-wrap { margin-bottom: 28px; overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.9rem;
}
.admin-table th, .admin-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.admin-table th {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table a { color: var(--accent); }

.admin-delete-btn {
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 0.82rem;
  cursor: pointer;
}
.admin-delete-btn:hover { border-color: #f66; color: #f66; }

.admin-edit-btn {
  display: inline-block;
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 0.82rem;
  margin-right: 8px;
}
.admin-edit-btn:hover { border-color: var(--accent); color: var(--accent); }

.admin-row-actions { display: flex; align-items: center; }

.admin-form { max-width: 480px; }
.admin-form-title { font-size: 1rem; font-weight: 600; }
.admin-form-actions { display: flex; gap: 12px; }

.form-row select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form-row select:focus { outline: none; border-color: var(--accent); }

.admin-flash {
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}
.admin-flash-success { color: #3ee08e; border-color: rgba(62, 224, 142, 0.35); }
.admin-flash-error { color: #ff8080; border-color: rgba(255, 128, 128, 0.35); }

/* ---------- Statistik ---------- */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.stats-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}
.stats-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
}
.stats-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.stats-cards-compact { margin: 18px 0; }
.stats-cards-compact .stats-card { padding: 16px; }
.stats-cards-compact .stats-number { font-size: 1.6rem; }

.host-section { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: var(--bg-alt); }
.host-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.host-section-heading h2 { margin-bottom: 0; }
.host-last-seen { font-size: 0.8rem; color: var(--text-faint); }

/* ---------- Shop ---------- */
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

.product-body { display: flex; flex-direction: column; }
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.product-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
}
.product-card .preview-cta { margin-top: 10px; }

.checkout-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 20px 0;
}
.checkout-summary h2 { margin-bottom: 8px; }
.checkout-summary p { color: var(--text-dim); }
.checkout-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--accent) !important;
  margin-top: 10px;
}

.checkout-form { display: flex; flex-direction: column; gap: 18px; }
.checkout-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-dim);
  cursor: pointer;
}
.checkout-consent input { margin-top: 4px; flex-shrink: 0; }
.checkout-consent a { color: var(--accent); }
