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

:root {
    --primary: #185FA5;
    --primary-light: #E6F1FB;
    --primary-dark: #0C447C;
    --text: #1a1a1a;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --bg: #ffffff;
    --bg-secondary: #f9fafb;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text); line-height: 1.7; background: var(--bg); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); padding: 0 32px; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { font-size: 20px; font-weight: 700; color: var(--text); }
.nav-logo span { color: var(--primary); }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; font-weight: 500; }
.nav-menu a:hover { color: var(--text); }
.nav-btn { padding: 8px 20px; border: 1.5px solid var(--primary); border-radius: var(--radius); font-size: 14px; color: var(--primary) !important; font-weight: 600 !important; transition: all 0.2s !important; }
.nav-btn:hover { background: var(--primary) !important; color: white !important; }

/* BUTTONS */
.btn-primary { display: inline-block; padding: 13px 30px; background: var(--primary); color: white; border-radius: var(--radius); font-size: 15px; font-weight: 600; transition: background 0.2s; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--primary-dark); color: white; }
.btn-secondary { display: inline-block; padding: 13px 30px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 15px; color: var(--text); font-weight: 500; transition: all 0.2s; }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { display: inline-block; padding: 13px 30px; background: white; color: var(--primary); border-radius: var(--radius); font-size: 15px; font-weight: 700; transition: opacity 0.2s; margin: 0 8px; }
.btn-white:hover { opacity: 0.9; }
.btn-outline-white { display: inline-block; padding: 13px 30px; border: 2px solid rgba(255,255,255,0.6); color: white; border-radius: var(--radius); font-size: 15px; font-weight: 500; margin: 0 8px; transition: background 0.2s; }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); color: white; }

/* CONTAINER */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* IMAGE PLACEHOLDERS */
.img-placeholder { background: linear-gradient(135deg, #e8f0fe 0%, #d0e4f7 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: var(--radius-lg); color: var(--primary); font-size: 13px; font-weight: 500; gap: 8px; }
.img-placeholder .placeholder-icon { font-size: 36px; opacity: 0.6; }
.img-placeholder span { opacity: 0.7; }

/* HERO */
.hero { padding: 0; position: relative; overflow: hidden; min-height: 620px; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0C447C 0%, #185FA5 50%, #2d7dd2 100%); }
.hero-bg-img { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; opacity: 0.15; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,68,124,0.95) 0%, rgba(24,95,165,0.7) 60%, transparent 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 96px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; width: 100%; }
.hero-text { color: white; }
.hero-badge { display: inline-block; padding: 5px 14px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: white; border-radius: 20px; font-size: 13px; font-weight: 500; margin-bottom: 24px; backdrop-filter: blur(4px); }
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.15; color: white; margin-bottom: 20px; }
.hero h1 span { color: #93c5fd; }
.hero p { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 36px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img-area { display: flex; flex-direction: column; gap: 16px; }
.hero-main-img { height: 320px; border-radius: var(--radius-xl); overflow: hidden; border: 2px solid rgba(255,255,255,0.2); }
.hero-main-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-main-img .img-placeholder { height: 100%; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); border-radius: var(--radius-xl); }
.hero-img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-small-img { height: 140px; border-radius: var(--radius-lg); overflow: hidden; border: 2px solid rgba(255,255,255,0.2); }
.hero-small-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-small-img .img-placeholder { height: 100%; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); border-radius: var(--radius-lg); }

/* STATS */
.stats { padding: 48px 32px; background: white; border-bottom: 1px solid var(--border); }
.stats-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; text-align: center; }
.stat-number { font-size: 38px; font-weight: 800; color: var(--primary); display: block; }
.stat-label { font-size: 14px; color: var(--text-muted); font-weight: 500; }

