/* ═══════════════════════════════════════════════════
   CarChain – Stufe 1  |  carchain.css
   Dark retro/garage/vintage design system
═══════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --cc-bg:           #09090c;
  --cc-surface:      #111116;
  --cc-surface2:     #17171e;
  --cc-card:         #13131a;
  --cc-card-hover:   #1b1b24;
  --cc-border:       rgba(255,255,255,0.07);
  --cc-border-warm:  rgba(201,168,76,0.18);

  --cc-orange:       #e07830;
  --cc-orange-glow:  rgba(224,120,48,0.18);
  --cc-orange-dim:   rgba(224,120,48,0.10);
  --cc-gold:         #c9a84c;
  --cc-gold-glow:    rgba(201,168,76,0.20);
  --cc-gold-dim:     rgba(201,168,76,0.10);
  --cc-petrol:       #2a8fa8;
  --cc-petrol-dim:   rgba(42,143,168,0.12);

  --cc-text:         #e2d8cc;
  --cc-text2:        #968c80;
  --cc-text-muted:   #58524c;

  --cc-line-clr:     #c9a84c;
  --cc-line-w:       3px;

  --cc-font-head:    'Barlow Condensed', ui-sans-serif, system-ui, sans-serif;
  --cc-font-body:    'Inter', ui-sans-serif, system-ui, sans-serif;

  --cc-r:            10px;
  --cc-r-lg:         14px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cc-bg);
  color: var(--cc-text);
  font-family: var(--cc-font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.cc-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px 72px;
  overflow: hidden;
  background-image:
    linear-gradient(to bottom,
      rgba(9,9,12,0.68) 0%,
      rgba(9,9,12,0.46) 40%,
      rgba(9,9,12,0.78) 100%),
    url('assets/img/CarchainTitel.png');
  background-size: cover;
  background-position: center 72%;
}

.cc-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cc-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 70%, rgba(224,120,48,0.13) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 50% 90%, rgba(201,168,76,0.08) 0%, transparent 55%);
}

/* subtle diagonal racing stripes */
.cc-hero__stripes {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -58deg,
    transparent 0px, transparent 38px,
    rgba(255,255,255,0.013) 38px, rgba(255,255,255,0.013) 40px
  );
}

/* large faded watermark text */
.cc-hero__watermark {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--cc-font-head);
  font-size: clamp(80px, 18vw, 180px);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.028);
  white-space: nowrap;
  user-select: none;
  line-height: 1;
}

.cc-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.cc-hero__est-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--cc-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cc-gold);
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 20px;
  padding: 5px 16px;
  margin-bottom: 22px;
}

.cc-hero__est-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cc-gold);
  opacity: 0.7;
}

.cc-hero__title {
  font-family: var(--cc-font-head);
  font-size: clamp(56px, 10vw, 100px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
  margin-bottom: 14px;
}

.cc-hero__title-car  { color: var(--cc-text); }
.cc-hero__title-chain {
  display: block;
  color: var(--cc-orange);
  text-shadow: 0 0 70px rgba(224,120,48,0.35);
}

.cc-hero__tagline {
  font-family: var(--cc-font-head);
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 400;
  font-style: italic;
  color: var(--cc-gold);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.cc-hero__subline {
  font-size: 13px;
  color: var(--cc-text2);
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}

.cc-hero__ornament {
  font-size: 18px;
  color: var(--cc-gold);
  opacity: 0.4;
}

/* ════════════════════════════════════════
   PROFILE
════════════════════════════════════════ */
.cc-profile {
  background: var(--cc-surface);
  border-top: 1px solid var(--cc-border);
  border-bottom: 1px solid var(--cc-border);
  padding: 28px 24px;
}

.cc-profile__inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* Avatar */
.cc-profile__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.cc-profile__avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1c1c22 0%, #262630 100%);
  border: 2px solid rgba(201,168,76,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cc-profile__monogram {
  font-family: var(--cc-font-head);
  font-size: 34px;
  font-weight: 700;
  color: var(--cc-gold);
  line-height: 1;
}

/* Logo image inside the profile avatar circle */
.cc-profile__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
  display: block;
}

/* Brand seal – LogoCarChain (dark bg) as decorative badge in profile */
.cc-profile__brand-seal {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 10px;
  opacity: 0.55;
  flex-shrink: 0;
  margin-left: auto;
  filter: brightness(0.9);
  transition: opacity 0.2s;
}
.cc-profile__brand-seal:hover { opacity: 0.8; }

.cc-profile__avatar-ring {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.12);
}

/* Info */
.cc-profile__info {
  flex: 1;
  min-width: 190px;
}

.cc-profile__eyebrow {
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cc-text-muted);
  margin-bottom: 3px;
}

.cc-profile__name {
  font-family: var(--cc-font-head);
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cc-text);
  line-height: 1.05;
  margin-bottom: 4px;
}

.cc-profile__chain {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--cc-font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--cc-orange);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.cc-profile__chain-hex {
  font-size: 13px;
  opacity: 0.6;
}

.cc-profile__bio {
  font-size: 13px;
  color: var(--cc-text2);
  line-height: 1.55;
}

/* Stats */
.cc-profile__stats {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cc-profile__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 18px;
  background: var(--cc-card);
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-r);
  min-width: 72px;
}

.cc-profile__stat-num {
  font-family: var(--cc-font-head);
  font-size: 30px;
  font-weight: 700;
  color: var(--cc-gold);
  line-height: 1;
  margin-bottom: 4px;
}

.cc-profile__stat-lbl {
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cc-text-muted);
}

/* ════════════════════════════════════════
   TIMELINE WRAPPER
════════════════════════════════════════ */
.cc-tl-wrapper {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* "JETZT" bar at top */
.cc-tl-now-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 32px 0 28px;
}

.cc-tl-now-bar__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cc-border-warm));
}
.cc-tl-now-bar__line:last-child {
  background: linear-gradient(90deg, var(--cc-border-warm), transparent);
}

.cc-tl-now-bar__label {
  font-family: var(--cc-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cc-orange);
  background: rgba(224,120,48,0.07);
  border: 1px solid rgba(224,120,48,0.28);
  border-radius: 20px;
  padding: 5px 16px;
  white-space: nowrap;
}

/* Origin footer */
.cc-tl-origin {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0 20px 0;
  margin-left: -1px; /* align with line */
}

.cc-tl-origin__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(201,168,76,0.25);
  border: 2px solid rgba(201,168,76,0.4);
  flex-shrink: 0;
  margin-left: 12px; /* same as line center offset */
}

.cc-tl-origin__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: 28px;
}

.cc-tl-origin__year {
  font-family: var(--cc-font-head);
  font-size: 22px;
  font-weight: 700;
  color: rgba(201,168,76,0.45);
  letter-spacing: 0.1em;
  line-height: 1;
}

.cc-tl-origin__label {
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cc-text-muted);
}

/* ════════════════════════════════════════
   TIMELINE MAIN STRUCTURE
════════════════════════════════════════ */
.cc-timeline {
  position: relative;
  padding-left: 56px;
}

/* The vertical gold line */
.cc-timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: var(--cc-line-w);
  background: linear-gradient(
    to bottom,
    var(--cc-orange)  0%,
    var(--cc-gold)   25%,
    var(--cc-gold)   75%,
    rgba(201,168,76,0.25) 100%
  );
  border-radius: 2px;
}

/* ════════════════════════════════════════
   YEAR MARKER
════════════════════════════════════════ */
.cc-ym {
  position: relative;
  margin-left: -56px;          /* pull back to left edge */
  padding-left: 56px;          /* restore content indent */
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  pointer-events: none;
}

/* dot on the line */
.cc-ym::before {
  content: '';
  position: absolute;
  left: 11px;                  /* line at 18px, dot 16px wide: 18-7=11 */
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cc-gold);
  border: 3px solid var(--cc-bg);
  box-shadow: 0 0 14px rgba(201,168,76,0.55);
  z-index: 2;
}

.cc-ym__label {
  font-family: var(--cc-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cc-gold);
  white-space: nowrap;
}

