/* Alendo Apps – Lizenzportal: eigene Kopie der Basis-Optik von alendo.ch (Stand 17.11.2026, Systemschriften, keine externen Verweise). Ergänzungen in lizenz.css. */
:root {
    --color-bg: #f5f7fb;
    --color-bg-alt: #ffffff;
    --color-bg-dark: #0f172a;
    --color-primary: #0b79d0;
    --color-primary-soft: #e3f2fd;
    --color-primary-dark: #085693;
    --color-text: #111827;
    --color-text-muted: #6b7280;
    --color-border: #e5e7eb;
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    background: radial-gradient(circle at top left, #eef3ff 0, #f5f7fb 45%, #f9fafb 100%);
    color: var(--color-text);
    line-height: 1.6;
}

/* Layout */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4.5rem 0;
}

.section-alt {
    padding: 4.5rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
}

.section-highlight {
    padding: 4.5rem 0;
    background: linear-gradient(135deg, #0b79d0, #0f172a);
    color: #f9fafb;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: #fff; /*rgba(245, 247, 251, 0.92);*/
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    transition: box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 252, 0.97);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*height: var(--header-height);*/
    gap: 1rem;
	
	height: 120px;
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
	
	background: url(logo.png) no-repeat 0 0;
	height: 120px;
	width: 330px;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: radial-gradient(circle at 20% 0, #ffffff 0, #0b79d0 45%, #0f172a 100%);
    display: none; /*flex;*/
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.logo-text {
    display: none; /*flex;*/
    flex-direction: column;
}

.logo-title {
    font-weight: 650;
    letter-spacing: 0.02em;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Navigation */

.main-nav {
    margin-left: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.1rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--color-primary);
    transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    width: 100%;
}

.btn-header {
    margin-left: 1.5rem;
}

/* Nav toggle (mobile) */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.35rem;
    cursor: pointer;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #111827;
    position: relative;
}

.nav-toggle-line + .nav-toggle-line {
    margin-top: 5px;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 12px 22px rgba(11, 121, 208, 0.35);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(11, 121, 208, 0.4);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.6);
    color: var(--color-text);
}

.btn-ghost:hover {
    background: rgba(241, 245, 249, 0.9);
}

.btn-full {
    width: 100%;
}

/* Hero */

.hero-section {
    padding-top: 4.8rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 2.5rem;
}

.hero-text h1 {
    font-size: clamp(2.1rem, 2.8vw + 1rem, 2.7rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.02rem;
    color: var(--color-text-muted);
    max-width: 36rem;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.hero-bullets li {
    position: relative;
    padding-left: 1.3rem;
}

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

.hero-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* Hero Panel */

.hero-panel {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    background: linear-gradient(145deg, #ffffff, #ebf3ff);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.6rem 1.7rem;
    max-width: 370px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.hero-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-soft);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.hero-card h2 {
    margin-top: 0;
    margin-bottom: 0.3rem;
    font-size: 1.15rem;
}

.hero-card p {
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.hero-card-list {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: var(--color-text);
}

/* Sections */

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.25rem;
}

.section-header h2 {
    margin-bottom: 0.4rem;
    font-size: 1.6rem;
}

.section-header p {
    margin: 0;
    color: var(--color-text-muted);
}

/* Cards */

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.4rem 1.3rem 1.3rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.card-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-soft);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.card ul {
    padding-left: 1.1rem;
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Steps */

.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.2rem 1.2rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-body h3 {
    margin: 0 0 0.2rem;
    font-size: 1.05rem;
}

.step-body p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* USPs */

.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.usp {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.3rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.usp h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.usp p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* FAQ */

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.faq-item {
    border-radius: var(--radius-md);
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: #ffffff;
    overflow: hidden;
}

.faq-item-question {
    width: 100%;
    padding: 0.85rem 1rem;
    text-align: left;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 500;
}

.faq-toggle-icon {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-left: 0.6rem;
}

.faq-item-answer {
    display: none;
    padding: 0 1rem 0.9rem;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.faq-item.is-open .faq-item-answer {
    display: block;
}

.faq-item.is-open .faq-toggle-icon {
    transform: rotate(45deg);
}

/* Kontakt */

.kontakt-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: flex-start;
}

.kontakt-text h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.kontakt-text p {
    margin-top: 0;
    color: #e5e7eb;
}

.kontakt-details {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    font-size: 0.95rem;
}

.kontakt-details li + li {
    margin-top: 0.3rem;
}

.kontakt-details a {
    color: #e0f2fe;
    text-decoration: none;
}

.kontakt-details a:hover {
    text-decoration: underline;
}

/* Formular */

.kontakt-form {
    background: rgba(15, 23, 42, 0.92);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.4rem 1.4rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.form-field label {
    margin-bottom: 0.25rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    border-radius: 0.6rem;
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: 0.55rem 0.6rem;
    font: inherit;
    background: rgba(15, 23, 42, 0.9);
    color: #f9fafb;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5);
}

.form-field textarea {
    resize: vertical;
}

.form-field-checkbox {
    margin-top: 0.4rem;
}

.form-field-checkbox label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-field-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #38bdf8;
}

.form-hint {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}

/* Footer */

.site-footer {
    padding: 1.8rem 0;
    background: #0f172a;
    color: #9ca3af;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
}

.footer-nav {
    display: flex;
    gap: 1rem;
}

.footer-nav a {
    color: #e5e7eb;
    text-decoration: none;
}

.footer-nav a:hover {
    text-decoration: underline;
}

/* Floating CTA */

.floating-cta {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    background: var(--color-primary);
    color: #ffffff;
    text-decoration: none;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 12px 25px rgba(11, 121, 208, 0.5);
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.floating-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

/* Responsive */

@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-panel {
        justify-content: flex-start;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .usp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kontakt-inner {
        grid-template-columns: 1fr;
    }

    .btn-header {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-header {
        border-bottom-color: rgba(226, 232, 240, 0.6);
    }

    .header-inner {
        height: 90px;
    }

    .nav-toggle {
        /*display: inline-flex;*/
    }

    .main-nav {
        position: fixed;
        inset: 28px 0 auto 0;
        background: rgba(248, 250, 252, 0.98);
        border-bottom: 1px solid rgba(226, 232, 240, 0.9);
        transform: translateY(-120%);
        transition: transform 0.18s ease;
        padding: 0.8rem 1.5rem 1.2rem;
    }

    .main-nav.is-open {
        transform: translateY(0%);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0.4rem;
    }

    .main-nav a {
        padding: 0.4rem 0;
        font-size: 1rem;
    }

    .hero-section {
        padding-top: 4rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

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

    .form-row {
        flex-direction: column;
    }

    .floating-cta {
        right: 0.9rem;
        bottom: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}