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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main {
    min-height: 100vh;
    background-color: #f8fafc;
    color: #020617;
}

/* Header */
.header {
    border-top: none;
    border-bottom: 1px solid #f3e8ff;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

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

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 1rem;
    background-color: #7e22ce;
    color: white;
    font-size: 1.125rem;
    font-weight: 900;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: #3b0764;
}

.logo-subtitle {
    display: none;
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
}

.nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.nav a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}

.nav a:hover {
    color: #7e22ce;
}

.btn-primary {
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    background-color: #7e22ce;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #6b21a8;
}

/* Search Container */
.search-container {
    position: relative;
    overflow: hidden;
    border-top: none;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #3b0764 0%, #581c87 48%, #020617 100%);
}

.search-container::before,
.search-container::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 9999px;
    filter: blur(54px);
}

.search-container::before {
    top: -5rem;
    right: 14%;
    width: 14rem;
    height: 14rem;
    background-color: rgba(168, 85, 247, 0.28);
}

.search-container::after {
    bottom: -6rem;
    left: 10%;
    width: 15rem;
    height: 15rem;
    background-color: rgba(217, 70, 239, 0.14);
}

.search-wrapper {
    position: relative;
    z-index: 1;
    max-width: 56rem;
    margin: 0 auto;
    padding: 0.9rem 1.5rem 1rem;
}

.search-field {
    position: relative;
}

.search-icon {
    pointer-events: none;
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.125rem;
    color: #7e22ce;
}

.search-input {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background-color: rgba(255, 255, 255, 0.96);
    padding: 0.875rem 1rem 0.875rem 3.25rem;
    font-size: 0.875rem;
    font-weight: 650;
    color: #0f172a;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.search-input::placeholder {
    color: #94a3b8;
}

.search-input:focus {
    border-color: #d8b4fe;
    background-color: white;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18), 0 0 0 4px rgba(216, 180, 254, 0.24);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #3b0764 0%, #581c87 50%, #020617 100%);
}

.hero-bg-1 {
    position: absolute;
    right: -6rem;
    top: -6rem;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background-color: rgba(168, 85, 247, 0.3);
    filter: blur(64px);
}

.hero-bg-2 {
    position: absolute;
    bottom: -7rem;
    left: -5rem;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background-color: rgba(217, 70, 239, 0.2);
    filter: blur(64px);
}

.hero-container {
    position: relative;
    max-width: 80rem;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3.5rem;
    display: grid;
    gap: 2rem;
}

.hero-content {
    max-width: 100%;
}

.badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid;
}

.badge-amber {
    background-color: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.badge-purple {
    background-color: #f3e8ff;
    color: #6b21a8;
    border-color: #e9d5ff;
}

.badge-slate {
    background-color: #f1f5f9;
    color: #334155;
    border-color: #e2e8f0;
}

.badge-green {
    background-color: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}

.hero-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #e9d5ff;
    margin-bottom: 0.75rem;
}

.hero-title {
    max-width: 48rem;
    font-size: 1.875rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: white;
    line-height: 1.1;
}

.hero-description {
    max-width: 48rem;
    margin-top: 1.25rem;
    font-size: 1rem;
    line-height: 1.75;
    color: #f3e8ff;
}

