/* kogniflow.css - Hauptseiten-Styles ohne Header (siehe header.css) */

/* ── Features-Sektion ─────────────────────────────────────── */

#features { background: #f4f6f8; padding: 3.5em 0; }
#features header h2 { color: #3d4f5e; }

#features section .icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1em;
}

#features section .icon-wrap i { font-size: 1.6em; color: #fff; }
#features section h3 { color: #3d4f5e; }
#features .col-4 > section { text-align: center; }

/* ── Banner ───────────────────────────────────────────────── */

#banner {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    padding: 2.5em 0;
}

#banner p { color: #fff; font-size: 1.2em; font-weight: 400; text-align: center; }
#banner strong { color: #e0e0ff; }

/* ── Main-Content ─────────────────────────────────────────── */

#main { background: #fff; padding: 3em 0; }
#main h2 { color: #3d4f5e; font-size: 1.4em; letter-spacing: 2px; margin-bottom: 0.75em; }
#main h3 { color: #5a6e7e; }
#main article.box.post h2 a { color: #3d4f5e; border: 0; }
#main article.box.post h2 a:hover { color: #6366f1; }

/* ── Footer ───────────────────────────────────────────────── */

section#footer { background: #2e3842; padding: 3.5em 0 2em; }
section#footer header h2 { color: #b0bec5; font-size: 1.25em; letter-spacing: 2px; }
section#footer header h2 strong { color: #fff; }
section#footer p { color: #90a4ae; }
section#footer ul.icons li { color: #90a4ae; }
section#footer ul.icons li a { color: #b0bec5; border: 0; }
section#footer ul.icons li a:hover { color: #fff; }
section#footer #copyright { border-top: 1px solid rgba(255,255,255,0.07); margin-top: 2em; padding-top: 1.5em; }
section#footer #copyright ul.links li,
section#footer #copyright ul.links a { color: #607d8b; }
section#footer #copyright ul.links a:hover { color: #90a4ae; }

/* Formular im Footer */
section#footer form input[type="text"],
section#footer form input[type="email"],
section#footer form textarea,
section#footer form select {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: #cfd8dc;
    border-radius: 6px;
    padding: 0.75em 1em;
    width: 100%;
    font-family: inherit;
    font-size: 0.9em;
    margin-bottom: 0.6em;
}

section#footer form input:focus,
section#footer form textarea:focus,
section#footer form select:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(99,102,241,0.1);
}

section#footer form label {
    color: #90a4ae;
    font-size: 0.82em;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

section#footer form .form-hint   { color: #607d8b; font-size: 0.78em; margin-top: 3px; }

section#footer form .form-check  {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #90a4ae;
    font-size: 0.88em;
    margin-bottom: 6px;
    cursor: pointer;
}

section#footer form .form-check input { width: auto; margin: 0; }
section#footer form .radio-group       { display: grid; gap: 4px; margin-bottom: 0.5em; }

section#footer .google-signin          { margin: 8px 0 14px; }
section#footer .google-signin .hint    { color: #607d8b; font-size: 0.8em; }

section#footer .form-status            { margin-top: 10px; font-weight: 600; color: #a5b4fc; font-size: 0.9em; }
section#footer .form-status.is-error   { color: #f87171; }

/* ── Use-Case-Accordion ───────────────────────────────────── */

.uc-accordion { list-style: none; padding: 0; margin: 0 0 2em; }