/* smaller muted variant for context markers */
.cc-ym--sm::before {
  width: 10px;
  height: 10px;
  left: 14px;
  background: rgba(201,168,76,0.35);
  box-shadow: none;
  border-color: var(--cc-bg);
}

.cc-ym--sm .cc-ym__label {
  font-size: 11px;
  color: var(--cc-text-muted);
}

/* ════════════════════════════════════════
   TIMELINE ENTRY (wraps year marker + content)
════════════════════════════════════════ */
.cc-entry {
  margin-bottom: 8px;
}

.cc-entry__content {
  margin-bottom: 28px;
}

/* connector dot on the line for content rows */
.cc-entry__content::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cc-surface);
  border: 2px solid rgba(201,168,76,0.4);
  z-index: 2;
}
.cc-entry__content { position: relative; }

/* Overlap: two cards stacked */
.cc-entry__content--overlap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Overlap badge */
.cc-overlap-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cc-orange);
  background: rgba(224,120,48,0.07);
  border: 1px solid rgba(224,120,48,0.18);
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 8px;
  width: fit-content;
}

/* ════════════════════════════════════════
   CAR CARD
════════════════════════════════════════ */
.cc-card {
  background: var(--cc-card);
  border: 1px solid var(--cc-border);
  border-left: 3px solid rgba(201,168,76,0.22);
  border-radius: var(--cc-r-lg);
  overflow: hidden;
  max-width: 520px;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  animation: cc-slide-in 0.45s ease both;
}

.cc-card:hover {
  transform: translateX(6px) translateY(-2px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.55), 0 0 24px rgba(201,168,76,0.07);
  border-color: rgba(201,168,76,0.28);
  border-left-color: var(--cc-gold);
}

.cc-card--active {
  border-left: 3px solid rgba(224,120,48,0.5);
  box-shadow: 0 0 28px rgba(224,120,48,0.07);
}

.cc-card--active:hover {
  border-left-color: var(--cc-orange);
  border-color: rgba(224,120,48,0.28);
  box-shadow: 0 10px 36px rgba(0,0,0,0.55), 0 0 28px rgba(224,120,48,0.12);
}

/* Card image band */
.cc-card__img {
  height: 116px;
  position: relative;
  overflow: hidden;
  background: var(--card-bg, #14141e);
}

.cc-card__img-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 16px;
  background: linear-gradient(
    140deg,
    var(--card-bg, #14141e) 0%,
    color-mix(in srgb, var(--card-bg, #14141e) 55%, var(--card-accent, #c9a84c) 45%) 100%
  );
}

/* hatched texture in image band */
.cc-card__img-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0px, transparent 9px,
    rgba(255,255,255,0.025) 9px, rgba(255,255,255,0.025) 10px
  );
}

/* ════════════════════════════════════════
   STUFE 17 – Card cover photo
════════════════════════════════════════ */
.cc-card__cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.cc-card__img--photo {
  height: 148px;
}

.cc-card__img--photo .cc-card__img-inner {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.78) 0%,
    rgba(0,0,0,0.28) 55%,
    rgba(0,0,0,0.06) 100%
  );
}

.cc-card__img--photo .cc-card__img-inner::before {
  display: none;
}

.cc-card__img--photo .cc-card__img-model {
  text-shadow: 0 2px 18px rgba(0,0,0,0.85), 0 0 8px rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.95);
}

.cc-card__img--photo .cc-card__img-make {
  color: rgba(255,255,255,0.70);
  text-shadow: 0 1px 6px rgba(0,0,0,0.75);
}

.cc-card__img-text {
  position: relative;
  z-index: 1;
}

/* ════════════════════════════════════════
   STUFE 18 – Photo count badge (top-left)
════════════════════════════════════════ */
.cc-card__photo-count {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 2;
  font-family: var(--cc-font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.72);
  background: rgba(0,0,0,0.40);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 4px;
  padding: 2px 7px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
}

/* ════════════════════════════════════════
   STUFE 20 – Highlight / Herzensauto
════════════════════════════════════════ */

/* ── Card: highlight state ── */
.cc-card--highlight {
  box-shadow:
    0 10px 36px rgba(0,0,0,0.55),
    0 0 0 1.5px rgba(201,168,76,0.40),
    0 0 28px rgba(201,168,76,0.16);
  position: relative;
}

/* Gold top-edge accent line */
.cc-card--highlight::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201,168,76,0.65) 30%,
    rgba(201,168,76,0.85) 50%,
    rgba(201,168,76,0.65) 70%,
    transparent 100%
  );
  border-radius: 12px 12px 0 0;
  z-index: 3;
  pointer-events: none;
}

/* ── Card: eyebrow label ── */
.cc-card__highlight-eyebrow {
  font-family: var(--cc-font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.72);
  margin-bottom: 3px;
}

/* ── Form: highlight hint text ── */
.cc-highlight-hint {
  font-size: 11px;
  color: var(--cc-text2);
  margin: 3px 0 0;
  display: none;
}

.cc-highlight-hint.is-visible {
  display: block;
}

/* ── Modal: highlight label in hero ── */
.cc-modal__highlight-label {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  font-family: var(--cc-font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.88);
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.30);
  border-radius: 4px;
  padding: 3px 10px;
}

/* ════════════════════════════════════════
   STUFE 19 – Badge system
════════════════════════════════════════ */

/* ── Form: badge picker ── */
.cc-badge-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}

.cc-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cc-text2);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 6px;
  padding: 5px 11px;
  cursor: pointer;
  transition: color 0.14s, background 0.14s, border-color 0.14s;
}

.cc-badge-chip:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.24);
  color: var(--cc-text);
}

.cc-badge-chip__sym {
  font-size: 11px;
  line-height: 1;
  opacity: 0.85;
}

.cc-badge-chip--active {
  color: var(--cc-gold);
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.38);
}

.cc-badge-chip--active .cc-badge-chip__sym {
  opacity: 1;
}

.cc-badge-limit-hint {
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cc-orange);
  margin-top: 8px;
  display: none;
}

.cc-badge-limit-hint.is-visible {
  display: block;
}

/* ── Card: badge strip ── */
.cc-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.cc-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--cc-font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.82);
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.20);
  border-radius: 4px;
  padding: 2px 8px;
}

.cc-card__badge-sym {
  font-size: 10px;
  line-height: 1;
}

.cc-card__badge--more {
  color: var(--cc-text-muted);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}

/* ── Modal: badge strip ── */
.cc-modal__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.cc-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.88);
  background: rgba(201,168,76,0.09);
  border: 1px solid rgba(201,168,76,0.24);
  border-radius: 5px;
  padding: 4px 11px;
}

.cc-modal__badge-sym {
  font-size: 13px;
  line-height: 1;
}

.cc-card__img-make {
  display: block;
  font-family: var(--cc-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2px;
}

.cc-card__img-model {
  display: block;
  font-family: var(--cc-font-head);
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.82);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.cc-card__img-corner {
  position: absolute;
  top: 11px;
  right: 12px;
  z-index: 1;
}

.cc-card__active-pill {
  font-family: var(--cc-font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cc-orange);
  background: rgba(224,120,48,0.14);
  border: 1px solid rgba(224,120,48,0.32);
  border-radius: 4px;
  padding: 2px 7px;
}

.cc-card__duration-pill {
  font-family: var(--cc-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
}

/* Card body */
.cc-card__body {
  padding: 14px 18px 16px;
}

.cc-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.cc-card__make {
  font-family: var(--cc-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.60);
  margin-bottom: 2px;
}

.cc-card__model {
  font-family: var(--cc-font-head);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--cc-text);
  line-height: 1.1;
}

.cc-card__nickname {
  font-size: 12px;
  font-style: italic;
  color: var(--cc-text2);
  margin-top: 1px;
}

.cc-card__period {
  text-align: right;
  flex-shrink: 0;
}

.cc-card__period-dates {
  display: block;
  font-family: var(--cc-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--cc-gold);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.cc-card__period-gen {
  display: block;
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cc-text-muted);
  margin-top: 2px;
}

.cc-card__story {
  font-size: 12.5px;
  color: var(--cc-text2);
  line-height: 1.55;
  margin-bottom: 10px;
}

/* Stufe 21 – Micro-Story on card */
.cc-card__story-short {
  font-size: 12.5px;
  font-style: italic;
  color: rgba(255,255,255,0.58);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cc-card__context-note {
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cc-petrol);
  margin-bottom: 8px;
  opacity: 0.85;
}

.cc-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.cc-card__tag {
  font-family: var(--cc-font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cc-text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 2px 7px;
}

/* ════════════════════════════════════════
   GAP INDICATOR
════════════════════════════════════════ */
.cc-gap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  margin-bottom: 24px;
  position: relative;
}

/* override the ::before connector dot on gaps */
.cc-entry__content.cc-gap::before {
  display: none;
}

.cc-gap__line {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(88,82,76,0.38) 0px, rgba(88,82,76,0.38) 5px,
    transparent 5px, transparent 10px
  );
}

