:root {
  --petrol: #124B65;
  --petrol-light: #1a6a8f;
  --petrol-dark: #0d3a4f;
  --bordeaux: #4C170F;
  --bordeaux-light: #6b211a;
  --green: #07493F;
  --green-light: #0d6b5a;
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --light-gray: #E8ECF0;
  --medium-gray: #94A3B8;
  --dark: #0F172A;
  --text: #334155;
  --text-light: #64748B;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  line-height: 1.2;
}

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

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Announcement Bar ─── */
.announcement-bar {
  background: var(--petrol-dark);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.announcement-bar a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Navigation ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.65rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
}

.logo-img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.logo-img-footer {
  height: 48px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-links a:hover {
  background: var(--off-white);
  color: var(--petrol);
}

/* ─── Nav Dropdown ─── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown>a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown>a::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.2s;
}

.nav-dropdown:hover>a::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 8px;
  min-width: 260px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 100;
  margin-top: 8px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 0;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: all 0.15s;
}

.nav-dropdown-menu a:hover {
  background: var(--off-white);
  color: var(--petrol);
}

.nav-dropdown-menu a i {
  width: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--petrol);
}

.nav-dropdown-menu .dropdown-divider {
  height: 1px;
  background: var(--light-gray);
  margin: 4px 8px;
}

.nav-cta {
  background: var(--petrol) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--petrol-light) !important;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 6px auto;
  transition: all 0.3s;
}

/* ─── Hero Section ─── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--petrol-dark) 0%, var(--petrol) 40%, var(--green) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(76, 23, 15, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(7, 73, 63, 0.4) 0%, transparent 60%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeInDown 0.8s ease-out;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero h1 {
  font-size: 3.6rem;
  color: white;
  font-weight: 600;
  margin-bottom: 22px;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero h1 .accent {
  color: rgba(255, 255, 255, 0.55);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.45s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: white;
  color: var(--petrol);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 80px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stat {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
}

.hero-stat .number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: white;
  display: block;
}

.hero-stat .label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* Geometric shapes */
.hero-shapes {
  position: absolute;
  right: -5%;
  top: 10%;
  width: 45%;
  height: 80%;
  z-index: 1;
  opacity: 0.12;
}

.shape {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 20%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 40%;
  right: 5%;
  animation-delay: -2s;
  border-radius: 50%;
}

.shape-3 {
  width: 100px;
  height: 100px;
  bottom: 15%;
  right: 30%;
  animation-delay: -4s;
}

/* ─── Trusted By ─── */
.trusted {
  padding: 50px 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--light-gray);
}

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

.trusted-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 28px;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trusted-logo-item {
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: 50%;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  padding: 24px;
  animation: logoPulse 3s ease-in-out infinite;
  animation-delay: calc(var(--logo-index, 0) * 0.4s);
}

.trusted-logo-item:hover {
  box-shadow: 0 8px 24px rgba(18, 75, 101, 0.15);
  border-color: var(--petrol);
  transform: translateY(-4px) scale(1.08);
}

