/* DESIGN SYSTEM & CI (Fluid & Responsive) */
:root {
    --primary-navy: #1A365D;       /* Das B2B-Behördenbrett: Seriös & Sicher */
    --accent-yellow: #FFDE00;      /* Match mit offiziellem IBA-M Gelb */
    --accent-orange: #ED8936;      /* Signal-Farbe: Aktivität & Gamification */
    --accent-green: #38A169;       /* Nachhaltigkeit & Zukunft */
    --bg-light: #F7FAFC;
    --text-dark: #2D3748;
    --white: #FFFFFF;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER & LOGO AREA */
.site-header {
    background-color: var(--white);
    padding: 25px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-block {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-navy);
    letter-spacing: -1.5px;
    margin: 0;
    line-height: 1;
}

.brand-sub {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.iba-logo-img {
    height: 95px;
    width: auto;
    display: block;
}

/* HERO SECTION */
.hero {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 70px 0 65px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin: 0 0 20px 0;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 35px auto;
    color: #E2E8F0;
    font-weight: 400;
}

.btn {
    display: inline-block;
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(237, 137, 54, 0.3);
    transition: transform 0.1s ease;
}

.btn:active {
    transform: scale(0.98);
}

/* STRATEGISCHES 3-SPALTEN-RASTER */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-navy);
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px auto;
    color: #718096;
    font-size: 1.1rem;
}

.grid {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
}

.col {
    flex: 1;
    background: var(--white);
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border-top: 4px solid var(--primary-navy);
}

.col h3 {
    color: var(--primary-navy);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
}

.col p {
    font-size: 1rem;
    color: #4A5568;
    margin: 0 0 12px 0;
}

.col p:last-child {
    margin-bottom: 0;
}

/* SLIDESHOW / GALERIE BEREICH (Pure CSS) */
.gallery-section {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.gallery-section h3 {
    color: var(--primary-navy);
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.gallery-section p {
    color: #718096;
    margin-bottom: 30px;
}

.slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.slider {
    display: flex;
    aspect-ratio: 16 / 9;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 8px;
    -webkit-overflow-scrolling: touch;
}

.slider::-webkit-scrollbar {
    height: 8px;
}
.slider::-webkit-scrollbar-thumb {
    background: #CBD5E0;
    border-radius: 4px;
}

.slider img {
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
    background-color: #EDF2F7;
}

.slider-nav {
    display: flex;
    column-gap: 10px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.slider-nav a {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0,0,0,0.2);
    transition: background-color 0.2s ease;
}

.slider-nav a:hover {
    background-color: var(--accent-orange);
}

/* WIR IN AKTION SECTION & EVENT BLOCK */
.action-box {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    gap: 40px;
    align-items: center;
    border-left: 5px solid var(--accent-orange);
}

.action-text {
    flex: 1.3;
}

.placeholder-banner {
    flex: 0.7;
    height: 240px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2B6CB0 100%);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 20px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
    border: 1px solid #E2E8F0;
}

.placeholder-banner .event-date {
    background: var(--accent-orange);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.placeholder-banner h4 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
}

.placeholder-banner p {
    margin: 0;
    font-size: 0.85rem;
    color: #90CDF4;
}

/* AUTOMATED VIDEO REPORTING SECTION */
.video-box {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    gap: 40px;
    align-items: center;
}

.video-text {
    flex: 1;
}

.video-container {
    flex: 1;
    position: relative;
    padding-bottom: 28.125%;
    height: 0;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* VALUES & GAMIFICATION HIGHLIGHT */
.highlight-box {
    background-color: #EBF8FF;
    border: 1px solid #BEE3F8;
    border-radius: 8px;
    padding: 40px;
    margin: 40px 0;
}

.highlight-box h3 {
    color: var(--primary-navy);
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.highlight-inner {
    display: flex;
    gap: 40px;
    align-items: center;
}

.highlight-text {
    flex: 2;
}

.highlight-stat {
    flex: 1;
    background: var(--white);
    padding: 25px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    border: 1px solid #E2E8F0;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-green);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.85rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
    display: block;
}

/* TECH-SPEC & REGULATORY ACCORDION */
.info-card {
    background: #EDF2F7;
    border-radius: 8px;
    padding: 35px;
    margin-top: 5px;
}

.info-card h4 {
    color: var(--primary-navy);
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 20px;
}

.tech-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tech-list li {
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
    color: #4A5568;
}

.tech-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-green);
    font-weight: bold;
}

/* SCHNELLES KONTAKTFORMULAR BEREICH */
.contact-section {
    background-color: var(--primary-navy);
    color: var(--white);
    border-radius: 8px;
    padding: 45px;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(26, 54, 93, 0.15);
}

.contact-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--white);
}

.contact-info p {
    color: #E2E8F0;
    margin-bottom: 20px;
}

.contact-form {
    flex: 1.2;
    background: var(--white);
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #CBD5E0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(237, 137, 54, 0.15);
}

.form-btn {
    width: 100%;
    background-color: var(--accent-orange);
    color: var(--white);
    border: none;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(237, 137, 54, 0.2);
}

.form-btn:active {
    transform: scale(0.99);
}

/* FOOTER */
.footer {
    background-color: var(--primary-navy);
    color: #A0AEC0;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #2D3748;
}

.footer a {
    color: #CBD5E0;
    text-decoration: underline;
}

/* RESPONSIVE BREAKPOINTS */
@media screen and (max-width: 900px) {
    .grid, .contact-grid { flex-direction: column; gap: 30px; }
    .action-box, .video-box { flex-direction: column; gap: 24px; padding: 25px 20px; }
    .placeholder-banner { width: 100%; height: 200px; }
    .video-container { padding-bottom: 56.25%; width: 100%; }
    .highlight-inner { flex-direction: column; gap: 24px; }
    .tech-list { grid-template-columns: 1fr; gap: 15px; }
    .contact-info, .contact-form { width: 100%; }
}

@media screen and (max-width: 600px) {
    .header-wrap { flex-direction: column; gap: 20px; text-align: center; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    .section-title { font-size: 1.7rem; }
    .col { padding: 25px 20px; }
    .highlight-box { padding: 25px 20px; }
    .contact-section { padding: 25px 20px; }
}

/* IMPRINT & PRIVACY LEGAL CONTENT STYLES */
.imprint-content, .privacy-content {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    margin: 40px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    max-width: 800px;
}
.imprint-content h1, .privacy-content h1 {
    color: var(--primary-navy);
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 800;
    border-bottom: 3px solid var(--accent-orange);
    padding-bottom: 10px;
}
.imprint-content h2, .privacy-content h2 {
    color: var(--primary-navy);
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}
.imprint-content h3, .privacy-content h3 {
    color: var(--primary-navy);
    font-size: 1.15rem;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}
.imprint-content p, .privacy-content p, .imprint-content ul, .privacy-content ul {
    color: #4A5568;
    margin-bottom: 15px;
}
.imprint-content ul, .privacy-content ul {
    padding-left: 20px;
}
.imprint-content li, .privacy-content li {
    margin-bottom: 5px;
}