:root {
    --primary: #4d589d;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #fbfbfb;
    --dark: #000000;
    --text: #4d589d;
    --text-light: #7f8c8d;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: var(--text); line-height: 1.6; overflow-x: hidden; }
html, body { overflow-x: hidden; max-width: 100vw; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
img { max-width: 100%; height: auto; display: block; }

header { background: rgba(255,255,255,0.8); backdrop-filter: saturate(180%) blur(15px); -webkit-backdrop-filter: saturate(180%) blur(15px); color: #4d589d; padding: 1rem 0; position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 1px 0 rgba(255,255,255,0.1); transition: all 0.5s cubic-bezier(0.28,0.11,0.32,1); }
header.scrolled { padding: 0.7rem 0; background: rgba(255,255,255,0.8); }
nav { display: flex; justify-content: space-between; align-items: center; }
.main-nav { position: relative; }
.logo { font-family: 'Roboto Condensed', sans-serif; font-size: 1.8rem; font-weight: 900; letter-spacing: -0.5px; z-index: 1001; transition: opacity 0.3s cubic-bezier(0.28,0.11,0.32,1); cursor: pointer; }
.logo:hover { opacity: 0.7; }
.nav-links { display: flex; gap: 2rem; list-style: none; transition: all 0.3s ease; align-items: center; }
.nav-links li { position: relative; }
.nav-links a { color: rgba(77,88,157,0.98); text-decoration: none; font-weight: 400; font-size: 0.95rem; position: relative; display: inline-block; transition: color 0.3s cubic-bezier(0.28,0.11,0.32,1); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%) scaleX(0); width: 100%; height: 1px; background: white; transition: transform 0.3s cubic-bezier(0.28,0.11,0.32,1); }
.nav-links a:hover { color: rgba(77,88,157,0.98); }
.nav-links a:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-links li.has-submenu { position: relative; }
.nav-parent { background: transparent; border: none; color: rgba(77,88,157,0.98); font: inherit; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 0.3rem; position: relative; transition: color 0.3s cubic-bezier(0.28,0.11,0.32,1); }
.nav-parent::after { content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%) scaleX(0); width: 100%; height: 1px; background: white; transition: transform 0.3s cubic-bezier(0.28,0.11,0.32,1); }
.nav-parent:hover { color: rgba(77,88,157,0.98); }
.nav-parent:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-caret { font-size: 0.75rem; }
.submenu { position: absolute; top: 120%; left: 0; min-width: 230px; background: rgba(77,88,157,0.98); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: 10px; padding: 0.75rem 0; box-shadow: 0 10px 40px rgba(0,0,0,0.25); list-style: none; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.25s cubic-bezier(0.28,0.11,0.32,1); z-index: 1500; }
.submenu li { padding: 0; }
.submenu a { display: block; padding: 0.5rem 1.25rem; color: rgba(255,255,255,0.92); text-decoration: none; font-size: 0.9rem; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; }
.submenu a:hover { background: rgba(255,255,255,0.12); color: #ffffff; }
@media (min-width: 769px) { .nav-links li.has-submenu:hover > .submenu { opacity: 1; visibility: visible; transform: translateY(0); } }
.menu-toggle { display: none; flex-direction: column; cursor: pointer; z-index: 1001; }
.menu-toggle span { width: 25px; height: 2px; background: #4d589d; margin: 4px 0; transition: all 0.3s cubic-bezier(0.28,0.11,0.32,1); border-radius: 2px; }
.menu-toggle:hover span { background: #4d589d; }
.menu-toggle.active span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

.hero { margin-top: 0; position: relative; height: 100vh; min-height: 600px; max-height: 900px; overflow: hidden; }
.hero-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 2s cubic-bezier(0.28,0.11,0.32,1); transform: scale(1); }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/*.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(77,88,157,0.65) 0%, rgba(59,68,128,0.45) 0%); z-index: 1; }*/
.hero-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: white; z-index: 2; width: 90%; max-width: 1000px; display: flex; flex-direction: column; align-items: center; gap: 0; }
.hero-content > * { margin: 0; }
.hero h1 { font-family: 'Roboto Condensed', sans-serif; font-size: 4rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; opacity: 0; animation: fadeInUp 1.2s cubic-bezier(0.28,0.11,0.32,1) 0.2s forwards; margin-bottom: 1.5rem !important; }
.hero h1 span { background: rgba(77, 88, 157, 0.85); padding: 0.3rem 1rem; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-quote { font-size: 1.8rem; font-style: italic; font-weight: 300; opacity: 0; animation: fadeInUp 1.2s cubic-bezier(0.28,0.11,0.32,1) 0.4s forwards; margin-bottom: 1.5rem !important; background: rgba(77, 88, 157, 0.85); display: inline-block; padding: 0.3rem 1rem; }
.hero-subtitle { font-size: 0.9rem; font-weight: 300; opacity: 0; animation: fadeInUp 1.2s cubic-bezier(0.28,0.11,0.32,1) 0.6s forwards; margin-bottom: 2rem !important; background: rgba(77, 88, 157, 0.85); display: inline-block; padding: 0.3rem 1rem; }
.cta-button { display: inline-block; background: rgba(77, 88, 157, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: white; padding: 1rem 2.5rem; text-decoration: none; border-radius: 980px; font-weight: 400; font-size: 1.05rem; border: 1px solid rgba(77, 88, 157, 0.3); transition: all 0.4s cubic-bezier(0.28,0.11,0.32,1); opacity: 0; animation: fadeInUp 1.2s cubic-bezier(0.28,0.11,0.32,1) 0.8s forwards; }
.cta-button:hover { background: rgba(77, 88, 157, 0.9); border-color: rgba(77, 88, 157, 0.5); transform: scale(1.02); }
.cta-button:active { transform: scale(0.98); }
.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 3; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.4s cubic-bezier(0.28,0.11,0.32,1); }
.slider-dot:hover { background: rgba(255,255,255,0.6); transform: scale(1.2); }
.slider-dot.active { background: rgba(255,255,255,0.95); transform: scale(1.25); }

section { padding: 6rem 0; opacity: 0; transform: translateY(20px); transition: all 1s cubic-bezier(0.28,0.11,0.32,1); }
section.visible { opacity: 1; transform: translateY(0); }
.section-title { font-family: 'Roboto Condensed', sans-serif; font-size: 3rem; font-weight: 700; margin-bottom: 3rem; text-align: center; color: var(--primary); position: relative; display: inline-block; width: 100%; letter-spacing: -0.02em; }
.section-title::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--secondary); border-radius: 2px; opacity: 0; animation: fadeIn 0.8s cubic-bezier(0.28,0.11,0.32,1) 0.3s forwards; }
@keyframes fadeIn { to { opacity: 1; } }

.about { background: white; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 4rem; }
.about-image { width: 100%; height: 400px; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: all 0.6s cubic-bezier(0.28,0.11,0.32,1); }
.about-image:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.12); transform: translateY(-4px); }
.about-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.28,0.11,0.32,1); }
.about-image:hover img { transform: scale(1.05); }
.about-text h3 { font-family: 'Roboto Condensed', sans-serif; font-size: 2rem; font-weight: 600; margin-bottom: 1.5rem; color: var(--primary); letter-spacing: -0.01em; }
.about-text p { margin-bottom: 1.5rem; color: var(--text-light); font-size: 1.1rem; line-height: 1.7; }

