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

:root {
    --blue-main: #0F5FD4;
    --blue-light: #0EA5E9;
    --bg: #F3F4F6;
    --text-main: #111827;
    --text-muted: #6B7280;
    --border-subtle: rgba(148, 163, 184, 0.4);
    --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.16);
    --radius-lg: 1.1rem;
    --transition-fast: 0.18s ease-out;
    --transition-med: 0.25s ease;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-main);
    background-color: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--blue-main);
}

/* Layout */

.container {
    width: min(1120px, 100% - 2.5rem);
    margin: 0 auto;
}

/* Header / Navigation */

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
    background: rgba(255, 255, 255, 0.98);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.6rem;
    gap: 1.5rem;
}

/* Logo */

.logo-block {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
}

.logo {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.logo-title {
    font-family: 'Poppins', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 0.98rem;
    white-space: nowrap;
}

.logo-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Desktop nav */

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    font-size: 0.95rem;
    transition: transform var(--transition-med), opacity var(--transition-med), visibility var(--transition-med);
}

.main-nav > a,
.main-nav > .nav-dropdown {
    text-decoration: none;
    color: var(--text-main);
    position: relative;
    padding-bottom: 0.1rem;
}

.main-nav > a::after,
.nav-dropbtn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.15rem;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--blue-main), var(--blue-light));
    transition: width var(--transition-fast);
}

.main-nav > a:hover::after,
.main-nav > a.active::after,
.nav-dropdown.active .nav-dropbtn::after {
    width: 100%;
}

/* Dropdown */

.nav-dropdown {
    position: relative;
}

.nav-dropbtn {
    background: transparent;
    border: none;
    font: inherit;
    color: var(--text-main);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    position: relative;
    padding-bottom: 0.1rem;
}

.nav-dropbtn span.icon {
    font-size: 0.8rem;
    transform: translateY(1px);
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 130%;
    left: 0;
    min-width: 240px;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 0.4rem 0;
    z-index: 200;
    animation: fadeDown 0.18s ease-out;
}

.nav-dropdown-content a {
    display: block;
    padding: 0.46rem 0.9rem;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
}

.nav-dropdown-content a small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.nav-dropdown-content a:hover {
    background-color: #EFF6FF;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

/* Mobile burger */

.mobile-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: #ffffff;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.mobile-toggle-bars {
    width: 18px;
    height: 2px;
    background: #111827;
    position: relative;
    border-radius: 999px;
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.mobile-toggle-bars::before,
.mobile-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: #111827;
    border-radius: 999px;
    transition: transform var(--transition-fast), top var(--transition-fast), opacity var(--transition-fast);
}

.mobile-toggle-bars::before {
    top: -6px;
}

.mobile-toggle-bars::after {
    top: 6px;
}

.site-header.nav-open .mobile-toggle-bars {
    background: transparent;
}

.site-header.nav-open .mobile-toggle-bars::before {
    top: 0;
    transform: rotate(45deg);
}

.site-header.nav-open .mobile-toggle-bars::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.5rem;
    border-radius: 999px;
    background: radial-gradient(circle at 0 0, var(--blue-light), var(--blue-main));
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.26);
    white-space: nowrap;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn span {
    margin-left: 0.35rem;
    font-size: 0.9em;
}

.btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px) translateZ(0);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.32);
}

.btn-secondary {
    background: #ffffff;
    color: var(--blue-main) !important;
    border: 1px solid rgba(37, 99, 235, 0.6);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.btn-ghost {
    background: transparent;
    border: 1px dashed rgba(148, 163, 184, 0.9);
    color: var(--text-main) !important;
    box-shadow: none;
}

/* Hero / Sections */

.page-hero {
    padding: 2.8rem 0 2.6rem;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.35), transparent 58%),
        radial-gradient(circle at right, rgba(56, 189, 248, 0.24), transparent 55%),
        #EFF6FF;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    overflow: hidden;
    position: relative;
}

.hero-orbit {
    position: absolute;
    inset: -120px;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 55%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.09), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.hero-orbit::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    top: 18%;
    right: 3%;
    animation: slowOrbit 18s linear infinite;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.1fr);
    gap: 2.4rem;
    align-items: center;
}

.page-hero h1 {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: clamp(2.1rem, 2.8vw, 2.5rem);
    margin-bottom: 0.7rem;
    animation: fadeInUp 0.35s ease-out;
}

.page-hero p {
    max-width: 560px;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
    font-size: 0.98rem;
    animation: fadeInUp 0.38s ease-out;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 1.2rem;
    animation: fadeInUp 0.4s ease-out;
}

