/* Markendesign ALUMUNDO: Werte aus alumundo.de (public/css/alumundo.css). Nur auf der Buchungsseite, Mandant alumundo. */

:root[data-theme='alumundo'] {
  --grund: #f2f1ec;
  --flaeche: #fbfaf7;
  --flaeche-2: #e7e5de;
  --tinte: #121315;
  --tinte-weich: #45474d;
  --tinte-blass: #6b6e76;
  --linie: #d9d6cd;
  --linie-stark: #b5b1a6;
  --akzent: #2f3bff;
  --akzent-tinte: #ffffff;
  --akzent-wash: rgba(47, 59, 255, 0.08);
  --graphit: #0f1012;
  --schrift-text: 'Mona Sans', 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --schrift-serif: 'Instrument Serif', 'PT Serif', Georgia, serif;
  --schrift-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
  --r: 6px;
  --schatten: 0 1px 2px rgba(15, 16, 18, 0.05), 0 8px 24px rgba(15, 16, 18, 0.06);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

:root[data-theme='alumundo'] body {
  background: var(--grund);
  color: var(--tinte);
  font-family: var(--schrift-text);
  -webkit-font-smoothing: antialiased;
}

/* Kopfzeile wie die Website: Graphit, Logo links */
:root[data-theme='alumundo'] header.brand {
  background: var(--graphit);
  margin: -28px -16px 26px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

:root[data-theme='alumundo'] .mark {
  width: auto;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: block;
  font: inherit;
  color: inherit;
}

:root[data-theme='alumundo'] .mark img {
  height: 44px;
  width: auto;
  display: block;
  animation: logo-in 1.1s var(--ease) both;
}

@keyframes logo-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

:root[data-theme='alumundo'] .brand-name,
:root[data-theme='alumundo'] .brand-sub {
  display: none;
}

:root[data-theme='alumundo'] .mono,
:root[data-theme='alumundo'] .pill,
:root[data-theme='alumundo'] .footer-note,
:root[data-theme='alumundo'] .qr-label {
  font-family: var(--schrift-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}

/* Überschriften: Serif-Akzent wie auf der Website */
:root[data-theme='alumundo'] h1 {
  font-family: var(--schrift-text);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--tinte);
}

:root[data-theme='alumundo'] h2 {
  font-family: var(--schrift-mono);
  font-weight: 400;
  color: var(--tinte-blass);
}

:root[data-theme='alumundo'] p.lead {
  color: var(--tinte-weich);
  font-size: 1.05rem;
}

/* Diaschau */
.showcase {
  position: relative;
  height: 300px;
  margin: 0 -16px 26px;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--graphit);
}

.showcase[hidden] { display: none; }

.showcase .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

.showcase .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  transition: transform 7s linear;
}

.showcase .slide.is-active { opacity: 1; }
.showcase .slide.is-active img { transform: scale(1); }

.showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 16, 18, 0.05) 30%, rgba(15, 16, 18, 0.78));
  pointer-events: none;
}

.showcase-cap {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  color: #eeede8;
}

.showcase-cap p {
  margin: 4px 0 0;
  font-family: var(--schrift-serif);
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.15;
}

.showcase-dots {
  position: absolute;
  right: 18px;
  top: 16px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.showcase-dots span {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: rgba(238, 237, 232, 0.35);
  transform: scaleX(0.56);
  transform-origin: left center;
  transition: background 0.6s var(--ease), transform 0.6s var(--ease);
}

.showcase-dots span.is-active {
  background: #2f3bff;
  transform: scaleX(1);
}

/* Karten und Auswahl mit Bewegung */
:root[data-theme='alumundo'] .card {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--r);
  box-shadow: var(--schatten);
  animation: rise 0.7s var(--ease) both;
}