.cc-gap__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 5px 12px;
  border: 1px dashed rgba(88,82,76,0.3);
  border-radius: 6px;
}

.cc-gap__icon {
  font-size: 15px;
  color: var(--cc-text-muted);
  opacity: 0.55;
}

.cc-gap__label {
  font-family: var(--cc-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cc-text-muted);
}

.cc-gap__years {
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  color: var(--cc-text-muted);
  opacity: 0.6;
}

/* ════════════════════════════════════════
   ANIMATION
════════════════════════════════════════ */
@keyframes cc-slide-in {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* stagger delays set by JS */

/* ════════════════════════════════════════
   CONNECTOR NOTE (overlap continuity hint)
════════════════════════════════════════ */
.cc-card__connector {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(42,143,168,0.14);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-style: italic;
  color: rgba(42,143,168,0.6);
  line-height: 1.4;
}

.cc-card__connector-arrow {
  font-style: normal;
  font-size: 14px;
  flex-shrink: 0;
}

/* Sub-note below the overlap badge */
.cc-overlap-subnote {
  font-size: 11px;
  font-style: italic;
  color: var(--cc-text-muted);
  margin-top: -4px;
  margin-bottom: 10px;
  padding: 0 2px;
}

/* ════════════════════════════════════════
   MODAL OVERLAY
════════════════════════════════════════ */
.cc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,5,8,0.88);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s ease, visibility 0s 0.26s;
}

.cc-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.26s ease, visibility 0s;
}

body.cc-modal-open { overflow: hidden; }

/* ════════════════════════════════════════
   MODAL DIALOG
════════════════════════════════════════ */
.cc-modal {
  background: #13131a;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  width: 100%;
  max-width: 660px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  transform: translateY(22px) scale(0.97);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
  box-shadow: 0 28px 90px rgba(0,0,0,0.75), 0 0 0 1px rgba(201,168,76,0.06);
}

.cc-modal-overlay.is-open .cc-modal {
  transform: none;
  opacity: 1;
}

.cc-modal::-webkit-scrollbar { width: 5px; }
.cc-modal::-webkit-scrollbar-track { background: transparent; }
.cc-modal::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.18); border-radius: 3px; }

/* Close button */
.cc-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  line-height: 1;
}

.cc-modal__close:hover {
  background: rgba(224,120,48,0.22);
  color: var(--cc-orange);
  border-color: rgba(224,120,48,0.36);
}

/* ── Hero band ── */
.cc-modal__hero {
  height: 184px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 16px 16px 0 0;
}

.cc-modal__hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    140deg,
    var(--mhero-bg, #14141e) 0%,
    color-mix(in srgb, var(--mhero-bg, #14141e) 48%, var(--mhero-accent, #c9a84c) 52%) 100%
  );
}

.cc-modal__hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0px, transparent 9px,
    rgba(255,255,255,0.022) 9px, rgba(255,255,255,0.022) 10px
  );
}

.cc-modal__hero-inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 100%);
  z-index: 1;
}

.cc-modal__hero-eyebrow {
  font-family: var(--cc-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-bottom: 4px;
}

.cc-modal__hero-model {
  font-family: var(--cc-font-head);
  font-size: 52px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.9);
  line-height: 0.92;
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
  margin-bottom: 10px;
}

.cc-modal__hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cc-modal__hero-period {
  font-family: var(--cc-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--cc-gold);
  letter-spacing: 0.06em;
}

.cc-modal__hero-active {
  font-family: var(--cc-font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cc-orange);
  background: rgba(224,120,48,0.15);
  border: 1px solid rgba(224,120,48,0.32);
  border-radius: 4px;
  padding: 2px 7px;
}

.cc-modal__hero-dur {
  font-family: var(--cc-font-head);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.32);
  letter-spacing: 0.06em;
}

/* ── Body ── */
.cc-modal__body {
  padding: 22px 24px 28px;
}

/* ── Gallery ── */
.cc-modal__gallery { margin-bottom: 20px; }

.cc-modal__gallery-main {
  height: 210px;
  background: #0d0d12;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.cc-modal__gallery-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0px, transparent 12px,
    rgba(255,255,255,0.013) 12px, rgba(255,255,255,0.013) 13px
  );
}

.cc-modal__gallery-icon {
  font-size: 44px;
  color: rgba(201,168,76,0.18);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.cc-modal__gallery-hint {
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.15);
  position: relative;
  z-index: 1;
}

/* ── Gallery with real image (Stufe 5) ── */
.cc-modal__gallery-main--img {
  padding: 0;
  background: #08080d;
  border-color: rgba(255,255,255,0.1);
}
/* suppress hatch pattern when image fills the area */
.cc-modal__gallery-main--img::before { display: none; }

.cc-modal__gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 9px;
  display: block;
  transition: opacity 0.2s ease;   /* smooth swap on thumb click */
}

/* Fallback overlay when image fails to load */
.cc-modal__gallery-fb {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #0d0d12;
  border-radius: 9px;
}

/* Thumbnail with image (Stufe 5) */
.cc-modal__thumb--img {
  position: relative;
  border: 1px solid rgba(255,255,255,0.14);
}
.cc-modal__thumb--img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
}

/* ── Clickable thumbnail  (Stufe 6) ── */
.cc-modal__thumb[data-thumb-src] {
  cursor: pointer;
  transition: border-color 0.16s ease, transform 0.14s ease, box-shadow 0.16s ease;
}
.cc-modal__thumb[data-thumb-src]:hover {
  border-color: rgba(201,168,76,0.45);
  transform: scale(1.05);
}
.cc-modal__thumb[data-thumb-src]:focus-visible {
  outline: 2px solid var(--cc-gold);
  outline-offset: 2px;
}

/* Active thumbnail – gold border */
.cc-modal__thumb--active {
  border: 2px solid var(--cc-gold) !important;
  box-shadow: 0 0 10px rgba(201,168,76,0.28), inset 0 0 0 1px rgba(201,168,76,0.12);
  transform: scale(1.0) !important;
}

/* Error thumbnail */
.cc-modal__thumb--err {
  opacity: 0.28;
  cursor: default;
  border-style: dashed !important;
}
.cc-modal__thumb--err:hover { transform: none !important; }

/* Section hint – small muted note under section-label  (Stufe 6) */
.cc-form__section-hint {
  font-size: 11px;
  color: var(--cc-text-muted);
  font-style: italic;
  margin-top: -8px;
  margin-bottom: 12px;
  line-height: 1.45;
  opacity: 0.7;
}

/* Stufe 21 – storyShort input + counter */
.cc-story-short-inp {
  font-style: italic;
}

.cc-story-short-counter {
  font-family: var(--cc-font-head);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cc-text-muted);
  text-align: right;
  margin-top: 3px;
  min-height: 13px;
}

.cc-story-short-counter--warn {
  color: var(--cc-orange);
}

/* URL input – monospace hint feel */
.cc-field__inp--url {
  font-size: 11.5px;
  font-family: ui-monospace, 'Cascadia Code', 'Fira Mono', monospace;
  letter-spacing: 0;
}

.cc-modal__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.cc-modal__thumb {
  aspect-ratio: 1;
  background: #0d0d12;
  border: 1px dashed rgba(255,255,255,0.09);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgba(255,255,255,0.1);
}

