/**
 * turocraft.com - Landingpage Stylesheet
 */

:root {
    --bg: #fafbfc;
    --surface: #ffffff;
    --text: #1a1a2e;
    --text-muted: #666;
    --text-light: #999;
    --border: #e5e7eb;
    --dark-bg: #1a1a2e;
    --accent: #e94560;
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav__logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.nav__name {
    font-size: 18px;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--text);
    letter-spacing: -0.5px;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav__links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav__links a:hover { color: var(--text); }

.nav__login {
    padding: 7px 16px;
    border-radius: 8px;
    background: var(--dark-bg);
    color: #fff !important;
    font-weight: 600;
    font-size: 13px !important;
    transition: opacity 0.2s;
}

.nav__login:hover { opacity: 0.85; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding: 100px 24px 80px;
    background: linear-gradient(175deg, #f8f9fb 0%, #eef1f5 50%, #e4e8f0 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle at 60% 40%, rgba(233, 69, 96, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(45, 90, 160, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero__inner {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
}

.hero__badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 20px;
    background: rgba(26, 26, 46, 0.06);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero__title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    font-family: var(--font-display);
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--text);
    margin-bottom: 16px;
}

.hero__text {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 32px;
}

.hero__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

/* ============================================================
   ORBIT DIAGRAM
   ============================================================ */
.orbit {
    position: relative;
    width: 480px;
    height: 480px;
    margin: 10px auto 32px;
}

.orbit__svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Kreisbogen-Pfeile: Zeichnen sich nacheinander */
.orbit__arc {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawArc 1.2s ease-out forwards;
    opacity: 0.7;
}

.orbit__arc--1 { animation-delay: 0.3s; }
.orbit__arc--2 { animation-delay: 0.6s; }
.orbit__arc--3 { animation-delay: 0.9s; }
.orbit__arc--4 { animation-delay: 1.2s; }
.orbit__arc--5 { animation-delay: 1.5s; }

@keyframes drawArc {
    to { stroke-dashoffset: 0; }
}

/* Dünne Direktverbindungen (Vollnetz) */
.orbit__wire {
    animation: wireIn 0.4s ease-out forwards;
    opacity: 0;
}

.orbit__wire--1  { animation-delay: 1.8s; }
.orbit__wire--2  { animation-delay: 1.85s; }
.orbit__wire--3  { animation-delay: 1.9s; }
.orbit__wire--4  { animation-delay: 1.95s; }
.orbit__wire--5  { animation-delay: 2.0s; }
.orbit__wire--6  { animation-delay: 2.05s; }
.orbit__wire--7  { animation-delay: 2.1s; }
.orbit__wire--8  { animation-delay: 2.15s; }
.orbit__wire--9  { animation-delay: 2.2s; }
.orbit__wire--10 { animation-delay: 2.25s; }

@keyframes wireIn {
    to { opacity: 0.15; }
}

/* Pulsierender Mittelpunkt */
.orbit__pulse {
    animation: pulse 3s ease-in-out infinite;
}

.orbit__pulse--2 {
    animation: pulse 3s ease-in-out infinite 1.5s;
}

@keyframes pulse {
    0%, 100% { r: 28; opacity: 0.25; }
    50% { r: 42; opacity: 0; }
}

/* Mitte: API-Hub */
.orbit__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a2e, #2d3a5e);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(26, 26, 46, 0.3);
    animation: centerAppear 0.5s ease-out 0.1s both;
    z-index: 2;
}

.orbit__center-icon {
    font-size: 22px;
    line-height: 1;
}