.philosophy { background: white; }
.philosophy-content { max-width: 900px; margin: 0 auto; text-align: center; }
.philosophy-quote { font-family: 'Roboto Condensed', sans-serif; font-size: 2.5rem; font-weight: 300; font-style: italic; color: var(--primary); margin-bottom: 2rem; line-height: 1.4; letter-spacing: -0.01em; }
.philosophy-text { font-size: 1.2rem; color: var(--text-light); line-height: 1.8; margin-bottom: 1.5rem; font-weight: 300; }

.services { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 4rem; }
.service-card { background: white; padding: 2.5rem; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: all 0.5s cubic-bezier(0.28,0.11,0.32,1); border: 1px solid rgba(0,0,0,0.04); text-decoration: none; color: inherit; display: block; }
.service-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-6px); border-color: rgba(0,0,0,0.06); }
.service-card h3, .service-card p { text-decoration: none; }
.service-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; transition: all 0.5s cubic-bezier(0.28,0.11,0.32,1); }
.service-card:hover .service-icon { transform: translateY(-2px); }
.service-icon svg { width: 32px; height: 32px; fill: white; transition: transform 0.4s cubic-bezier(0.28,0.11,0.32,1); }
.service-card:hover .service-icon svg { transform: rotate(360deg); }
.service-card h3 { font-family: 'Roboto Condensed', sans-serif; font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; color: var(--primary); letter-spacing: -0.01em; }
.service-card p { color: var(--text-light); line-height: 1.7; font-weight: 300; }

