/* =========================================================
   IP Installationen – Main Stylesheet
   ========================================================= */

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

:root {
  --blue-900: #0A1F3F;
  --blue-800: #0E2D5A;
  --blue-700: #1A3F7A;
  --blue-600: #1E4E96;
  --blue-500: #2563EB;
  --blue-400: #3B82F6;
  --blue-100: #DBEAFE;
  --blue-50:  #EFF6FF;

  --gold:      #C4A265;
  --gold-dark: #9B7A4B;
  --gold-light: #E8D5B0;
  --accent:      var(--gold);
  --accent-dark: var(--gold-dark);

  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50:  #F9FAFB;
  --white:    #FFFFFF;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-md: 0 8px 32px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.08);

  --transition: 200ms cubic-bezier(.4,0,.2,1);
  --transition-slow: 400ms cubic-bezier(.4,0,.2,1);
}

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

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

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

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gold);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* ---- Logo ---- */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo__mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  line-height: 0;
}
.logo__mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.logo__mark--sm { width: 36px; height: 36px; }

.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name  { font-size: 15px; font-weight: 700; color: var(--gray-900); }
.logo__tagline { font-size: 11px; color: var(--gold-dark); font-weight: 500; letter-spacing: .4px; }

/* ---- Nav ---- */
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: background var(--transition), color var(--transition);
}
.nav__link:hover { background: rgba(196,162,101,.10); color: var(--gold-dark); }
.nav__link--cta {
  background: var(--gold);
  color: var(--gray-900) !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(196,162,101,.35);
}
.nav__link--cta:hover { background: var(--gold-dark) !important; box-shadow: 0 4px 14px rgba(196,162,101,.45); }

/* ---- Burger ---- */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: #f5f3ef;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
  padding: 80px 24px;
  width: 100%;
}