.orbit__center-label {
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

@keyframes centerAppear {
    from { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Produkt-Nodes */
.orbit__node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    padding: 14px 10px 10px;
    border-radius: 14px;
    background: var(--surface);
    border: 2px solid var(--border);
    min-width: 100px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    z-index: 3;
    animation: nodeAppear 0.5s ease-out both;
}

.orbit__node:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.orbit__node-icon { font-size: 26px; line-height: 1; }

.orbit__node-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.orbit__node-sub {
    font-size: 10px;
    color: var(--text-light);
}

@keyframes nodeAppear {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* Positionen: Pentagon (oben, rechts-oben, rechts-unten, links-unten, links-oben) */
.orbit__node--tc {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-color: rgba(26, 107, 74, 0.3);
    animation-delay: 0.15s;
}
.orbit__node--tc:hover { transform: translateX(-50%) scale(1.08); }
.orbit__node--tc .orbit__node-name { color: #1a6b4a; }

.orbit__node--vel {
    top: 18%;
    right: -12px;
    transform: translateY(-50%);
    border-color: rgba(139, 58, 98, 0.3);
    animation-delay: 0.3s;
}
.orbit__node--vel:hover { transform: translateY(-50%) scale(1.08); }
.orbit__node--vel .orbit__node-name { color: #8b3a62; }

.orbit__node--cu {
    bottom: 8%;
    right: 30px;
    border-color: rgba(184, 134, 11, 0.3);
    animation-delay: 0.45s;
}
.orbit__node--cu:hover { transform: scale(1.08); }
.orbit__node--cu .orbit__node-name { color: #b8860b; }

.orbit__node--lag {
    bottom: 8%;
    left: 30px;
    border-color: rgba(76, 140, 43, 0.3);
    animation-delay: 0.6s;
}
.orbit__node--lag:hover { transform: scale(1.08); }
.orbit__node--lag .orbit__node-name { color: #4c8c2b; }

.orbit__node--np {
    top: 18%;
    left: -12px;
    transform: translateY(-50%);
    border-color: rgba(45, 90, 160, 0.3);
    animation-delay: 0.75s;
}
.orbit__node--np:hover { transform: translateY(-50%) scale(1.08); }
.orbit__node--np .orbit__node-name { color: #2d5aa0; }

.btn {
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid transparent;
}

.btn--hero {
    background: var(--dark-bg);
    color: #fff;
}

.btn--hero:hover { background: #2d2d4e; }

.btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn--ghost:hover { border-color: #bbb; }

/* hero pills removed - replaced by orbit diagram */

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: 80px 24px;
}

.section--dark {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
}

.section--dark .section__sub { color: rgba(255, 255, 255, 0.5); }
.section--dark .section__title { color: #fff; }

.section--light {
    background: #f0f2f5;
}

.section__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section__header {
    text-align: center;
    margin-bottom: 48px;
}

.section__title {
    font-size: 32px;
    font-weight: 800;
    font-family: var(--font-display);
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.section__sub {
    font-size: 16px;
    color: var(--text-muted);
}

/* ============================================================
   PRODUKTE
   ============================================================ */
.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.product {
    background: var(--surface);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--p-color);
    opacity: 0;
    transition: opacity 0.3s;
}

.product:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.product:hover::before { opacity: 1; }

.product__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.product__icon { font-size: 32px; }

.product__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--p-color);
    margin: 0;
}

.product__desc {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product__text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.product__features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.product__features li {
    padding: 4px 12px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--p-color) 8%, transparent);
    color: var(--p-color);
    font-size: 12px;
    font-weight: 600;
}

.product__link {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 8px;
    background: var(--p-color);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.product__link:hover { opacity: 0.85; }

/* ============================================================
   ÖKOSYSTEM / CONNECTIONS
   ============================================================ */
.connections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.conn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    transition: all 0.25s;
}

.conn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.conn__icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 24px;
    margin-bottom: 8px;
}

.conn__arrow {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.3);
}

.conn__label {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.conn__desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   VORTEILE
   ============================================================ */
.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benefit {
    text-align: center;
    padding: 28px 20px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.benefit:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.benefit__icon {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}

.benefit h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.benefit p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================================
   KONTAKT
   ============================================================ */
.contact {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.contact__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 15px;
    font-weight: 500;
}

.contact__item a {
    color: var(--text);
    font-weight: 600;
}

.contact__item a:hover { color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.6);
    padding: 48px 24px 24px;
}

.footer__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer__logo {
    font-size: 24px;
}

.footer__name {
    font-size: 18px;
    font-weight: 800;
    font-family: var(--font-display);
    color: #fff;
}

.footer__tag {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

.footer__cols {
    display: flex;
    gap: 60px;
}

.footer__col h4 {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.footer__col a {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer__col a:hover { color: #fff; }

.footer__bottom {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .products { grid-template-columns: 1fr; }
    .connections { grid-template-columns: repeat(2, 1fr); }
    .benefits { grid-template-columns: repeat(2, 1fr); }
    .footer__top { flex-direction: column; gap: 28px; }
    .footer__cols { gap: 32px; }
}

@media (max-width: 600px) {
    .hero { padding: 120px 16px 60px; }
    .hero__text { font-size: 16px; }
    .hero__actions { flex-direction: column; align-items: center; }
    .section { padding: 60px 16px; }
    .connections { grid-template-columns: 1fr; }
    .benefits { grid-template-columns: 1fr; }
    .contact { flex-direction: column; align-items: center; }
    .nav__links a:not(.nav__login) { display: none; }
    .footer__cols { flex-direction: column; gap: 24px; }

    .orbit {
        width: 320px;
        height: 320px;
    }

    .orbit__node {
        min-width: 75px;
        padding: 8px 6px 6px;
    }

    .orbit__node-icon { font-size: 20px; }
    .orbit__node-name { font-size: 10px; }
    .orbit__node-sub { font-size: 8px; }

    .orbit__node--tc { top: -15px; }
    .orbit__node--vel { right: -10px; }
    .orbit__node--cu { bottom: 5%; right: 15px; }
    .orbit__node--lag { bottom: 5%; left: 15px; }
    .orbit__node--np { left: -10px; }

    .orbit__center {
        width: 50px;
        height: 50px;
    }

    .orbit__center-icon { font-size: 16px; }
    .orbit__center-label { font-size: 8px; }
}
