/* ============================================================
   M.V. TROCKENBAU – ANTHROPIC BRAND REDESIGN 2026
   Brand Colors: #141413 | #faf9f5 | #d97757 | #6a9bcc | #788c5d
   Typography: Poppins (Headings) | Lora (Body)
   ============================================================ */

/* --- System Font Stack (kein externer Font-Aufruf = DSGVO-sicher) --- */

/* --- CSS Custom Properties --- */
:root {
  /* Anthropic Brand Colors */
  --dark:          #141413;
  --light:         #faf9f5;
  --mid-gray:      #b0aea5;
  --light-gray:    #e8e6dc;

  /* Accent Colors */
  --accent:        #d97757;
  --accent-hover:  #c4623f;
  --accent-glow:   rgba(217, 119, 87, 0.25);
  --accent-blue:   #6a9bcc;
  --accent-green:  #788c5d;

  /* Semantic */
  --surface:       #faf9f5;
  --surface-alt:   #f2f0e8;
  --surface-dark:  #141413;
  --text:          #141413;
  --text-light:    #5c5a52;
  --text-muted:    #b0aea5;
  --text-white:    #faf9f5;
  --border:        #e8e6dc;
  --border-dark:   rgba(255,255,255,0.1);

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(20,20,19,0.06);
  --shadow-md:  0 4px 20px rgba(20,20,19,0.08);
  --shadow-lg:  0 10px 40px rgba(20,20,19,0.10);
  --shadow-xl:  0 20px 60px rgba(20,20,19,0.12);

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  /* Transitions */
  --transition:      0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

.container-narrow {
  max-width: 900px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.45rem); }
h4 { font-size: 1.1rem; font-weight: 600; }

p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

/* --- Section Styling --- */
.section {
  padding: 6rem 0;
}

.section-dark {
  background: var(--surface-dark);
  color: var(--text-white);
}

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

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section-header p {
  margin-top: 1.75rem;
  font-size: 1.1rem;
}

.badge {
  display: inline-block;
  background: rgba(217, 119, 87, 0.1);
  color: var(--accent);
  border: 1px solid rgba(217, 119, 87, 0.25);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 1rem;
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll Reveal */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal         { transform: translateY(30px); }
.reveal-left    { transform: translateX(-40px); }
.reveal-right   { transform: translateX(40px); }
.reveal-scale   { transform: scale(0.95); }

.revealed {
  opacity: 1 !important;
  transform: none !important;
}

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

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(250, 249, 245, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  padding: 0 1rem;
}

.nav__logo img {
  height: 48px;
  width: auto;
  transition: var(--transition);
}

.header.scrolled .nav__logo img {
  height: 40px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav__links a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-white);
  position: relative;
  padding: 0.25rem 0;
  letter-spacing: 0.01em;
}

.header.scrolled .nav__links a {
  color: var(--text);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: var(--transition);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--light) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav__cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.nav__cta::after { display: none !important; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

.header.scrolled .nav__hamburger span {
  background: var(--dark);
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
@media (max-width: 900px) {
  .nav__hamburger { display: flex; }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition-slow);
    box-shadow: -10px 0 40px rgba(0,0,0,0.25);
    padding: 2rem;
  }

  .nav__links.open {
    right: 0;
  }

  .nav__links a {
    color: var(--text-white) !important;
    font-size: 1.15rem;
  }

  .nav__cta {
    margin-top: 0.5rem;
    justify-content: center;
  }
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,20,19,0.55);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-trockenbau-arbeitsplatz.jpg') center/cover no-repeat;
  transform: scale(1.1);
  transition: transform 0.1s linear;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(20, 20, 19, 0.92) 0%,
    rgba(20, 20, 19, 0.75) 50%,
    rgba(20, 20, 19, 0.60) 100%
  );
}

/* Subtle grain texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero__particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(217, 119, 87, 0.5);
  border-radius: 50%;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0%   { transform: translateY(100vh) rotate(0deg);   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 1.5rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(217, 119, 87, 0.12);
  border: 1px solid rgba(217, 119, 87, 0.3);
  color: #e8977a;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  animation: fadeInDown 0.8s ease forwards;
  opacity: 0;
}

.hero__title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--light);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero__title .highlight {
  color: var(--accent);
}

.hero__subtitle {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(250, 249, 245, 0.75);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero__scroll-inner {
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(250,249,245,0.35);
  border-radius: 13px;
  position: relative;
}

.hero__scroll-inner::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-dot 1.5s ease infinite;
}

@keyframes scroll-dot {
  0%   { top: 6px;  opacity: 1; }
  100% { top: 26px; opacity: 0; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.9rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent);
  color: var(--light);
  box-shadow: 0 2px 12px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--light);
  border: 1.5px solid rgba(250, 249, 245, 0.35);
}

.btn-outline:hover {
  background: rgba(250, 249, 245, 0.08);
  border-color: rgba(250, 249, 245, 0.65);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: var(--light);
}

.btn-dark:hover {
  background: #2a2a28;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   STATS / COUNTER SECTION
   ============================================================ */