.trusted-logo-item img {
  max-width: 90px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.trusted-logo-item:hover img {
  transform: scale(1.05);
}

@keyframes logoPulse {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* animation-delay handled via --logo-index CSS custom property */

.trusted-logos span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

/* ─── Section Headers ─── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--petrol);
  margin-bottom: 18px;
}

.section-header h2 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
}

/* ─── Services ─── */
.services {
  padding: 110px 0;
}

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

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  padding: 40px 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: height 0.4s ease;
}

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

.service-card:hover::before {
  height: 6px;
}

.service-card.blue::before {
  background: var(--petrol);
}

.service-card.red::before {
  background: var(--bordeaux);
}

.service-card.green::before {
  background: var(--green);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-card.blue .service-icon {
  background: rgba(18, 75, 101, 0.1);
  color: var(--petrol);
}

.service-card.red .service-icon {
  background: rgba(76, 23, 15, 0.1);
  color: var(--bordeaux);
}

.service-card.green .service-icon {
  background: rgba(7, 73, 63, 0.1);
  color: var(--green);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

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

.service-card>p {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 0.88rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.service-card.blue .service-list li::before {
  background: var(--petrol);
}

.service-card.red .service-list li::before {
  background: var(--bordeaux);
}

.service-card.green .service-list li::before {
  background: var(--green);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 0.88rem;
  font-weight: 600;
}

.service-card.blue .service-link {
  color: var(--petrol);
}

.service-card.red .service-link {
  color: var(--bordeaux);
}

.service-card.green .service-link {
  color: var(--green);
}

.service-link:hover {
  gap: 10px;
}

/* Additional Services Row */
.services-extra {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
}

.service-mini {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s;
}

.service-mini:hover {
  background: white;
  box-shadow: var(--shadow-md);
}

.service-mini-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(18, 75, 101, 0.08);
  color: var(--petrol);
}

.service-mini-icon svg {
  width: 22px;
  height: 22px;
}

.service-mini h4 {
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  margin-bottom: 4px;
}

.service-mini p {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ─── Immoventra Banner Redesign ─── */
.immoventra-banner {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
  background: linear-gradient(135deg, white, rgba(255, 255, 255, 0.7));
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  border: 1px solid var(--light-gray);
  border-left: 6px solid var(--bordeaux);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.immoventra-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at top right, rgba(76, 23, 15, 0.03), transparent 50%);
  pointer-events: none;
}

.immoventra-banner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(76, 23, 15, 0.2);
}

.immoventra-brand {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}

.immoventra-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(76, 23, 15, 0.05);
  border: 1px solid rgba(76, 23, 15, 0.15);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bordeaux);
}

.immoventra-logo {
  height: 48px;
  width: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.immoventra-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border-left: 1px solid var(--light-gray);
  padding-left: 40px;
}

.immoventra-content p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.immoventra-content strong {
  color: var(--dark);
  font-weight: 600;
}

.immoventra-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bordeaux);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.3s ease;
}

.immoventra-banner:hover .immoventra-link {
  gap: 12px;
}

@media (max-width: 992px) {
  .immoventra-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
  }

  .immoventra-brand {
    flex: auto;
  }

  .immoventra-content {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--light-gray);
    padding-top: 24px;
  }
}

/* ─── About / Über Uns ─── */
.about {
  padding: 110px 0;
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-tag {
  margin-bottom: 18px;
}

.about-content h2 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.about-content>p {
  color: var(--text-light);
  font-size: 1.02rem;
  margin-bottom: 28px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(18, 75, 101, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--petrol);
}

.about-feature-icon svg {
  width: 20px;
  height: 20px;
}

.about-feature h4 {
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 0.88rem;
  color: var(--text-light);
}

.about-visual {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--petrol), var(--green));
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  gap: 12px;
  font-size: 0.88rem;
}

.about-image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.about-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Karte unter dem Bild, leicht nach oben ins Foto gezogen – Gesichter bleiben frei */
.founders-card {
  position: relative;
  z-index: 2;
  margin-top: -44px;
  align-self: flex-start;
  width: min(320px, 100%);
  max-width: 100%;
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .founders-card {
    margin-top: -40px;
  }
}

@media (max-width: 1024px) {
  .founders-card {
    margin-top: -36px;
    width: min(320px, 100%);
  }
}

.founders-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--petrol);
}

.founder {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.founder:last-child {
  margin-bottom: 0;
}

.founder-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--petrol);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
}

.founder-info span {
  display: block;
}

.founder-info .role-sub {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.35;
  margin-top: 4px;
}

.founder-info .name {
  font-weight: 600;
  font-size: 0.88rem;
}

.founder-info .role {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ─── Timeline ─── */
.timeline-section {
  padding: 110px 0;
  background: var(--dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.timeline-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(18, 75, 101, 0.3), transparent 60%),
    radial-gradient(ellipse at 70% 100%, rgba(7, 73, 63, 0.2), transparent 60%);
}

.timeline-section .section-header {
  position: relative;
  z-index: 1;
}

.timeline-section .section-tag {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

.timeline-section .section-header h2 {
  color: white;
}

.timeline-section .section-header p {
  color: rgba(255, 255, 255, 0.55);
}

.timeline {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--petrol), var(--bordeaux), var(--green));
  opacity: 0.4;
}

.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
  align-items: center;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline-date {
  flex: 1;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) .timeline-date {
  justify-content: flex-end;
}

.timeline-item:nth-child(even) .timeline-date {
  justify-content: flex-start;
}

