/* =========================================================
   TOBY PREVIEW
   Gemeinsame Vorschau für Vorname/Nachname
   ========================================================= */
.toby-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  background: #95c11f;
  text-align: center;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .10);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08),
    0 14px 34px rgba(2, 6, 23, .10);
}

.toby-preview-lines {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: center;

  width: 100%;
  min-height: 68px;
}

.toby-text-wrap {
  width: 100%;
  height: 100%;
  padding: 5% 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.toby-text {
  position: relative;
  display: inline-block;
  white-space: nowrap;

  font-family: "Platypi", serif;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: .92;

  color: transparent;
  transform-origin: center center;
  will-change: transform;
}

.toby-text-fill,
.toby-text-layer {
    position: absolute;
    inset: 0;
    display: inline-block;
    white-space: nowrap;
    pointer-events: none;

    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    line-height: inherit;

    filter: drop-shadow(0 0 .01px currentColor);
}

.toby-text-fill {
    position: relative;
    z-index: 10;
    color: #F5F1E8;
}

.toby-text-layer {
    color: transparent;
}

.toby-text-layer--shadow-3 {
    z-index: 1;
    transform: translate(4.5px, 3px);
    -webkit-text-stroke: 3px #101a2b;
}

.toby-text-layer--shadow-2 {
    z-index: 2;
    transform: translate(3px, 2.667px);
    -webkit-text-stroke: 3px #1c2a44;
}

.toby-text-layer--shadow-1 {
    z-index: 3;
    transform: translate(1.5px, 1.333px);
    -webkit-text-stroke: 3px #3165af;
}

.toby-text-layer--stroke {
    z-index: 8;
    -webkit-text-stroke: 3px #f7cd72;
}

/* Hero-Variante */
.toby-preview--hero {
  min-height: 118px;
  max-width: 620px;
  padding: 16px 20px;
  margin: 18px 0 22px;

  background: var(--edition-color);
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--edition-color) 82%, white 18%) 0%,
      var(--edition-color) 52%,
      color-mix(in srgb, var(--edition-color) 86%, black 14%) 100%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    0 14px 28px rgba(4, 41, 90, .08);
}

.toby-preview--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .22), transparent 42%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, .05));
  pointer-events: none;
}

.toby-preview-lines .toby-text-wrap {
  padding-top: 1%;
  padding-bottom: 1%;
}

/* Register-Seitenvariante */
.toby-preview--register {
  min-height: 132px;
  margin-bottom: 14px;
}

.toby-preview--single {
    position: relative; 
    width: 100%;
    aspect-ratio: 3267 / 443;
    height: auto;
    min-height: 64px;
    padding: 0;
}
