/* ═══════════════════════════════════════════════════════
   Democenter.css
   ═══════════════════════════════════════════════════════ */

:root {
    --accent: #128c46;
    --accent-dark: #0a5c2e;
    --dark: #1a1a1a;
    --muted: #555;
    --light: #f2f3f4;
    --gray-mid: #e0e0e0;
    --white: #ffffff;
    --pad: 70px;
}

/* ══ HERO ══ */
.dc-hero {
    background: var(--light);
    padding: 60px var(--pad) 50px;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.dc-hero-inner { position: relative; z-index: 1; }

.dc-hero-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 20px;
}
.dc-hero-label::before {
    content: ''; width: 28px; height: 1.5px; background: var(--accent);
}

.dc-hero h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800; color: var(--dark);
    line-height: 1.15; letter-spacing: -0.02em;
    margin-bottom: 20px; margin-top: 0;
}

.dc-hero-text {
    font-size: 0.92rem; color: #444;
    line-height: 1.7; max-width: 100%;
    padding-left: 1.25rem;
    border-left: 2px solid var(--accent);
    margin-bottom: 1rem;
}
.dc-hero-text:last-child { margin-bottom: 0; }

/* ══ SECTION LABELS ══ */
.dc-section-label {
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--accent);
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 0.75rem;
}
.dc-section-label::before {
    content: ''; width: 20px; height: 1.5px; background: var(--accent);
}

.dc-section-heading {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-weight: 800; letter-spacing: -0.02em;
    line-height: 1.2; color: var(--dark);
    margin-bottom: 1.5rem;
}

/* ══ NUTZUNGSSZENARIEN ══ */
.dc-nutzung {
    background: var(--white);
    padding: 56px var(--pad);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.dc-nutzung-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.dc-nutzung-card {
    background: var(--light);
    border-radius: 14px;
    border-left: 3px solid var(--accent);
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dc-nutzung-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

.dc-nutzung-card h3 {
    font-size: 0.95rem; font-weight: 800;
    color: var(--dark); margin-bottom: 8px;
}

.dc-nutzung-card p {
    font-size: 0.82rem; color: var(--muted);
    line-height: 1.65;
}

/* ══ TAGUNGSRÄUME FOOTER (unter den Karten) ══ */
.dc-tagung-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.dc-tagung-footer p {
    font-size: 0.88rem; color: var(--muted);
    line-height: 1.65; max-width: 100%; margin: 0;
}

.dc-tagung-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0.85rem 1.8rem;
    background: var(--accent); color: var(--white);
    font-size: 0.82rem; font-weight: 700;
    text-decoration: none; border-radius: 8px;
    white-space: nowrap; flex-shrink: 0;
    transition: background 0.2s, transform 0.15s;
}
.dc-tagung-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* ══ GERÄTEVERLEIH ══ */
.dc-verleih {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 64px var(--pad);
    overflow: hidden;
}

.dc-verleih-overlay {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.dc-verleih-inner {
    position: relative; z-index: 1;
}

/* ── Geräteverleih Layout ── */
.verleih-section { position: relative; z-index: 1; }

.verleih-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.verleih-eyebrow {
    font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 0.75rem;
}
.verleih-eyebrow::before {
    content: ''; width: 20px; height: 1.5px;
    background: rgba(255,255,255,0.3);
}

.verleih-text h2 {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-weight: 800; color: var(--white);
    margin-bottom: 1rem; letter-spacing: -0.02em;
    margin-top: 0;
}

.verleih-text > p {
    font-size: 0.88rem; color: rgba(255,255,255,0.75);
    line-height: 1.7; margin-bottom: 1.25rem;
}

.verleih-mitglieder-badge {
    display: inline-flex; align-items: center;
    font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: #9EC5A8;
    background: rgba(158,197,168,0.12);
    border: 1px solid rgba(158,197,168,0.25);
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 1rem;
}

.btn-primary {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--white); color: var(--accent);
    font-size: 0.82rem; font-weight: 700;
    text-decoration: none; padding: 0.85rem 1.8rem;
    border-radius: 8px;
    transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #f0faf4; transform: translateY(-1px); }

/* Linke Spalte: nur Text + h2 aus CE, Geräteliste ausblenden */
.verleih-text .verleih-section { display: contents; }
.verleih-text .verleih-grid { display: contents; }
.verleih-text .geraete-list { display: none; }
.verleih-text h2 { display: none; } /* h2 kommt aus dem HTML wrapper */

/* Rechte Spalte: nur Geräteliste, Text ausblenden */
.verleih-geraete .verleih-section { display: contents; }
.verleih-geraete .verleih-grid { display: contents; }
.verleih-geraete .verleih-text { display: none; }

/* Text in linker Spalte kürzen */
.verleih-text p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.geraete-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.geraet-item {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 14px;
    display: flex; align-items: center; gap: 10px;
}

.geraet-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #9EC5A8;
    flex-shrink: 0;
}

.geraet-name {
    font-size: 0.82rem; font-weight: 700;
    color: var(--white); line-height: 1.3;
}

.geraet-type {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.45);
    margin-top: 2px;
}

/* ══ CTA ══ */
.dc-cta {
    background: var(--accent);
    padding: 70px var(--pad);
    position: relative; overflow: hidden;
}
.dc-cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 40% 60% at 90% 50%, rgba(255,255,255,0.08) 0%, transparent 55%);
}
.dc-cta-inner {
    position: relative; z-index: 1;
    display: flex; align-items: center;
    justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.dc-cta h2 {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-weight: 800; color: var(--white); line-height: 1.2;
}
.dc-cta p { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-top: 8px; }

.btn-white {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--white); color: var(--accent);
    font-size: 0.82rem; font-weight: 700;
    text-decoration: none; padding: 13px 28px;
    border-radius: 8px; white-space: nowrap;
    transition: background 0.2s, transform 0.15s; flex-shrink: 0;
}
.btn-white:hover { background: #f0faf4; transform: translateY(-2px); }

/* ══ RESPONSIVE ══ */
@media (max-width: 1400px) {
    :root { --pad: 40px; }
}
@media (max-width: 1024px) {
    .dc-nutzung-grid { grid-template-columns: 1fr; }
    .verleih-grid { grid-template-columns: 1fr; gap: 2rem; }
    .geraete-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    :root { --pad: 20px; }
    .dc-hero h1 { font-size: 1.6rem; }
    .dc-tagung-footer { flex-direction: column; align-items: flex-start; }
    .dc-tagung-btn { width: 100%; text-align: center; justify-content: center; }
    .dc-cta-inner { flex-direction: column; align-items: flex-start; }
    .geraete-list { grid-template-columns: 1fr; }
}