.timeline-date span {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--petrol);
  border: 3px solid var(--dark);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.timeline-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 22px 26px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  overflow: hidden;
}

.timeline-image {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
  border-radius: 8px;
}

.timeline-image img {
  width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  height: 140px;
}

.timeline-item:hover .timeline-image {
  max-height: 200px;
  opacity: 1;
  margin-top: 16px;
}

.timeline-item:hover .timeline-content {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.02);
}

.timeline-content h4 {
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease;
}

.timeline-item:hover .timeline-content p {
  max-height: 200px;
  opacity: 1;
  margin-top: 6px;
}

/* ─── Properties / Referenzen ─── */
.properties {
  padding: 110px 0;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.property-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-gray);
  transition: all 0.4s;
  background: white;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.property-image {
  height: 220px;
  background: var(--petrol);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.property-image svg {
  width: 48px;
  height: 48px;
}

.property-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.property-badge.hm {
  background: var(--petrol);
  color: white;
}

.property-badge.re {
  background: var(--green);
  color: white;
}

.property-badge.all {
  background: var(--bordeaux);
  color: white;
}

.property-info {
  padding: 22px 24px;
}

.property-info h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.property-info .location {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

.property-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.property-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.property-meta svg {
  width: 14px;
  height: 14px;
}

/* ─── Section CTA ─── */
.section-cta {
  text-align: center;
  margin-top: 48px;
}

.btn-outline-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 2px solid var(--petrol);
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--petrol);
  background: transparent;
  transition: all 0.3s;
}

.btn-outline-lg:hover {
  background: var(--petrol);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(18, 75, 101, 0.2);
}

/* ─── Testimonials ─── */
.testimonials {
  padding: 110px 0;
  background: var(--off-white);
}

.testimonials-wrapper {
  position: relative;
  width: 100%;
}

.testimonials-grid {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: none;
}

.testimonials-grid::-webkit-scrollbar {
  display: none;
}

.slider-btn {
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: var(--petrol);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.slider-btn:hover {
  background: var(--petrol);
  color: white;
}

.slider-btn.prev-btn {
  left: -22px;
}

.slider-btn.next-btn {
  right: -22px;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--light-gray);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

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

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: #F59E0B;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--light-gray);
  padding-top: 16px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar {
  background: var(--petrol);
  color: white;
  font-weight: 700;
  font-size: 0.82rem;
}

.testimonial-logo {
  background: #ffffff;
  border: 1px solid var(--light-gray);
  padding: 4px;
}

.testimonial-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.88rem;
}

.testimonial-company {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ─── CTA Section ─── */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--petrol) 0%, var(--green) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.8rem;
  color: white;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin: 0 auto 36px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 34px;
  background: white;
  color: var(--petrol);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  transition: all 0.3s;
}

.cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  background: transparent;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}

.cta-btn-primary svg,
.cta-btn-secondary svg {
  flex-shrink: 0;
}

.cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ─── Contact ─── */
.contact {
  padding: 110px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.65fr;
  gap: 48px;
}

.contact-info h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.contact-info>p {
  color: var(--text-light);
  margin-bottom: 36px;
  font-size: 1rem;
}

.contact-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  padding: 32px 32px 26px;
  color: var(--text);
}

.contact-card .section-tag {
  margin-bottom: 14px;
}

.contact-card h2 {
  margin-bottom: 10px;
  color: var(--dark);
}

.contact-card>p {
  margin-bottom: 26px;
  color: var(--text-light);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--petrol);
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item-text .label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.76rem;
  color: rgba(148, 163, 184, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.contact-item-text .value {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--dark);
  line-height: 1.5;
}

.contact-item-text .label,
.contact-item-text .value {
  display: block;
}

.contact-item-text .value a {
  color: var(--petrol);
}

.contact-item-text .value a:hover {
  text-decoration: underline;
}

.contact-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--petrol);
  color: #ffffff;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.contact-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--light-gray);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.contact-form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.form-row {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.form-group {
  flex: 1;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--dark);
  background: var(--off-white);
  transition: all 0.2s;
  outline: none;
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 2px;
}

.form-group select {
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(18, 75, 101, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--petrol);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit svg {
  flex-shrink: 0;
}

.form-submit:hover {
  background: var(--petrol-light);
  transform: translateY(-1px);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  text-align: center;
  padding: 32px 8px 8px;
}

.form-success-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.08);
  color: #16a34a;
}