:root[data-theme='alumundo'] .card:nth-of-type(2) { animation-delay: 0.08s; }
:root[data-theme='alumundo'] .card:nth-of-type(3) { animation-delay: 0.16s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

:root[data-theme='alumundo'] .type-btn {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--r);
  color: var(--tinte);
  box-shadow: var(--schatten);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

:root[data-theme='alumundo'] .type-btn:hover,
:root[data-theme='alumundo'] .type-btn:focus-visible {
  transform: translateY(-3px);
  border-color: var(--akzent);
  box-shadow: 0 14px 34px rgba(47, 59, 255, 0.16);
}

:root[data-theme='alumundo'] .type-btn strong {
  font-family: var(--schrift-text);
  font-weight: 700;
}

:root[data-theme='alumundo'] .type-btn .dur {
  font-family: var(--schrift-mono);
  color: var(--akzent);
  font-size: 13px;
  letter-spacing: 0.06em;
}

:root[data-theme='alumundo'] button.primary {
  background: var(--akzent);
  border: 1px solid var(--akzent);
  color: var(--akzent-tinte);
  border-radius: 999px;
  font-family: var(--schrift-text);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

:root[data-theme='alumundo'] button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(47, 59, 255, 0.3);
  filter: none;
}

:root[data-theme='alumundo'] button.secondary {
  border: 1px solid var(--linie-stark);
  color: var(--tinte);
  border-radius: 999px;
  font-family: var(--schrift-text);
  font-weight: 600;
}

:root[data-theme='alumundo'] button.ghost {
  color: var(--akzent);
  font-family: var(--schrift-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

:root[data-theme='alumundo'] .slot {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 4px;
  color: var(--tinte);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

:root[data-theme='alumundo'] .slot:hover {
  transform: translateY(-2px);
  border-color: var(--akzent);
}

:root[data-theme='alumundo'] .slot[aria-pressed='true'] {
  background: var(--akzent);
  border-color: var(--akzent);
  color: #ffffff;
}

:root[data-theme='alumundo'] .pill {
  background: var(--akzent-wash);
  color: var(--akzent);
  border-radius: 999px;
  padding: 6px 12px;
}

:root[data-theme='alumundo'] input[type='text'],
:root[data-theme='alumundo'] input[type='email'],
:root[data-theme='alumundo'] input[type='tel'],
:root[data-theme='alumundo'] textarea {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 4px;
  color: var(--tinte);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

:root[data-theme='alumundo'] input:focus-visible,
:root[data-theme='alumundo'] textarea:focus-visible {
  border-color: var(--akzent);
  box-shadow: 0 0 0 3px var(--akzent-wash);
}

:root[data-theme='alumundo'] .check a {
  color: var(--akzent);
}

:root[data-theme='alumundo'] .qr-block {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--r);
  box-shadow: var(--schatten);
}

:root[data-theme='alumundo'] .qr-block .qr-label {
  color: var(--akzent);
}

:root[data-theme='alumundo'] .footer-note {
  color: var(--tinte-blass);
}

/* Schrittleiste: zeigt, wo man im Ablauf steht */
:root[data-theme='alumundo'] .steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}

:root[data-theme='alumundo'] .steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--schrift-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tinte-blass);
  padding-top: 10px;
  border-top: 2px solid var(--linie);
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}

:root[data-theme='alumundo'] .steps li.is-active { color: var(--tinte); border-color: var(--akzent); }
:root[data-theme='alumundo'] .steps li.is-done { border-color: var(--tinte); }

:root[data-theme='alumundo'] .steps-num {
  font-family: var(--schrift-serif);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--akzent);
}

/* Terminkarten: große Ziffer, Dauer rechts, deutlich tippbar */
:root[data-theme='alumundo'] .types { counter-reset: terminart; }

:root[data-theme='alumundo'] .type-btn {
  grid-template-columns: auto 1fr auto;
  min-height: 84px;
  padding: 16px 18px;
}

:root[data-theme='alumundo'] .type-btn::before {
  counter-increment: terminart;
  content: counter(terminart, decimal-leading-zero);
  grid-row: 1 / span 2;
  grid-column: 1;
  font-family: var(--schrift-serif);
  font-style: italic;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--akzent);
  padding-right: 4px;
}

:root[data-theme='alumundo'] .type-btn strong { grid-column: 2; }
:root[data-theme='alumundo'] .type-btn .meta { grid-column: 2; }
:root[data-theme='alumundo'] .type-btn .dur { grid-column: 3; }

/* Vertrauensliste unter den Terminarten */
:root[data-theme='alumundo'] .trust {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  font-size: 0.95rem;
  color: var(--tinte-weich);
}

:root[data-theme='alumundo'] .trust li {
  position: relative;
  padding-left: 26px;
}

:root[data-theme='alumundo'] .trust li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--akzent);
  border-bottom: 2px solid var(--akzent);
  transform: rotate(-45deg);
}

:root[data-theme='alumundo'] .trust li {
  animation: rise 0.7s var(--ease) both;
}

:root[data-theme='alumundo'] .trust li:nth-child(2) { animation-delay: 0.1s; }
:root[data-theme='alumundo'] .trust li:nth-child(3) { animation-delay: 0.2s; }

/* Handy: Diaschau kürzer, Buttons breit, Schrittleiste kompakt */
@media (max-width: 560px) {
  .showcase { height: 220px; margin: 0 -16px 22px; }
  .showcase-cap p { font-size: 1.3rem; }
  :root[data-theme='alumundo'] .steps { margin-bottom: 20px; }
  :root[data-theme='alumundo'] .steps li { font-size: 10px; letter-spacing: 0.06em; }
  :root[data-theme='alumundo'] .steps-num { font-size: 16px; }
  :root[data-theme='alumundo'] .nav-row button.primary,
  :root[data-theme='alumundo'] .nav-row button.secondary { flex: 1 1 auto; min-height: 48px; }
  :root[data-theme='alumundo'] .slot { min-height: 46px; }
}

/* Bewegung nur, wenn das Gerät sie erlaubt */
@media (prefers-reduced-motion: reduce) {
  :root[data-theme='alumundo'] *,
  :root[data-theme='alumundo'] *::before,
  :root[data-theme='alumundo'] *::after {
    animation: none !important;
    transition: none !important;
  }
  .showcase .slide img { transform: none !important; }
}