/* VIDEO SECTION */
.video-section { padding: 80px 32px; background: #0f172a; }
.video-section h2 { font-size: 30px; font-weight: 700; text-align: center; color: white; margin-bottom: 12px; }
.video-section p { text-align: center; color: #94a3b8; margin-bottom: 48px; font-size: 16px; }
.video-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.video-main { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: #1e293b; aspect-ratio: 16/9; }
.video-main video { width: 100%; height: 100%; object-fit: cover; }
.video-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, #1e3a5f, #2d5f8a); color: white; gap: 12px; cursor: pointer; transition: background 0.2s; }
.video-placeholder:hover { background: linear-gradient(135deg, #2d5f8a, #1e3a5f); }
.play-btn { width: 64px; height: 64px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; border: 2px solid rgba(255,255,255,0.4); }
.video-placeholder span { font-size: 14px; opacity: 0.8; }
.video-side { display: flex; flex-direction: column; gap: 20px; }
.video-thumb { border-radius: var(--radius-lg); overflow: hidden; background: #1e293b; aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #94a3b8; gap: 8px; cursor: pointer; transition: background 0.2s; }
.video-thumb:hover { background: #2d3748; }
.video-thumb .play-btn-sm { width: 40px; height: 40px; background: rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.video-thumb span { font-size: 12px; }

/* SERVICES */
.services-section { padding: 80px 32px; }
.section-tag { display: block; text-align: center; color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: 32px; font-weight: 800; text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--text-muted); font-size: 16px; margin-bottom: 56px; max-width: 560px; margin-left: auto; margin-right: auto; }
.services-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.service-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.service-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); transform: translateY(-4px); }
.service-card-img { height: 200px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-img .img-placeholder { height: 100%; }
.service-card-body { padding: 24px; }
.service-icon { width: 44px; height: 44px; background: var(--primary-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 20px; }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* REFERENZEN */
.referenzen-section { padding: 80px 32px; background: var(--bg-secondary); }
.partners-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.partner-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: box-shadow 0.2s; }
.partner-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.partner-logo { width: 80px; height: 80px; border-radius: var(--radius); overflow: hidden; }
.partner-logo img { width: 100%; height: 100%; object-fit: contain; }
.partner-logo .img-placeholder { height: 80px; width: 80px; font-size: 10px; }
.partner-card span { font-size: 13px; font-weight: 600; color: var(--text-muted); text-align: center; }

/* PROJEKTE / ERGEBNISSE */
.projekte-section { padding: 80px 32px; }
.projekte-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.projekt-card { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); background: white; }
.projekt-img { height: 220px; overflow: hidden; }
.projekt-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.projekt-card:hover .projekt-img img { transform: scale(1.05); }
.projekt-img .img-placeholder { height: 220px; }
.projekt-body { padding: 20px; }
.projekt-tag { display: inline-block; padding: 3px 10px; background: var(--primary-light); color: var(--primary); border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.projekt-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.projekt-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* PUBLIKATIONEN */
.publikationen-section { padding: 80px 32px; background: var(--bg-secondary); }
.pub-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.pub-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow 0.2s; }
.pub-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.pub-img { height: 180px; overflow: hidden; }
.pub-img img { width: 100%; height: 100%; object-fit: cover; }
.pub-img .img-placeholder { height: 180px; }
.pub-body { padding: 20px; }
.pub-type { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.pub-type.patent { background: #fef3c7; color: #92400e; }
.pub-type.publikation { background: #d1fae5; color: #065f46; }
.pub-type.bericht { background: #e0e7ff; color: #3730a3; }
.pub-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; line-height: 1.4; }
.pub-body p { font-size: 13px; color: var(--text-muted); }

/* TEAM */
.team-section { padding: 80px 32px; }
.team-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.team-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; text-align: center; transition: box-shadow 0.2s; }
.team-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.team-card-img { height: 220px; overflow: hidden; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-card-img .img-placeholder { height: 220px; font-size: 14px; }
.team-card-body { padding: 20px; }
.team-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.team-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* CTA */
.cta-section { padding: 96px 32px; text-align: center; background: linear-gradient(135deg, #0C447C 0%, #185FA5 100%); color: white; }
.cta-section h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 18px; opacity: 0.85; margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* PAGE HERO */
.page-hero { padding: 72px 32px 56px; text-align: center; background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 17px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* KONTAKT */
.kontakt-section { padding: 80px 32px; }
.kontakt-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.kontakt-info h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.kontakt-info p { color: var(--text-muted); margin-bottom: 32px; }
.kontakt-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.kontakt-detail-icon { width: 42px; height: 42px; background: var(--primary-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.kontakt-detail h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.kontakt-detail p { font-size: 14px; color: var(--text-muted); margin: 0; }
.kontakt-form { background: var(--bg-secondary); border-radius: var(--radius-xl); padding: 40px; }
.kontakt-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 14px; background: white; font-family: inherit; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* LEISTUNGEN DETAIL */
.leistungen-section { padding: 80px 32px; }
.leistung-item { max-width: 1200px; margin: 0 auto 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.leistung-item.reverse { direction: rtl; }
.leistung-item.reverse > * { direction: ltr; }
.leistung-content h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.leistung-content p { font-size: 15px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.7; }
.leistung-list { margin-top: 20px; }
.leistung-list li { font-size: 14px; color: var(--text-muted); padding: 8px 0 8px 24px; position: relative; border-bottom: 1px solid var(--border); }
.leistung-list li:last-child { border-bottom: none; }
.leistung-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.leistung-img { border-radius: var(--radius-xl); overflow: hidden; height: 380px; }
.leistung-img img { width: 100%; height: 100%; object-fit: cover; }
.leistung-img .img-placeholder { height: 380px; }

/* FOOTER */
.footer { background: #0f172a; color: white; padding: 64px 32px 24px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo { color: white; font-size: 22px; }
.footer-brand .nav-logo span { color: #60a5fa; }
.footer-brand p { font-size: 14px; color: #94a3b8; margin-top: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 18px; color: white; }
.footer-col a { display: block; font-size: 14px; color: #94a3b8; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid #1e293b; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; color: #64748b; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr; }
    .hero-img-area { display: none; }
    .hero h1 { font-size: 32px; }
    .leistung-item { grid-template-columns: 1fr; }
    .leistung-item.reverse { direction: ltr; }
    .kontakt-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .nav-menu { display: none; }
}
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
