html { overflow-x: clip; }
/* ============================================
   Hoffmann Stuckateur & Putzarbeiten
   Classical Elegant Design - Cream & Gold
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Raleway:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --primary: #7A6B4A;
  --primary-dark: #5C4F36;
  --accent: #C4A55A;
  --accent-light: #D4B86A;
  --light-bg: #FDFAF4;
  --section-alt: #F5EFE0;
  --dark-bg: #2C2416;
  --text-dark: #1A1508;
  --text-gray: #6B6050;
  --white: #FFFFFF;
  --border-gold: #C4A55A;
  --shadow: 0 4px 24px rgba(122,107,74,0.12);
  --shadow-hover: 0 8px 40px rgba(122,107,74,0.22);
  --radius-pill: 50px;
  --radius-card: 8px;
  --transition: 0.3s ease;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Raleway', Arial, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

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

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.8;
}

/* --- Gold Decorative Divider --- */
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem auto;
  gap: 1rem;
  max-width: 400px;
}

.gold-divider::before,
.gold-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.gold-divider-icon {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  margin: 0;
  opacity: 0.5;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Section Styles --- */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--section-alt);
}

.section-dark {
  background-color: var(--dark-bg);
}

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

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-gray);
  font-size: 1.05rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(196, 165, 90, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--primary-dark));
  box-shadow: 0 6px 30px rgba(196, 165, 90, 0.5);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-white:hover {
  background: var(--light-bg);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.65rem 1.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 250, 244, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(196, 165, 90, 0.2);
  transition: all var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 30px rgba(122,107,74,0.15);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

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

.nav-link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  position: relative;
  transition: color var(--transition);
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.navbar-cta {
  margin-left: 1rem;
}

.navbar-toggler {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
  font-size: 1.4rem;
}

/* Mobile Nav */
@media (max-width: 968px) {
  .navbar-toggler {
    display: block;
  }

  .navbar-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--light-bg);
    border-top: 1px solid rgba(196,165,90,0.2);
    padding: 1rem;
    box-shadow: 0 8px 30px rgba(122,107,74,0.15);
  }

  .navbar-collapse.open {
    display: block;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(196,165,90,0.1);
  }

  .navbar-cta {
    margin: 1rem 0 0;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding-top: 80px;
  background-color: var(--light-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-text-section {
  flex: 0 0 auto;
  text-align: center;
  padding: 5rem 2rem 3rem;
  background: var(--light-bg);
}

.hero-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--primary);
}

.hero-subtitle-text {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.hero-desc {
  max-width: 620px;
  margin: 0 auto 2rem;
  color: var(--text-gray);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-image-full {
  flex: 1;
  position: relative;
  overflow: hidden;
  max-height: 55vh;
}

.hero-image-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-image-full::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, var(--light-bg), transparent);
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--dark-bg);
  padding: 1.25rem 0;
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
}

.trust-item i {
  color: var(--accent);
  font-size: 1rem;
}

/* ============================================
   SERVICES / LEISTUNGEN
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border-top: 3px solid var(--accent);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transition: transform var(--transition);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon i {
  color: var(--white);
  font-size: 1.4rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: rgba(196,165,90,0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(196,165,90,0.3);
}

/* ============================================
   ABOUT / ÜBER UNS
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hover);
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-card);
  text-align: center;
  box-shadow: 0 8px 30px rgba(122,107,74,0.3);
}

.about-badge .badge-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.about-badge .badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
}

.about-content .section-label {
  text-align: left;
}

.about-content h2 {
  margin-bottom: 1rem;
}

.about-content p {
  margin-bottom: 1.25rem;
}

.about-features {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-feature i {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.about-feature span {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  text-align: center;
}

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

.team-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
}

.team-card-body {
  padding: 1.5rem;
}

.team-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.team-card-role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

.team-card-body p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ============================================
   STATS / ZAHLEN
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 0.5rem;
  display: block;
}

.section-dark .stat-label {
  color: rgba(255,255,255,0.65);
}

/* ============================================
   TESTIMONIALS / BEWERTUNGEN
   ============================================ */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: var(--radius-card);
  padding: 1.25rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow);
}

