/* Masterclass-Detailseiten – SOUL OF WORK */
:root {
  --sow-orange: #FD473A;
  --sow-teal: #8EC9BA;
  --sow-navy: #1f2b46;
  --sow-ink: #1a1a1a;
  --sow-muted: #5a6273;
  --sow-line: #e4e6ec;
  --sow-bg: #f7f8fa;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.mc-body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--sow-ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.mc-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Topbar */
.mc-topbar {
  border-bottom: 1px solid var(--sow-line);
  background: #fff;
}
.mc-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.mc-brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--sow-navy);
}
.mc-back {
  text-decoration: none;
  font-size: 14px;
  color: var(--sow-muted);
}
.mc-back:hover { color: var(--sow-orange); }

/* Hero */
.mc-hero {
  background: var(--sow-navy);
  color: #fff;
  padding: 40px 0 48px;
}
.mc-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.mc-tag {
  display: inline-block;
  background: var(--sow-teal);
  color: #10241d;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 0;
  margin-bottom: 18px;
}
.mc-hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
  margin: 0 0 12px;
  font-weight: 800;
}
.mc-hero .mc-subtitle {
  font-size: clamp(16px, 2.4vw, 20px);
  color: #d7dce6;
  margin: 0 0 24px;
}
.mc-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 14px;
  color: #c4cbd8;
  margin-bottom: 26px;
}
.mc-hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.mc-hero-image {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.mc-hero-image img { width: 100%; height: auto; display: block; }

/* Buttons */
.mc-btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 0;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.2;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  box-sizing: border-box;
  transition: background 200ms ease, transform 200ms ease;
}
.mc-btn-primary { background: var(--sow-orange); color: #fff; }
.mc-btn-primary:hover { background: var(--sow-teal); }
.mc-btn:focus-visible { outline: 2px solid var(--sow-teal); outline-offset: 2px; }
.mc-btn-ghost { border: 1.5px solid var(--sow-teal); color: var(--sow-navy); background: #fff; }
.mc-btn-ghost:hover { background: var(--sow-teal); }

/* Content */
.mc-main { padding: 48px 0 8px; }
.mc-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.mc-layout > aside { align-self: stretch; }
.mc-article h2 {
  font-size: 24px;
  margin: 32px 0 12px;
  color: var(--sow-navy);
}
.mc-article h2:first-child { margin-top: 0; }
.mc-article p { margin: 0 0 16px; color: #2b2f38; }
.mc-article ul { margin: 0 0 16px; padding-left: 20px; }
.mc-article li { margin-bottom: 8px; }

.mc-placeholder {
  border: 1px dashed var(--sow-line);
  background: var(--sow-bg);
  color: var(--sow-muted);
  padding: 16px 18px;
  border-radius: 0;
  font-style: italic;
}

.mc-callout {
  background: var(--sow-bg);
  border-left: 4px solid var(--sow-orange);
  padding: 20px 24px;
  margin: 8px 0 24px;
}
.mc-callout h3 { margin: 0 0 12px; font-size: 20px; color: var(--sow-navy); }
.mc-callout p { margin: 0 0 12px; }
.mc-callout p:last-child { margin-bottom: 0; }

.mc-quote {
  background: var(--sow-navy);
  color: #fff;
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  padding: 22px 26px;
  margin: 8px 0 8px;
}

.mc-eyebrow {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sow-muted);
  font-weight: 700;
  margin: 0 0 4px;
}

.mc-table-wrap { overflow-x: auto; margin: 0 0 24px; }
.mc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.mc-table th,
.mc-table td {
  border: 1px solid var(--sow-line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.mc-table thead th {
  background: var(--sow-navy);
  color: #fff;
  font-weight: 700;
}
.mc-table tbody tr:nth-child(even) { background: var(--sow-bg); }
.mc-table .mc-col-nr { width: 44px; text-align: center; }
.mc-table .mc-col-time { width: 72px; white-space: nowrap; }

/* Sidebar */
.mc-card {
  border: 1px solid var(--sow-line);
  border-radius: 0;
  padding: 22px;
  position: sticky;
  top: 20px;
  background: #fff;
}
.mc-card h3 { margin: 0 0 14px; font-size: 18px; color: var(--sow-navy); }
.mc-facts { list-style: none; margin: 0 0 20px; padding: 0; font-size: 14px; }
.mc-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--sow-line); }
.mc-facts li:last-child { border-bottom: 0; }
.mc-facts .mc-fact-label { color: var(--sow-muted); }
.mc-facts .mc-fact-value { font-weight: 600; text-align: right; }
.mc-card .mc-btn { display: block; width: 100%; text-align: center; }

/* Weitere Masterclasses */
.mc-more { padding: 40px 0 56px; }
.mc-more h2 { font-size: 22px; color: var(--sow-navy); margin: 0 0 20px; }
.mc-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mc-more-tile {
  border: 1px solid var(--sow-line);
  border-radius: 0;
  overflow: hidden;
  text-decoration: none;
  color: var(--sow-navy);
  transition: transform 200ms ease, box-shadow 200ms ease;
  background: #fff;
}
.mc-more-tile:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,0.08); }
.mc-more-tile img { width: 100%; height: auto; display: block; }
.mc-more-tile span { display: block; padding: 12px 14px; font-weight: 600; font-size: 14px; }

/* Footer */
.mc-footer {
  border-top: 1px solid var(--sow-line);
  background: var(--sow-bg);
  padding: 26px 0;
  margin-top: 20px;
}
.mc-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
  font-size: 14px;
}
.mc-footer-nav a { color: var(--sow-muted); text-decoration: none; }
.mc-footer-nav a:hover { color: var(--sow-orange); }

/* Warenkorb-Widget */
.cart-top-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.cart-close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: #444;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transform: rotate(0deg);
  transition: transform 220ms ease, color 220ms ease;
}
.cart-close-button:hover { color: var(--sow-orange); }
.cart-close-button.is-rotating { transform: rotate(90deg); }
#buy-now-button:hover { background: var(--sow-teal) !important; }
.cart-fly-icon {
  position: fixed;
  z-index: 9999;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fd473a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  pointer-events: none;
  transform: translate(0, 0) scale(1);
  opacity: 1;
  transition: transform 1100ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1100ms ease;
}

@media (max-width: 860px) {
  .mc-hero-grid { grid-template-columns: 1fr; }
  .mc-layout { grid-template-columns: 1fr; }
  .mc-card { position: static; }
  .mc-more-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .mc-more-grid { grid-template-columns: 1fr; }
  .cart-top-row { flex-direction: column; align-items: flex-end; gap: 6px; }
}
