/* TyreSoft – Startseite (Redesign 2026). Farben, Schrift und Kartenstil wie global.scss / wms.css */
:root {
    --ts-grafit: #1E364D;
    --ts-grafit-2: #2B4965;
    --ts-green: #28C386;
    --ts-green-dark: #008853;
    --ts-tint: #F3FAFF;
    --ts-muted: #8490A1;
    --ts-text: #55657a;
    --ts-border: #BAC1CC;
    --ts-line: #E3E8EF;
    --ts-shadow: 0 3px 28px rgba(0, 0, 0, .05);
}

.ts-section { padding: 100px 0; background: #fff; }
.ts-section--tint { background: var(--ts-tint); }
.ts-section--dark { background: var(--ts-grafit); color: #fff; }
.ts-section--dark .tit { color: #fff; }
.ts-section--dark .subtit { color: var(--ts-green); }
.ts-section .tit { margin-bottom: 20px; }
.ts-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.ts-head p { font-size: 17px; line-height: 1.7; color: var(--ts-text); margin: 0; }
.ts-section--dark .ts-head p { color: rgba(255,255,255,.75); }

.ts-card {
    height: calc(100% - 30px); margin-bottom: 30px; padding: 30px 26px; background: #fff;
    border: 1px solid var(--ts-border); border-radius: 20px; box-shadow: var(--ts-shadow);
    transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column;
}
.ts-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(30, 54, 77, .28); }
.ts-icon {
    width: 54px; height: 54px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: rgba(40, 195, 134, .1); color: var(--ts-green); margin-bottom: 20px; flex: 0 0 auto;
}
.ts-card__title { font-size: 18px; font-weight: 700; color: var(--ts-grafit); margin-bottom: 4px; }
.ts-card__tag { font-size: 13px; font-weight: 600; color: var(--ts-green-dark); margin-bottom: 12px; }
.ts-card__desc { font-size: 14px; line-height: 1.65; color: var(--ts-text); margin: 0 0 16px; }
.ts-card__link { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--ts-grafit); text-decoration: none; }
.ts-card__link::after { content: ' →'; color: var(--ts-green); transition: margin .3s ease; }
.ts-card__link:hover { color: var(--ts-green-dark); text-decoration: none; }
.ts-card--new { border-color: var(--ts-green); }
.ts-card--new .ts-icon { background: var(--ts-green); color: #fff; }
.ts-badge {
    display: inline-block; padding: 4px 12px; border-radius: 20px; background: rgba(40, 195, 134, .12);
    color: var(--ts-green-dark); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.ts-card .ts-badge { align-self: flex-start; margin-bottom: 14px; }

/* ---------- Hero ---------- */
.ts-hero { padding: 80px 0 100px; background: linear-gradient(180deg, #fff 0%, var(--ts-tint) 100%); overflow: hidden; }
.ts-hero h1 { font-size: 46px; font-weight: 800; line-height: 1.12; color: var(--ts-grafit); margin: 16px 0 0; }
.ts-hero h1 span { color: var(--ts-green); }
.ts-hero__lead { font-size: 18px; line-height: 1.65; color: var(--ts-grafit); margin: 22px 0 0; max-width: 560px; }
.ts-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 34px; }
.ts-stats { list-style: none; padding: 0; margin: 44px 0 0; display: flex; gap: 40px; flex-wrap: wrap; }
.ts-stats li { display: flex; flex-direction: column; }
.ts-stats strong { font-size: 34px; font-weight: 800; color: var(--ts-green); line-height: 1.1; }
.ts-stats span { font-size: 13px; color: var(--ts-muted); margin-top: 4px; max-width: 150px; line-height: 1.4; }

/* Modul-Karte im Hero */
.ts-hub { position: relative; width: 520px; height: 520px; margin: 30px auto 0; }
.ts-hub svg.ts-hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ts-hub__core {
    position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%;
    background: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 14px rgba(40, 195, 134, .14), 0 26px 50px -16px rgba(30, 54, 77, .45);
}
.ts-hub__core svg { width: 104px; height: 104px; animation: ts-spin 40s linear infinite; }
@keyframes ts-spin { to { transform: rotate(360deg); } }
.ts-node {
    position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; white-space: nowrap;
    background: #fff; border: 1px solid var(--ts-border); border-radius: 14px; padding: 9px 14px 9px 9px;
    box-shadow: 0 12px 26px -14px rgba(30, 54, 77, .35); color: var(--ts-grafit); text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
a.ts-node:hover { transform: translate(-50%, -54%); box-shadow: 0 18px 30px -14px rgba(30, 54, 77, .45); color: var(--ts-grafit); text-decoration: none; }
.ts-node i { width: 34px; height: 34px; border-radius: 9px; background: rgba(40, 195, 134, .12); color: var(--ts-green); display: flex; align-items: center; justify-content: center; }
.ts-node b { display: block; font-size: 14px; font-weight: 700; line-height: 1.15; }
.ts-node small { display: block; font-size: 11px; color: var(--ts-muted); font-weight: 600; }
.ts-node--new { background: var(--ts-green); border-color: var(--ts-green); color: #fff; }
.ts-node--new i { background: rgba(255,255,255,.2); color: #fff; }
.ts-node--new small { color: rgba(255,255,255,.88); }
a.ts-node--new:hover { color: #fff; }

/* ---------- Vorteile (dunkel) ---------- */
.ts-benefit { padding: 34px 30px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; height: calc(100% - 30px); margin-bottom: 30px; }
.ts-benefit__num { font-size: 44px; font-weight: 800; color: var(--ts-green); line-height: 1; }
.ts-benefit__title { font-size: 19px; font-weight: 700; margin: 16px 0 10px; color: #fff; }
.ts-benefit__desc { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.75); margin: 0; }
.ts-why { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.ts-why li { position: relative; padding-left: 34px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.85); }
.ts-why li::before {
    content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
    background: rgba(40,195,134,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328C386' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") no-repeat center / 13px;
}

/* ---------- Dropshipping-Ablauf ---------- */
.ts-check { list-style: none; padding: 0; margin: 24px 0 34px; }
.ts-check li { position: relative; padding-left: 34px; margin-bottom: 16px; font-size: 16px; line-height: 1.65; color: var(--ts-text); }
.ts-check li strong { color: var(--ts-grafit); }
.ts-check li::before {
    content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
    background: rgba(40,195,134,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328C386' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") no-repeat center / 13px;
}
.ts-flow { list-style: none; padding: 0; margin: 0; position: relative; }
.ts-flow::before { content: ''; position: absolute; left: 33px; top: 34px; bottom: 34px; width: 2px; background: repeating-linear-gradient(180deg, var(--ts-green) 0 8px, transparent 8px 15px); }
.ts-flow li {
    position: relative; display: flex; align-items: center; gap: 18px; padding: 16px 20px 16px 16px; margin-bottom: 16px;
    background: #fff; border: 1px solid var(--ts-border); border-radius: 20px; box-shadow: var(--ts-shadow);
}
.ts-flow li:last-child { margin-bottom: 0; }
.ts-flow .ts-icon { margin: 0; position: relative; z-index: 1; background: #E9F9F2; }
.ts-flow b { display: block; font-size: 16px; color: var(--ts-grafit); }
.ts-flow small { display: block; font-size: 13px; color: var(--ts-muted); line-height: 1.5; margin-top: 2px; }
.ts-flow li.is-core { border-color: var(--ts-green); }
.ts-flow li.is-core .ts-icon { background: var(--ts-green); color: #fff; }

/* ---------- Empfehlungen ---------- */
.ts-quote { padding: 32px 30px; }
.ts-quote__logo { height: 46px; display: flex; align-items: center; margin-bottom: 20px; }
.ts-quote__logo img { max-height: 46px; max-width: 170px; width: auto; }
.ts-quote__text { font-size: 15px; line-height: 1.7; color: var(--ts-text); margin: 0 0 22px; position: relative; }
.ts-quote__person { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--ts-line); font-weight: 700; color: var(--ts-grafit); font-size: 15px; }
.ts-quote__person span { display: block; font-weight: 500; font-size: 13px; color: var(--ts-muted); }
.ts-more { text-align: center; margin-top: 16px; }

/* ---------- Angebot ---------- */
.ts-offer__title { font-size: 17px; font-weight: 700; color: var(--ts-grafit); margin-bottom: 16px; }
.ts-offer__list { list-style: none; padding: 0; margin: 0 0 4px; }
.ts-offer__list li { position: relative; padding: 9px 0 9px 20px; border-bottom: 1px solid var(--ts-line); font-size: 14px; line-height: 1.5; color: var(--ts-text); }
.ts-offer__list li:last-child { border-bottom: 0; }
.ts-offer__list li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--ts-green); }

/* ---------- Kontakt ---------- */
.ts-form .form-control, .ts-form .form-select {
    border: 1px solid var(--ts-border); border-radius: 10px; padding: 13px 16px; font-size: 15px; color: var(--ts-grafit); box-shadow: none;
}
.ts-form .form-control:focus, .ts-form .form-select:focus { border-color: var(--ts-green); box-shadow: 0 0 0 3px rgba(40,195,134,.15); }
.ts-form .form-terms { font-size: 13px; line-height: 1.55; color: var(--ts-text); }
.ts-form .form-check-input:checked { background-color: var(--ts-green); border-color: var(--ts-green); }
.ts-form button { margin-top: 24px; border: 0; }
.ts-form .row { --bs-gutter-x: 16px; }
.ts-form > p[style] { border-radius: 10px; border-color: var(--ts-green) !important; background: rgba(40,195,134,.08); color: var(--ts-grafit); }
.ts-contact__title { font-size: 22px; font-weight: 800; color: var(--ts-grafit); margin-bottom: 6px; }
.ts-contact__sub { font-size: 15px; color: var(--ts-text); margin-bottom: 24px; }
.ts-person { display: flex; align-items: center; gap: 16px; margin: 4px 0 26px; }
.ts-person__avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--ts-grafit); color: #fff; font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.ts-person b { display: block; font-size: 17px; color: var(--ts-grafit); }
.ts-person span { font-size: 14px; color: var(--ts-muted); }
.ts-direct { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--ts-border); border-radius: 14px; margin-bottom: 14px; color: var(--ts-grafit); font-weight: 700; text-decoration: none; transition: border-color .25s ease; }
.ts-direct:hover { border-color: var(--ts-green); color: var(--ts-grafit); text-decoration: none; }
.ts-direct .ts-icon { margin: 0; width: 44px; height: 44px; }
.ts-direct small { display: block; font-size: 12px; font-weight: 600; color: var(--ts-muted); }
.ts-address { margin-top: 24px; font-size: 14px; line-height: 1.7; color: var(--ts-text); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .ts-hub { transform: scale(.88); transform-origin: top center; margin-bottom: -60px; }
}
@media (max-width: 991px) {
    .ts-section { padding: 70px 0; }
    .ts-hero { padding: 50px 0 60px; }
    .ts-hero h1 { font-size: 34px; }
    .ts-why { grid-template-columns: 1fr; }
    .ts-hub { margin-top: 50px; }
}
@media (max-width: 575px) {
    .ts-hub { transform: scale(.66); margin: 20px 0 -170px 50%; left: -260px; }
    .ts-stats { gap: 26px; }
    .ts-stats strong { font-size: 28px; }
}

/* reCAPTCHA: schwebendes Badge ausblenden – Hinweis steht beim Formular (von Google erlaubt) */
.grecaptcha-badge { visibility: hidden !important; }
.ts-recaptcha { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--ts-muted); }
.ts-recaptcha a { color: var(--ts-grafit); text-decoration: underline; }
.ts-recaptcha a:hover { color: var(--ts-green-dark); }
