/* acomodo – Onepager-Stylesheet. Schriften: css/fonts.css */

:root {
    --white: #FFFFFF;
    --off-white: #F7F8FA;
    --light-gray: #EEF0F4;
    --mid-gray: #94A3B8;
    --dark-gray: #475569;
    --near-black: #0F172A;
    --accent: #0EA5E9;
    --accent-dark: #0284C7;
    --accent-light: #E0F2FE;
    --accent-subtle: #F0F9FF;
    --warm: #F59E0B;
    --success: #10B981;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 3px rgba(15,23,42,0.04), 0 1px 2px rgba(15,23,42,0.06);
    --shadow-md: 0 4px 20px rgba(15,23,42,0.06), 0 1px 3px rgba(15,23,42,0.04);
    --shadow-lg: 0 10px 40px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.04);
    --shadow-card: 0 1px 3px rgba(15,23,42,0.06);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--near-black);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* === NAVIGATION === */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(15,23,42,0.06);
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--near-black);
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 0.925rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover {
    color: var(--near-black);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: width 0.25s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--near-black) !important;
    color: var(--white) !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 9px !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    transition: all 0.2s !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    background: var(--accent-dark) !important;
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--near-black);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

/* === HERO === */
.hero {
    padding: 10rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--accent-subtle) 0%, var(--white) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14,165,233,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245,158,11,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem 0.4rem 0.5rem;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    animation: fadeUp 0.6s ease both;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
    margin-left: 0.25rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--near-black);
    max-width: 800px;
    margin: 0 auto 1.5rem;
    animation: fadeUp 0.6s 0.1s ease both;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--dark-gray);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.3s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(14,165,233,0.3);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(14,165,233,0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    background: var(--white);
    color: var(--near-black);
    border: 1.5px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    border-color: var(--mid-gray);
    background: var(--off-white);
    transform: translateY(-2px);
}

/* === SECTIONS === */
section {
    padding: 6rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--near-black);
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--dark-gray);
    line-height: 1.7;
    max-width: 600px;
}

