@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700;800&display=swap');

:root {
  --primary-bg: #FAF9F6; /* Warm White */
  --secondary-bg: #F0EFEB; /* Very subtle grey-beige */
  --text-main: #2B2C30; /* Charcoal */
  --text-muted: #727479; /* Warm grey */
  --accent: #C29656; /* Refined Gold */
  --dark-grey: #2A2B30; /* Corporate Dark Grey */
  --header-bg: rgba(250, 249, 246, 0.95);
  --border: #E5E1D8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
  font-family: 'Outfit', sans-serif; 
  background-color: var(--primary-bg); 
  color: var(--text-main); 
  line-height: 1.6; 
  font-weight: 300; 
  overflow-x: hidden; 
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 { font-weight: 300; letter-spacing: -0.01em; line-height: 1.2; }

/* Custom Logo */
.logo { display:flex; align-items: center; gap: 15px;}
.logo-icon { width: 60px; height: auto; }
.logo-text { font-size: 2.2rem; font-weight: 600; color: var(--text-main); letter-spacing: 1px; line-height: 1; text-transform: uppercase; }

/* Top Bar (Ultra Minimalist) */
.top-bar {
  background: var(--primary-bg);
  color: var(--text-muted);
  padding: 0.8rem 4rem;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.top-bar-left, .top-bar-right { display: flex; gap: 2.5rem; align-items: center; }
.top-bar a { transition: color 0.3s; display: flex; align-items: center; gap: 0.5rem; }
.top-bar a:hover { color: var(--text-main); }
.top-bar svg { width: 14px; height: 14px; fill: currentColor; }

/* Header */
header {
  position: sticky; top: 0; width: 100%; background: var(--header-bg); backdrop-filter: blur(10px);
  z-index: 1000; display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 4rem; transition: padding 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); border-bottom: 1px solid transparent;
}
header.scrolled { padding: 1rem 4rem; border-bottom: 1px solid var(--border); }

nav ul { display: flex; gap: 3rem; align-items: center; }
nav a { font-weight: 400; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; transition: color 0.3s ease; opacity: 0.7; }
nav a:hover, nav a.nav-active { opacity: 1; color: var(--accent); }

/* Buttons */
.btn-primary {
  background: var(--text-main); color: #fff !important; padding: 1.2rem 2.8rem; 
  font-weight: 400; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: background 0.4s ease, color 0.4s ease, transform 0.4s ease; border: 1px solid var(--text-main); cursor: pointer; 
  text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; border-radius: 0;
}
.btn-primary:hover { background: transparent; color: var(--text-main) !important; }

.btn-outline {
  background: transparent; color: var(--text-main) !important; padding: 1.2rem 2.8rem; 
  font-weight: 400; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: all 0.4s ease; border: 1px solid var(--text-muted); cursor: pointer; 
  text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; border-radius: 0;
}
.btn-outline:hover { border-color: var(--text-main); background: var(--text-main); color: #fff !important; }

.toggles { display: flex; align-items: center; gap: 1rem; margin-left: 2rem; }
.lang-toggle { background: var(--primary-bg); border: 1px solid var(--border); width: 40px; height: 40px; border-radius: 50%; font-size: 0.85rem; cursor: pointer; color: var(--text-main); transition: all 0.4s ease; display:flex; align-items:center; justify-content:center; text-transform: uppercase; font-weight: 500;}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }
.mobile-menu-btn { display: none; }

/* Architectural Hero Section */
.arch-hero { height: auto; padding: 10rem 4rem 6rem; display: flex; flex-direction: column; align-items: flex-start; }
.arch-hero h1 { font-size: 5rem; font-weight: 400; line-height: 1.05; margin-bottom: 2rem; max-width: 1200px; color: var(--text-main); }
.arch-hero p { font-size: 1.5rem; font-weight: 300; max-width: 800px; color: var(--text-muted); margin-bottom: 4rem; line-height: 1.5; }
.arch-hero-image { width: 100%; height: 60vh; position: relative; overflow: hidden; }
.arch-hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* Standard Intro / Header */
.page-header { background: var(--secondary-bg); padding: 10rem 4rem 4rem; border-bottom: 1px solid var(--border); }
.page-header h1 { font-size: 4rem; font-weight: 400; margin-bottom: 1.5rem; }
.page-header p { font-size: 1.2rem; color: var(--text-muted); max-width: 700px; line-height: 1.8; }

/* Sections */
section { padding: 8rem 4rem; position: relative; }
.bg-secondary { background: var(--secondary-bg); }
.section-title { font-size: 3.5rem; font-weight: 400; margin-bottom: 2rem; }
.section-subtitle { color: var(--text-muted); max-width: 700px; margin-bottom: 5rem; font-size: 1.2rem; font-weight: 300; }

#leistungen .section-title, #leistungen .section-subtitle { text-align: center; margin-left: auto; margin-right: auto; }

/* About Section */
.arch-about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; align-items: center; }
.arch-about h2 { font-size: 3.5rem; font-weight: 400; margin-bottom: 2rem; }
.arch-about p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.8; font-weight: 300;}