.founder { background: var(--light); }
.founder-content { max-width: 1000px; margin: 0 auto; background: white; border-radius: 16px; padding: 3rem; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.5s cubic-bezier(0.28,0.11,0.32,1); }
.founder-content:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.founder-grid { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: start; }
.founder-photo-wrapper { text-align: center; }
.founder-photo-image { width: 100%; height: 400px; border-radius: 12px; overflow: hidden; margin: 0 auto 1.5rem; box-shadow: 0 8px 30px rgba(0,0,0,0.12); transition: all 0.5s cubic-bezier(0.28,0.11,0.32,1); background: var(--light); }
.founder-photo-image:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.16); transform: translateY(-4px); }
.founder-photo-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.28,0.11,0.32,1); }
.founder-photo-image:hover img { transform: scale(1.05); }
.founder-name { font-family: 'Roboto Condensed', sans-serif; font-size: 1.8rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--primary); letter-spacing: -0.01em; }
.founder-title { color: var(--secondary); font-weight: 400; font-size: 1.1rem; }
.founder-bio h3 { font-family: 'Roboto Condensed', sans-serif; font-size: 1.8rem; font-weight: 600; margin-bottom: 1.5rem; color: var(--primary); letter-spacing: -0.01em; }
.founder-bio p { margin-bottom: 1.2rem; color: var(--text-light); line-height: 1.8; font-size: 1.05rem; font-weight: 300; }

.gallery { background: white; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 4rem; }
.gallery-item { border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.5s cubic-bezier(0.28,0.11,0.32,1); cursor: default; }
.gallery-item:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.12); transform: translateY(-4px); }
.gallery-item img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.5s cubic-bezier(0.28,0.11,0.32,1); }
.gallery-item:hover img { transform: scale(1.05); }

.references { background: white; }
.references-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 1.5rem; margin-top: 4rem; }
.reference-card { background: var(--light); padding: 2rem; border-radius: 12px; border-left: 3px solid var(--secondary); transition: all 0.4s cubic-bezier(0.28,0.11,0.32,1); }
.reference-card:hover { transform: translateX(4px); box-shadow: 0 4px 20px rgba(0,0,0,0.06); border-left-color: var(--accent); }
.reference-card h4 { font-family: 'Roboto Condensed', sans-serif; font-size: 1.3rem; font-weight: 600; margin-bottom: 1rem; color: var(--primary); letter-spacing: -0.01em; }
.reference-details { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0.5rem; font-weight: 300; }

/* REFERENZEN GRID */
.ref-overview { padding: 5rem 0; background: white; }
.ref-overview h2 { font-family: 'Roboto Condensed', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--primary); margin-bottom: 1.5rem; text-align: center; letter-spacing: -0.02em; }
.ref-overview > .container > p { text-align: center; color: var(--text-light); font-size: 1.1rem; font-weight: 300; max-width: 700px; margin: 0 auto 3rem; line-height: 1.7; }
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ref-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.5s cubic-bezier(0.28,0.11,0.32,1); display: block; text-decoration: none; }
.ref-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.15); transform: translateY(-6px); }
.ref-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.28,0.11,0.32,1); }
.ref-card:hover img { transform: scale(1.08); }
.ref-card-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem 1.5rem 1.5rem; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%); opacity: 0; transition: opacity 0.4s cubic-bezier(0.28,0.11,0.32,1); display: flex; flex-direction: column; justify-content: flex-end; }
.ref-card:hover .ref-card-overlay { opacity: 1; }
.ref-card-overlay h3 { font-family: 'Roboto Condensed', sans-serif; font-size: 1.2rem; font-weight: 600; color: white; margin-bottom: 0.3rem; letter-spacing: -0.01em; }
.ref-card-overlay span { font-size: 0.85rem; color: rgba(255,255,255,0.75); font-weight: 300; }