.form-success-icon svg {
  width: 24px;
  height: 24px;
}

.form-success-icon i {
  font-size: 22px;
}

.form-success h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.form-success p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 18px;
}

.form-submit.secondary {
  background: white;
  color: var(--petrol);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.form-submit.secondary:hover {
  background: var(--off-white);
}

/* ─── Form Success Message ─── */
.form-success-message {
  text-align: center;
  padding: 40px 20px;
  animation: fadeInUp 0.5s ease-out;
}

.form-success-message .success-icon {
  margin-bottom: 20px;
}

.form-success-message h4 {
  font-size: 1.4rem;
  color: var(--petrol);
  margin-bottom: 12px;
}

.form-success-message p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Form Improvements ─── */
.form-subtitle {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.5;
}

.required {
  color: var(--bordeaux);
}

.form-group-full {
  width: 100%;
  flex: unset !important;
}

.form-divider {
  height: 1px;
  background: var(--light-gray);
  margin: 8px 0 20px;
}

.form-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.form-option {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: normal !important;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
}

.form-option input[type="radio"],
.form-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--petrol);
  flex-shrink: 0;
  cursor: pointer;
  transform: translateY(1px);
}

.form-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.form-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}

.form-chip:hover {
  border-color: var(--petrol);
  color: var(--petrol);
}

.form-chip:has(input:checked) {
  background: var(--petrol);
  color: white;
  border-color: var(--petrol);
}

.form-chip input[type="checkbox"] {
  display: none;
}

.form-consent {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  padding: 16px;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--light-gray);
}

.form-link {
  color: var(--petrol);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Mobile CTA ─── */
.mobile-cta {
  color: var(--petrol) !important;
  font-weight: 700;
  padding: 12px 28px;
  background: rgba(18, 75, 101, 0.08);
  border-radius: 10px;
  margin-top: 8px;
}

/* ─── Footer ─── */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 300px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

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

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Three color dots */
.color-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.color-dot.petrol {
  background: var(--petrol);
}

.color-dot.bordeaux {
  background: var(--bordeaux);
}

.color-dot.green-dot {
  background: var(--green);
}

/* ─── 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);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(3deg);
  }
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }

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

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .testimonial-card {
    flex: 0 0 100%;
  }

  .slider-btn {
    display: none;
  }

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

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

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: column;
    text-align: left;
    gap: 0;
    padding-left: 40px;
  }

  .timeline::before {
    left: 14px;
  }

  .timeline-dot {
    position: absolute;
    left: -40px;
    top: 22px;
  }

  .timeline-date {
    margin-bottom: 8px;
  }

  .timeline-item:nth-child(odd) .timeline-date,
  .timeline-item:nth-child(even) .timeline-date {
    justify-content: flex-start;
  }

  .timeline-image {
    max-height: 200px;
    opacity: 1;
    margin-top: 16px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  /* Logo auf Mobile nicht zu groß */
  .logo-img {
    height: 38px;
    max-width: 140px;
  }

  /* Announcement Bar wrappen statt quetschen */
  .announcement-bar {
    font-size: 0.75rem;
    padding: 8px 16px;
    line-height: 1.5;
  }

  .hero {
    min-height: 80vh;
    padding: 60px 0 40px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* Stats: 2 Spalten, nicht gequetscht */
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
    gap: 1px;
  }

  .hero-stat {
    padding: 20px 16px;
  }

  .hero-stat .number {
    font-size: 1.8rem;
  }

  .hero-stat .label {
    font-size: 0.75rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

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

  .form-row {
    flex-direction: column;
  }

  .founders-card {
    position: relative;
    margin-top: -28px;
    width: 100%;
    max-width: none;
  }

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

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

  .cta-content h2 {
    font-size: 2rem;
  }

  /* Buttons auf Mobile nicht gequetscht */
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Nav-Höhe auf Mobile */
  .nav-inner {
    height: 64px;
  }
}

@media (max-width: 400px) {
  .logo-img {
    height: 32px;
    max-width: 120px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-stat .number {
    font-size: 1.5rem;
  }

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

/* ─── Mobile Menu ─── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1001;
  flex-direction: column;
  align-items: stretch;
  padding: 28px;
  padding-top: 80px;
  gap: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
  display: flex;
  animation: mobileMenuBgIn 0.4s ease-out forwards;
}

.mobile-menu.active>a,
.mobile-menu.active>div.mobile-submenu {
  animation: mobileMenuItemSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(15px);
}

.mobile-menu.active>.close-menu,
.mobile-menu.active>.mobile-menu-logo {
  animation: mobileMenuFade 0.4s ease forwards;
  opacity: 0;
}

.mobile-menu.active>*:nth-child(1) {
  animation-delay: 0.1s;
}

.mobile-menu.active>*:nth-child(2) {
  animation-delay: 0.15s;
}

.mobile-menu.active>*:nth-child(3) {
  animation-delay: 0.2s;
}

.mobile-menu.active>*:nth-child(4) {
  animation-delay: 0.25s;
}

.mobile-menu.active>*:nth-child(5) {
  animation-delay: 0.3s;
}

.mobile-menu.active>*:nth-child(6) {
  animation-delay: 0.35s;
}

.mobile-menu.active>*:nth-child(7) {
  animation-delay: 0.4s;
}

.mobile-menu.active>*:nth-child(8) {
  animation-delay: 0.45s;
}

@keyframes mobileMenuBgIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }

  to {
    opacity: 1;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

@keyframes mobileMenuItemSlideIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mobileMenuFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Logo */
.mobile-menu-logo {
  height: 26px;
  width: auto;
  margin-bottom: 24px;
  display: block;
}

/* Close button */
.mobile-menu .close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s;
  line-height: 1;
}

.mobile-menu .close-menu:hover {
  background: var(--light-gray);
  color: var(--dark);
}

/* All links base */
.mobile-menu>a:not(.mobile-cta) {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  padding: 14px 0;
  border-bottom: 1px solid var(--light-gray);
  text-decoration: none;
}

/* Section labels (Leistungen, Unternehmen - links above submenus) */
.mobile-menu>a:has(+ .mobile-submenu) {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--medium-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 0 0 2px;
  margin-top: 24px;
  margin-bottom: 6px;
  border-bottom: none;
}

/* Submenu container */
.mobile-submenu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
  margin: 0 0 8px 0;
}

/* Submenu items */
.mobile-submenu a {
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: var(--dark) !important;
  padding: 11px 14px !important;
  display: flex !important;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  transition: background 0.15s ease;
  text-decoration: none;
}

.mobile-submenu a:hover,
.mobile-submenu a:active {
  background: var(--off-white);
  color: var(--petrol) !important;
}

.mobile-submenu a i {
  width: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--petrol);
  flex-shrink: 0;
}