.cc-modal__add-photos {
  width: 100%;
  padding: 11px 16px;
  background: rgba(42,143,168,0.05);
  border: 1px dashed rgba(42,143,168,0.28);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(42,143,168,0.52);
  font-family: var(--cc-font-body);
  font-size: 13px;
  cursor: not-allowed;
  transition: background 0.2s, border-color 0.2s;
}

.cc-modal__add-photos:hover {
  background: rgba(42,143,168,0.09);
  border-color: rgba(42,143,168,0.4);
}

.cc-modal__add-photos-label { flex: 1; text-align: left; }

.cc-modal__add-photos-soon {
  font-size: 10px;
  font-style: italic;
  opacity: 0.55;
}

/* ── Nickname divider ── */
.cc-modal__nick-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cc-modal__nick-line {
  flex: 1;
  height: 1px;
  background: var(--cc-border);
}

.cc-modal__nickname {
  font-family: var(--cc-font-head);
  font-size: 15px;
  font-weight: 600;
  font-style: italic;
  color: var(--cc-gold);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.cc-modal__nick-ornament {
  font-size: 11px;
  color: var(--cc-gold);
  opacity: 0.35;
}

/* ── Micro-Story (Stufe 21) ── */
.cc-modal__story-short {
  font-size: 15px;
  font-style: italic;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 2px solid rgba(201,168,76,0.35);
}

/* ── Story ── */
.cc-modal__story {
  font-size: 14px;
  line-height: 1.75;
  color: var(--cc-text2);
  margin-bottom: 20px;
}

/* ── Key facts grid ── */
.cc-modal__keyfacts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.cc-modal__fact {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--cc-border);
  border-radius: 8px;
  padding: 10px 14px;
}

.cc-modal__fact-label {
  display: block;
  font-family: var(--cc-font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cc-text-muted);
  margin-bottom: 3px;
}

.cc-modal__fact-value {
  display: block;
  font-family: var(--cc-font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--cc-text);
  letter-spacing: 0.02em;
}

/* ── Modal tags ── */
.cc-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cc-modal__tag {
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cc-text2);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 5px;
  padding: 3px 9px;
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 580px) {
  .cc-profile__inner  { flex-direction: column; align-items: flex-start; }
  .cc-profile__stats  { width: 100%; justify-content: stretch; }
  .cc-profile__stat   { flex: 1; }

  .cc-timeline        { padding-left: 44px; }
  .cc-timeline::before{ left: 14px; }
  .cc-ym              { margin-left: -44px; padding-left: 44px; }
  .cc-ym::before      { left: 7px; width: 14px; height: 14px; }

  .cc-card            { max-width: 100%; }

  .cc-tl-origin__dot  { margin-left: 8px; }
  .cc-tl-origin__text { margin-left: 22px; }

  .cc-modal__hero-model  { font-size: 36px; }
  .cc-modal__keyfacts    { grid-template-columns: 1fr; }
  .cc-modal__body        { padding: 18px 16px 24px; }
}

/* ════════════════════════════════════════
   MODAL USER ACTIONS  (Stufe 4)
════════════════════════════════════════ */
.cc-modal__user-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  transition: opacity 0.18s;
}
.cc-modal__user-actions--hidden {
  opacity: 0;
  pointer-events: none;
}

.cc-modal__btn-edit,
.cc-modal__btn-delete {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--cc-r);
  font-family: var(--cc-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.cc-modal__btn-edit {
  background: rgba(42,143,168,0.08);
  border: 1px solid rgba(42,143,168,0.28);
  color: var(--cc-petrol);
}
.cc-modal__btn-edit:hover {
  background: rgba(42,143,168,0.16);
  border-color: rgba(42,143,168,0.5);
  color: #4ab8d4;
}

.cc-modal__btn-delete {
  background: rgba(200,50,40,0.07);
  border: 1px solid rgba(200,50,40,0.22);
  color: rgba(200,80,70,0.75);
}
.cc-modal__btn-delete:hover {
  background: rgba(200,50,40,0.14);
  border-color: rgba(200,50,40,0.4);
  color: #d46060;
}

/* ── Delete confirmation panel ── */
.cc-modal__delete-confirm {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
  padding: 16px 18px;
  background: rgba(200,50,40,0.07);
  border: 1px solid rgba(200,50,40,0.22);
  border-radius: var(--cc-r);
}
.cc-modal__delete-confirm.is-visible {
  display: flex;
}

.cc-modal__confirm-txt {
  font-family: var(--cc-font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(220,100,90,0.9);
}

.cc-modal__confirm-row {
  display: flex;
  gap: 8px;
}

.cc-modal__btn-confirm-yes,
.cc-modal__btn-confirm-no {
  flex: 1;
  padding: 8px 12px;
  border-radius: 7px;
  font-family: var(--cc-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s;
}
.cc-modal__btn-confirm-yes {
  background: rgba(200,50,40,0.2);
  border: 1px solid rgba(200,50,40,0.45);
  color: #d46060;
}
.cc-modal__btn-confirm-yes:hover {
  background: rgba(200,50,40,0.32);
  border-color: rgba(200,50,40,0.65);
}
.cc-modal__btn-confirm-no {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--cc-text-muted);
}
.cc-modal__btn-confirm-no:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
  color: var(--cc-text2);
}

/* ════════════════════════════════════════
   USER CARD BADGE  (Stufe 3)
════════════════════════════════════════ */
.cc-card__user-badge {
  position: absolute;
  bottom: 9px;
  right: 9px;
  font-family: var(--cc-font-head);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cc-petrol);
  background: rgba(42,143,168,0.12);
  border: 1px solid rgba(42,143,168,0.28);
  border-radius: 4px;
  padding: 2px 6px;
  z-index: 2;
}

/* ════════════════════════════════════════
   ADD CAR BUTTON  (Stufe 3)
════════════════════════════════════════ */
.cc-addcar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  padding: 14px 20px;
  margin-bottom: 28px;
  background: transparent;
  border: 1px dashed rgba(201,168,76,0.32);
  border-radius: var(--cc-r-lg);
  color: rgba(201,168,76,0.55);
  font-family: var(--cc-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.cc-addcar-btn:hover {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.55);
  color: var(--cc-gold);
}
.cc-addcar-btn__plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   ADD CAR SHEET OVERLAY  (Stufe 3)
════════════════════════════════════════ */
.cc-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,5,8,0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0s 0.28s;
}
.cc-sheet-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.28s ease, visibility 0s;
}

/* ── Sheet panel ── */
.cc-sheet {
  width: 100%;
  max-width: 480px;
  background: #13131a;
  border-left: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.32,0,0.2,1);
  overflow: hidden;
}
.cc-sheet-overlay.is-open .cc-sheet {
  transform: translateX(0);
}

/* ── Sheet header ── */
.cc-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 18px;
  border-bottom: 1px solid rgba(201,168,76,0.12);
  flex-shrink: 0;
}
.cc-sheet__eyebrow {
  font-family: var(--cc-font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cc-text-muted);
  margin-bottom: 4px;
}
.cc-sheet__title {
  font-family: var(--cc-font-head);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--cc-text);
  line-height: 1;
}
.cc-sheet__close {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  margin-top: 2px;
}
.cc-sheet__close:hover {
  background: rgba(224,120,48,0.2);
  color: var(--cc-orange);
  border-color: rgba(224,120,48,0.34);
}

/* ── Sheet body (scrollable) ── */
.cc-sheet__body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,0.18) transparent;
}
.cc-sheet__body::-webkit-scrollbar { width: 4px; }
.cc-sheet__body::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.18); border-radius: 2px; }