.uc-accordion details {
    border: 1px solid #e0e6ea;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.uc-accordion details:hover { box-shadow: 0 2px 12px rgba(99,102,241,0.1); }

.uc-accordion summary {
    padding: 1em 1.2em;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9em;
    color: #3d4f5e;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    background: #f8f9fb;
    user-select: none;
    letter-spacing: 0.03em;
}

.uc-accordion summary::-webkit-details-marker { display: none; }

.uc-accordion summary .chevron {
    color: #6366f1;
    transition: transform 0.25s;
    font-size: 0.8em;
}

.uc-accordion details[open] summary           { background: #eef0ff; }
.uc-accordion details[open] summary .chevron  { transform: rotate(180deg); }

.uc-accordion .uc-body {
    padding: 1em 1.2em 1.2em;
    font-size: 0.9em;
    color: #667;
    line-height: 1.75;
    background: #fff;
}

.uc-accordion .uc-body strong { color: #3d4f5e; }
.uc-accordion .uc-body ul     { padding-left: 1.2em; margin: 0.5em 0 0.75em; }
.uc-accordion .uc-body ul li  { margin-bottom: 4px; }
.uc-accordion .uc-body ul li::marker { color: #6366f1; }

.uc-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef0ff;
    color: #6366f1;
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8em;
    margin-top: 8px;
}

/* ── Sidebar-Boxen ────────────────────────────────────────── */

.sidebar-box {
    background: #f4f6f8;
    border: 1px solid #e0e6ea;
    border-radius: 10px;
    padding: 1.5em;
    margin-bottom: 1.5em;
}

.sidebar-box h3    { color: #3d4f5e; font-size: 0.9em; letter-spacing: 1.5px; margin-bottom: 0.75em; }
.sidebar-box p     { font-size: 0.88em; color: #667; line-height: 1.7; }
.sidebar-box strong { color: #3d4f5e; }

.sidebar-box .price      { font-size: 2em; font-weight: 700; color: #6366f1; line-height: 1; }
.sidebar-box .price-note { font-size: 0.75em; color: #90a4ae; }

.sidebar-box ul         { padding-left: 1.2em; margin: 0.6em 0; font-size: 0.86em; color: #667; }
.sidebar-box ul li      { margin-bottom: 3px; }
.sidebar-box ul li::marker { color: #6366f1; }

.sidebar-box .badge-row { display: flex; gap: 6px; flex-wrap: wrap; margin: 0.6em 0; }

.sidebar-box .tag {
    background: rgba(99,102,241,0.1);
    color: #6366f1;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 0.78em;
    font-weight: 600;
}

/* ── Zeitersparnis-Strip ──────────────────────────────────── */

.timesaver-strip {
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.05));
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 10px;
    padding: 1.2em 1.5em;
    margin: 1.5em 0;
    font-size: 0.9em;
}

.timesaver-strip p        { color: #3d4f5e; }
.timesaver-strip .numbers { font-size: 1.05em; color: #6366f1; font-weight: 600; line-height: 2; }

/* ── Honeypot ─────────────────────────────────────────────── */

.hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ── Modal ───────────────────────────────────────────────── */

@keyframes backdropIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes cardIn {
    from { opacity: 0; transform: translateY(22px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

.modal-backdrop {
    align-items: center;
    animation: backdropIn 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    background: rgba(10, 16, 26, 0.82);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 9999;
}

.modal-backdrop.open { display: flex; }

.modal-card {
    animation: cardIn 0.32s cubic-bezier(0.34, 1.04, 0.64, 1) both;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background: linear-gradient(160deg, rgba(24, 34, 48, 0.98) 0%, rgba(18, 26, 40, 0.99) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    border-top: 3px solid #6366f1;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 40px 120px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(99, 102, 241, 0.08);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    padding: 0;
    width: min(660px, 96vw);
}

.modal-header {
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-shrink: 0;
    gap: 16px;
    justify-content: space-between;
    padding: 1.4em 1.75em 1.2em;
}

.modal-title {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.35;
    padding-top: 2px;
}

.modal-close {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    flex-shrink: 0;
    font-size: 0.82em;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.6);
    color: #c7c8ff;
}

.success-pre {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.65);
    font-family: monospace;
    font-size: 0.8em;
    margin-top: 12px;
    padding: 14px;
    white-space: pre-wrap;
}

.modal-badge {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 99px;
    color: #a5b4fc;
    display: inline-block;
    font-size: 0.8em;
    font-weight: 700;
    margin-bottom: 6px;
    padding: 3px 12px;
}

.modal-foot {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 10px;
    padding: 1em 1.75em;
}

.modal-foot .button {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.82em;
    letter-spacing: 0.05em;
    padding: 0.55em 1.4em;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.modal-foot .button:hover {
    background: rgba(99, 102, 241, 0.25) !important;
    border-color: rgba(99, 102, 241, 0.6) !important;
    color: #c7c8ff !important;
}

/* Large Modal variant */
.modal-lg {
    width: min(860px, 94vw);
}

.modal-body-scroll {
    -webkit-overflow-scrolling: touch;
    color: rgba(255, 255, 255, 0.78);
    flex: 1;
    font-size: 0.95em;
    line-height: 1.8;
    overflow-y: auto;
    padding: 1.6em 1.75em;
    scroll-behavior: smooth;
}

/* Scrollbar styling */
.modal-body-scroll::-webkit-scrollbar { width: 5px; }
.modal-body-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }
.modal-body-scroll::-webkit-scrollbar-thumb { background: rgba(99,102,241,0.4); border-radius: 99px; }

.modal-body-scroll > p:first-child {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05em;
}

.modal-body-scroll h1 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25em;
    margin-bottom: 0.5em;
}

.modal-body-scroll h2 {
    border-bottom: 1px solid rgba(99, 102, 241, 0.25);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05em;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.7em;
    margin-top: 1.75em;
    padding-bottom: 0.4em;
    text-transform: uppercase;
}

.modal-body-scroll ul,
.modal-body-scroll ol {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92em;
    line-height: 1.85;
    padding-left: 1.4em;
}

.modal-body-scroll ul li::marker { color: #6366f1; }

.modal-body-scroll p {
    color: rgba(255, 255, 255, 0.75) !important;
}

.modal-body-scroll strong {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.modal-body-scroll .intro {
    background: rgba(99, 102, 241, 0.1);
    border-left: 3px solid #6366f1;
    border-radius: 0 8px 8px 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.97em;
    line-height: 1.8;
    margin-bottom: 1.5em;
    padding: 1em 1.3em;
}

.modal-body-scroll .cta {
    align-items: center;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
    color: #fff !important;
    display: inline-flex;
    font-size: 0.9em;
    font-weight: 600;
    gap: 8px;
    letter-spacing: 0.04em;
    padding: 0.75em 1.85em;
    text-decoration: none;
    transition: box-shadow 0.25s ease, transform 0.2s ease, opacity 0.2s ease;
}

.modal-body-scroll .cta:hover {
    box-shadow: 0 6px 28px rgba(99, 102, 241, 0.5);
    opacity: 0.93;
    transform: translateY(-2px);
}

.modal-body-scroll .card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid rgba(99, 102, 241, 0.7);
    border-radius: 10px;
    margin: 1.25em 0;
    padding: 1.1em 1.35em;
}

.modal-body-scroll .card h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95em;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-top: 0;
}


/* ── Kein Mobiles Hamburger-Menü ──────────────────────── */
#titleBar,
#navPanel {
    display: none !important;
}

/* ── Scroll-to-Top Pfeil ──────────────────────────────── */
#scrollTopBtn {
    align-items: center;
    background: #6366f1;
    border: none;
    border-radius: 50%;
    bottom: 2rem;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
    color: #fff;
    cursor: pointer;
    display: none;
    font-size: 1.1rem;
    height: 48px;
    justify-content: center;
    opacity: 0;
    position: fixed;
    right: 1.5rem;
    transform: translateY(12px);
    transition: opacity 0.25s, transform 0.25s, background 0.2s;
    width: 48px;
    z-index: 10000;
}

#scrollTopBtn.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

#scrollTopBtn:hover {
    background: #4f46e5;
    transform: translateY(-3px);
}

/* ── Header Logo (Waldmeister Solutions) ─────────────────── */
#header .logo {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 0.75rem 0 0.5rem;
}

#header .logo .logo-img {
    display: block;
    height: auto;
    max-width: 200px;
    width: 100%;
}