/* CTA Button */
.mobile-cta {
  margin-top: auto !important;
  padding: 16px 24px !important;
  background: var(--petrol) !important;
  color: white !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  text-align: center;
  font-size: 1.05rem !important;
  transition: background 0.2s;
  border-bottom: none !important;
  text-decoration: none;
}

.mobile-cta:hover {
  background: var(--petrol-light) !important;
}

/* ─── Modern Services Grid ─── */
.services-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

@media (max-width: 768px) {
  .services-grid-modern {
    grid-template-columns: 1fr;
  }
}

.service-card-modern {
  position: relative;
  background: white;
  border: 1px solid #eeeeee;
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: var(--text);
  z-index: 1;
  overflow: hidden;
}

.service-card-modern:hover {
  transform: translateY(-2px);
}

.service-card-modern.blue:hover {
  box-shadow: 0 15px 35px rgba(18, 75, 101, 0.12);
  border-color: rgba(18, 75, 101, 0.2);
}

.service-card-modern.green:hover {
  box-shadow: 0 15px 35px rgba(7, 73, 63, 0.12);
  border-color: rgba(7, 73, 63, 0.2);
}

.service-card-modern.red:hover {
  box-shadow: 0 15px 35px rgba(76, 23, 15, 0.12);
  border-color: rgba(76, 23, 15, 0.2);
}