/* ── Sheet footer ── */
.cc-sheet__footer {
  display: flex;
  gap: 10px;
  padding: 14px 22px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
  background: #13131a;
}
.cc-sheet__btn-cancel {
  flex: 1;
  padding: 11px 16px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--cc-r);
  color: var(--cc-text-muted);
  font-family: var(--cc-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
}
.cc-sheet__btn-cancel:hover {
  border-color: rgba(255,255,255,0.22);
  color: var(--cc-text2);
}
.cc-sheet__btn-save {
  flex: 2;
  padding: 11px 18px;
  background: linear-gradient(135deg, rgba(201,168,76,0.18) 0%, rgba(224,120,48,0.14) 100%);
  border: 1px solid rgba(201,168,76,0.38);
  border-radius: var(--cc-r);
  color: var(--cc-gold);
  font-family: var(--cc-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.cc-sheet__btn-save:hover {
  background: linear-gradient(135deg, rgba(201,168,76,0.28) 0%, rgba(224,120,48,0.22) 100%);
  border-color: rgba(201,168,76,0.58);
  color: #e8c96a;
  box-shadow: 0 0 16px rgba(201,168,76,0.12);
}

/* ════════════════════════════════════════
   FORM SECTIONS & FIELDS  (Stufe 3)
════════════════════════════════════════ */
.cc-form {
  padding: 0;
}

.cc-form__section {
  padding: 18px 22px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cc-form__section:last-child { border-bottom: none; }

.cc-form__section-label {
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cc-orange);
  margin-bottom: 14px;
  opacity: 0.85;
}

.cc-form__row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.cc-form__row-2:last-child { margin-bottom: 0; }

.cc-form__row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

/* ── Single field ── */
.cc-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}
.cc-field:last-child { margin-bottom: 0; }

.cc-field--inline {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cc-field--inline .cc-field__lbl { margin-bottom: 0; }

.cc-field__lbl {
  font-family: var(--cc-font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cc-text-muted);
}
.cc-field__req { color: var(--cc-orange); margin-left: 2px; }
.cc-field__opt {
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cc-text-muted);
  opacity: 0.6;
  font-size: 8px;
}

.cc-field__inp {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--cc-text);
  font-family: var(--cc-font-body);
  font-size: 13px;
  padding: 8px 12px;
  outline: none;
  transition: border-color 0.18s, background 0.18s;
  width: 100%;
  -moz-appearance: textfield;
}
.cc-field__inp::-webkit-inner-spin-button,
.cc-field__inp::-webkit-outer-spin-button { -webkit-appearance: none; }
.cc-field__inp::placeholder { color: rgba(150,140,128,0.4); }
.cc-field__inp:focus {
  border-color: rgba(201,168,76,0.45);
  background: rgba(201,168,76,0.04);
}
.cc-field__inp--error {
  border-color: rgba(224,80,60,0.6) !important;
  background: rgba(224,80,60,0.06) !important;
  animation: cc-shake 0.32s ease;
}
@keyframes cc-shake {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-4px); }
  75%      { transform: translateX(4px); }
}

.cc-field__ta {
  resize: vertical;
  min-height: 58px;
  line-height: 1.55;
}

/* ════════════════════════════════════════
   SEGMENT BUTTONS  (Stufe 3)
════════════════════════════════════════ */
.cc-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.cc-seg__btn {
  padding: 5px 11px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: var(--cc-text2);
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s, color 0.16s;
  white-space: nowrap;
}
.cc-seg__btn:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.28);
  color: var(--cc-gold);
}
.cc-seg__btn.cc-seg__active {
  background: rgba(201,168,76,0.14);
  border-color: rgba(201,168,76,0.45);
  color: var(--cc-gold);
}
.cc-seg__none-btn {
  color: var(--cc-text-muted);
  opacity: 0.55;
}
.cc-seg__none-btn.cc-seg__active {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.18);
  color: var(--cc-text-muted);
  opacity: 1;
}

/* ════════════════════════════════════════
   TOGGLE SWITCH  (Stufe 3)
════════════════════════════════════════ */
.cc-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.cc-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }

.cc-toggle__track {
  width: 42px;
  height: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 11px;
  position: relative;
  transition: background 0.22s, border-color 0.22s;
  display: flex;
  align-items: center;
}
.cc-toggle input:checked ~ .cc-toggle__track {
  background: rgba(224,120,48,0.28);
  border-color: rgba(224,120,48,0.5);
}
.cc-toggle__thumb {
  position: absolute;
  left: 3px;
  width: 16px;
  height: 16px;
  background: rgba(150,140,128,0.6);
  border-radius: 50%;
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), background 0.22s;
}
.cc-toggle input:checked ~ .cc-toggle__track .cc-toggle__thumb {
  transform: translateX(20px);
  background: var(--cc-orange);
}

/* ── Photo note at bottom of form ── */
.cc-form__photo-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 18px;
  font-size: 11px;
  font-style: italic;
  color: var(--cc-text-muted);
  opacity: 0.6;
}
.cc-form__photo-icon {
  font-size: 16px;
  opacity: 0.5;
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   RESPONSIVE – Stufe 3 additions
════════════════════════════════════════ */
@media (max-width: 580px) {
  .cc-sheet { max-width: 100%; }

  .cc-form__row-2 { grid-template-columns: 1fr; }
  .cc-form__row-3 { grid-template-columns: 1fr 1fr; }

  .cc-addcar-btn { max-width: 100%; }
}

/* ════════════════════════════════════════
   EXPORT / IMPORT BAR  (Stufe 7)
════════════════════════════════════════ */

/* ── Utility bar (Export + Import buttons) ── */
.cc-io-bar {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 520px;
  margin-bottom: 20px;
}

.cc-io-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  padding: 9px 14px;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.16);
  border-radius: var(--cc-r);
  color: rgba(201,168,76,0.42);
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.cc-io-btn:hover {
  background: rgba(201,168,76,0.05);
  border-color: rgba(201,168,76,0.38);
  color: var(--cc-gold);
}
.cc-io-btn__icon {
  font-size: 12px;
  line-height: 1;
}

/* ── Import mode panel ── */
.cc-import-panel {
  width: 100%;
  max-width: 520px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  transition: max-height 0.32s ease, opacity 0.24s ease, margin-bottom 0.32s ease;
}
.cc-import-panel.is-visible {
  max-height: 320px;
  opacity: 1;
  margin-bottom: 18px;
}

.cc-import-panel__inner {
  position: relative;
  background: rgba(201,168,76,0.04);
  border: 1px solid rgba(201,168,76,0.16);
  border-radius: var(--cc-r-lg);
  padding: 16px 18px 14px;
}

.cc-import-panel__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.cc-import-panel__diamond {
  color: var(--cc-gold);
  font-size: 9px;
  opacity: 0.7;
}
.cc-import-panel__title {
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cc-gold);
}
.cc-import-panel__count {
  font-family: var(--cc-font-head);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(201,168,76,0.55);
}

.cc-import-panel__desc {
  font-size: 12px;
  color: var(--cc-text2);
  margin: 0 0 14px;
  line-height: 1.4;
}

.cc-import-panel__actions {
  display: flex;
  gap: 8px;
}
.cc-import-panel__actions--warn {
  margin-top: 10px;
}

/* ── Panel buttons ── */
.cc-import-panel__btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--cc-r);
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
/* Merge (petrol/teal) */
.cc-import-panel__btn--merge {
  background: rgba(42,143,168,0.08);
  border-color: rgba(42,143,168,0.30);
  color: var(--cc-petrol);
}
.cc-import-panel__btn--merge:hover {
  background: rgba(42,143,168,0.16);
  border-color: rgba(42,143,168,0.55);
}
/* Replace (gold, subdued) */
.cc-import-panel__btn--replace {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.22);
  color: rgba(201,168,76,0.65);
}
.cc-import-panel__btn--replace:hover {
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.44);
  color: var(--cc-gold);
}
/* Confirm replace (danger / red) */
.cc-import-panel__btn--confirm {
  background: rgba(180,50,35,0.14);
  border-color: rgba(180,50,35,0.36);
  color: #e06050;
}
.cc-import-panel__btn--confirm:hover {
  background: rgba(180,50,35,0.24);
  border-color: rgba(180,50,35,0.55);
}
/* Cancel inner */
.cc-import-panel__btn--cancel-inner {
  background: transparent;
  border-color: rgba(255,255,255,0.10);
  color: var(--cc-text-muted);
}
.cc-import-panel__btn--cancel-inner:hover {
  border-color: rgba(255,255,255,0.22);
  color: var(--cc-text2);
}

/* ── Replace confirmation warning ── */
.cc-import-panel__replace-warn {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(180,50,35,0.20);
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #e06050;
  line-height: 1.5;
}
.cc-import-panel__warn-icon {
  margin-right: 4px;
  opacity: 0.85;
}