/* REFERENZEN DETAIL */
.ref-detail { padding: 5rem 0; background: white; }
.ref-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.ref-detail-image { width: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: all 0.6s cubic-bezier(0.28,0.11,0.32,1); }
.ref-detail-image:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.12); transform: translateY(-4px); }
.ref-detail-image img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s cubic-bezier(0.28,0.11,0.32,1); }
.ref-detail-image:hover img { transform: scale(1.03); }
.ref-detail-text h2 { font-family: 'Roboto Condensed', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--primary); margin-bottom: 1.5rem; letter-spacing: -0.02em; line-height: 1.25; }
.ref-detail-text p { font-size: 1.05rem; line-height: 1.85; color: var(--text-light); margin-bottom: 1.2rem; font-weight: 300; }
.ref-facts { margin-top: 2.5rem; background: #fbfbfb; border-radius: 12px; padding: 2rem; border-left: 3px solid var(--secondary); }
.ref-facts h3 { font-family: 'Roboto Condensed', sans-serif; font-size: 1.3rem; font-weight: 600; color: var(--primary); margin-bottom: 1.2rem; }
.ref-facts-table { width: 100%; }
.ref-facts-row { display: flex; padding: 0.6rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); gap: 1rem; }
.ref-facts-row:last-child { border-bottom: none; }
.ref-facts-label { font-weight: 600; color: var(--primary); font-size: 0.95rem; min-width: 140px; flex-shrink: 0; }
.ref-facts-value { color: var(--text-light); font-size: 0.95rem; font-weight: 300; line-height: 1.6; }
.ref-facts-value ul { list-style: none; padding: 0; margin: 0; }
.ref-facts-value ul li { padding: 0.15rem 0; }
.ref-facts-value ul li::before { content: '–'; color: var(--secondary); margin-right: 0.5rem; }
.ref-back { margin-top: 3rem; }
.ref-back a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: all 0.3s ease; }
.ref-back a:hover { color: var(--secondary); gap: 0.75rem; }
.ref-back a svg { width: 18px; height: 18px; fill: currentColor; }

/* NACHHALTIGKEIT */
.nh-section { padding: 5rem 0; background: white; }
.nh-section:nth-child(even) { background: #fbfbfb; }
.nh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.nh-grid.reversed .nh-image { order: 2; }
.nh-grid.reversed .nh-text { order: 1; }
.nh-image { width: 100%; height: 400px; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: all 0.6s cubic-bezier(0.28,0.11,0.32,1); }
.nh-image:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.12); transform: translateY(-4px); }
.nh-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.28,0.11,0.32,1); }
.nh-image:hover img { transform: scale(1.05); }
.nh-text h2 { font-family: 'Roboto Condensed', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.nh-text .nh-subtitle { font-family: 'Roboto Condensed', sans-serif; font-size: 1.3rem; font-weight: 300; font-style: italic; color: var(--secondary); margin-bottom: 1.5rem; }
.nh-text p { font-size: 1.05rem; line-height: 1.85; color: var(--text-light); margin-bottom: 1.2rem; font-weight: 300; }

/* CONTACT */
.contact { background: #4d589d; color: white; }
.contact-content { text-align: center; max-width: 800px; margin: 0 auto; }
.contact h2 { font-family: 'Roboto Condensed', sans-serif; font-size: 3rem; font-weight: 600; margin-bottom: 2rem; letter-spacing: -0.02em; }
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.contact-item { background: rgba(255,255,255,0.08); padding: 2rem; border-radius: 12px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: all 0.4s cubic-bezier(0.28,0.11,0.32,1); border: 1px solid rgba(255,255,255,0.1); }
.contact-item:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); border-color: rgba(255,255,255,0.2); }
.contact-item h4 { font-size: 1.2rem; font-weight: 500; margin-bottom: 1rem; }
.contact-item p { opacity: 0.9; font-size: 1.05rem; font-weight: 300; }
.contact-item a { color: white; text-decoration: none; transition: opacity 0.3s cubic-bezier(0.28,0.11,0.32,1); }
.contact-item a:hover { opacity: 0.7; }