.hero-meta span::before {
    content: "• ";
    color: var(--blue-main);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    animation: fadeInUp 0.45s ease-out;
}

.hero-panel {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.4rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.35);
    font-size: 0.92rem;
    transform: translateY(6px);
    animation: floatIn 0.42s ease-out forwards;
}

.hero-panel h2 {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.hero-panel ul {
    margin-left: 1.1rem;
    margin-bottom: 0.6rem;
    color: #4B5563;
}

.hero-panel-footer {
    font-size: 0.86rem;
    color: var(--text-muted);
}

.tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(129, 140, 248, 0.5);
    color: #1D4ED8;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

/* Sections */

.section {
    padding: 2.4rem 0;
}

.section-light {
    background: #ffffff;
}

.section h2 {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 1.45rem;
    margin-bottom: 0.45rem;
}

.section-intro {
    margin-bottom: 1.6rem;
    max-width: 620px;
    color: var(--text-muted);
    font-size: 0.96rem;
}

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

/* Cards */

.card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.25rem 1.15rem;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
    font-size: 0.94rem;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 55%);
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    border-color: rgba(59, 130, 246, 0.5);
}

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

.card h3 {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 1.02rem;
    margin-bottom: 0.5rem;
}

.card ul {
    margin-left: 1.1rem;
    color: #4B5563;
    margin-bottom: 0.5rem;
}

.card-footer-link {
    font-size: 0.86rem;
    color: var(--blue-main);
    text-decoration: none;
}

.card-footer-link:hover {
    text-decoration: underline;
}

/* Breadcrumb / content */

.breadcrumb {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.content {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1.4fr);
    gap: 1.8rem;
}

.content-main h1 {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.content-main h2 {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 1.15rem;
    margin-top: 1.35rem;
    margin-bottom: 0.35rem;
}

.content-main p {
    margin-bottom: 0.45rem;
    font-size: 0.96rem;
    color: #374151;
}

.content-main ul {
    margin-left: 1.2rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: #374151;
}

/* Aside */

.aside-box {
    background: #ffffff;
    border-radius: 0.9rem;
    padding: 1rem 1rem;
    border: 1px solid var(--border-subtle);
    font-size: 0.9rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.aside-box h3 {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.aside-box ul {
    margin-left: 1.1rem;
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 2fr);
    gap: 1.7rem;
}

.contact-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.3rem 1.2rem;
    border: 1px solid var(--border-subtle);
    font-size: 0.95rem;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.contact-list {
    list-style: none;
    margin: 0.6rem 0 0.4rem;
}

.contact-list li {
    margin-bottom: 0.35rem;
}

.contact-list a {
    text-decoration: none;
}

.contact-note {
    font-size: 0.87rem;
    color: var(--text-muted);
    margin-top: 0.6rem;
}

/* Social links */

.social-links {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.6rem;
    font-size: 0.9rem;
}

.social-links a {
    text-decoration: none;
}

.social-icon img {
    width: 24px;
    height: 24px;
    display: block;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
}

/* Form / info cards */

.form-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.3rem 1.2rem;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    font-size: 0.94rem;
}

/* Tables */

.table {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.94rem;
    margin: 0.4rem 0 0.6rem;
}

.table th,
.table td {
    border: 1px solid rgba(209, 213, 219, 0.9);
    padding: 0.45rem 0.5rem;
    text-align: left;
}

.table th {
    background: #EFF6FF;
    font-weight: 600;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    background: #ffffff;
    padding: 0.9rem 0 1.3rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2.2rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

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

/* Animations */

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

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(6px) scale(1);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slowOrbit {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */

@media (max-width: 880px) {
    .header-inner {
        flex-direction: row;
        align-items: center;
    }

    .mobile-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        padding: 0.7rem 1.2rem 1rem;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(148, 163, 184, 0.4);
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .site-header.nav-open .main-nav {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .logo {
        width: 44px;
        height: 44px;
    }

    .logo-title {
        font-size: 0.9rem;
    }

    .logo-subtitle {
        display: none; /* für Smartphone weniger "klobig" */
    }

    .page-hero-inner,
    .content,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-panel {
        order: -1;
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 1.4rem, 100%);
    }

    .site-header {
        position: sticky;
    }

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

    .page-hero {
        padding-top: 2.1rem;
    }

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


/* Floating WhatsApp Button */
.floating-wa {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 9999;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: #25D366;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}
.floating-wa img {
    width: 36px;
    height: 36px;
}
@media (max-width: 680px) {
    .floating-wa {
        bottom: 18px;
        right: 18px;
        width: 56px;
        height: 56px;
    }
    .floating-wa img {
        width: 32px;
        height: 32px;
    }
}
