:root { font-family: system-ui, sans-serif; color: #182e3d; background: #f3f6f8; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; }
main { --logo-text-inset: min(7.128px, calc((100% - 3cm - 4px) * .0165)); width: min(640px, 85vw); padding: 3rem 0; position: relative; top: -15vh; }
h1 { font-size: clamp(3rem, 10vw, 5rem); margin: 0; min-width: 0; }
.start-logos { display: grid; grid-template-columns: minmax(0, 432px) 3cm; align-items: center; gap: 4px; margin: .5rem 0 max(-36px, -8.4vw); }
.vdwt-start-logo { display: block; width: 50%; height: auto; transform: translateY(-1cm); }
@media (max-width: 640px) { .start-logos { grid-template-columns: minmax(0, 432px) minmax(0, min(3cm, 26.25%)); margin-bottom: -4.25vw; } }
.logo { display: block; position: relative; width: min(100%, 432px); perspective: 600px; }
.logo img { display: block; width: 100%; height: auto; }
.logo-left { clip-path: inset(0 69.5% 0 0); }
.logo .logo-x, .logo .logo-right { position: absolute; inset: 0; }
.logo-x { clip-path: polygon(30.5% 0, 45% 0, 45% 32%, 44.1% 40%, 44.1% 100%, 30.5% 100%); transform-origin: 37.5% 47.5%; animation: logo-x-turn 5s ease-in-out 1; }
.logo-right { clip-path: polygon(45% 0, 100% 0, 100% 100%, 44.1% 100%, 44.1% 40%, 45% 32%); }
@keyframes logo-x-turn { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) { .logo-x { animation: none; } }
p { line-height: 1.7; }
.tagline { color: #226b68; margin: 0; margin-left: var(--logo-text-inset); }
@media (max-width: 640px) { main { --logo-text-inset: min(7.128px, calc((73.75% - 4px) * .0165)); } }
.logistik-cta { box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 1rem; width: min(calc(100% - var(--logo-text-inset)), calc(432px + 3cm + 4px - var(--logo-text-inset))); min-height: 1.4cm; margin: .9cm 0 .9cm var(--logo-text-inset); padding: .7rem 1.25rem; border: 1px solid #b8ddcd; border-inline: 6px solid #028a51; border-radius: 12px; background: linear-gradient(120deg, #fff, #e6f0f7); color: #028a51; box-shadow: 0 6px 18px rgb(2 138 81 / 12%); font-size: clamp(1rem, 2.6vw, 1.25rem); font-weight: 650; text-align: center; text-decoration: none; transition: background .2s, box-shadow .2s; }
.logistik-cta:hover { background: #dbeaf5; box-shadow: 0 8px 22px rgb(2 138 81 / 20%); }
.logistik-cta:focus-visible { outline: 3px solid #028a51; outline-offset: 4px; }
main > :is(.start-logos, .tagline, .logistik-cta) { box-sizing: border-box; width: min(100%, calc(432px + 3cm + 4px)); margin-inline: auto; }
main > .start-logos { grid-template-columns: minmax(0, 432px) minmax(0, 1.5cm); justify-content: center; }
main > .start-logos .vdwt-start-logo { width: 100%; }
/* Visible TWX ink: x=37..2148, bottom=498 in the 2172 x 724 image.
   Align to the first logo column; halve the visible gap including text leading. */
main > .tagline { --twx-width: min(432px, calc(85vw - 1.5cm - 4px)); --logo-gap-offset: 36px; padding-right: calc(1.5cm + 4px); text-align: center; transform: translate(calc(var(--twx-width) * .0029926335), calc((var(--twx-width) * .1040515654 - var(--logo-gap-offset) + 8px) * -.5)); }
@media (max-width: 640px) { main > .tagline { --logo-gap-offset: 4.25vw; } }
.page-tabs { display: flex; align-items: flex-start; justify-content: center; gap: .5rem; margin-top: 0; position: relative; }
.page-tab { min-width: 0; }
@media (max-width: 640px) { .page-tabs { gap: .25rem; } .page-tab summary { padding: 10px 8px; font-size: 13px; } }
.page-tab summary { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; padding: 10px 20px; border: 1px solid #ccd8de; border-radius: 8px 8px 0 0; background: #fff; color: #226b68; font-size: 15px; line-height: 20px; font-weight: 500; text-align: center; cursor: pointer; list-style: none; }
.page-tab summary::-webkit-details-marker { display: none; }
.page-tab summary:hover, .page-tab[open] summary { background: #226b68; color: #fff; }
.page-tab summary:focus-visible { outline: 2px solid #226b68; outline-offset: 3px; }
.team-login-hint { display: block; margin-top: 0; padding: 0 .25rem; background: #fff; color: #226b68; font-size: .7rem; line-height: 1.1; font-weight: 400; text-align: center; }
.tab-content { box-sizing: border-box; position: absolute; top: 100%; left: 0; width: 100%; padding: 1.25rem; border: 1px solid #ccd8de; border-radius: 0 8px 8px; background: #fff; }
.tab-content label { display: block; margin-bottom: .35rem; }
.tab-content input { box-sizing: border-box; display: block; width: 100%; padding: .65rem; margin-bottom: 1rem; border: 1px solid #ccd8de; border-radius: 4px; font: inherit; }
.tab-content button { padding: .65rem 1.25rem; border: 0; border-radius: 4px; background: #226b68; color: #fff; font: inherit; }
.tab-content button:disabled { opacity: .55; cursor: not-allowed; }
.tab-content h2 { margin-top: 0; font-size: 1.25rem; }
@media (max-height: 600px) { body { place-items: start center; } main { top: 0; padding-top: 1.5rem; } }
.muted { color: #526674; }
#status { border-top: 1px solid #ccd8de; padding-top: 1.5rem; font-size: .9rem; }

.login-password-help { margin: .4rem 0 .75rem; font-size: .8rem; line-height: 1.4; color: #526674; }