/* ── Dismiss (×) button in panel ── */
.cc-import-panel__dismiss {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.22);
  cursor: pointer;
  font-size: 11px;
  padding: 3px 5px;
  line-height: 1;
  border-radius: 50%;
  transition: color 0.18s, background 0.18s;
}
.cc-import-panel__dismiss:hover {
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
}

/* ── Status toast ── */
.cc-io-status {
  width: 100%;
  max-width: 520px;
  padding: 9px 13px;
  border-radius: var(--cc-r);
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.22s, transform 0.22s, margin-bottom 0.22s;
  pointer-events: none;
  margin-bottom: 0;
  border: 1px solid transparent;
}
.cc-io-status.is-visible {
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 14px;
  pointer-events: auto;
}
.cc-io-status--ok {
  background: rgba(42,143,168,0.10);
  border-color: rgba(42,143,168,0.26);
  color: var(--cc-petrol);
}
.cc-io-status--warn {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.22);
  color: rgba(201,168,76,0.75);
}
.cc-io-status--err {
  background: rgba(180,50,35,0.10);
  border-color: rgba(180,50,35,0.28);
  color: #e06050;
}

/* ── Responsive ── */
@media (max-width: 580px) {
  .cc-io-bar     { max-width: 100%; }
  .cc-import-panel { max-width: 100%; }
  .cc-io-status  { max-width: 100%; }
}

/* ════════════════════════════════════════
   STATISTIK-PANEL  (Stufe 8)
════════════════════════════════════════ */

.cc-stat-panel {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 36px;
}

.cc-stat-panel__inner {
  background: var(--cc-surface);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--cc-r-lg);
  padding: 22px 24px 20px;
}

/* ── Panel header ── */
.cc-stat-panel__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cc-stat-panel__diamond {
  color: var(--cc-gold);
  font-size: 9px;
  opacity: 0.65;
}
.cc-stat-panel__title {
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cc-gold);
  opacity: 0.72;
}

/* ── Two-column top row: fuel + avg duration ── */
.cc-stat-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.cc-stat-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: var(--cc-r);
  padding: 13px 15px 11px;
}
.cc-stat-item__label {
  font-family: var(--cc-font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cc-text-muted);
  margin-bottom: 7px;
}
.cc-stat-item__value {
  font-family: var(--cc-font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--cc-text);
  line-height: 1;
  letter-spacing: 0.02em;
}
.cc-stat-item__sub {
  font-size: 10px;
  color: var(--cc-text-muted);
  margin-top: 5px;
  line-height: 1.3;
}

/* ── Brand distribution ── */
.cc-stat-brands__label {
  font-family: var(--cc-font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cc-text-muted);
  margin-bottom: 13px;
}

.cc-stat-brand-row {
  display: grid;
  grid-template-columns: 72px 1fr 24px;
  align-items: center;
  gap: 11px;
  margin-bottom: 9px;
}
.cc-stat-brand-row:last-child { margin-bottom: 0; }

.cc-stat-brand-name {
  font-family: var(--cc-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cc-text2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-stat-brand-bar-wrap {
  height: 4px;
  background: rgba(255,255,255,0.055);
  border-radius: 2px;
  overflow: hidden;
}
.cc-stat-brand-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--cc-gold) 0%, rgba(201,168,76,0.42) 100%);
  border-radius: 2px;
  transition: width 0.45s cubic-bezier(0.22,1,0.36,1);
  min-width: 5px;
}

.cc-stat-brand-count {
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 700;
  color: var(--cc-text-muted);
  text-align: right;
}

/* ── Responsive ── */
@media (max-width: 580px) {
  .cc-stat-panel { padding: 0 16px 28px; }
  .cc-stat-panel__inner { padding: 18px 16px 16px; }
  .cc-stat-panel__grid  { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cc-stat-brand-row    { grid-template-columns: 58px 1fr 20px; gap: 8px; }
  .cc-stat-item__value  { font-size: 20px; }
}

/* ════════════════════════════════════════
   INTERAKTIVE FILTER  (Stufe 9)
════════════════════════════════════════ */

/* ── Brand rows: interactive base ── */
.cc-stat-brand-row[data-brand] {
  cursor: pointer;
  border-radius: 4px;
  padding: 3px 4px;
  margin-left: -4px;
  margin-right: -4px;
  transition: background 0.18s, opacity 0.18s;
}
.cc-stat-brand-row[data-brand]:hover {
  background: rgba(255,255,255,0.04);
}
.cc-stat-brand-row[data-brand]:hover .cc-stat-brand-name {
  color: var(--cc-text);
}
.cc-stat-brand-row[data-brand]:focus-visible {
  outline: 1px solid rgba(201,168,76,0.45);
  outline-offset: 1px;
}

/* ── Brand row: active (this brand is filtered) ── */
.cc-stat-brand-row--active .cc-stat-brand-name {
  color: var(--cc-gold);
}
.cc-stat-brand-row--active .cc-stat-brand-bar {
  background: linear-gradient(90deg, var(--cc-gold) 0%, rgba(201,168,76,0.7) 100%);
}
.cc-stat-brand-row--active .cc-stat-brand-count {
  color: var(--cc-gold);
}
.cc-stat-brand-row--active .cc-stat-brand-bar-wrap {
  background: rgba(201,168,76,0.14);
}

/* ── Brand row: dimmed (another brand is filtered) ── */
.cc-stat-brand-row--dimmed {
  opacity: 0.38;
}

/* ── Fuel value: clickable ── */
.cc-statp-fuel--clickable {
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.18s, opacity 0.18s;
  position: relative;
  display: inline-block;
}
.cc-statp-fuel--clickable::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.18s;
}
.cc-statp-fuel--clickable:hover {
  color: var(--cc-gold);
  opacity: 0.85;
}
.cc-statp-fuel--clickable:hover::after {
  opacity: 0.4;
}

/* ── Fuel value: active (this fuel is filtered) ── */
.cc-statp-fuel--active {
  color: var(--cc-gold) !important;
}
.cc-statp-fuel--active::after {
  opacity: 0.6 !important;
}

/* ── Fuel stat-item: active container highlight ── */
.cc-stat-item--active {
  border-color: rgba(201,168,76,0.30);
  background: rgba(201,168,76,0.06);
}

/* ── Filter badge ── */
.cc-filter-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 520px;
  padding: 7px 11px 7px 13px;
  margin: 0 auto 0;          /* no bottom margin when hidden */
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: var(--cc-r);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    max-height 0.28s ease,
    margin-bottom 0.28s ease;
}
.cc-filter-badge.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  max-height: 48px;
  margin-bottom: 14px;
}

.cc-filter-badge__icon {
  color: var(--cc-gold);
  font-size: 8px;
  opacity: 0.65;
  flex-shrink: 0;
}
.cc-filter-badge__label {
  flex: 1;
  font-family: var(--cc-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.85);
}
.cc-filter-badge__reset {
  flex-shrink: 0;
  background: none;
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 50%;
  color: rgba(201,168,76,0.55);
  cursor: pointer;
  font-size: 9px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  line-height: 1;
}
.cc-filter-badge__reset:hover {
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.5);
  color: var(--cc-gold);
}

/* ── Timeline empty state ── */
.cc-timeline-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 56px 20px 48px;
}
.cc-timeline-empty__icon {
  font-size: 30px;
  color: var(--cc-text-muted);
  opacity: 0.35;
}
.cc-timeline-empty__msg {
  font-family: var(--cc-font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--cc-text-muted);
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 580px) {
  .cc-filter-badge { max-width: 100%; }
}

/* ════════════════════════════════════════
   ROLE BADGES  (Stufe 10)
════════════════════════════════════════ */

/* ── Card role badge (bottom-left of image area) ── */
.cc-card__role-badge {
  position: absolute;
  bottom: 9px;
  left: 9px;
  font-family: var(--cc-font-head);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 2px 6px;
  z-index: 2;
}
.cc-card__role-badge--flip {
  color: var(--cc-orange);
  background: rgba(224,120,48,0.12);
  border: 1px solid rgba(224,120,48,0.28);
}
.cc-card__role-badge--rental {
  color: var(--cc-petrol);
  background: rgba(42,143,168,0.12);
  border: 1px solid rgba(42,143,168,0.28);
}
.cc-card__role-badge--story {
  color: rgba(201,168,76,0.75);
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.22);
}