.hero-actions {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-white {
    display: block;
    text-align: center;
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
    background-color: white;
    color: #3b0764;
    font-size: 0.875rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s;
}

.btn-white:hover {
    background-color: #faf5ff;
}

.btn-outline-white {
    display: block;
    text-align: center;
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 0.875rem;
    font-weight: 900;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-sidebar {
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.25rem;
    color: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
}

.sidebar-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: #e9d5ff;
}

.sidebar-aktenzeichen {
    margin-top: 0.5rem;
    font-size: 1.875rem;
    font-weight: 900;
}

.sidebar-info {
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
    font-size: 0.875rem;
}

.sidebar-info-label {
    color: #e9d5ff;
}

.sidebar-info-value {
    font-weight: 700;
}

/* Content Container */
.content-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Timeline Section */
.timeline-section {
    margin-bottom: 2rem;
    border-radius: 1.5rem;
    border: 1px solid #f3e8ff;
    background-color: white;
    padding: 1.25rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.timeline-header {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.timeline-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: #7e22ce;
}

.timeline-title {
    margin-top: 0.25rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: #020617;
}

.timeline {
    display: grid;
    gap: 0.75rem;
}

.timeline-item {
    position: relative;
    border-radius: 1rem;
    border: 1px solid;
    padding: 1rem;
}

.timeline-item-done {
    border-color: #a7f3d0;
    background-color: #ecfdf5;
    color: #022c22;
}

.timeline-item-active {
    border-color: #d8b4fe;
    background-color: #faf5ff;
    color: #3b0764;
}

.timeline-item-pending {
    border-color: #e2e8f0;
    background-color: white;
    color: #64748b;
}

.timeline-item-header {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

.timeline-item-done .timeline-number {
    background-color: #059669;
    color: white;
}

.timeline-item-active .timeline-number {
    background-color: #7e22ce;
    color: white;
}

.timeline-item-pending .timeline-number {
    background-color: #e2e8f0;
    color: #475569;
}

.timeline-status {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.timeline-item-label {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Grid Container */
.grid-container {
    display: grid;
    gap: 1.5rem;
}

.grid-left,
.grid-right {
    display: grid;
    gap: 1.5rem;
}

/* Card */
.card {
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    background-color: white;
    padding: 1.25rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.card-header {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #020617;
}

.card-text {
    font-size: 0.875rem;
    line-height: 1.75;
    color: #334155;
}

/* Data List */
.data-row {
    display: grid;
    gap: 0.25rem;
    border-bottom: 1px solid #f1f5f9;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.data-row:last-child {
    border-bottom: none;
}

.data-row dt {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

.data-row dd {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
}

/* Excerpt Section */
.excerpt-section {
    margin-top: 1.5rem;
}

.excerpt-header {
    border-bottom: 1px solid #f1f5f9;
    padding: 1.25rem;
}

.excerpt-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: #7e22ce;
}

.excerpt-title {
    margin-top: 0.25rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: #020617;
}

.excerpt-content {
    padding: 1.25rem;
}

.excerpt-box {
    border-radius: 1rem;
    background-color: #f1f5f9;
    padding: 1rem;
}

.excerpt-text {
    white-space: pre-line;
    font-size: 0.875rem;
    line-height: 1.75;
    color: #334155;
}

/* CTA Section */
.cta-section {
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
    border-radius: 1.5rem;
    border: 1px solid #f3e8ff;
    background-color: #faf5ff;
    padding: 1.25rem;
    align-items: center;
}

.cta-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #3b0764;
}

.cta-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(88, 28, 135, 0.8);
}

/* Responsive Breakpoints */
@media (min-width: 640px) {
    .logo-subtitle {
        display: block;
    }

    .search-input {
        padding-top: 1rem;
        padding-bottom: 1rem;
        padding-left: 3.5rem;
        font-size: 1rem;
    }

    .hero-container {
        padding: 3.5rem 1.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .hero-actions {
        flex-direction: row;
    }

    .hero-sidebar {
        padding: 1.5rem;
    }

    .timeline-section {
        padding: 1.5rem;
    }

    .timeline-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }

    .timeline {
        grid-template-columns: repeat(4, 1fr);
    }

    .card {
        padding: 1.5rem;
    }

    .data-row {
        grid-template-columns: 150px 1fr;
        gap: 1rem;
    }

    .excerpt-header {
        padding: 1.5rem;
    }

    .excerpt-content {
        padding: 1.5rem;
    }

    .excerpt-box {
        padding: 1.25rem;
    }

    .cta-section {
        grid-template-columns: 1fr auto;
        padding: 1.5rem;
    }
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .header-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .hero-container {
        padding-left: 2rem;
        padding-right: 2rem;
        grid-template-columns: 1.35fr 0.65fr;
        align-items: flex-end;
    }

    .hero-title {
        font-size: 3.75rem;
    }

    .content-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .grid-container {
        grid-template-columns: 0.9fr 1.1fr;
    }
}

/* Toggle Button - Aufklapp-Funktionalität */
.btn-toggle {
    display: block;
    margin: 1rem auto 0;
    padding: 0.5rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid #e9d5ff;
    background-color: transparent;
    color: #7e22ce;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-toggle:hover {
    background-color: #faf5ff;
    border-color: #d8b4fe;
}

.btn-toggle:active {
    background-color: #f3e8ff;
}

.btn-toggle-text {
    pointer-events: none;
}

/* Footer */
.footer {
    background-color: #020617;
    color: #f8fafc;
    padding: 3rem 1.5rem 2rem;
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 24rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 1rem;
    background-color: #7e22ce;
    color: white;
    font-size: 1.125rem;
    font-weight: 900;
}

.footer-logo-text {
    font-size: 1.125rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: white;
}

.footer-logo-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: #94a3b8;
}

.footer-description {
    font-size: 0.875rem;
    line-height: 1.75;
    color: #cbd5e1;
}

.footer-links {
    display: grid;
    gap: 2rem;
}

.footer-section-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: white;
    margin-bottom: 0.75rem;
}

.footer-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    font-size: 0.875rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #c084fc;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-social-link:hover {
    color: white;
}

.footer-social-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-divider {
    border-top: 1px solid #334155;
    margin: 2rem 0;
}

.footer-bottom {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-disclaimer {
    background-color: rgba(51, 65, 85, 0.3);
    border-left: 3px solid #7e22ce;
    padding: 1rem;
    border-radius: 0.5rem;
}

.disclaimer-text {
    font-size: 0.75rem;
    line-height: 1.6;
    color: #cbd5e1;
}

.disclaimer-text strong {
    color: white;
    font-weight: 700;
}

.btn-report-error {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    background-color: #7e22ce;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    justify-self: start;
}

.btn-report-error:hover {
    background-color: #6b21a8;
}

.btn-report-icon {
    width: 1.125rem;
    height: 1.125rem;
}

.footer-copyright {
    padding-top: 1.5rem;
    border-top: 1px solid #1e293b;
    text-align: center;
}

.footer-copyright p {
    font-size: 0.75rem;
    color: #64748b;
}

@media (min-width: 640px) {
    .footer {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 2fr;
        gap: 4rem;
    }
}

/* ==========================================================
   Version 3: schlichter Profil-Einstieg statt Banner-Hero
   ========================================================== */
.company-intro {
    background: linear-gradient(180deg, #fdfcff 0%, #f8fafc 100%);
    border-bottom: 1px solid #f1f5f9;
}

.company-intro-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0;
}

.company-profile-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}


.company-profile-topline {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.25rem 1.25rem 1rem;
}

.company-profile-badges {
    margin-bottom: 0;
}

.company-profile-source {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.company-profile-grid {
    padding: 1.25rem;
}

.company-profile-main {
    min-width: 0;
}

.company-profile-label {
    margin-bottom: 0.65rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7e22ce;
}

.company-profile-title {
    max-width: 58rem;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.98;
    color: #020617;
}

/* Header bleibt ruhig; der lila Akzent liegt jetzt seriös im Suchbereich */
.header .btn-primary {
    border-radius: 0.875rem;
}

@media (min-width: 640px) {
    .company-intro-container {
        padding: 2rem 1.5rem 0;
    }

    .company-profile-topline {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem 1.5rem 1.125rem;
    }

    .company-profile-grid {
        padding: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .company-intro-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .company-profile-grid {
        padding: 2rem;
    }
}