.google-badge-logo {
  font-size: 2rem;
}

.google-badge-info .rating-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.google-badge-info .rating-stars {
  color: #FBB633;
  font-size: 1rem;
  margin: 0.15rem 0;
}

.google-badge-info .rating-count {
  font-size: 0.8rem;
  color: var(--text-gray);
  font-weight: 500;
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
  transition: all var(--transition);
  position: relative;
}

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

.testimonial-stars {
  color: #FBB633;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.testimonial-card blockquote {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.testimonial-card blockquote::before {
  content: '\201C';
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 0;
  vertical-align: -0.6rem;
  margin-right: 0.1rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.testimonial-author strong {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-author span {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ============================================
   PROJECTS / REFERENZEN
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  background: var(--white);
}

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

.project-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,36,22,0.7), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-card-body {
  padding: 1.25rem;
}

.project-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.project-card-body p {
  font-size: 0.88rem;
  color: var(--text-gray);
  margin-bottom: 0.75rem;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.project-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(122,107,74,0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  border: 1px solid rgba(122,107,74,0.2);
}

/* ============================================
   BRANDS / MARKEN
   ============================================ */
.brands-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid rgba(196,165,90,0.2);
  min-width: 140px;
  transition: all var(--transition);
}

.brand-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.brand-name-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-gray);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.brand-item:hover .brand-name-text {
  color: var(--primary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--dark-bg) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(196,165,90,0.08) 0%, transparent 60%);
}

.cta-section h2 {
  font-family: var(--font-heading);
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid rgba(196,165,90,0.2);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item.active {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.faq-question:hover {
  background: rgba(196,165,90,0.05);
}

.faq-question span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  flex: 1;
  padding-right: 1rem;
}

.faq-icon {
  color: var(--accent);
  font-size: 1rem;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid rgba(196,165,90,0.15);
  padding-top: 1rem;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon i {
  color: var(--white);
  font-size: 1rem;
}

.contact-info-text strong {
  display: block;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-info-text span,
.contact-info-text a {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}

.form-group label .required {
  color: var(--accent);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(196,165,90,0.3);
  border-radius: 6px;
  background: var(--light-bg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,165,90,0.15);
}

.form-control::placeholder {
  color: rgba(107,96,80,0.5);
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%237A6B4A' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

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

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

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

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--section-alt) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.page-hero-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--text-gray);
}

.breadcrumb span {
  color: var(--text-gray);
}

.breadcrumb .current {
  color: var(--accent);
  font-weight: 600;
}

/* ============================================
   KARRIERE
   ============================================ */
.karriere-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.job-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.job-benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.job-benefit i {
  color: var(--accent);
  font-size: 1rem;
  width: 20px;
}

.job-benefit span {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark-bg);
  padding: 4rem 0 0;
  color: rgba(255,255,255,0.75);
}

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

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 0.25rem;
}

.footer-brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

.footer p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--accent);
  color: var(--white);
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(196,165,90,0.3);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
  text-decoration: none;
}

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

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-contact-item span,
.footer-contact-item a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  line-height: 1.5;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

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

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

.footer-bottom-links a {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  transition: color var(--transition);
}

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

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--dark-bg);
  border-top: 3px solid var(--accent);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-text {
  flex: 1;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: all var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.whatsapp-float i {
  color: var(--white);
  font-size: 1.6rem;
}

/* ============================================
   BAFA BADGE
   ============================================ */
.bafa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #2d6a4f, #40916c);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-card);
  font-size: 0.85rem;
  font-weight: 600;
}