.hero__logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__logo-img {
  width: 100%;
  max-width: 320px;
  height: auto;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196,162,101,.18);
  border: 1px solid rgba(196,162,101,.45);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .3px;
  margin-bottom: 28px;
}
.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero__title--accent {
  color: var(--gold-dark);
  -webkit-text-fill-color: var(--gold-dark);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--gray-600, #4B5563);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat__number { font-size: 1.5rem; font-weight: 800; color: var(--gray-900); line-height: 1; }
.stat__star   { color: #FBBC04; }
.stat__label  { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
.stat__divider { width: 1px; height: 40px; background: var(--gray-300, #D1D5DB); }

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-indicator {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 14px;
  position: relative;
}
.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,.6);
  border-radius: 2px;
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50%       { transform: translateX(-50%) translateY(10px); opacity: .3; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--blue-500);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
}
.btn--primary:hover { background: var(--blue-600); box-shadow: 0 6px 24px rgba(37,99,235,.45); }

.btn--gold {
  background: var(--gold);
  color: var(--gray-900);
  box-shadow: 0 4px 16px rgba(196,162,101,.40);
}
.btn--gold:hover { background: var(--gold-dark); box-shadow: 0 6px 24px rgba(196,162,101,.50); }

.btn--secondary {
  background: var(--white);
  color: var(--gray-800);
  border: 1.5px solid var(--gray-300, #D1D5DB);
}
.btn--secondary:hover { background: var(--gray-100); border-color: var(--gray-400, #9CA3AF); }

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

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 96px 0; }
.section--alt { background: var(--gray-50); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section__label {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.section__title--left { text-align: left; }
.section__subtitle { color: var(--gray-500); font-size: 1.05rem; line-height: 1.7; }

/* =========================================================
   SERVICES GRID
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.service-card--center {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: calc((100% - 48px) / 3);
}

@media (max-width: 900px) {
  .service-card--center { max-width: calc((100% - 24px) / 2); }
}

@media (max-width: 600px) {
  .service-card--center { max-width: 100%; }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-50), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300, #D1D5DB);
}
.service-card:hover::before { opacity: 0.4; }

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--blue-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue-600);
  position: relative;
  z-index: 1;
  transition: background var(--transition), color var(--transition);
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card:hover .service-card__icon { background: var(--blue-600); color: var(--white); }

.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.service-card__desc {
  font-size: .925rem;
  color: var(--gray-500);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__visual { position: relative; }

.about__image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__visitenkarte {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: block;
}


.about__content .section__label { display: block; text-align: left; }
.about__text {
  color: var(--gray-600, #4B5563);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: .975rem;
}
.about__list {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  color: var(--gray-700);
}
.about__list li svg { width: 18px; height: 18px; color: var(--blue-500); flex-shrink: 0; }


/* =========================================================
   REVIEWS
   ========================================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.review-card__stars { color: #FBBC04; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 16px; }
.review-card__text  { color: var(--gray-600, #4B5563); font-size: .95rem; line-height: 1.7; margin-bottom: 24px; font-style: italic; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-card__avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.review-card__author div { display: flex; flex-direction: column; line-height: 1.3; }
.review-card__author strong { font-size: .9rem; color: var(--gray-900); }
.review-card__author span  { font-size: .8rem; color: var(--gray-500); }

.google-rating {
  display: flex;
  justify-content: center;
}
.google-rating__link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.google-rating__link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.google-rating__link svg  { width: 36px; height: 36px; flex-shrink: 0; }

.google-rating__content {
  display: flex;
  align-items: center;
  gap: 10px;
}
.google-rating__source { font-size: .75rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: .05em; }
.google-rating__score { font-size: 1.5rem; font-weight: 800; color: var(--gray-900); }
.google-rating__stars { color: #FBBC04; font-size: 1rem; letter-spacing: 2px; }
.google-rating__label { font-size: .85rem; color: var(--gray-500); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact__info-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 32px;
}

.contact__items {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1 1 180px;
  margin-bottom: 0;
}
.contact__item-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  flex-shrink: 0;
}
.contact__item-icon svg { width: 20px; height: 20px; }
.contact__item-text { display: flex; flex-direction: column; line-height: 1.3; }
.contact__item-text strong { font-size: .875rem; color: var(--gray-500); margin-bottom: 3px; }
.contact__item-text a, .contact__item-text span {
  font-size: .975rem;
  color: var(--gray-800);
  font-weight: 500;
}
.contact__item-text a:hover { color: var(--blue-600); }

.contact__social {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { border-color: var(--blue-500); color: var(--blue-600); background: var(--blue-50); }

/* ---- Form ---- */
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group--full { grid-column: 1 / -1; }

label {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
}
input, select, textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: .95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
input::placeholder, textarea::placeholder { color: var(--gray-400); }
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

input.error, select.error, textarea.error { border-color: #EF4444; }

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  border-radius: var(--radius-sm);
  color: #065F46;
  padding: 14px 18px;
  font-size: .9rem;
  font-weight: 500;
  margin-top: 12px;
}
.form-success svg { width: 20px; height: 20px; color: #059669; flex-shrink: 0; }
.form-success.visible { display: flex; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand .logo__name   { color: var(--white); }
.footer__brand .logo__tagline { color: rgba(255,255,255,.5); }
.footer__brand .logo__mark   { box-shadow: none; background: white; border-radius: var(--radius-sm); padding: 3px; }
.footer__desc { margin-top: 16px; font-size: .9rem; line-height: 1.7; max-width: 280px; }

.footer__nav h4, .footer__contact h4 {
  color: var(--white);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer__nav ul, .footer__contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a, .footer__contact a {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer__nav a:hover, .footer__contact a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom a {
  color: rgba(255,255,255,.55);
  text-decoration: underline;
  transition: color var(--transition);
}
.footer__bottom a:hover { color: var(--white); }

/* =========================================================
   TEAM PHOTO
   ========================================================= */
.team-photo-wrap {
  display: flex;
  justify-content: center;
}

.team-photo {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.team-wip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
}

.team-wip svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

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

/* ---- Tablet landscape (≤1100px) ---- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout  { gap: 48px; }
}

/* ---- Tablet portrait / iPad (≤900px) ---- */
@media (max-width: 900px) {
  .section           { padding: 80px 0; }
  .about-layout      { grid-template-columns: 1fr; gap: 48px; }
  .about__visual     { order: -1; }
  .contact-layout    { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner     { grid-template-columns: 1fr 1fr; }
  .reviews-grid      { grid-template-columns: repeat(2, 1fr); }
  .hero__layout      { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px; }
  .hero__logo-col    { order: -1; }
  .hero__logo-img    { max-width: 220px; }
  .contact-form      { padding: 32px; }
}

/* ---- Small tablet / large phone (≤680px) ---- */
@media (max-width: 680px) {
  .section           { padding: 56px 0; }
  .container         { padding: 0 20px; }

  /* Header: no backdrop-filter on mobile so the fixed menu is positioned
     against the viewport (Safari/Chrome) instead of the header box */
  .header            { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--white); }

  /* Mobile nav — explicit height (not top/bottom) so Safari can't collapse it
     even if the header still acts as a containing block for the fixed element */
  .nav               { display: none; position: fixed; top: 72px; left: 0; right: 0; height: calc(100vh - 72px); height: calc(100dvh - 72px); background: var(--white); padding: 20px; border-top: 1px solid var(--gray-200); overflow-y: auto; -webkit-overflow-scrolling: touch; z-index: 101; }
  .nav.open          { display: flex; flex-direction: column; }
  .nav__list         { flex-direction: column; gap: 6px; }
  .nav__link         { display: block; padding: 16px 18px; font-size: 1.05rem; font-weight: 600; border-radius: var(--radius-sm); }
  .nav__link + .nav__link { border-top: 1px solid var(--gray-100); }
  .nav__link--cta    { text-align: center; margin-top: 16px; border-top: none; padding: 16px 18px; }
  .burger            { display: flex; }

  /* Hero */
  .hero              { align-items: flex-start; min-height: 0; padding-top: 72px; }
  .hero__layout      { padding: 40px 20px 56px; gap: 32px; }
  .hero__content     { padding: 32px 20px 40px; }
  .hero__title       { font-size: clamp(1.75rem, 6vw, 2.2rem); }
  .hero__subtitle    { font-size: 1rem; }
  .hero__actions     { flex-direction: column; margin-bottom: 40px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__stats       { gap: 16px; }
  .hero__scroll      { display: none; }
  /* Grids */
  .services-grid     { grid-template-columns: 1fr; }
  .reviews-grid      { grid-template-columns: 1fr; }

  /* Form */
  .form-row          { grid-template-columns: 1fr; }
  .contact-form      { padding: 20px; }

  /* Footer */
  .footer__inner     { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom    { flex-direction: column; text-align: center; }

  /* Google rating */
  .google-rating__content { flex-wrap: wrap; gap: 4px; }
  .google-rating__link    { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---- Phone (≤480px) ---- */
@media (max-width: 480px) {
  .hero__stats     { flex-direction: column; gap: 12px; align-items: flex-start; }
  .stat__divider   { display: none; }
  .contact__social { flex-direction: column; }
  .contact__items  { flex-direction: column; }
  .contact__item   { flex: 0 0 auto; }
  .service-card    { padding: 24px; }
  .review-card     { padding: 24px; }
  .section__header { margin-bottom: 40px; }
}

/* ---- Very small (≤360px) ---- */
@media (max-width: 360px) {
  .logo__name    { font-size: 13px; }
  .logo__tagline { font-size: 10px; }
  .hero__title   { font-size: 1.6rem; }
  .container     { padding: 0 16px; }
}

/* =========================================================
   ANIMATIONS (reduced motion respecting)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .service-card,
  .review-card { opacity: 0; transform: translateY(24px); }
  .service-card.visible,
  .review-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .5s ease, transform .5s ease;
  }
}

/* =========================================================
   ACCESSIBILITY – WCAG AA contrast corrections
   ========================================================= */
/* Gold accent text was ~4.0:1 on light backgrounds; darken to pass AA */
.section__label,
.logo__tagline { color: #7D5E30; }
/* Stat label failed against the warm hero background */
.stat__label { color: var(--gray-700); }
/* Footer copyright/address were too faint on the dark footer */
.footer__bottom { color: rgba(255,255,255,.7); }
.footer__bottom a { color: rgba(255,255,255,.8); }

/* =========================================================
   GALERIE – Vorher / Nachher Karussell
   ========================================================= */
.ba-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.ba-carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--gray-100);
}

.ba-carousel__track {
  display: flex;
  transition: transform var(--transition-slow);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .ba-carousel__track { transition: none; }
}

.ba-slide {
  flex: 0 0 100%;
  min-width: 0;
  background: var(--white);
}

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--gray-200);
}

.ba-panel {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--gray-100);
}
.ba-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ba-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 15px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.ba-badge--before { background: rgba(17,24,39,.72); color: #fff; }
.ba-badge--after  { background: var(--gold); color: var(--gray-900); box-shadow: 0 2px 12px rgba(196,162,101,.5); }

.ba-slide__caption {
  text-align: center;
  padding: 18px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
}

/* ---- Arrows ---- */
.ba-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--gray-900);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.ba-arrow svg { width: 22px; height: 22px; }
.ba-arrow:hover { background: var(--gold); color: var(--gray-900); }
.ba-arrow:active { transform: translateY(-50%) scale(.94); }
.ba-arrow--prev { left: -12px; }
.ba-arrow--next { right: -12px; }
.ba-arrow:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; }

/* ---- Dots ---- */
.ba-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.ba-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300, #D1D5DB);
  transition: background var(--transition), transform var(--transition);
}
.ba-dot:hover { background: var(--gold-dark); }
.ba-dot.active { background: var(--gold); transform: scale(1.25); }
.ba-dot:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; }

/* =========================================================
   GALERIE – Weitere Eindrücke (Grid + Lightbox)
   ========================================================= */
.ba-grid__title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 64px 0 24px;
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.ba-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 0;
  background: var(--gray-100);
  cursor: pointer;
}
.ba-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.ba-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,.35), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
}
.ba-tile:hover img { transform: scale(1.06); }
.ba-tile:hover::after { opacity: 1; }
.ba-tile:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10,15,25,.94);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition);
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }

.lightbox__figure {
  margin: 0;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox__img {
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0,0,0,.6);
}
.lightbox__caption {
  color: rgba(255,255,255,.9);
  font-size: .95rem;
  font-weight: 500;
  text-align: center;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255,255,255,.14);
  border-radius: 50%;
  transition: background var(--transition), transform var(--transition);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.lightbox__close {
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
}
.lightbox__close svg { width: 24px; height: 24px; }

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
}
.lightbox__nav svg { width: 26px; height: 26px; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__nav:active { transform: translateY(-50%) scale(.94); }

/* =========================================================
   GALERIE – Responsive
   ========================================================= */
@media (max-width: 680px) {
  .ba-pair { grid-template-columns: 1fr; gap: 0; }
  .ba-panel { aspect-ratio: 4 / 3; }
  .ba-panel + .ba-panel { border-top: 3px solid var(--gold); }
  .ba-arrow--prev { left: 6px; }
  .ba-arrow--next { right: 6px; }
  .ba-arrow { width: 42px; height: 42px; background: rgba(255,255,255,.9); }
  .ba-slide__caption { font-size: .95rem; padding: 16px 14px; }
  .ba-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ba-grid__title { margin: 48px 0 20px; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

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