footer { background: var(--dark); color: white; padding: 3rem 0 2rem; text-align: center; }
footer p { opacity: 0.9; margin-bottom: 1rem; font-weight: 300; transition: opacity 0.3s cubic-bezier(0.28,0.11,0.32,1); }
footer p:hover { opacity: 1; }
footer a { color: #ffffff; text-decoration: none; opacity: 0.95; transition: opacity 0.3s cubic-bezier(0.28,0.11,0.32,1); }
footer a:hover { opacity: 1; }

.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px; background: var(--primary); color: white; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 999; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.4s cubic-bezier(0.28,0.11,0.32,1); box-shadow: 0 4px 15px rgba(77,88,157,0.3); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--dark); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(77,88,157,0.4); }
.back-to-top svg { width: 22px; height: 22px; fill: white; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tabFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; background: linear-gradient(90deg, var(--secondary), var(--accent)); z-index: 9999; transition: width 0.1s linear; }

/* UNTERSEITEN */
.page-hero { margin-top: 0; position: relative; height: 45vh; min-height: 350px; max-height: 500px; overflow: hidden; display: flex; align-items: center; justify-content: center; opacity: 1 !important; transform: none !important; }
.page-hero img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(77,88,157,0.75) 0%, rgba(59,68,128,0.55) 1%); z-index: 1; }
.page-hero-content { position: relative; z-index: 2; text-align: center; color: white; padding: 0 2rem; }
.page-hero-content h1 { font-family: 'Roboto Condensed', sans-serif; font-size: 3.5rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.02em; opacity: 0; animation: fadeInUp 1.2s cubic-bezier(0.28,0.11,0.32,1) 0.2s forwards; }
.page-hero-content p { font-size: 1.2rem; font-weight: 300; max-width: 700px; margin: 0 auto; opacity: 0; animation: fadeInUp 1.2s cubic-bezier(0.28,0.11,0.32,1) 0.4s forwards; }
.breadcrumb { position: absolute; bottom: 0; left: 0; width: 100%; z-index: 3; background: rgba(0,0,0,0.15); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 0.8rem 0; }
.breadcrumb-inner { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.breadcrumb-inner a { color: rgba(255,255,255,0.9); text-decoration: none; transition: opacity 0.3s ease; }
.breadcrumb-inner a:hover { opacity: 0.7; }
.breadcrumb-inner span.separator { color: rgba(255,255,255,0.5); }
.breadcrumb-inner span.current { color: rgba(255,255,255,0.65); }

.fb-intro { background: white; padding: 5rem 0; }
.fb-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.fb-intro-image { width: 100%; height: 380px; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: all 0.6s cubic-bezier(0.28,0.11,0.32,1); }
.fb-intro-image:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.12); transform: translateY(-4px); }
.fb-intro-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.28,0.11,0.32,1); }
.fb-intro-image:hover img { transform: scale(1.05); }
.fb-intro-text h2 { font-family: 'Roboto Condensed', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--primary); margin-bottom: 2rem; letter-spacing: -0.02em; }
.fb-intro-text p { font-size: 1.1rem; line-height: 1.8; color: var(--text-light); margin-bottom: 1.5rem; font-weight: 300; }

.fb-tabs-section { padding: 5rem 0; background: #fbfbfb; }
.fb-tabs-section h2 { font-family: 'Roboto Condensed', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--primary); margin-bottom: 3rem; text-align: center; letter-spacing: -0.02em; }
.fb-tabs-wrapper { max-width: 1100px; margin: 0 auto; background: white; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); overflow: hidden; }
.fb-tabs-nav { display: flex; flex-wrap: wrap; background: var(--primary); padding: 0; gap: 0; overflow: hidden; }
.fb-tab-btn { flex: 1 1 auto; min-width: 180px; padding: 1.1rem 1.2rem; background: transparent; border: none; color: rgba(255,255,255,0.7); font-family: 'Roboto Condensed', sans-serif; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.3s cubic-bezier(0.28,0.11,0.32,1); position: relative; text-align: center; letter-spacing: 0.01em; }
.fb-tab-btn:hover { color: rgba(255,255,255,0.95); background: rgba(255,255,255,0.08); }
.fb-tab-btn.active { color: white; background: rgba(255,255,255,0.12); }
.fb-tab-btn.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 3px; background: white; border-radius: 3px 3px 0 0; }
.fb-tabs-content { padding: 3rem; }
.fb-tab-panel { display: none; animation: tabFadeIn 0.5s cubic-bezier(0.28,0.11,0.32,1); }
.fb-tab-panel.active { display: block; }
.fb-tab-panel h3 { font-family: 'Roboto Condensed', sans-serif; font-size: 1.8rem; font-weight: 600; color: var(--primary); margin-bottom: 1.5rem; letter-spacing: -0.01em; }
.fb-tab-panel p { font-size: 1.05rem; line-height: 1.85; color: var(--text-light); margin-bottom: 1.2rem; font-weight: 300; }
.fb-tab-panel ul { margin: 1rem 0 1.2rem 1.5rem; color: var(--text-light); font-weight: 300; font-size: 1.05rem; line-height: 1.85; }
.fb-tab-panel ul li { margin-bottom: 0.4rem; padding-left: 0.3rem; }
.fb-tab-panel ul li::marker { color: var(--secondary); }
.fb-tabs-mobile-select { display: none; width: 100%; padding: 1rem 1.2rem; background: var(--primary); color: white; border: none; font-family: 'Roboto Condensed', sans-serif; font-size: 1rem; font-weight: 600; cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 24px; }
.fb-tabs-mobile-select option { background: var(--primary); color: white; }