/* Team Section (3 Employees) */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; margin-top: 5rem; }
.team-member { text-align: left; }
.team-img-placeholder { width: 100%; aspect-ratio: 3/4; background: var(--border); margin-bottom: 2rem; position: relative; overflow: hidden;}
.team-member h3 { font-size: 1.6rem; margin-bottom: 0.5rem; font-weight: 400; }
.team-member p { color: var(--accent); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px;}

/* Minimalist Services Grid (Home) */
.arch-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 5rem 3rem; border-top: 1px solid var(--border); padding-top: 5rem;}
.arch-service-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 3rem 2rem; border-radius: 8px; transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); border: 1px solid transparent; }
.arch-service-card:hover { transform: translateY(-10px); background: var(--accent); color: #fff; box-shadow: 0 20px 40px rgba(194, 150, 86, 0.2); }
.arch-service-number { font-size: 2.2rem; font-weight: 300; color: var(--accent); margin-bottom: 1.5rem; display: block; transition: color 0.5s; }
.arch-service-card:hover .arch-service-number { color: #fff; }
.arch-service-card h3 { font-size: 2rem; margin-bottom: 1rem; font-weight: 500; transition: color 0.5s; }
.arch-service-card p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2rem; transition: color 0.5s; }
.arch-service-card:hover p, .arch-service-card:hover h3 { color: #fff; }
.arch-service-card .btn-link { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 0.3rem; display: inline-table; margin-top: auto; transition: color 0.5s; }
.arch-service-card:hover .btn-link { color: #fff; border-color: #fff; }

/* Services List (Leistungen Page) */
.services-list { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; padding-bottom: 6rem;}
.service-row { display: grid; grid-template-columns: 80px 1.5fr 3fr 50px; align-items: center; padding: 3rem 2rem; border-bottom: 1px solid var(--border); transition: all 0.4s ease; text-decoration: none; color: var(--text-main); border-radius: 4px; }
.service-row:hover { background-color: var(--accent); color: #fff; transform: scale(1.02); box-shadow: 0 15px 30px rgba(194, 150, 86, 0.3); border-bottom-color: transparent;}
.sr-number { font-size: 1.8rem; font-weight: 300; opacity: 0.5; transition: opacity 0.4s; }
.service-row:hover .sr-number { opacity: 1; }
.sr-title { font-size: 1.8rem; font-weight: 400; }
.sr-desc { font-size: 1.15rem; opacity: 0.8; font-weight: 300;}
.sr-arrow { font-size: 1.8rem; text-align: right; transition: transform 0.4s;}
.service-row:hover .sr-arrow { transform: translateX(10px); }

@media (max-width: 768px) {
  .service-row { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 1.5rem; }
  .sr-number { font-size: 1.2rem; margin-bottom: 0.5rem; }
  .sr-arrow { display: none; }
}

/* Projects Minimalist Grid */
.arch-projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem; }
.arch-project-card { display: block; overflow: hidden; }
.arch-project-img { width: 100%; aspect-ratio: 4/3; margin-bottom: 2rem; overflow: hidden; background: var(--border); }
.arch-project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.arch-project-card:hover .arch-project-img img { transform: scale(1.05); }
.arch-project-card h3 { font-size: 1.6rem; font-weight: 400; margin-bottom: 0.5rem; }
.arch-project-card p { color: var(--text-muted); font-size: 1.1rem;}

/* Standard Content Pages */
.standard-content { max-width: 900px; margin: 0 auto; }
.standard-content h2 { font-size: 2.5rem; font-weight: 400; margin-bottom: 2rem; margin-top: 5rem; }
.standard-content p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.8; }
.standard-content ul { padding-left: 0; margin-bottom: 2rem; list-style-type: none;}
.standard-content li { margin-bottom: 1rem; color: var(--text-main); font-size: 1.2rem; padding-left: 1.5rem; position: relative; }
.standard-content li::before { content: ''; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

/* Forms */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; max-width: 1200px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 3rem; }
.contact-item h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 0.5rem; }
.contact-item p { font-size: 1.5rem; font-weight: 300; }
.contact-form { padding: 4rem; background: #fff; border-radius: 12px; border-bottom: 6px solid var(--accent); box-shadow: 0 20px 40px rgba(0,0,0,0.05); transition: transform 0.4s, box-shadow 0.4s; }
.contact-form:hover { transform: translateY(-5px); box-shadow: 0 30px 60px rgba(194, 150, 86, 0.15); }
.form-group { margin-bottom: 2rem; }
.form-group label { display: block; margin-bottom: 0.8rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); }
.form-group input, .form-group textarea { width: 100%; padding: 1.2rem 1rem; border: 1px solid var(--border); border-radius: 4px; background: var(--primary-bg); color: var(--text-main); font-family: inherit; font-size: 1.1rem; font-weight: 300; transition: border-color 0.4s ease, box-shadow 0.4s ease; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(194,150,86,0.1); background: #fff; }
.contact-form .btn-primary { width: 100%; background: var(--accent); border-color: var(--accent); color: #fff !important; font-size: 1rem; padding: 1.5rem; border-radius: 4px; font-weight: 500;}
.contact-form .btn-primary:hover { background: var(--text-main); border-color: var(--text-main); }
.maps-container { width: 100%; height: 500px; margin-top: 6rem; filter: grayscale(100%); transition: filter 0.5s ease;}
.maps-container:hover { filter: grayscale(0%); }
.maps-container iframe { width: 100%; height: 100%; border: none; }

/* ---------------- ANIMATIONS ---------------- */

/* Text fade up stagger */
.anim-fade-up { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.anim-fade-up.is-revealed { opacity: 1; transform: translateY(0); }

/* Image scaling reveal */
.anim-scale { transform: scale(0.95); opacity: 0; transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1.2s ease; }
.anim-scale.is-revealed { transform: scale(1); opacity: 1; }

/* Image block reveal with overlay */
.anim-reveal-left { position: relative; overflow: hidden; opacity: 0; }
.anim-reveal-left::after { content: ''; position: absolute; inset:0; background: var(--secondary-bg); transform-origin: right; transition: transform 1.2s cubic-bezier(0.8, 0, 0.2, 1); z-index: 2; pointer-events: none;}
.anim-reveal-left.is-revealed { opacity: 1; }
.anim-reveal-left.is-revealed::after { transform: scaleX(0); }

/* Stagger delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* SVG Logo */
.logo-svg { width: 120px; height: 50px; }

/* Footer */
footer { background: var(--primary-bg); color: var(--text-main); border-top: 1px solid var(--border); padding: 6rem 4rem 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 5rem; margin-bottom: 6rem; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 2rem; }
.footer-col p { color: var(--text-main); margin-bottom: 1.5rem; line-height: 1.8; display:flex; align-items:flex-start; gap:15px; font-weight: 300;}
.footer-col ul { display: flex; flex-direction: column; gap: 1rem; }
.footer-col a { color: var(--text-main); transition: color 0.3s; font-weight: 300;}
.footer-col a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 3rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.85rem; font-weight: 300;}

/* Responsive */
@media (max-width: 1200px) {
  .arch-hero h1 { font-size: 4rem; }
}
@media (max-width: 992px) {
  .top-bar { display: none; }
  .arch-hero h1 { font-size: 3rem; }
  .arch-hero p { font-size: 1.2rem; }
  header { padding: 1.2rem 2rem; }
  .mobile-menu-btn { display: block; margin-left: auto; font-size: 2rem; background: none; border: none; color: var(--text-main); cursor: pointer; }
  nav { display: none; }
  nav.mobile-active { display: block; position: absolute; top: 100%; left: 0; width: 100%; background: var(--primary-bg); padding: 3rem 2rem; border-top: 1px solid var(--border); }
  nav.mobile-active ul { flex-direction: column; gap: 2rem; align-items: flex-start; }
  .arch-about { grid-template-columns: 1fr; gap: 3rem; }
  .toggles { display: flex; width: 100%; justify-content: flex-start; margin-top: 2rem; margin-left:0;}
  .contact-container { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  section { padding: 5rem 2rem; }
  .arch-hero { padding: 6rem 2rem; }
  .arch-hero h1 { font-size: 2.5rem; }
  .section-title { font-size: 2.2rem; }
  .arch-projects { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}
