/* LiST-Automaten – öffentliche Website (Wild Thing GmbH)
   Keine externen Schriften (DSGVO): Bahnschrift ist auf Windows vorhanden,
   sonst DIN-ähnliche bzw. schmale Systemschriften. */

:root {
    --steel: #E4E8EC;
    --steel-2: #D3D9DF;
    --ink: #1B2433;
    --muted: #586274;
    --petrol: #0E5A57;
    --petrol-2: #0A4442;
    --coin: #F2B705;
    --white: #FFFFFF;

    --display: "Bahnschrift", "DIN Alternate", "DIN Next", "Barlow", "Arial Narrow", system-ui, sans-serif;
    --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --wrap: 1120px;
    --gap: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.site {
    margin: 0;
    background: var(--steel);
    color: var(--ink);
    font: 400 17px/1.6 var(--text);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--petrol); }
a:hover { color: var(--petrol-2); }
:focus-visible { outline: 3px solid var(--coin); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h2 { font-size: clamp(28px, 3.4vw, 38px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; max-width: 62ch; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 46px; padding: 0 22px; border-radius: 6px;
    font: 600 16px/1 var(--display); text-decoration: none; cursor: pointer;
    border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--petrol); color: var(--white); }
.btn--primary:hover { background: var(--petrol-2); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }

/* ---- Kopfleiste ------------------------------------------------------- */
.bar { background: var(--steel); border-bottom: 1px solid var(--steel-2); position: sticky; top: 0; z-index: 20; }
.bar__inner { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gap); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark {
    font: 700 17px/1 var(--display); color: var(--white); background: var(--petrol);
    padding: 9px 10px 8px; border-radius: 5px; box-shadow: inset 0 -3px 0 var(--coin);
}
.brand__name { font: 600 19px/1 var(--display); }
.bar__nav { display: flex; gap: 24px; margin-left: auto; }
.bar__nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.bar__nav a:hover { color: var(--petrol); text-decoration: underline; text-underline-offset: 4px; }

.login { position: relative; }
.login summary { list-style: none; min-height: 40px; padding: 0 16px; }
.login summary::-webkit-details-marker { display: none; }
.login[open] > summary.btn { background: var(--ink); color: var(--white); border-color: var(--ink); }
.login__menu {
    position: absolute; right: 0; top: calc(100% + 8px); width: 270px;
    background: var(--white); border: 1px solid var(--steel-2); border-radius: 8px;
    box-shadow: 0 12px 30px rgba(27, 36, 51, .18); padding: 6px;
}
.login__item { display: block; padding: 12px 14px; border-radius: 6px; text-decoration: none; color: var(--ink); }
.login__item strong { display: block; font: 600 17px/1.2 var(--display); }
.login__item span { font-size: 14px; color: var(--muted); }
.login__item:hover, .login__item:focus-visible { background: var(--steel); color: var(--ink); }

/* ---- Hero mit Automatenfront ----------------------------------------- */
.hero {
    max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--gap) clamp(48px, 7vw, 96px);
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero__title { font-size: clamp(40px, 6.2vw, 72px); font-weight: 700; line-height: 1.02; margin-bottom: 24px; }
.hero__lead { font-size: 19px; color: var(--muted); margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.machine { justify-self: end; width: min(100%, 420px); }
.machine__head {
    background: var(--petrol); color: var(--white); border-radius: 14px 14px 0 0;
    font: 700 26px/1 var(--display); letter-spacing: .04em; padding: 16px 22px 14px;
    box-shadow: inset 0 -4px 0 var(--coin);
}
.machine__body {
    display: grid; grid-template-columns: 1fr 76px; gap: 14px;
    background: var(--ink); padding: 14px;
}
.machine__glass {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    background: linear-gradient(160deg, #2C3A52 0%, #1F2A3D 100%);
    border: 2px solid #3A4A66; border-radius: 6px; padding: 10px;
}
.slot {
    display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
    min-height: 118px; padding: 10px 6px 6px; border-radius: 4px; text-decoration: none;
    background: rgba(255, 255, 255, .04); border-bottom: 3px solid #56688A;
    transition: background .15s;
}
.slot:hover, .slot:focus-visible { background: rgba(242, 183, 5, .14); }
.slot__goods { display: flex; gap: 4px; justify-content: center; align-items: flex-end; flex: 1; }
.slot__goods i { display: block; width: 18px; border-radius: 3px 3px 2px 2px; }
.slot--fill i   { height: 46px; background: #E85D4A; }
.slot--fix i    { height: 34px; background: #F2B705; border-radius: 50% 50% 3px 3px; }
.slot--care i   { height: 52px; width: 14px; background: #5FB3A8; border-radius: 6px 6px 2px 2px; }
.slot--place i  { height: 30px; width: 22px; background: #E7ECF2; }
.slot--move i   { height: 42px; background: #8E7CC3; }
.slot--report i { height: 38px; width: 16px; background: #F28C28; border-radius: 8px 8px 2px 2px; }
.slot__tag {
    display: block; background: var(--coin); color: var(--ink); border-radius: 2px;
    font: 500 11.5px/1.2 var(--display); padding: 4px 5px; text-align: center;
}
.slot__tag b { font-weight: 700; }

.machine__panel { display: flex; flex-direction: column; gap: 12px; align-items: stretch; padding-top: 4px; }
.machine__display {
    background: #0B2A22; color: #7CF0B8; border-radius: 4px; text-align: center;
    font: 700 22px/1 var(--display); padding: 10px 0; letter-spacing: .08em;
    box-shadow: inset 0 0 0 2px #234A40;
}
.machine__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.machine__keys span {
    display: flex; align-items: center; justify-content: center; aspect-ratio: 1;
    background: #39475F; color: var(--white); border-radius: 4px; font: 600 12px/1 var(--display);
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .35);
}
.machine__coin { height: 46px; border-radius: 4px; background: #39475F; position: relative; }
.machine__coin::after { content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 5px; margin-left: -2.5px; background: #0E141F; border-radius: 3px; }
.machine__tray { height: 54px; background: var(--ink); border-radius: 0 0 14px 14px; padding: 0 14px 14px; position: relative; }
.machine__tray::before { content: ""; position: absolute; left: 14px; right: 104px; top: 0; bottom: 14px; background: #0E141F; border-radius: 4px; }

/* ---- Abschnitte ------------------------------------------------------- */
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gap); }
.section__head { margin-bottom: 36px; }
.section__head p { color: var(--muted); }

.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.service { padding: 26px 26px 18px 0; border-bottom: 1px solid var(--steel-2); scroll-margin-top: 90px; }
.service:nth-child(3n+2), .service:nth-child(3n) { padding-left: 26px; border-left: 1px solid var(--steel-2); }
.service__code {
    display: inline-block; background: var(--coin); color: var(--ink);
    font: 700 15px/1 var(--display); padding: 6px 8px; border-radius: 3px; margin-bottom: 14px;
}
.service p { color: var(--muted); font-size: 16px; }
.service:target .service__code { box-shadow: 0 0 0 3px var(--ink); }

.section--band { max-width: none; background: var(--petrol); color: var(--white); }
.section--band > * { max-width: calc(var(--wrap) - 2 * var(--gap)); margin-left: auto; margin-right: auto; }
.steps { list-style: none; counter-reset: step; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { counter-increment: step; border-top: 2px solid rgba(255, 255, 255, .35); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font: 700 40px/1 var(--display); color: var(--coin); margin-bottom: 14px; }
.steps p { color: rgba(255, 255, 255, .82); font-size: 16px; }

.where__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.where__list li { background: var(--white); border: 1px solid var(--steel-2); border-radius: 999px; padding: 9px 18px; font-weight: 500; }

.login-split { padding-top: 0; }
.login-split--page { padding-top: clamp(48px, 7vw, 88px); min-height: 60vh; }
.login-split h1 { font-size: clamp(34px, 4.5vw, 52px); }
.login-split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.door {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 30px; border-radius: 10px; text-decoration: none; color: var(--ink);
    background: var(--white); border: 2px solid var(--ink);
}
.door h2, .door h3 { font-size: 26px; }
.door p { color: var(--muted); flex: 1; }
.door--alt { background: transparent; border-style: dashed; }
.door:hover .btn--primary { background: var(--petrol-2); }
.door:hover .btn--ghost { background: var(--ink); color: var(--white); }

.contact__box { background: var(--ink); color: var(--white); border-radius: 12px; padding: clamp(32px, 5vw, 56px); }
.contact__box p { color: rgba(255, 255, 255, .8); }
.contact__mail { font: 600 clamp(22px, 3vw, 30px)/1.2 var(--display); margin: 22px 0 0; }
.contact__mail a { color: var(--coin); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.contact__mail a:hover { color: var(--white); }

.legal { max-width: 780px; }
.legal h1 { font-size: clamp(34px, 4.5vw, 48px); }
.legal h2 { font-size: 22px; margin-top: 1.6em; }
.legal__list { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 1.4em 0; }
.legal__list dt { font-weight: 600; }
.legal__list dd { margin: 0; }

/* ---- Fußzeile --------------------------------------------------------- */
.foot { border-top: 1px solid var(--steel-2); margin-top: clamp(24px, 4vw, 48px); }
.foot__inner { max-width: var(--wrap); margin: 0 auto; padding: 32px var(--gap) 40px; display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.foot__inner p { margin: 0; }
.foot__firm strong { color: var(--ink); }
.foot__links { display: flex; gap: 20px; margin-left: auto; }
.foot__links a { color: var(--ink); }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 920px) {
    .hero { grid-template-columns: 1fr; }
    .machine { justify-self: start; }
    .services { grid-template-columns: 1fr 1fr; }
    .service:nth-child(n) { padding-left: 0; border-left: 0; }
    .service:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--steel-2); }
    .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    body.site { font-size: 16px; }
    .bar__nav { display: none; }
    .login { margin-left: auto; }
    .services { grid-template-columns: 1fr; }
    .service:nth-child(n) { padding-left: 0; border-left: 0; }
    .steps { grid-template-columns: 1fr; }
    .login-split__grid { grid-template-columns: 1fr; }
    .machine__body { grid-template-columns: 1fr 58px; }
    .slot { min-height: 96px; }
    .slot__tag { font-size: 10.5px; }
    .foot__links { margin-left: 0; }
}

/* Vorab-Seite bis 1.1.2027 */
.soon { max-width: var(--wrap); margin: 0 auto; padding: clamp(64px, 12vw, 140px) var(--gap); min-height: 55vh; }
.soon__date { font-weight: 700; color: var(--petrol); font-size: 1.1rem; margin: 0 0 .75rem; }
.soon__title { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05; margin: 0 0 1.5rem; max-width: 18ch; }
.soon__lead { font-size: 1.15rem; line-height: 1.6; max-width: 60ch; margin: 0 0 1rem; }
.soon .btn { margin-top: .75rem; }
.site--soon .login { margin-left: auto; }