.fb-leistungen { padding: 5rem 0; background: white; }
.fb-leistungen h2 { font-family: 'Roboto Condensed', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--primary); margin-bottom: 3rem; text-align: center; letter-spacing: -0.02em; }
.fb-leistungen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.fb-leistung-item { background: #fbfbfb; padding: 2rem; border-radius: 12px; border-left: 3px solid var(--secondary); box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: all 0.4s cubic-bezier(0.28,0.11,0.32,1); }
.fb-leistung-item:hover { transform: translateX(4px); box-shadow: 0 4px 20px rgba(0,0,0,0.06); border-left-color: var(--primary); }
.fb-leistung-item h4 { font-family: 'Roboto Condensed', sans-serif; font-size: 1.2rem; font-weight: 600; color: var(--primary); margin-bottom: 0.5rem; }
.fb-leistung-item p { font-size: 0.95rem; color: var(--text-light); line-height: 1.7; font-weight: 300; }

.fb-other { padding: 5rem 0; background: white; }
.fb-other h2 { font-family: 'Roboto Condensed', sans-serif; font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 2.5rem; text-align: center; letter-spacing: -0.02em; }
.fb-other-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.fb-other-link { display: flex; align-items: center; gap: 0.75rem; padding: 1.2rem 1.5rem; background: #fbfbfb; border-radius: 10px; text-decoration: none; color: var(--primary); font-weight: 500; font-size: 0.95rem; transition: all 0.4s cubic-bezier(0.28,0.11,0.32,1); border: 1px solid transparent; }
.fb-other-link:hover { background: white; border-color: rgba(77,88,157,0.15); box-shadow: 0 4px 15px rgba(0,0,0,0.06); transform: translateY(-2px); }
.fb-other-link.active { background: var(--primary); color: white; cursor: default; }
.fb-other-link svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

.fb-cta { padding: 5rem 0; background: #4d589d; text-align: center; color: white; }
.fb-cta h2 { font-family: 'Roboto Condensed', sans-serif; font-size: 2.5rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: -0.02em; }
.fb-cta p { font-size: 1.1rem; font-weight: 300; max-width: 600px; margin: 0 auto 2rem; opacity: 0.9; }
.fb-cta-button { display: inline-block; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: white; padding: 1rem 2.5rem; text-decoration: none; border-radius: 980px; font-weight: 400; font-size: 1.05rem; border: 1px solid rgba(255,255,255,0.2); transition: all 0.4s cubic-bezier(0.28,0.11,0.32,1); }
.fb-cta-button:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.4); transform: scale(1.02); }

.fb-intro, .fb-tabs-section, .fb-leistungen, .fb-cta, .fb-other, .contact { opacity: 0; transform: translateY(20px); transition: all 1s cubic-bezier(0.28,0.11,0.32,1); }
.fb-intro.visible, .fb-tabs-section.visible, .fb-leistungen.visible, .fb-cta.visible, .fb-other.visible, .contact.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .container { padding: 0 1.5rem; }
    .hero h1 { font-size: 3rem; }
    .hero-quote { font-size: 1.5rem; }
    .services-grid, .references-grid { grid-template-columns: repeat(2, 1fr); }
    .founder-grid { grid-template-columns: 1fr; text-align: center; }
    .founder-photo-image { max-width: 300px; height: 350px; margin: 0 auto 1.5rem; }
}