.stats {
  position: relative;
  z-index: 3;
  margin-top: -4rem;
  padding: 0 1rem;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 0;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  overflow: hidden;
}

.stats__item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}

.stats__item:last-child {
  border-right: none;
}

.stats__item:hover {
  background: var(--surface-alt);
}

.stats__number {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stats__number .accent {
  color: var(--accent);
}

.stats__label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__item:nth-child(2) {
    border-right: none;
  }

  .stats__item:nth-child(1),
  .stats__item:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
}

/* ============================================================
   SERVICES / LEISTUNGEN
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.service-card__image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.06);
}

.service-card__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(20,20,19,0.25));
}

.service-card__number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 38px;
  height: 38px;
  background: var(--accent);
  color: var(--light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  z-index: 1;
  letter-spacing: 0.02em;
}

.service-card__body {
  padding: 1.75rem;
}

.service-card__body h3 {
  margin-bottom: 0.75rem;
  transition: var(--transition);
  font-size: 1.15rem;
}

.service-card:hover .service-card__body h3 {
  color: var(--accent);
}

.service-card__body p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-card__tag {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  background: var(--surface-alt);
  padding: 0.28rem 0.8rem;
  border-radius: 50px;
  border: 1px solid var(--border);
}

@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* ============================================================
   ABOUT TEASER (Homepage)
   ============================================================ */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-teaser__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-teaser__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.about-teaser__image::before {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 100px;
  height: 100px;
  background: var(--accent);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0.6;
}

.about-teaser__content h2 {
  margin-bottom: 1.25rem;
}

.about-teaser__content p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about-teaser__list {
  margin: 1.5rem 0 2rem;
}

.about-teaser__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.98rem;
  color: var(--text);
}

.about-teaser__list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 3px;
}

@media (max-width: 768px) {
  .about-teaser {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-teaser__image { order: -1; }
  .about-teaser__image img { min-height: 280px; }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--dark);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217,119,87,0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(106,155,204,0.08) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section h2 {
  color: var(--light);
  margin-bottom: 1rem;
  position: relative;
}

.cta-section p {
  color: rgba(250, 249, 245, 0.65);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.cta-section .btn { position: relative; }

/* ============================================================
   PAGE HERO (Unterseiten)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 10rem 0 5rem;
  background: var(--dark);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(217,119,87,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  color: var(--light);
  margin-bottom: 1rem;
  position: relative;
}

.page-hero p {
  color: rgba(250, 249, 245, 0.65);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

.page-hero .badge {
  color: #e8977a;
  background: rgba(217,119,87,0.12);
  border-color: rgba(217,119,87,0.25);
}

/* ============================================================
   ABOUT PAGE – VALUES
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.value-card {
  text-align: center;
  padding: 2.5rem 1.75rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.value-card__icon {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.35rem;
  color: var(--light);
}

.value-card h4 {
  color: var(--dark);
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.value-card p {
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Team Image */
.team-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid var(--border);
}

.team-image img {
  width: 100%;
  height: auto;
}

/* About Text Section */
.about-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.85;
}

@media (max-width: 768px) {
  .about-text {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-item__icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  transition: var(--transition);
}

.contact-item:hover .contact-item__icon {
  background: var(--accent);
  color: var(--light);
  border-color: var(--accent);
}

.contact-item h4 {
  margin-bottom: 0.25rem;
  color: var(--dark);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-item p,
.contact-item a {
  color: var(--text-light);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
}

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

/* Contact Form */
.contact-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form h3 {
  margin-bottom: 1.75rem;
  font-size: 1.3rem;
}

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

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

.form-group label {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface-alt);
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row     { grid-template-columns: 1fr; }
}

/* Social Links */
.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.social-link:hover {
  background: var(--accent);
  color: var(--light);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Google Maps Embed */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 3rem;
  height: 350px;
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   LEGAL PAGES (Impressum, Datenschutz)
   ============================================================ */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.legal-content h1 {
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.85;
}

.legal-content ul {
  margin: 0.75rem 0 1.25rem 1.5rem;
  list-style: disc;
}

.legal-content ul li {
  margin-bottom: 0.4rem;
  color: var(--text-light);
  line-height: 1.7;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(217,119,87,0.4);
  text-underline-offset: 3px;
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(250,249,245,0.6);
  padding: 4.5rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250,249,245,0.08);
}

.footer__brand img {
  height: 42px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  color: rgba(250,249,245,0.5);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 260px;
}

.footer h4 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--light);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer__links li {
  margin-bottom: 0.65rem;
}

.footer__links a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: rgba(250,249,245,0.5);
  font-size: 0.92rem;
  transition: var(--transition);
}

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

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  color: rgba(250,249,245,0.5);
}

.footer__contact-item i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.footer__contact-item a {
  color: rgba(250,249,245,0.5);
  transition: var(--transition);
}

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

.footer__social {
  display: flex;
  gap: 0.6rem;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(250,249,245,0.06);
  border: 1px solid rgba(250,249,245,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250,249,245,0.5);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--light);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  color: rgba(250,249,245,0.3);
  letter-spacing: 0.01em;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
  }
}