/* ── Modal role badge (in tags row) ── */
.cc-modal__role-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--cc-font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 3px 8px;
  vertical-align: middle;
}
.cc-modal__role-badge--flip {
  color: var(--cc-orange);
  background: rgba(224,120,48,0.10);
  border: 1px solid rgba(224,120,48,0.25);
}
.cc-modal__role-badge--rental {
  color: var(--cc-petrol);
  background: rgba(42,143,168,0.10);
  border: 1px solid rgba(42,143,168,0.25);
}
.cc-modal__role-badge--story {
  color: rgba(201,168,76,0.75);
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.20);
}

/* ── Eintragstyp section: slight visual separation ── */
.cc-form__section--role {
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--cc-r);
  padding: 14px 14px 10px;
  margin-bottom: 14px;
}

/* ════════════════════════════════════════
   STUFE 11 – ROLLEN-UX & TIMELINE
════════════════════════════════════════ */

/* ── Role-specific left border tinting on cards ── */
.cc-card--flip {
  border-left-color: rgba(224,120,48,0.38);
}
.cc-card--flip:hover {
  border-left-color: var(--cc-orange);
  border-color: rgba(224,120,48,0.22);
}
.cc-card--rental {
  border-left-color: rgba(42,143,168,0.38);
}
.cc-card--rental:hover {
  border-left-color: var(--cc-petrol);
  border-color: rgba(42,143,168,0.22);
}
.cc-card--story {
  border-left-color: rgba(201,168,76,0.28);
}
.cc-card--story:hover {
  border-left-color: var(--cc-gold);
}

/* ── Role hint in card body (below story text) ── */
.cc-card__role-hint {
  font-size: 11px;
  font-style: italic;
  color: var(--cc-text-muted);
  line-height: 1.4;
  margin-top: 4px;
  margin-bottom: 5px;
}

/* ── Stat-exclusion chip in tags row ── */
.cc-card__stat-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--cc-font-head);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--cc-text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 2px 6px;
  opacity: 0.75;
}

/* ── Modal: role-info block (between story and keyFacts) ── */
.cc-modal__role-info {
  margin: 16px 0 4px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: var(--cc-r);
}
.cc-modal__role-info-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.cc-modal__role-info-label {
  font-family: var(--cc-font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 2px 7px;
  flex-shrink: 0;
}
.cc-modal__role-info-label--flip {
  color: var(--cc-orange);
  background: rgba(224,120,48,0.10);
  border: 1px solid rgba(224,120,48,0.22);
}
.cc-modal__role-info-label--rental {
  color: var(--cc-petrol);
  background: rgba(42,143,168,0.10);
  border: 1px solid rgba(42,143,168,0.22);
}
.cc-modal__role-info-label--story {
  color: rgba(201,168,76,0.75);
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.18);
}
.cc-modal__role-info-desc {
  font-size: 12px;
  color: var(--cc-text2);
  font-style: italic;
  line-height: 1.45;
}
.cc-modal__stat-note {
  margin-top: 9px;
  font-family: var(--cc-font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cc-text-muted);
}
.cc-modal__stat-note::before {
  content: '\25CB\0020';   /* ○  */
  opacity: 0.5;
}

/* ── Form: role description paragraph ── */
.cc-role-desc {
  font-size: 11px;
  color: var(--cc-text-muted);
  font-style: italic;
  margin-top: 7px;
  line-height: 1.45;
  transition: color 0.22s;
}

/* ── Form: defaults hint (animated height reveal) ── */
.cc-role-defaults-hint {
  font-family: var(--cc-font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--cc-text-muted);
  background: rgba(255,255,255,0.022);
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 5px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 9px;
  margin-bottom: 0;
  transition:
    max-height 0.26s ease,
    opacity    0.26s ease,
    padding    0.26s ease,
    margin-bottom 0.26s ease;
}
.cc-role-defaults-hint.is-visible {
  max-height: 36px;
  opacity: 1;
  padding: 6px 9px;
  margin-bottom: 10px;
}

/* ── Form: helper text under toggles ── */
.cc-toggle-help {
  font-size: 10px;
  color: var(--cc-text-muted);
  line-height: 1.35;
  opacity: 0.75;
}

/* ── Form: toggle row layout (label + toggle side by side) ── */
.cc-field__toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cc-field__toggle-row .cc-field__lbl { margin-bottom: 0; }

/* ── Responsive ── */
@media (max-width: 580px) {
  .cc-modal__role-info-row { flex-direction: column; gap: 6px; }
  .cc-card__role-hint { font-size: 10px; }
}

/* ════════════════════════════════════════
   STUFE 12 – EMPTY STATE & ONBOARDING
════════════════════════════════════════ */

/* ── Intro block (appears when user has no own cars yet) ── */
.cc-intro {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-bottom: 0;
  transition:
    max-height     0.38s ease,
    opacity        0.32s ease,
    margin-bottom  0.32s ease;
}
.cc-intro.is-visible {
  max-height: 180px;
  opacity: 1;
  margin-bottom: 16px;
}

.cc-intro__inner {
  padding: 14px 18px 16px;
  background: rgba(201,168,76,0.04);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--cc-r);
}

.cc-intro__lead {
  font-family: var(--cc-font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cc-text-muted);
  margin-bottom: 10px;
}

.cc-intro__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cc-intro__list li {
  font-size: 12px;
  color: var(--cc-text2);
  padding-left: 14px;
  position: relative;
  line-height: 1.45;
}

.cc-intro__list li::before {
  content: '\25B8';   /* ▸ */
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--cc-gold);
  opacity: 0.55;
  font-size: 9px;
}

/* ── Rich empty state (replaces old cc-timeline-empty) ── */
.cc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 24px 48px;
}

.cc-empty__ornament {
  font-size: 24px;
  color: var(--cc-gold);
  opacity: 0.32;
  margin-bottom: 22px;
  line-height: 1;
}

.cc-empty--filtered .cc-empty__ornament {
  color: var(--cc-text-muted);
  opacity: 0.28;
}

.cc-empty__title {
  font-family: var(--cc-font-head);
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cc-text);
  line-height: 1.1;
  margin-bottom: 10px;
}

.cc-empty--filtered .cc-empty__title {
  font-size: clamp(15px, 3vw, 19px);
  color: var(--cc-text2);
}

.cc-empty__text {
  font-size: 13px;
  color: var(--cc-text2);
  max-width: 380px;
  line-height: 1.6;
  margin-bottom: 26px;
}

.cc-empty__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* Primary action button */
.cc-empty__btn {
  font-family: var(--cc-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--cc-r);
  cursor: pointer;
  background: rgba(224,120,48,0.10);
  border: 1px solid rgba(224,120,48,0.35);
  color: var(--cc-orange);
  transition: background 0.2s, border-color 0.2s;
}

.cc-empty__btn:hover,
.cc-empty__btn:focus-visible {
  background: rgba(224,120,48,0.18);
  border-color: var(--cc-orange);
}

.cc-empty__btn:focus-visible {
  outline: 1px solid rgba(224,120,48,0.5);
  outline-offset: 2px;
}

/* Ghost variant (filter reset) */
.cc-empty__btn--ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--cc-text2);
}

.cc-empty__btn--ghost:hover,
.cc-empty__btn--ghost:focus-visible {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
  color: var(--cc-text);
}

/* Hint line below primary action */
.cc-empty__hint {
  font-size: 11px;
  color: var(--cc-text-muted);
  font-style: italic;
  max-width: 340px;
  line-height: 1.5;
  opacity: 0.8;
}

/* ── Form start-hint (add mode only, animated) ── */
.cc-form-hint {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-bottom: 0;
  transition:
    max-height     0.28s ease,
    opacity        0.26s ease,
    margin-bottom  0.26s ease;
}

.cc-form-hint.is-visible {
  max-height: 56px;
  opacity: 1;
  margin-bottom: 16px;
}