.sc-brand-icon {
  position: absolute;
  bottom: 12px;
  right: 16px;
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.26;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.service-card-modern:hover .sc-brand-icon {
  opacity: 0.62;
  transform: scale(1.06);
}

.service-number {
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 60, 72, 0.06);
  -webkit-text-fill-color: rgba(0, 60, 72, 0.06);
  -webkit-text-stroke: 1.5px rgba(0, 60, 72, 0.11);
  z-index: -1;
  pointer-events: none;
  transition: color 0.35s ease, -webkit-text-stroke 0.35s ease, -webkit-text-fill-color 0.35s ease, transform 0.35s ease;
}

.service-card-modern.blue:hover .service-number {
  color: rgba(18, 75, 101, 0.14);
  -webkit-text-fill-color: rgba(18, 75, 101, 0.14);
  -webkit-text-stroke: 2px rgba(18, 75, 101, 0.42);
}

.service-card-modern.green:hover .service-number {
  color: rgba(7, 73, 63, 0.14);
  -webkit-text-fill-color: rgba(7, 73, 63, 0.14);
  -webkit-text-stroke: 2px rgba(7, 73, 63, 0.42);
}

.service-card-modern.red:hover .service-number {
  color: rgba(76, 23, 15, 0.14);
  -webkit-text-fill-color: rgba(76, 23, 15, 0.14);
  -webkit-text-stroke: 2px rgba(76, 23, 15, 0.42);
}

.sc-icon {
  margin-bottom: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-modern.blue .sc-icon {
  color: var(--petrol);
}

.service-card-modern.green .sc-icon {
  color: var(--green);
}

.service-card-modern.red .sc-icon {
  color: var(--bordeaux);
}

.sc-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.2;
}

.sc-icon i {
  font-size: 1.6rem;
}

.sc-headline {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--dark);
}

.service-card-modern p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-light);
  margin-bottom: 16px;
  flex: 1;
}

.digital-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--off-white);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 24px;
}

.digital-badge svg {
  width: 16px;
  height: 16px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark);
  transition: all 0.3s;
  background: transparent;
}

.service-card-modern.blue:hover .btn-outline {
  border-color: var(--petrol);
  color: var(--petrol);
}

.service-card-modern.green:hover .btn-outline {
  border-color: var(--green);
  color: var(--green);
}

.service-card-modern.red:hover .btn-outline {
  border-color: var(--bordeaux);
  color: var(--bordeaux);
}

.service-card-modern .service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.service-card-modern .service-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.4;
}

.service-card-modern .service-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--petrol);
  font-weight: bold;
}

/* ─── Cookie Consent Banner ─── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 600px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 4px solid var(--petrol);
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(0);
  opacity: 1;
}

.cookie-content h4 {
  font-family: 'DM Sans', sans-serif;
  color: var(--petrol);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.cookie-content p {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}

.cookie-content a {
  color: var(--petrol);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-content a:hover {
  color: var(--petrol-light);
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
}

.cookie-btn {
  padding: 10px 18px;
  font-size: 0.9rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.cookie-modal-desc {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text);
}

.cookie-modal-save {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius);
}

/* ─── Cookie Settings Modal ─── */
.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: opacity 0.3s ease;
}

.cookie-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 500px;
  background: white;
  border-radius: var(--radius-lg);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.cookie-modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-header h4 {
  color: var(--petrol);
  font-size: 1.2rem;
  margin: 0;
}

.cookie-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
}

.cookie-modal-body {
  padding: 24px;
  overflow-y: auto;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--light-gray);
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option-info {
  padding-right: 20px;
}

.cookie-option-info h5 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 6px;
}

.cookie-option-info p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--medium-gray);
  transition: .4s;
}

.toggle-switch .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

.toggle-switch input:checked+.slider {
  background-color: var(--petrol);
}

.toggle-switch input:checked+.slider:before {
  transform: translateX(22px);
}

.toggle-switch .slider.round {
  border-radius: 28px;
}

.toggle-switch .slider.round:before {
  border-radius: 50%;
}

.toggle-switch input:disabled+.slider {
  background-color: var(--petrol);
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-modal-footer {
  padding: 24px;
  border-top: 1px solid var(--light-gray);
  background: var(--off-white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-width: 100%;
    border-left: none;
    border-top: 4px solid var(--petrol);
  }

  .cookie-buttons {
    flex-wrap: wrap;
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1 1 100%;
    text-align: center;
  }

  .cookie-btn.btn-text {
    order: 3;
    margin-top: 8px;
  }
}

/* ─── Focus-Visible States ─── */
:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}