/* Stannek, Unterlandingpage „100 % digital“. Baut auf site.css, datev-solution.css und stannekteam.css auf. */

/* Einstieg */
.dg-hero { position: relative; overflow: hidden; color: var(--white); background: var(--night); min-height: calc(100svh - var(--header-h)); display: grid; align-items: center; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.dg-hero-bg { position: absolute; inset: 0; background: radial-gradient(50% 60% at 72% 50%, rgba(39, 82, 236, 0.6), transparent 70%), radial-gradient(35% 40% at 80% 60%, rgba(46, 230, 176, 0.18), transparent 70%), linear-gradient(180deg, #0c1a44, #07112e); }
.dg-hero-grid { position: relative; z-index: 1; display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .dg-hero-grid { grid-template-columns: 1fr 1fr; } }
.dg-hero-copy { display: grid; gap: 1.35rem; max-width: 36rem; }
.dg-hero h1 { color: var(--white); font-size: clamp(3rem, 8vw, 6.4rem); font-weight: 700; letter-spacing: -0.026em; line-height: 0.98; }
.dg-hero-num { background: linear-gradient(90deg, var(--accent), #8ff5d6 50%, #ffffff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dg-hero-sub { color: var(--on-night-muted); font-size: clamp(1.08rem, 1.4vw, 1.28rem); }
.dg-ring-wrap { position: relative; margin: 0; width: min(100%, 460px); aspect-ratio: 1; justify-self: center; }
.dg-ring { width: 100%; height: 100%; display: block; }
.dg-ring-fill { stroke-dasharray: 100; stroke-dashoffset: 0; filter: drop-shadow(0 0 18px rgba(46, 230, 176, 0.45)); }
.dg-ring-num { fill: #fff; font-family: var(--font-display); font-weight: 700; font-size: 70px; letter-spacing: -0.026em; }
.dg-ring-sub { fill: #aab4d4; font-family: var(--font-body); font-size: 22px; }
.dg-orbit-docs { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.dg-orbit-docs li {
  position: absolute; left: 50%; top: 50%; white-space: nowrap;
  transform: translate(-50%, -50%) rotate(var(--a)) translateX(min(52vw, 238px)) rotate(calc(var(--a) * -1));
  padding: 0.35rem 0.75rem; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  background: rgba(12, 26, 68, 0.9); border: 1px solid rgba(46, 230, 176, 0.6); color: var(--white);
}
.dg-orbit-docs li::before { content: "✓ "; color: var(--accent); }
.js-motion .dg-ring-fill { animation: dg-fill 2.6s var(--ease) 0.3s both; }
@keyframes dg-fill { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.js-motion .dg-orbit-docs li { animation: dg-pop 0.6s var(--ease) both; }
.js-motion .dg-orbit-docs li:nth-child(1) { animation-delay: 0.6s; }
.js-motion .dg-orbit-docs li:nth-child(2) { animation-delay: 0.95s; }
.js-motion .dg-orbit-docs li:nth-child(3) { animation-delay: 1.3s; }
.js-motion .dg-orbit-docs li:nth-child(4) { animation-delay: 1.65s; }
.js-motion .dg-orbit-docs li:nth-child(5) { animation-delay: 2s; }
.js-motion .dg-orbit-docs li:nth-child(6) { animation-delay: 2.35s; }
@keyframes dg-pop { from { opacity: 0; scale: 0.6; } to { opacity: 1; scale: 1; } }
@media (max-width: 959px) {
  .dg-ring-wrap { order: -1; width: min(78vw, 340px); }
  .dg-orbit-docs li { font-size: 0.72rem; padding: 0.25rem 0.55rem; transform: translate(-50%, -50%) rotate(var(--a)) translateX(min(35vw, 150px)) rotate(calc(var(--a) * -1)); }
  .dg-ring-num { font-size: 64px; }
}

/* Scrollszene Papier → digital */
.dg-paper { background: var(--white); }
.dg-paper-stage { padding: var(--section-y) 0; }
.dg-paper-inner { display: grid; gap: clamp(1.5rem, 4vh, 3rem); }
.dg-paper-head { display: grid; gap: 0.9rem; max-width: 46rem; }
.dg-paper-board { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
@media (min-width: 900px) { .dg-paper-board { grid-template-columns: 1.6fr 1fr; } }
.dg-sheets { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.dg-sheets li { --f: 1; position: relative; display: grid; grid-template-areas: "s"; min-height: 64px; border-radius: 16px; overflow: hidden; }
.dg-sheets span { grid-area: s; display: flex; align-items: center; gap: 0.8rem; padding: 0 1.2rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.25rem); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.dg-from { background: #f3efe6; color: #6a5d48; border: 1px dashed #cdbf9f; border-radius: 16px; }
.dg-from::before { content: ""; width: 18px; height: 22px; border: 1.5px solid currentColor; border-radius: 2px; flex: none; }
.dg-to { background: var(--blue); color: var(--white); border-radius: 16px; }
.dg-to::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--night); display: grid; place-items: center; font-size: 0.85rem; flex: none; }
.dg-sheets li .dg-from { opacity: calc(1 - var(--f)); transform: translateX(calc(var(--f) * -30px)) rotate(calc(var(--f) * -2deg)); }
.dg-sheets li .dg-to { opacity: var(--f); transform: translateX(calc((1 - var(--f)) * 40px)); }
.dg-meter { display: grid; justify-items: start; gap: 0.3rem; }
.dg-meter-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 10vw, 8rem); letter-spacing: -0.05em; line-height: 0.9; color: var(--blue); }
.dg-meter-label { font-family: var(--font-display); font-weight: 600; color: var(--muted); font-size: 1.2rem; }
.dg-meter-bar { width: 100%; max-width: 320px; height: 8px; border-radius: 4px; background: var(--light); overflow: hidden; margin-top: 0.8rem; }
.dg-meter-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--accent)); transform-origin: 0 50%; transform: scaleX(var(--m, 1)); }
.js-motion .dg-paper { height: 320vh; }
.js-motion .dg-paper-stage { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); padding: clamp(1.5rem, 5vh, 3.5rem) 0; display: grid; align-items: center; }
@media (max-width: 899px) {
  .dg-meter { grid-template-columns: auto 1fr; align-items: end; column-gap: 0.8rem; }
  .dg-meter-num { font-size: 3.4rem; }
  .dg-meter-bar { grid-column: 1 / -1; margin-top: 0.3rem; }
  .dg-sheets li { min-height: 54px; }
  .dg-paper-head h2 { font-size: clamp(1.7rem, 6.4vw, 2.4rem); }
}

/* Perspektiven-Schalter */
.dg-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 6px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); max-width: 100%; }
.dg-switch button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 0.8rem 1.4rem; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); transition: color 0.3s var(--ease); }
.dg-switch button[aria-selected="true"] { color: var(--white); }
.dg-switch-pill { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--blue); transition: transform 0.45s var(--ease); }
.dg-switch.is-right .dg-switch-pill { transform: translateX(100%); }
@media (max-width: 560px) { .dg-switch button { padding: 0.7rem 0.8rem; font-size: 0.9rem; } }
.dg-persp-panel[hidden] { display: none; }
.dg-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 800px) { .dg-benefits { grid-template-columns: 1fr 1fr; } }
.dg-benefits li { display: grid; gap: 0.4rem; padding: 1.6rem; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.dg-benefits b { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -0.01em; }
.dg-benefits span { color: var(--muted); }

/* Bausteine */
.dg-blocks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 700px) { .dg-blocks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .dg-blocks { grid-template-columns: repeat(4, 1fr); } }
.dg-block { position: relative; display: grid; gap: 0.55rem; align-content: start; padding: 1.6rem; border-radius: 22px; background: var(--surface); }
.dg-block svg { width: 44px; height: 44px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--blue); margin-bottom: 0.6rem; }
.dg-block h3 { font-size: 1.3rem; }
.dg-block p { color: var(--muted); }
.dg-block.is-key { background: var(--blue); color: var(--white); }
@media (min-width: 1100px) { .dg-block.is-key { grid-column: span 2; } }
.dg-block.is-key svg { stroke: var(--white); color: var(--accent); }
.dg-block.is-key h3 { color: var(--white); font-size: 1.7rem; }
.dg-block.is-key p { color: #dbe3fd; font-size: 1.08rem; }
.dg-block-tag { position: absolute; top: 1.2rem; right: 1.2rem; padding: 0.25rem 0.7rem; border-radius: 999px; background: var(--accent); color: var(--night); font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* Digital-Check */
.dg-check-grid { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 960px) { .dg-check-grid { grid-template-columns: 1fr 1fr; } }
.dg-check-copy { display: grid; gap: 1.2rem; }
.dg-check-meter { position: relative; width: 200px; height: 200px; }
.dg-check-meter svg { width: 100%; height: 100%; }
.dg-check-fill { stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--s, 0)); transition: stroke-dashoffset 0.7s var(--ease); }
.dg-check-meter p { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.dg-check-meter b { font-family: var(--font-display); font-size: 3.2rem; letter-spacing: -0.026em; color: var(--white); line-height: 1; }
.dg-check-meter span { color: var(--on-night-muted); }
.dg-next { color: var(--white); font-weight: 600; padding: 1rem 1.2rem; border-radius: 16px; background: rgba(46, 230, 176, 0.12); border: 1px solid rgba(46, 230, 176, 0.4); min-height: 3.4rem; }
.dg-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.dg-checklist label { position: relative; display: block; cursor: pointer; }
.dg-checklist input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.dg-checklist span { display: flex; align-items: center; gap: 0.9rem; min-height: 58px; padding: 0.8rem 1.1rem; border-radius: 14px; border: 1px solid var(--line-night); background: rgba(255, 255, 255, 0.05); font-family: var(--font-display); font-weight: 600; color: var(--white); transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease); }
.dg-checklist span::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid rgba(255, 255, 255, 0.45); transition: all 0.25s var(--ease); }
.dg-checklist input:checked + span { background: rgba(46, 230, 176, 0.14); border-color: var(--accent); }
.dg-checklist input:checked + span::before { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%230c1a44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.dg-checklist input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Warum jetzt: E-Rechnung und digitale Personalakte ---------- */
.dg-why-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .dg-why-grid { grid-template-columns: 1fr 1fr; } }
.dg-due {
  display: grid; gap: 0.9rem; align-content: start; padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line);
}
.dg-due.is-hot { background: linear-gradient(150deg, var(--night), #1a3184); color: #fff; border-color: transparent; }
.dg-due.is-hot h3 { color: #fff; }
.dg-due.is-hot p { color: var(--on-night-muted); }
.dg-due-date { display: inline-grid; gap: 0.1rem; justify-self: start; padding: 0.55rem 0.9rem; border-radius: 14px; background: var(--light); }
.dg-due-date b { font-size: 1.25rem; color: var(--blue); }
.dg-due-date small { font-size: 0.82rem; color: var(--muted); }
.dg-due.is-hot .dg-due-date { background: rgba(46, 230, 176, 0.14); border: 1px solid rgba(46, 230, 176, 0.4); }
.dg-due.is-hot .dg-due-date b { color: var(--accent); }
.dg-due.is-hot .dg-due-date small { color: #c9d4fb; }
.dg-due h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.dg-due p { margin: 0; color: var(--muted); }
.dg-due-line { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
.dg-due-line li { display: grid; gap: 0.15rem; padding-top: 0.7rem; border-top: 3px solid var(--line); }
.dg-due-line li.is-done { border-color: var(--blue); }
.dg-due-line b { font-size: 1.05rem; }
.dg-due-line span { font-size: 0.85rem; color: var(--muted); }
.dg-countdown { display: flex; align-items: baseline; gap: 0.6rem; margin-top: 0.3rem; }
.dg-countdown b { font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.dg-countdown span { color: #c9d4fb; }

/* ---------- Drei Säulen ---------- */
.dg-pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 900px) { .dg-pillars { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.dg-pillars li {
  position: relative; display: grid; gap: 0.6rem; align-content: start; padding: 1.7rem; border-radius: 22px;
  background: var(--white); border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.dg-pillars li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.dg-pillars li:hover { transform: translateY(-4px); border-color: #b9c7f6; box-shadow: 0 18px 40px rgba(12, 26, 68, 0.08); }
.dg-pillars li:hover::after, .dg-pillars li.on::after { transform: scaleX(1); }
.dg-pillar-no { font-weight: 700; color: var(--petrol); letter-spacing: 0.04em; }
.dg-pillars h3 { font-size: 1.3rem; }
.dg-pillars p { margin: 0; color: var(--muted); }
.dg-pillars a { color: var(--blue); font-weight: 600; }

/* ---------- Ablauf ---------- */
.dg-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: none; }
@media (min-width: 1000px) { .dg-steps { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
.dg-steps li {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; align-content: start; padding: 1.4rem;
  border-radius: 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
}
@media (min-width: 1000px) { .dg-steps li { grid-template-columns: 1fr; } }
.dg-step-no {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  background: rgba(46, 230, 176, 0.14); color: var(--accent); border: 1px solid rgba(46, 230, 176, 0.45);
}
.dg-steps li:last-child .dg-step-no { background: var(--accent); color: var(--night); }
.dg-steps h3 { color: #fff; font-size: 1.15rem; margin-bottom: 0.35rem; }
.dg-steps p { margin: 0; color: var(--on-night-muted); font-size: 0.97rem; }
@media (min-width: 1000px) {
  .dg-steps li:not(:last-child)::after { content: ""; position: absolute; top: calc(1.4rem + 22px); right: -1rem; width: 1rem; height: 2px; background: rgba(46, 230, 176, 0.5); }
}
.dg-flow-note { margin: 1.6rem 0 0; display: flex; gap: 0.6rem; align-items: center; color: #dbe3fd; }
.dg-flow-note span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); color: var(--accent); }