.cc-form-hint__icon {
  color: var(--cc-gold);
  opacity: 0.45;
  font-size: 8px;
  flex-shrink: 0;
  margin-top: 3px;
}

.cc-form-hint__text {
  font-size: 12px;
  color: var(--cc-text-muted);
  font-style: italic;
  line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 580px) {
  .cc-empty         { padding: 40px 16px 32px; }
  .cc-intro__inner  { padding: 12px 14px 14px; }
  .cc-intro.is-visible { max-height: 220px; }
}

/* ════════════════════════════════════════
   STUFE 13 – OWNER HEADER & PROFILE SHEET
════════════════════════════════════════ */

.cc-owner-header {
  width: 100%;
  position: relative;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.035) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,0.74) 0%, rgba(0,0,0,0.66) 100%),
    url('assets/img/CarchainTitel.png') center / cover no-repeat;
  background-color: var(--cc-surface);
  border-bottom: 1px solid var(--cc-border);
  padding: 28px 0 24px;
}

/* Logo-Watermark – freigestellt, position: absolut, rein dekorativ */
.cc-owner-header::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 88px;
  height: 88px;
  background-image: url('assets/img/CarchainLogo_frei.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}

.cc-owner-header__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* ── Avatar ── */
.cc-owner-header__left {
  flex-shrink: 0;
}

.cc-owner-header__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cc-gold) 0%, #b8892a 100%);
  color: #1a1209;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -1px;
  box-shadow:
    0 0 0 3px rgba(201,168,76,0.32),
    0 0 0 6px rgba(201,168,76,0.09),
    0 6px 28px rgba(0,0,0,0.60),
    0 0 18px rgba(201,168,76,0.14);
  user-select: none;
}

/* Stufe 22: avatar photo variant (mini-profile) */
.cc-owner-header__avatar--photo {
  background: #0a0a12;
  padding: 0;
  overflow: hidden;
}

.cc-owner-header__avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
}

/* Stufe 22: avatar photo variant (hero profile) */
.cc-profile__avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

/* ── Center: name + meta ── */
.cc-owner-header__center {
  flex: 1 1 0;
  min-width: 0;
}

.cc-owner-header__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cc-gold);
  opacity: 0.65;
  margin-bottom: 3px;
}

.cc-owner-header__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--cc-text-primary);
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin: 0 0 5px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.75);
}

.cc-owner-header__location {
  font-size: 12px;
  color: var(--cc-text-muted);
  margin-bottom: 6px;
}

.cc-owner-header__tagline {
  font-size: 13px;
  color: var(--cc-text-secondary);
  font-style: italic;
  line-height: 1.4;
  margin: 0 0 6px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.65);
}

.cc-owner-header__fav {
  font-size: 12px;
  color: var(--cc-text-muted);
}

.cc-owner-header__fav strong {
  color: var(--cc-text-secondary);
  font-weight: 600;
}

/* ── Right: stats + edit btn ── */
.cc-owner-header__right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.cc-owner-header__stats {
  display: flex;
  gap: 18px;
}

.cc-owner-header__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.cc-owner-header__stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--cc-gold);
  line-height: 1;
  text-shadow: 0 0 14px rgba(201,168,76,0.45), 0 1px 4px rgba(0,0,0,0.65);
}

.cc-owner-header__stat-lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cc-text-muted);
}

.cc-owner-header__stats-empty {
  font-size: 12px;
  color: var(--cc-text-muted);
  font-style: italic;
  text-align: right;
}

.cc-owner-header__edit-btn {
  background: transparent;
  border: 1px solid var(--cc-border);
  color: var(--cc-text-muted);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
}

.cc-owner-header__edit-btn:hover {
  border-color: var(--cc-gold);
  color: var(--cc-gold);
}

/* ── Profile sheet overlay (reuses cc-sheet-overlay pattern) ── */
#cc-profile-sheet-overlay.cc-sheet-overlay {
  /* No extra styles needed – inherits from cc-sheet-overlay */
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .cc-owner-header__inner {
    flex-wrap: wrap;
    gap: 16px;
  }

  .cc-owner-header__right {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
  }

  .cc-owner-header__stats {
    flex: 1;
    justify-content: flex-start;
  }

  .cc-owner-header__edit-btn {
    margin-left: auto;
  }
}

/* ════════════════════════════════════════
   STUFE 15 – ONBOARDING & MICRO-FEEDBACK
════════════════════════════════════════ */

/* ── Empty State: fade-in on first render ── */
.cc-empty {
  animation: cc-empty-in 0.45s ease both;
}

@keyframes cc-empty-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── CTA Button: subtle one-shot pulse (fires twice, then stops) ── */
.cc-empty__btn--pulse {
  animation: cc-btn-pulse 1.9s ease 0.7s 2 both;
}

@keyframes cc-btn-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(201,168,76,0.00); }
  45%  { box-shadow: 0 0 0 9px rgba(201,168,76,0.20); }
  100% { box-shadow: 0 0 0 0   rgba(201,168,76,0.00); }
}

/* ── Subtext beneath the CTA button ── */
.cc-empty__sub {
  font-family: var(--cc-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--cc-text-muted);
  margin-top: 8px;
  text-align: center;
}

/* ── Owner-Header: profile setup hint (visible only on default profile) ── */
.cc-owner-header__profile-hint {
  font-size: 11px;
  color: var(--cc-gold);
  opacity: 0.52;
  font-style: italic;
  margin-top: 5px;
  letter-spacing: 0.01em;
}

/* ── First-Car Banner: micro-feedback after first save ── */
.cc-first-car-banner {
  max-width: 860px;
  margin: 0 auto 16px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cc-font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cc-gold);
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.20);
  border-radius: 6px;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.cc-first-car-banner.is-hiding {
  opacity: 0;
}

.cc-first-car-banner__icon {
  font-size: 8px;
  opacity: 0.65;
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   STUFE 16 – TRUST & UX SAFETY
════════════════════════════════════════ */

/* ── Edit-mode notice in sheet ── */
.cc-sheet__edit-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.22s ease, padding 0.22s ease;
  font-family: var(--cc-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cc-petrol);
  background: rgba(42,143,168,0.07);
  border-bottom: 1px solid rgba(42,143,168,0.18);
}

.cc-sheet__edit-notice.is-visible {
  max-height: 38px;
  opacity: 1;
  padding: 9px 22px;
}

.cc-sheet__edit-notice-icon {
  font-size: 13px;
  opacity: 0.7;
  flex-shrink: 0;
}

/* ── Save / Reset feedback banners ── */
.cc-save-feedback {
  max-width: 860px;
  margin: 0 auto 14px;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cc-font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cc-petrol);
  background: rgba(42,143,168,0.08);
  border: 1px solid rgba(42,143,168,0.22);
  border-radius: 6px;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.cc-save-feedback.is-hiding {
  opacity: 0;
}

.cc-save-feedback--reset {
  color: var(--cc-text-muted);
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.09);
}

.cc-save-feedback__icon {
  font-size: 9px;
  opacity: 0.65;
  flex-shrink: 0;
}

/* ── Inline validation error message ── */
.cc-field__error-msg {
  font-size: 11px;
  color: rgba(224,80,60,0.85);
  margin-top: 5px;
  font-style: italic;
  letter-spacing: 0.02em;
  animation: cc-fade-in-quick 0.2s ease both;
}

@keyframes cc-fade-in-quick {
  from { opacity: 0; transform: translateY(-3px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Delete button: stronger danger signal ── */
.cc-modal__btn-delete {
  background: rgba(200,50,40,0.10);
  border: 1px solid rgba(200,50,40,0.32);
  color: rgba(210,90,80,0.90);
}

.cc-modal__btn-delete:hover {
  background: rgba(200,50,40,0.20);
  border-color: rgba(200,50,40,0.55);
  color: #e07070;
}

/* ── Save button: stronger rest-state prominence ── */
.cc-sheet__btn-save {
  box-shadow: 0 0 12px rgba(201,168,76,0.08);
}

.cc-sheet__btn-save:hover {
  box-shadow: 0 0 20px rgba(201,168,76,0.16);
}
