/* ================================================================
   HAUSVERWALTUNG PRO - Complete Stylesheet
   All shared + page-specific styles for the entire site.
   ================================================================ */

/* ========== CSS CUSTOM PROPERTIES ========== */
:root {
  --color-primary: #1B3A5C;
  --color-primary-dark: #142d47;
  --color-primary-light: #2a5580;
  --color-accent: #C8A84B;
  --color-accent-dark: #b8982f;
  --color-bg: #F7F5F2;
  --color-surface: #FFFFFF;
  --color-text: #1A1A1A;
  --color-text-muted: #6B7280;
  --color-border: #E5E0D8;
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-card: 12px;
  --radius-btn: 6px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 35px rgba(0, 0, 0, 0.12);
  --max-width: 1200px;
  --nav-height: 80px;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

/* ========== SKIP LINK ========== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-btn);
  z-index: 9999;
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 1rem;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
}

.section-label {
  display: inline-block;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.7;
}

.section-subtitle.centered {
  margin-left: auto;
  margin-right: auto;
}

/* ========== UTILITY CLASSES ========== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.text-center {
  text-align: center;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 1.25rem 0;
}

.gold-line.centered {
  margin-left: auto;
  margin-right: auto;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 168, 75, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-dark:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn i[data-lucide] {
  width: 18px;
  height: 18px;
}

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 0.6rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  display: block;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.nav-logo-light {
  display: block;
}

.nav-logo-dark {
  display: none;
}

.navbar.scrolled .nav-logo-light {
  display: none;
}

.navbar.scrolled .nav-logo-dark {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Hide mobile-only elements on desktop */
.nav-mobile-logo,
.nav-mobile-divider,
.nav-mobile-contact {
  display: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 400;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar.scrolled .nav-link {
  color: var(--color-text);
}

.nav-link:hover {
  color: var(--color-accent);
}

.nav-link.active {
  color: var(--color-accent);
  font-weight: 500;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

.nav-cta {
  margin-left: 1rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27, 58, 92, 0.3);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar.scrolled .hamburger span {
  background: var(--color-text);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 58, 92, 0.98);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* ========== HERO SECTION (index.html) ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(135deg, rgba(27, 58, 92, 0.88) 0%, rgba(27, 58, 92, 0.6) 100%),
    url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1920&q=80');
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 2rem 0;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(200, 168, 75, 0.4);
  border-radius: 4px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========== STATS BAR (index.html) ========== */
.stats-bar {
  background: var(--color-surface);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-icon {
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.stat-icon i[data-lucide] {
  width: 32px;
  height: 32px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* ========== SERVICES SECTION (index.html) ========== */
.services {
  background: var(--color-bg);
}

.services-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  border-top: 3px solid var(--color-accent);
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(200, 168, 75, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
}

.service-icon i[data-lucide] {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-accent);
  font-weight: 500;
  font-size: 0.9rem;
  margin-top: 1.5rem;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 0.75rem;
}

.service-link i[data-lucide] {
  width: 16px;
  height: 16px;
}

/* ========== WHY US SECTION (index.html) ========== */
.why-us {
  background: var(--color-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 40px 40px;
}

.why-us .container {
  position: relative;
  z-index: 1;
}

.why-us-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.why-us-header h2 {
  color: #fff;
}

.why-us-header .gold-line {
  margin-left: auto;
  margin-right: auto;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.why-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(200, 168, 75, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--color-accent);
}

.why-icon i[data-lucide] {
  width: 28px;
  height: 28px;
}

.why-item h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.why-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: var(--color-bg);
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ========== PAGE HERO (sub-pages) ========== */
.page-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-primary);
  color: #fff;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 30px 30px;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.page-hero .breadcrumb {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}

.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.6);
}

.page-hero .breadcrumb a:hover {
  color: var(--color-accent);
}

.page-hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== INTRO GRID (WEG-Verwaltung, Hausmeister) ========== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-image {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== DETAIL CARDS (WEG-Verwaltung) ========== */
.detail-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.detail-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 2rem 2rem 2rem 2.5rem;
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
}

.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.detail-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.detail-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(200, 168, 75, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.detail-card-icon i[data-lucide] {
  width: 22px;
  height: 22px;
}

.detail-card h3 {
  font-size: 1.2rem;
}

.detail-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ========== HAUSMEISTER GRID (Hausmeister) ========== */
.hm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.hm-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
  border-top: 3px solid var(--color-accent);
}

.hm-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.hm-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(200, 168, 75, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--color-accent);
}

.hm-card-icon i[data-lucide] {
  width: 26px;
  height: 26px;
}

.hm-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.hm-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ========== CONTACT SECTION (Kontakt) ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.contact-info-card h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(200, 168, 75, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-info-icon i[data-lucide] {
  width: 20px;
  height: 20px;
}

.contact-info-text h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.contact-info-text p {
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.contact-info-text a {
  color: var(--color-primary);
  font-weight: 500;
}

.contact-info-text a:hover {
  color: var(--color-accent);
}

/* ========== CONTACT FORM (Kontakt) ========== */
.contact-form-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.contact-form-card h2 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.contact-form-card .form-subtitle {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-group label .required {
  color: #dc3545;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(200, 168, 75, 0.15);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #dc3545;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.error-msg {
  display: none;
  font-size: 0.8rem;
  color: #dc3545;
  margin-top: 0.3rem;
}

.error-msg.show {
  display: block;
}

/* Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-accent);
  flex-shrink: 0;
}

.form-check label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.form-check label a {
  color: var(--color-primary);
  text-decoration: underline;
}

.form-check label a:hover {
  color: var(--color-accent);
}

.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 58, 92, 0.3);
}

.btn-submit i[data-lucide] {
  width: 18px;
  height: 18px;
}

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e8f5e9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #2e7d32;
}

.form-success-icon i[data-lucide] {
  width: 36px;
  height: 36px;
}

.form-success h3 {
  color: #2e7d32;
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.form-success p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Maps placeholder */
.maps-placeholder {
  margin-top: 2rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-bg);
  border: 1px dashed var(--color-border);
  padding: 2rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* ========== ACCORDION (Datenschutz) ========== */
.accordion-content {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  transition: background 0.3s ease;
  gap: 1rem;
}

.accordion-header:hover {
  background: rgba(200, 168, 75, 0.05);
}

.accordion-header[aria-expanded="true"] {
  border-bottom: 1px solid var(--color-border);
}

.accordion-chevron {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-header[aria-expanded="true"] .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-body-inner {
  padding: 1.5rem 2rem 2rem;
}

.accordion-body p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.accordion-body h3 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.accordion-body h3:first-child {
  margin-top: 0;
}

.accordion-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.accordion-body ul li {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.accordion-body a {
  color: var(--color-primary);
  text-decoration: underline;
}

.accordion-body a:hover {
  color: var(--color-accent);
}

/* ========== LEGAL CONTENT (Impressum) ========== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.5rem;
}

.legal-card h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-accent);
}

.legal-card h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.legal-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.legal-card a {
  color: var(--color-primary);
  text-decoration: underline;
}

.legal-card a:hover {
  color: var(--color-accent);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 4.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 1.5rem;
}

.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-contact-item i[data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet */
@media (max-width: 1199px) {
  .section {
    padding: 4.5rem 0;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .hm-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  /* Mobile Nav */
  .hamburger {
    display: flex;
  }

  /* ===== FULLSCREEN MOBILE MENU ===== */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 2rem;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  /* Menu links */
  .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    padding: 0.6rem 0;
    width: auto;
    text-align: center;
    border-bottom: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
  }

  .nav-links.open .nav-link {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.open .nav-link:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.open .nav-link:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.open .nav-link:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.open .nav-link:nth-child(4) { transition-delay: 0.25s; }

  .nav-link:hover,
  .nav-link.active {
    color: var(--color-accent) !important;
  }

  .nav-link.active::after {
    display: none;
  }

  /* Logo at top of mobile menu */
  .nav-mobile-logo {
    display: block;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease 0.05s, transform 0.4s ease 0.05s;
  }

  .nav-links.open .nav-mobile-logo {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-mobile-logo img {
    height: 46px;
    width: auto;
  }

  /* Gold separator line */
  .nav-mobile-divider {
    display: block;
    width: 50px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 1px;
    margin: 1.25rem auto;
    opacity: 0;
    transition: opacity 0.4s ease 0.3s;
  }

  .nav-links.open .nav-mobile-divider {
    opacity: 1;
  }

  /* CTA button in mobile menu */
  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
    width: auto;
    min-width: 220px;
    padding: 0.9rem 2rem;
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    border-radius: var(--radius-btn);
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.35s, transform 0.4s ease 0.35s, background 0.3s ease;
  }

  .nav-links.open .nav-cta {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-cta:hover {
    background: var(--color-accent-dark);
  }

  /* Contact info at bottom of mobile menu */
  .nav-mobile-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease 0.45s;
  }

  .nav-links.open .nav-mobile-contact {
    opacity: 1;
  }

  .nav-mobile-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .nav-mobile-contact a:hover {
    color: var(--color-accent);
  }

  .nav-mobile-contact svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* Hero - fullscreen on mobile */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    background-attachment: scroll;
  }

  .hero-content {
    padding: 0;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-item {
    padding: 0.75rem;
    border-bottom: 1px solid var(--color-border);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Why Us */
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Intro Grid */
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Detail Cards */
  .detail-cards {
    grid-template-columns: 1fr;
  }

  /* Hausmeister Grid */
  .hm-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Accordion */
  .accordion-header {
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
  }

  .accordion-body-inner {
    padding: 1.25rem 1.5rem 1.5rem;
  }

  /* Legal */
  .legal-card {
    padding: 1.75rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-label {
    font-size: 0.7rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}