/* === FEATURES / MODULE === */
.features {
    background: var(--off-white);
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-header .section-sub {
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
}

.feature-icon.blue { background: var(--accent-light); }
.feature-icon.amber { background: #FEF3C7; }
.feature-icon.green { background: #D1FAE5; }
.feature-icon.purple { background: #EDE9FE; }
.feature-icon.rose { background: #FFE4E6; }
.feature-icon.cyan { background: #CFFAFE; }
.feature-icon.orange { background: #FFEDD5; }
.feature-icon.indigo { background: #E0E7FF; }
.feature-icon.emerald { background: #D1FAE5; }

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.65;
}

/* === PLATFORM SECTION === */
.platform {
    position: relative;
}

.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.platform-visual {
    background: linear-gradient(135deg, var(--accent-subtle) 0%, var(--light-gray) 100%);
    border-radius: var(--radius);
    padding: 3rem;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.platform-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(14,165,233,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(245,158,11,0.08) 0%, transparent 50%);
}

.platform-mockup {
    width: 100%;
    max-width: 380px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.mockup-topbar {
    padding: 0.75rem 1rem;
    background: var(--off-white);
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    gap: 0.4rem;
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--light-gray);
}

.mockup-dot:first-child { background: #FCA5A5; }
.mockup-dot:nth-child(2) { background: #FDE68A; }
.mockup-dot:nth-child(3) { background: #86EFAC; }

.mockup-content {
    padding: 1.5rem;
}

.mockup-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: center;
}

.mockup-bar {
    height: 10px;
    background: var(--light-gray);
    border-radius: 5px;
}

.mockup-bar.w60 { width: 60%; }
.mockup-bar.w40 { width: 40%; }
.mockup-bar.w80 { width: 80%; }
.mockup-bar.w50 { width: 50%; }
.mockup-bar.accent { background: var(--accent-light); }

.mockup-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.mockup-mini-card {
    background: var(--off-white);
    border-radius: 8px;
    padding: 1rem;
}

.mockup-mini-card .mockup-bar {
    height: 8px;
    margin-bottom: 0.5rem;
}

.check-list {
    list-style: none;
    margin-top: 2rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: var(--dark-gray);
}

.check-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: var(--accent-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 2px;
}

/* === REFERENZEN === */
.references {
    background: var(--off-white);
}

.references-header {
    text-align: center;
    margin-bottom: 3rem;
}

.references-header .section-sub {
    margin: 0 auto;
}

.ref-logos {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.ref-logo {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark-gray);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ref-logo:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: var(--shadow-sm);
}

/* === BERATUNG === */
.consulting-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.consulting-services {
    display: grid;
    gap: 1rem;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.service-item:hover {
    background: var(--accent-subtle);
}

.service-num {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--white);
    border: 1.5px solid var(--light-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
}

.service-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.service-item p {
    font-size: 0.85rem;
    color: var(--dark-gray);
    line-height: 1.55;
}

/* === CTA === */
.cta-section {
    background: linear-gradient(135deg, var(--near-black) 0%, #1E293B 100%);
    border-radius: var(--radius);
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 4.5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14,165,233,0.15) 0%, transparent 60%);
}

.cta-section .section-title {
    color: var(--white);
}

.cta-section .section-sub {
    color: var(--mid-gray);
    margin: 0 auto 2rem;
}

.cta-contact {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--mid-gray);
    font-size: 0.9rem;
}

.cta-contact-item a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.cta-contact-item a:hover {
    color: var(--accent);
}

/* === FOOTER === */
footer {
    border-top: 1px solid var(--light-gray);
    padding: 3rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-company {
    font-size: 0.85rem;
    color: var(--dark-gray);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--mid-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--near-black);
}

/* === SCROLL ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .platform-grid,
    .consulting-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .platform-visual {
        order: -1;
        aspect-ratio: 16/10;
    }
}

@media (max-width: 700px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--light-gray);
        box-shadow: var(--shadow-md);
    }

    .hero { padding: 8rem 1.5rem 4rem; }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        margin: 0 1rem 4rem;
        padding: 3rem 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
    }
}

/* === ERGÄNZUNGEN (Ausbau Oktober 2026) === */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0.5rem;
    background: var(--near-black);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    z-index: 200;
}
.skip-link:focus { left: 0.5rem; }

.nav-links a[aria-current="page"] { color: var(--near-black); }

/* SVG-Icons */
.feature-icon svg {
    width: 22px;
    height: 22px;
}
.feature-icon.blue    { color: var(--accent-dark); }
.feature-icon.amber   { color: #B45309; }
.feature-icon.green   { color: #047857; }
.feature-icon.purple  { color: #6D28D9; }
.feature-icon.rose    { color: #BE123C; }
.feature-icon.cyan    { color: #0E7490; }
.feature-icon.orange  { color: #C2410C; }
.feature-icon.indigo  { color: #4338CA; }
.feature-icon.emerald { color: #047857; }

.check-icon svg { width: 13px; height: 13px; stroke-width: 3; }

.cta-contact-item svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.btn-primary svg, .btn-secondary svg { width: 16px; height: 16px; }

/* Rechtliche Unterseiten */
.legal {
    padding: 9rem 2rem 5rem;
    background: linear-gradient(180deg, var(--accent-subtle) 0%, var(--white) 220px);
}

.legal .container { max-width: 780px; }

.legal h1 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.legal .lead {
    font-size: 1.05rem;
    color: var(--dark-gray);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.legal h2 {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin: 2.75rem 0 0.9rem;
}

.legal h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 1.75rem 0 0.5rem;
}

.legal p, .legal li, .legal dd {
    font-size: 0.98rem;
    color: var(--dark-gray);
    line-height: 1.75;
}

.legal p + p { margin-top: 0.9rem; }

.legal ul, .legal ol {
    margin: 0.75rem 0 1rem 1.25rem;
}

.legal li + li { margin-top: 0.35rem; }

.legal a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--accent-light);
}

.legal a:hover { text-decoration-color: var(--accent-dark); }

.legal address {
    font-style: normal;
    line-height: 1.75;
    color: var(--dark-gray);
}

.legal dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.5rem 2rem;
    margin: 1rem 0;
}

.legal dt {
    font-weight: 600;
    color: var(--near-black);
    font-size: 0.95rem;
}

.legal-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow-card);
    margin: 1.5rem 0;
}

.legal-meta {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
    font-size: 0.85rem;
    color: var(--mid-gray);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-gray);
    text-decoration: none;
    margin-bottom: 2rem;
}

.back-link svg { width: 16px; height: 16px; }
.back-link:hover { color: var(--accent-dark); }

@media (max-width: 700px) {
    .legal { padding: 7rem 1.25rem 3rem; }
    .legal dl { grid-template-columns: 1fr; gap: 0.1rem 0; }
    .legal dt { margin-top: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .fade-in { opacity: 1; transform: none; transition: none; }
    .hero-badge, .hero h1, .hero-sub, .hero-actions { animation: none; }
    .hero-badge-dot { animation: none; }
}

/* Ankerziele unterhalb der fixierten Navigation beginnen lassen */
section[id], main[id] { scroll-margin-top: 72px; }
