/* =============================================
   Meer-Bau — Main Stylesheet
   ============================================= */

/* === CSS Variables === */
:root {
  --color-primary: #1C2B3A;
  --color-accent:  #E07B39;
  --color-bg:      #FFFFFF;
  --color-bg-alt:  #F4F6F8;
  --color-text:    #333333;
  --color-text-light: #666666;
  --color-border:  #E0E4E8;
  --font-heading:  'Montserrat', sans-serif;
  --font-body:     'Open Sans', sans-serif;
  --max-width:     1200px;
  --radius:        8px;
  --shadow:        0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover:  0 8px 32px rgba(0,0,0,0.14);
  --transition:    0.28s ease;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}
h1 { font-size: clamp(2rem,   5vw, 3.4rem); }
h2 { font-size: clamp(1.55rem,3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem,2vw, 1.4rem); }
h4 { font-size: 1rem; }
p  { margin-bottom: 1rem; }

.text-accent { color: var(--color-accent); }
.text-muted  { color: var(--color-text-light); }
.text-white  { color: #fff; }

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section        { padding: 5rem 1.5rem; }
.section--alt   { background: var(--color-bg-alt); }
.section--dark  { background: var(--color-primary); }

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}
.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.65rem;
}
.section__title    { margin-bottom: 0.75rem; }
.section__subtitle {
  color: var(--color-text-light);
  max-width: 580px;
  margin: 0 auto;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
}
.btn--primary  { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.btn--primary:hover { background: #c86b2a; border-color: #c86b2a; }
.btn--outline  { background: transparent; color: #fff; border-color: #fff; }
.btn--outline:hover { background: #fff; color: var(--color-primary); }
.btn--ghost    { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--ghost:hover { background: var(--color-primary); color: #fff; }

/* === Navbar === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.22);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 70px;
}
.navbar__logo { display: flex; align-items: center; }
.navbar__logo img {
  height: 38px;
  width: auto;
  display: block;
  background: #fff;
  border-radius: 6px;
  padding: 3px 6px;
}

.navbar__links {
  display: none;
  gap: 1.75rem;
  align-items: center;
}
.navbar__links a {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.navbar__links a:hover,
.navbar__links a.active {
  color: #fff;
  border-bottom-color: var(--color-accent);
}
.navbar__cta {
  background: var(--color-accent) !important;
  color: #fff !important;
  padding: 0.45rem 1.2rem !important;
  border-radius: var(--radius) !important;
  border-bottom: none !important;
}
.navbar__cta:hover { background: #c86b2a !important; }

.navbar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__mobile {
  display: none;
  background: #162231;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.navbar__mobile.open { display: block; }
.navbar__mobile a {
  display: block;
  padding: 0.9rem 1.5rem;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition), background var(--transition);
}
.navbar__mobile a:hover,
.navbar__mobile a.active { color: var(--color-accent); background: rgba(255,255,255,0.04); }

@media (min-width: 768px) {
  .navbar__links    { display: flex; }
  .navbar__hamburger { display: none; }
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--color-primary);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../Picture/photo_3_2026-03-27_15-40-27.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.32;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 7rem 1.5rem 5rem;
  color: #fff;
}
.hero__badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.38rem 0.9rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}
.hero__title {
  color: #fff;
  max-width: 700px;
  margin-bottom: 1.25rem;
}
.hero__subtitle {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* === Page Hero (inner pages) === */
.page-hero {
  background: var(--color-primary);
  padding: 5rem 1.5rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(224,123,57,0.12) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-hero__breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.page-hero__breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.page-hero__breadcrumb a:hover { color: var(--color-accent); }
.page-hero__title    { color: #fff; margin-bottom: 0.75rem; }
.page-hero__subtitle { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 480px; margin: 0 auto; }

/* === Service Cards === */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-top-color var(--transition);
  border-top: 3px solid transparent;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-top-color: var(--color-accent); }

.card__icon {
  width: 54px;
  height: 54px;
  background: rgba(224,123,57,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card__title { margin-bottom: 0.65rem; }
.card__text  { color: var(--color-text-light); font-size: 0.93rem; margin-bottom: 1.2rem; }
.card__link  {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}
.card__link:hover { gap: 0.7rem; }
.card__arrow { font-size: 1rem; line-height: 1; }

@media (min-width: 600px)  { .cards-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1100px) { .cards-grid { grid-template-columns: repeat(4,1fr); } }

/* === About Split === */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.about-split__image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-split__image img { width: 100%; height: 100%; object-fit: cover; }
.about-split__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-block;
  margin-bottom: 0.65rem;
}
.about-split__title { margin-bottom: 1rem; }
.about-split__text  { color: var(--color-text-light); margin-bottom: 1.5rem; }
.about-split__facts {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.about-split__fact strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
}
.about-split__fact span { font-size: 0.82rem; color: var(--color-text-light); }

@media (min-width: 768px) { .about-split { grid-template-columns: 1fr 1fr; } }

/* === USP Grid === */
.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.usp-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.usp-item__icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--color-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.usp-item__icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.usp-item__title { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--color-primary); margin-bottom: 0.3rem; }
.usp-item__text  { color: var(--color-text-light); font-size: 0.93rem; margin: 0; }

@media (min-width: 600px) { .usp-grid { grid-template-columns: repeat(2,1fr); } }

/* === Gallery Teaser === */
.gallery-teaser {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 0.75rem;
}
.gallery-teaser__item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}
.gallery-teaser__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition), opacity var(--transition);
}
.gallery-teaser__item:hover img { transform: scale(1.04); opacity: 0.85; }

@media (min-width: 768px) { .gallery-teaser { grid-template-columns: repeat(3,1fr); } }

/* === Contact Banner === */
.contact-banner {
  background: var(--color-primary);
  padding: 4.5rem 1.5rem;
  text-align: center;
}
.contact-banner__title { color: #fff; margin-bottom: 0.75rem; }
.contact-banner__text  { color: rgba(255,255,255,0.72); margin-bottom: 2rem; font-size: 1.05rem; }
.contact-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.contact-banner__phone {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

/* === Footer === */
.footer {
  background: #111E29;
  color: rgba(255,255,255,0.65);
  padding: 3.5rem 1.5rem 1.5rem;
}
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.footer__brand .footer__logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.footer__logo span { color: var(--color-accent); }
.footer__brand p { font-size: 0.88rem; color: rgba(255,255,255,0.5); max-width: 270px; margin: 0; }
.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer__col ul a { color: rgba(255,255,255,0.55); font-size: 0.9rem; transition: color var(--transition); }
.footer__col ul a:hover { color: var(--color-accent); }
.footer__col address { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.9; }
.footer__col address a { color: var(--color-accent); }
.footer__bottom {
  max-width: var(--max-width);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer__legal a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer__legal a:hover { color: var(--color-accent); }
@media (min-width: 768px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr; } }

/* === Legal Pages (Datenschutz / Cookie-Richtlinie) === */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  color: var(--color-text);
}
.legal-content__intro {
  font-size: 1.05rem;
  color: var(--color-text-light);
  padding: 1.25rem 1.5rem;
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-accent);
  border-radius: 4px;
  margin-bottom: 2.5rem;
}
.legal-content h2 {
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
  font-size: 1.1rem;
}
.legal-content p {
  color: var(--color-text-light);
  margin-bottom: 1rem;
}
.legal-content ul {
  padding-left: 1.4rem;
  margin: 0 0 1.25rem;
  list-style: disc;
  color: var(--color-text-light);
}
.legal-content ul li { margin-bottom: 0.45rem; }
.legal-content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover { color: #c86b2a; }
.legal-content__address {
  display: block;
  font-style: normal;
  padding: 1.1rem 1.4rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  color: var(--color-text);
  line-height: 1.7;
}
.legal-content__updated {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-style: italic;
}

/* === Service Detail Sections (leistungen.html) === */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}
.service-detail + .service-detail { border-top: 1px solid var(--color-border); }
.service-detail__image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.service-detail__image img { width: 100%; height: 100%; object-fit: cover; }
.service-detail__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-block;
  margin-bottom: 0.65rem;
}
.service-detail__title  { margin-bottom: 1rem; }
.service-detail__text   { color: var(--color-text-light); margin-bottom: 0.5rem; }
.service-detail__list   { padding: 0; margin: 1rem 0 1.5rem; }
.service-detail__list li {
  padding: 0.38rem 0 0.38rem 1.4rem;
  position: relative;
  color: var(--color-text-light);
  font-size: 0.93rem;
}
.service-detail__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.82rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}
@media (min-width: 768px) {
  .service-detail { grid-template-columns: 1fr 1fr; }
  .service-detail--reverse .service-detail__image   { order: 2; }
  .service-detail--reverse .service-detail__content { order: 1; }
}

/* === Full Gallery (referenzen.html) === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
}
.gallery-grid__item {
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
}
.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition), opacity var(--transition);
}
.gallery-grid__item:hover img { transform: scale(1.05); opacity: 0.88; }
.gallery-grid__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,43,58,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-grid__overlay svg { width: 32px; height: 32px; stroke: #fff; fill: none; stroke-width: 2; }
.gallery-grid__item:hover .gallery-grid__overlay { opacity: 1; }

/* === Lightbox === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox__img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 4px; }
.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  transition: color var(--transition);
}
.lightbox__close:hover { color: var(--color-accent); }
.lightbox__prev, .lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  transition: background var(--transition);
  line-height: 1;
}
.lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,0.25); }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
.lightbox__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  font-family: var(--font-heading);
}

/* === Contact Form (kontakt.html) === */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 768px) { .contact-layout { grid-template-columns: 1.1fr 0.9fr; } }

.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--color-primary);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--color-accent); }
.form-group textarea { min-height: 155px; resize: vertical; }
.form-notice { font-size: 0.8rem; color: var(--color-text-light); margin-top: 0.75rem; }

