/* skalory.com/contact: eigene Seite im Look der Website (Pakete-Sektion: Lichtstreifen-Hintergrund, Glas-Karten,
   Verlaufs-Tags, leuchtender Punkt mit Linie). Kein Webflow-CSS/JS, keine Cookies. Logik: contact.js */
:root {
  --bg: #111;
  --fg: #fff;
  --muted: rgba(255, 255, 255, .55);
  --dim: rgba(255, 255, 255, .28);
  --line: rgba(255, 255, 255, .14);
  --orange: #fc7043;
  --head: "Space Grotesk", Inter, sans-serif;
  --body: Inter, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body { font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; min-height: 100dvh; display: flex; flex-direction: column; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* Hintergrund wie die Pakete-Sektion: Lichtstreifen, abgedunkelt, oben/unten in #111 auslaufend */
.ct-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.ct-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ct-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #111 0%, rgba(17,17,17,.55) 22%, rgba(17,17,17,.45) 60%, #111 100%), rgba(0,0,0,.35); }

/* Navigation wie skalory.com (Logo-Abstand und -Größe je Breakpoint wie die Navbar dort) */
.ct-nav { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; padding: 25px 5vw 0; }
.ct-logo img { height: 17px; width: auto; display: block; }
.ct-links { display: none; gap: 2.25rem; }
.ct-links a { text-decoration: none; font-size: 15px; color: rgba(255, 255, 255, .85); transition: color .2s; }
.ct-links a:hover { color: var(--orange); }
@media (min-width: 768px) { .ct-nav { padding-top: 26.5px; } .ct-logo img { height: 23px; } }
@media (min-width: 992px) { .ct-nav { padding: 28.4px 2vw 0; } .ct-logo img { height: 26px; } .ct-links { display: flex; } }

/* Layout: links Einleitung + Schritte (wie Validate/Grow/Integrate), rechts die Glas-Karte */
.ct-main { position: relative; z-index: 1; flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 48px 20px 40px; display: grid; gap: 32px; }
@media (min-width: 992px) { .ct-main { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 64px; align-items: start; padding: 96px 40px 64px; } }

.ct-intro h1 { font-family: var(--head); font-weight: 500; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.12; letter-spacing: -.01em; margin: 0; color: rgba(255, 255, 255, .5); text-wrap: balance; }
.ct-intro h1 span { color: var(--fg); }

.ct-steps { list-style: none; margin: 28px 0 0; padding: 0; display: flex; gap: 8px; }
.ct-steps li { flex: 1; position: relative; display: flex; align-items: center; gap: 10px; padding-bottom: 12px; color: var(--dim); font-family: var(--head); font-size: 15px; transition: color .3s; }
.ct-steps .line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.ct-steps .line::after { content: ""; position: absolute; right: -1px; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.ct-steps .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); flex: none; transition: background .3s, box-shadow .3s; }
.ct-steps li.on, .ct-steps li.done { color: var(--fg); }
.ct-steps li.on .line, .ct-steps li.on .line::after { background: #fff; }
.ct-steps li.on .dot { background: var(--orange); box-shadow: 0 0 10px 3px rgba(252, 112, 67, .7), 0 0 26px 10px rgba(252, 112, 67, .28); animation: ct-pulse 2.4s ease-in-out infinite; }
.ct-steps li.done .dot { background: rgba(255, 255, 255, .7); }
@keyframes ct-pulse { 50% { box-shadow: 0 0 12px 4px rgba(252, 112, 67, .85), 0 0 34px 14px rgba(252, 112, 67, .2); } }
@media (min-width: 992px) {
  .ct-steps { flex-direction: column; gap: 22px; margin-top: 56px; max-width: 420px; }
  .ct-steps li { font-size: clamp(36px, 3.6vw, 48px); line-height: 1; gap: 22px; padding: 0 0 18px 18px; }
  .ct-steps .dot { width: 12px; height: 12px; }
}

/* Glas-Karte wie .packages-card */
.ct-card { position: relative; border-radius: 10px; padding: 24px 20px; background-image: linear-gradient(220deg, rgba(140, 140, 140, .1), rgba(255, 255, 255, .1)); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, .06); }
@media (min-width: 768px) { .ct-card { padding: 32px; } }
.ct-pane { border: 0; margin: 0; padding: 0; min-width: 0; }
.ct-pane[hidden] { display: none; }
.ct-pane.in { animation: ct-in .35s ease both; }
@keyframes ct-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Tag mit Verlaufsrahmen wie .package-tag (orange Variante) */
.ct-tag { display: inline-flex; padding: 2px; border-radius: 7px; background-image: linear-gradient(231deg, #fc7043, #751d0e); }
.ct-tag span { background: #1a1a1b; border-radius: 5px; padding: 7px 16px; font-family: var(--head); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.ct-pane h2 { font-family: var(--head); font-weight: 500; font-size: 1.75rem; line-height: 1.15; margin: 14px 0 6px; }

.ct-q { margin-top: 22px; }
.ct-qt { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.ct-qt small { font-size: 13px; color: var(--dim); margin-left: 4px; }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chips button { cursor: pointer; border: 1px solid rgba(255, 255, 255, .14); background: rgba(17, 17, 17, .45); border-radius: 999px; padding: 9px 15px; font-size: 14.5px; line-height: 1.2; transition: border-color .15s, background .15s, color .15s; }
.ct-chips button:hover { border-color: rgba(255, 255, 255, .4); }
.ct-chips button[aria-pressed="true"] { border-color: var(--orange); background: rgba(252, 112, 67, .16); color: #fff; }

.ct-grid { display: grid; gap: 14px; margin-top: 20px; }
@media (min-width: 600px) { .ct-grid { grid-template-columns: 1fr 1fr; } .ct-wide { grid-column: 1 / -1; } }
.ct-field span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.ct-field em { font-style: normal; color: var(--dim); }
.ct-field input, .ct-field textarea { width: 100%; min-height: 48px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(17, 17, 17, .55); color: #fff; padding: 12px 14px; font: inherit; font-size: 16px; outline: none; transition: border-color .15s; }
.ct-field textarea { resize: vertical; min-height: 84px; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: rgba(255, 255, 255, .3); }
.ct-field input:focus, .ct-field textarea:focus { border-color: var(--orange); }
.ct-field input[aria-invalid="true"] { border-color: #ff8a7a; }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-legal { font-size: 12.5px; color: var(--dim); margin: 16px 0 0; }
.ct-err { color: #ff8a7a; font-size: 14px; margin: 12px 0 0; }
.ct-msg { color: var(--muted); font-size: 15px; margin: 16px 0 0; }

/* Aktionen: Zurück + CTA im Stil des "Let's Talk"-Buttons der Website */
.ct-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.ct-back { cursor: pointer; background: none; border: 0; padding: 8px 0; color: var(--muted); font-size: 15px; }
.ct-back:hover { color: #fff; }
.ct-cta { cursor: pointer; display: inline-flex; align-items: center; gap: 18px; border: 0; border-radius: 8px; background: #fff; color: #111; padding: 5px 5px 5px 18px; font-size: 15px; font-weight: 500; min-height: 48px; transition: opacity .2s; }
.ct-cta .box { width: 38px; height: 38px; border-radius: 6px; background: #111; color: var(--orange); display: grid; place-items: center; transition: background .2s, color .2s; }
.ct-cta .box svg { width: 20px; height: 20px; }
.ct-cta:hover:not(:disabled) .box { background: var(--orange); color: #111; }
.ct-cta:disabled { opacity: .35; cursor: default; }

/* Termin */
.ct-host { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.ct-host img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.ct-host p { margin: 0; font-size: 14.5px; color: var(--muted); }
.ct-days { display: flex; gap: 8px; overflow-x: auto; padding: 18px 2px 6px; scrollbar-width: thin; }
.ct-day { flex: none; width: 70px; cursor: pointer; text-align: center; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(17, 17, 17, .45); padding: 9px 4px; }
.ct-day b { display: block; font-family: var(--head); font-weight: 500; font-size: 22px; line-height: 1.1; margin: 2px 0; }
.ct-day span { font-size: 12px; color: var(--muted); }
.ct-day[aria-selected="true"] { background: #fff; color: #111; border-color: #fff; }
.ct-day[aria-selected="true"] span { color: rgba(17, 17, 17, .6); }
.ct-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
@media (min-width: 600px) { .ct-times { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ct-time { cursor: pointer; min-height: 46px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(17, 17, 17, .45); font-weight: 500; font-variant-numeric: tabular-nums; }
.ct-time:hover { border-color: rgba(252, 112, 67, .6); }
.ct-time[aria-selected="true"] { border-color: var(--orange); background: rgba(252, 112, 67, .16); }
.ct-tz { font-size: 13px; color: var(--dim); margin: 12px 0 0; }
.ct-done-sub { color: var(--muted); margin: 8px 0 0; }
.ct-links-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ct-links-row a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); text-decoration: none; font-size: 14px; }
.ct-links-row a.primary { background: var(--orange); border-color: var(--orange); color: #111; font-weight: 500; }
.ct-next { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; color: var(--muted); font-size: 14.5px; }
.ct-next b { color: #fff; font-weight: 500; margin-right: 6px; }

.ct-foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding: 20px 5vw 28px; font-size: 12.5px; color: var(--dim); }
@media (min-width: 992px) { .ct-foot { padding: 24px 2vw 32px; } }

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .ct-steps li.on .dot, .ct-pane.in { animation: none; } }

/* v2 (Julian 07.10.): ruhiger. Links nur der aktuelle Schritt (leuchtend), Karte durchsichtiger, Touch-Ziele >= 44 px */
.ct-steps li:not(.on) { display: none; }
.ct-steps li.on { animation: ct-in .35s ease both; }
.ct-steps .label small { display: block; font-family: var(--body); font-size: 12px; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.ct-steps li { max-width: 420px; }
@media (min-width: 992px) { .ct-steps .label small { font-size: 13px; margin-bottom: 10px; } }
.ct-bg::after { background: linear-gradient(180deg, #111 0%, rgba(17,17,17,.35) 22%, rgba(17,17,17,.25) 60%, #111 100%), rgba(0,0,0,.25); }
.ct-card { background-image: linear-gradient(220deg, rgba(140, 140, 140, .07), rgba(255, 255, 255, .05)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: rgba(255, 255, 255, .09); }
.ct-pane h2 { margin-top: 0; }
.ct-chips button { min-height: 44px; padding: 10px 16px; font-size: 15px; }
.ct-back { min-height: 44px; padding: 10px 4px; }
.ct-day { min-height: 64px; }
.ct-time { min-height: 48px; }

/* v3 (Julian 07.10.): keine Schritt-Liste links, Fortschritt oben in der Karte */
.ct-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.ct-progress .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 8px 2px rgba(252, 112, 67, .6); flex: none; }
.ct-progress .bar { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; margin-left: 6px; }
.ct-progress .bar i { display: block; height: 100%; width: 25%; background: var(--orange); border-radius: 2px; transition: width .45s cubic-bezier(.2, .7, .2, 1); }
@media (min-width: 992px) { .ct-main { align-items: center; min-height: calc(100dvh - 160px); padding-top: 48px; } }
@media (prefers-reduced-motion: reduce) { .ct-progress .bar i { transition: none; } }

/* Karte oben ausrichten: mittig sprang sie zwischen den Schritten (unterschiedliche Höhe) um ~45 px */
@media (min-width: 992px) { .ct-main { align-items: start; min-height: 0; padding-top: 96px; } }

/* 404-Seite (public/404.html) */
.nf { position: relative; z-index: 1; flex: 1; display: grid; place-content: center; text-align: left; padding: 64px 20px; max-width: 640px; margin: 0 auto; gap: 18px; }
.nf .code { font-family: var(--head); font-size: 14px; letter-spacing: .12em; color: var(--orange); display: flex; align-items: center; gap: 10px; }
.nf .code::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px 3px rgba(252,112,67,.6); }
.nf h1 { font-family: var(--head); font-weight: 500; font-size: clamp(32px, 6vw, 56px); line-height: 1.05; margin: 0; text-wrap: balance; }
.nf p { color: var(--muted); margin: 0; font-size: 17px; }
.nf .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; align-items: center; }
.nf .ghost { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); text-decoration: none; font-size: 15px; }
.nf .ghost:hover { border-color: #fff; }
a.ct-cta { text-decoration: none; }

/* UX 5: weicher Seitenwechsel, Logo bleibt stehen (Gegenstück in custom.css) */
@view-transition { navigation: auto; }
.ct-logo img { view-transition-name: sk-logo; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
