
:root { --primary: #10b981; --dark: #065f46; --bg: #ffffff; --text: #1e293b; --card-bg: #f8fafc; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', sans-serif; }
body { background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; margin: 0; padding: 0; display: flex; flex-direction: column; min-height: 100vh; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img, video { max-width: 100%; height: auto; display: block; border-radius: 8px; }

#page-loader { position: fixed; inset: 0; background: var(--bg); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease; }
.loader-spinner { width: 50px; height: 50px; border: 5px solid rgba(0,0,0,0.1); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#scroll-progress-container { position: fixed; top: 0; left: 0; width: 100%; height: 5px; z-index: 9998; background: rgba(0,0,0,0.05); }
#scroll-progress { height: 100%; background: var(--primary); width: 0%; transition: width 0.1s; }

.b-section { padding: 80px 0; width: 100%; position: relative; }
.b-section-sm { padding: 40px 0; width: 100%; position: relative; }
.b-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; position: relative; z-index: 2; }
.b-container-sm { max-width: 800px; margin: 0 auto; padding: 0 20px; width: 100%; position: relative; z-index: 2; }

.b-grid { display: grid; align-items: stretch; gap: 30px; }
.gap-sm { gap: 15px; } .gap-md { gap: 30px; } .gap-lg { gap: 50px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); } 
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.bg-dark { background: var(--dark); color: #fff; }
.bg-light { background: rgba(0,0,0,0.02); }
.bg-primary { background: var(--primary); color: #fff; }
.bg-image { background-size: cover; background-position: center; background-repeat: no-repeat; }
.overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.overlay-40 { background: rgba(0,0,0,0.4); } .overlay-70 { background: rgba(0,0,0,0.7); }
.text-white { color: #fff !important; }
.text-center { text-align: center; } .text-left { text-align: left; } .text-right { text-align: right; }

.b-h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.b-h2 { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.b-h3 { font-size: 1.5rem; margin-bottom: 10px; font-weight: 800; }
.b-p { font-size: 1.1rem; opacity: 0.8; margin-bottom: 20px; line-height: 1.8; }
.b-icon-atom { font-size: 40px; color: var(--primary); margin-bottom: 15px; display: inline-block; }

.b-btn { background: var(--primary); color: #fff !important; padding: 14px 32px; border-radius: 50px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; transition: 0.3s; }
.b-btn-out { background: transparent; color: inherit; border: 2px solid currentColor; padding: 12px 32px; border-radius: 50px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; transition: 0.3s; opacity:0.8; }
.b-btn:hover, .b-btn-out:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); opacity:1; }

.b-nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; width: 100%; }
.b-nav-brand { font-size: 1.8rem; font-weight: 800; color: inherit; display: flex; align-items: center; gap: 10px; }
.b-nav-brand img { max-height: 45px; width: auto; border-radius: 0; }
.b-nav-links { display: flex; gap: 24px; font-weight: 600; align-items: center;}
.b-nav-links a:hover { color: var(--primary); }
.b-footer-wrap { margin-top: auto; width: 100%; }

.b-card { background: var(--card-bg); padding: 40px 30px; border-radius: 24px; border: 1px solid rgba(0,0,0,0.04); transition: 0.3s; height: 100%; display: flex; flex-direction: column;}
.b-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: var(--primary); }
.b-img-box { border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); height: 100%; }
.b-img-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b-media-wrap { border-radius: 16px; overflow: hidden; }

/* CSS FIX FÜR RUNDE BILDER - !important zwingt sie dazu, rund zu bleiben */
.profile-img { width: 120px !important; height: 120px !important; border-radius: 50% !important; object-fit: cover !important; aspect-ratio: 1/1 !important; margin: 0 auto 15px; border: 4px solid var(--primary); display: block; }
.testi-avatar { width: 60px !important; height: 60px !important; border-radius: 50% !important; object-fit: cover !important; aspect-ratio: 1/1 !important; }

/* Formulare */
.b-input { width: 100%; padding: 14px 20px; border: 1px solid rgba(0,0,0,0.1); border-radius: 12px; margin-bottom: 15px; font-family: inherit; font-size: 1rem; outline: none; }
.b-input:focus { border-color: var(--primary); }

.animate { transform: translateY(30px); opacity: 0; transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.animate.visible { transform: translateY(0); opacity: 1; }