.contact-card {
  background: var(--color-primary);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: #fff;
}
.contact-card h3 { color: #fff; margin-bottom: 1.75rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.75rem; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: rgba(224,123,57,0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item__icon svg { width: 20px; height: 20px; stroke: var(--color-accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-item__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.45); margin-bottom: 0.2rem; }
.contact-item__value { color: #fff; font-weight: 600; }
.contact-item__value a { color: var(--color-accent); }

/* === Über uns: Founder === */
.founder-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 768px) { .founder-layout { grid-template-columns: 1fr 1.6fr; } }
.founder-photo { border-radius: var(--radius); overflow: hidden; }
.founder-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.founder-name { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 0.65rem; display: block; }
.founder-quote {
  border-left: 4px solid var(--color-accent);
  padding-left: 1.4rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--color-text-light);
  font-size: 1rem;
}
.founder-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.credential-tag {
  background: rgba(28,43,58,0.06);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* === Über uns: Values === */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(3,1fr); } }
.value-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.value-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(224,123,57,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.value-card__icon svg { width: 28px; height: 28px; stroke: var(--color-accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.value-card__title { margin-bottom: 0.65rem; }
.value-card__text  { color: var(--color-text-light); font-size: 0.93rem; margin: 0; }

/* === Leistungen Flip-Card Carousel === */
.section__title--light   { color: #fff; }
.section__subtitle--light { color: rgba(255,255,255,0.65); }

.leistungen-carousel {
  position: relative;
}
.leistungen-viewport {
  overflow: hidden;
}
.leistungen-track {
  display: flex;
  gap: 1.5rem;
  will-change: transform;
}

.flip-card {
  flex: 0 0 calc(33.333% - 1rem);
  height: 280px;
  perspective: 1200px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.flip-card:hover { z-index: 10; }

.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.flip-card:hover .flip-card__inner {
  transform: rotateY(180deg);
}

.flip-card__front,
.flip-card__back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.5rem;
  text-align: center;
  overflow: hidden;
}
.flip-card__front {
  background: #fff;
  box-shadow: 0 6px 28px rgba(0,0,0,0.25);
}
.flip-card__back {
  background: var(--color-accent);
  transform: rotateY(180deg);
  box-shadow: 0 8px 32px rgba(224,123,57,0.4);
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.flip-card__icon {
  width: 58px;
  height: 58px;
  background: rgba(224,123,57,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.flip-card__icon svg { width: 28px; height: 28px; }

.flip-card__front-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.3;
}

.flip-card__back-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}
.flip-card__back-icon svg { width: 22px; height: 22px; }

.flip-card__back-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.flip-card__back-text {
  color: rgba(255,255,255,0.92);
  font-size: 0.87rem;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .flip-card { flex: 0 0 calc(50% - 0.75rem); height: 260px; }
}
@media (max-width: 480px) {
  .flip-card { flex: 0 0 100%; height: 250px; }
}

/* === Approach Steps === */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: step-counter;
}
@media (min-width: 600px)  { .approach-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1100px) { .approach-grid { grid-template-columns: repeat(4,1fr); } }
.approach-step {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
  counter-increment: step-counter;
}
.approach-step::before {
  content: counter(step-counter, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(224,123,57,0.12);
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  line-height: 1;
}
.approach-step__num   { display: none; }
.approach-step__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--color-primary); margin-bottom: 0.5rem; }
.approach-step__text  { color: var(--color-text-light); font-size: 0.9rem; margin: 0; }