@media (max-width: 900px) {
    .fb-tabs-nav { display: none; }
    .fb-tabs-mobile-select { display: block; }
    .ref-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-links { position: fixed; left: -100%; top: 70px; flex-direction: column; background: rgba(255,255,255,0.9); backdrop-filter: blur(20px); width: 100%; text-align: center; transition: left 0.3s cubic-bezier(0.28,0.11,0.32,1); box-shadow: 0 10px 40px rgba(0,0,0,0.2); padding: 2rem 0; gap: 0.5rem; align-items: center; }
    .nav-links.active { left: 0; }
    .nav-links li { padding: 0.5rem 0; width: 100%; }
    .nav-links a { font-size: 1.1rem; }
    .nav-links li.has-submenu { width: 100%; }
    .nav-parent { width: 100%; justify-content: center; padding: 0.75rem 0; }
    .nav-parent::after { display: none; }
    .submenu { position: static; background: transparent; box-shadow: none; border-radius: 0; padding: 0; margin-top: 0.25rem; opacity: 1; visibility: visible; transform: none; display: none; }
    .submenu.open { display: block; }
    .submenu a { width: 100%; text-align: center; padding: 0.3rem 1rem; font-size: 0.95rem; color: #4d589d; }
    .hero { height: 600px; min-height: 500px; }
    .hero h1 { font-size: 2.5rem; }
    .hero-quote { font-size: 1.3rem; }
    .hero-subtitle { font-size: 1rem; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-image { height: 300px; }
    .services-grid, .references-grid, .gallery-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }
    .philosophy-quote { font-size: 1.8rem; }
    .contact-info { grid-template-columns: 1fr; }
    .logo { font-size: 1.4rem; }
    .founder-grid { grid-template-columns: 1fr; }
    .founder-photo-image { max-width: 280px; height: 300px; }
    .page-hero { height: 35vh; min-height: 280px; }
    .page-hero-content h1 { font-size: 2.2rem; }
    .page-hero-content p { font-size: 1rem; }
    .fb-intro-grid { grid-template-columns: 1fr; gap: 2rem; }
    .fb-intro-image { height: 300px; }
    .fb-intro-text h2, .fb-tabs-section h2, .fb-leistungen h2, .fb-cta h2 { font-size: 2rem; }
    .fb-tabs-content { padding: 2rem 1.5rem; }
    .fb-tab-panel h3 { font-size: 1.5rem; }
    .fb-leistungen-grid { grid-template-columns: 1fr; }
    .fb-other-grid { grid-template-columns: 1fr 1fr; }
    .ref-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
    .ref-detail-text h2 { font-size: 1.8rem; }
    .ref-facts-row { flex-direction: column; gap: 0.25rem; }
    .ref-facts-label { min-width: auto; }
    .nh-grid { grid-template-columns: 1fr; gap: 2rem; }
    .nh-grid.reversed .nh-image { order: 0; }
    .nh-grid.reversed .nh-text { order: 0; }
    .nh-image { height: 300px; }
    .nh-text h2 { font-size: 1.8rem; }
}

@media (max-width: 560px) {
    .ref-grid { grid-template-columns: 1fr; }
    .ref-card-overlay { opacity: 1; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero { height: 500px; }
    .hero h1 { font-size: 2rem; }
    .hero-quote { font-size: 1.1rem; }
    .cta-button { padding: 0.8rem 2rem; font-size: 1rem; }
    .service-card, .reference-card { padding: 1.5rem; }
    .section-title { font-size: 1.8rem; }
    .about-text h3 { font-size: 1.5rem; }
    .about-text p, .philosophy-text { font-size: 1rem; }
    .gallery-item img { height: 250px; }
    .founder-photo-image { max-width: 250px; height: 280px; }
    .page-hero-content h1 { font-size: 1.8rem; }
    .fb-tabs-content { padding: 1.5rem 1.2rem; }
    .fb-other-grid { grid-template-columns: 1fr; }
}