.bafa-badge i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--accent); }
.text-dark { color: var(--text-dark); }
.fw-600 { font-weight: 600; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.d-flex { display: flex; }
.gap-1 { gap: 1rem; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   OPENING HOURS TABLE
   ============================================ */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid rgba(196,165,90,0.15);
}

.hours-table td {
  padding: 0.6rem 0;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--text-dark);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-badge {
    bottom: 1rem;
    right: 1rem;
  }

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

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

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

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

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

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-image-full {
    max-height: 40vh;
  }
  /* Nav Overlay – dunkler Hintergrund */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
  }
  .nav-overlay.active { display: block; }
  /* Alle Buttons volle Breite */
  .btn { width: 100% !important; justify-content: center !important; }
  .cta-buttons .btn { width: auto !important; } /* CTA-Buttons ausgenommen */
  /* Formulare volle Breite */
  .form-control, .form-row { width: 100% !important; }
  .form-row { grid-template-columns: 1fr !important; }
  /* Footer links sichtbar */
  .footer-links a { color: rgba(255,255,255,0.8) !important; display: block; }
  .footer-links li { display: block; margin-bottom: 6px; }
  /* Body kein horizontal scroll */
  body { overflow-x: hidden; }
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .trust-bar-inner {
    gap: 1.5rem;
  }

  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }

  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
  }
}

/* Map placeholder */
.map-placeholder {
  background: var(--section-alt);
  height: 400px;
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196,165,90,0.2);
  overflow: hidden;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Datenschutz / Impressum page content */
.legal-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(196,165,90,0.2);
}

.legal-content h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

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

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

/* Tag / Badge for BAFA on index */
.funding-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196,165,90,0.12);
  border: 1px solid rgba(196,165,90,0.3);
  border-radius: var(--radius-pill);
  padding: 0.35rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}

/* Öffnungszeiten box */
.hours-box {
  background: var(--white);
  border: 1px solid rgba(196,165,90,0.25);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}

.hours-box h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(196,165,90,0.2);
}

/* ── Mobile fixes 390px ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  body { overflow-x: hidden; }

  /* Hero */
  .hero { min-height: auto !important; }
  .hero-image-full { max-height: 45vw !important; min-height: 180px; }

  /* Nav: volle Breite, kein Abschneiden */
  .navbar-collapse {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  .nav-link {
    white-space: normal !important;
    word-break: break-word;
  }

  /* Nav Overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 89;
  }
  .nav-overlay.active { display: block; }

  /* Team / Karriere / Über uns: 3 → 1 Spalte */
  .team-grid { grid-template-columns: 1fr !important; max-width: 100%; }
  .testimonials-grid { grid-template-columns: 1fr !important; }
  .projects-grid { grid-template-columns: 1fr !important; }

  /* Inline repeat(3,1fr) und repeat(4,1fr) → 1 Spalte */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* karriere-grid stapeln */
  .karriere-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }

  /* Services & Stats */
  .services-grid { grid-template-columns: 1fr !important; }
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Inline-2-Spalten-Grids stapeln */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  [style*="grid-template-columns:1fr 1.4fr"],
  [style*="grid-template-columns:1.2fr 1fr"],
  [style*="grid-template-columns:1fr 1.5fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  /* Bilder-Höhen */
  [style*="height:500px"] { height: auto !important; max-height: 260px; width: 100%; }
  [style*="height:440px"] { height: 220px !important; }
  [style*="height:400px"] { height: 220px !important; }
  [style*="gap:4rem"] { gap: 1.5rem !important; }
  [style*="gap: 4rem"] { gap: 1.5rem !important; }

  /* Buttons */
  .btn { min-height: 44px; }
  .form-group input, .form-group textarea, .form-group select { min-height: 44px; }
}


/* ── Banner-Fix: Navbar immer über dem Banner ──────────────────── */
.site-header,
.navbar,
nav.navbar,
header.header,
.header {
  z-index: 100000 !important;
}
#personalized-banner {
  z-index: 99998 !important;
}
@media (max-width: 768px) {
  /* Logo umbrechen statt abschneiden */
  .nav-logo,
  .navbar__logo-name,
  .logo,
  .brand-name,
  .brand-main,
  .nav-brand {
    white-space: normal !important;
    word-break: break-word !important;
    font-size: clamp(0.85rem, 3.5vw, 1.2rem) !important;
    max-width: calc(100vw - 80px) !important;
  }
}