/* ============================================
   TERRAFORMA – INNER PAGE STYLES
   All styles specific to inner pages (not index.html)
   ============================================ */

/* ---------- Page Entrance Fade ---------- */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

body {
  animation: pageFadeIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* ---------- Scroll Margin for All Anchors ---------- */
section[id] {
  scroll-margin-top: calc(var(--nav-h) + 8px);
}

/* ---------- Active Nav Link ---------- */
.nav-links a.nav-active {
  font-weight: 600;
  color: var(--white) !important;
}

#navbar.scrolled .nav-links a.nav-active {
  color: var(--black) !important;
}

/* ---------- Inner Page: Navbar Always Solid ---------- */
body.inner-page #navbar {
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

body.inner-page .nav-logo {
  color: var(--black);
}

body.inner-page .nav-links a {
  color: var(--gray-700);
}

body.inner-page .nav-links a:hover {
  color: var(--black);
}

body.inner-page .nav-cta {
  background: var(--black);
  color: var(--white) !important;
}

body.inner-page .nav-cta:hover {
  background: var(--accent);
}

body.inner-page .hamburger span {
  background: var(--black);
}

/* ============================================
   PAGE HERO — shared across all inner pages
   ============================================ */

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 100px) 0 72px;
  background: var(--black);
}

[data-page="kontakt"] .page-hero {
  min-height: 72vh;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: grayscale(30%);
}

.page-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: none;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(46,94,62,0.18) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.55));
  pointer-events: none;
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.40);
  margin-bottom: 22px;
  letter-spacing: 0.04em;
}

.page-breadcrumb a {
  color: rgba(255,255,255,0.40);
  transition: color 0.25s;
}

.page-breadcrumb a:hover {
  color: rgba(255,255,255,0.75);
}

.page-breadcrumb-sep {
  color: rgba(255,255,255,0.25);
}

.page-eyebrow {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}

.page-hero h1 {
  font-size: clamp(38px, 5.5vw, 70px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  max-width: 740px;
}

.page-hero-subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  color: rgba(255,255,255,0.58);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.65;
}

/* ============================================
   INNER PAGE CTA SECTION
   ============================================ */

.inner-cta-section {
  background: var(--gray-50);
  padding: 88px 0;
  text-align: center;
}

.inner-cta-section h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 16px;
}

.inner-cta-section p {
  font-size: 17px;
  color: var(--gray-500);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

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

/* ============================================
   PROJEKTE PAGE
   ============================================ */

#projekte-main,
#referenzprojekte {
  background: var(--white);
  padding: var(--section-gap) 0;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  letter-spacing: 0.01em;
}

.filter-btn:hover {
  border-color: var(--gray-500);
  color: var(--black);
}

.filter-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* Project Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.proj-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border: 1px solid var(--gray-200);
}

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

.proj-card.is-hidden {
  display: none;
}

@keyframes cardReveal {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.proj-card.animate-in {
  animation: cardReveal 0.45s var(--ease) both;
}

.proj-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.proj-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.proj-card:hover .proj-img-wrap img {
  transform: scale(1.06);
}

.proj-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0,0,0,0.68);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.1);
}

.proj-hover-cta {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s;
}

.proj-card:hover .proj-hover-cta {
  background: rgba(0,0,0,0.38);
}

.proj-hover-cta span {
  background: var(--white);
  color: var(--black);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  pointer-events: none;
}

.proj-card:hover .proj-hover-cta span {
  transform: translateY(0);
  opacity: 1;
}

.proj-body {
  padding: 22px 24px 24px;
}

.proj-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.proj-location {
  font-size: 12.5px;
  color: var(--gray-500);
  font-weight: 500;
}

.proj-year {
  font-size: 12px;
  color: var(--gray-300);
  font-weight: 500;
}

.proj-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.proj-body p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ---- Project Detail Modal ---- */
/* ============================================
   PROJECT MODAL (native <dialog>)
   ============================================ */

.proj-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  outline: none;
  overflow: visible;
  margin: auto;
}

.proj-modal::backdrop {
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.proj-modal[open] {
  animation: modal-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.proj-modal.closing {
  animation: modal-out 0.22s ease forwards;
  pointer-events: none;
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes modal-out {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(0.95); }
}

.proj-modal-inner {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  width: min(920px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45);
}

.proj-modal-img-wrap {
  position: relative;
  min-height: 460px;
}

.proj-modal-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proj-modal-body {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.modal-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
  align-self: flex-start;
}

.proj-modal-body h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.modal-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
}

.modal-spec {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.modal-spec-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.modal-spec-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.modal-desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 32px;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  z-index: 2;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  background: rgba(0,0,0,0.85);
  transform: scale(1.1);
}

/* ============================================
   GARTEN PAGE – SERVICE CARDS
   ============================================ */

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

.garten-service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s;
}

.garten-service-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.10);
  transform: translateY(-4px);
  border-color: var(--accent-light);
}

.gsc-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 8px;
  flex-shrink: 0;
}

.garten-service-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 0;
}

.garten-service-card p {
  font-size: 14px;
  color: var(--gray-400);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0;
  flex: 1;
}

.gsc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: 8px;
  transition: gap 0.2s;
}

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

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

@media (max-width: 560px) {
  .garten-services-grid { grid-template-columns: 1fr; }
  .garten-service-card { padding: 28px 24px; }
}

/* ============================================
   GARTEN SERVICE CARDS
   ============================================ */

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

.gs-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  cursor: pointer;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  background: var(--white);
}

.gs-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.10);
  transform: translateY(-4px);
}

.gs-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gs-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-light) 0%, #c8d5c8 100%);
}

.gs-body {
  padding: 20px 24px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gs-body h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
  margin: 0;
}

.gs-cta {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.gs-modal-placeholder {
  background: linear-gradient(135deg, var(--accent-light) 0%, #c8d5c8 100%);
}

.gsm-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gsm-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--gray-700);
}

.gsm-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

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

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

/* ============================================
   GARTEN CONFIGURATOR — Modern Minimalist
   ============================================ */

.gc-section {
  padding: var(--section-gap) 0;
  background: #1e2820;
  position: relative;
  overflow: hidden;
}

.gc-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(100,140,110,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.gc-wrap {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Section header */
.gc-header {
  margin-bottom: 64px;
}

.gc-header .page-eyebrow {
  color: rgba(255,255,255,0.45);
}

.gc-header h2 {
  color: #fff;
}

/* Progress */
.gc-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 64px;
}

.gc-step-label { display: none; }

.gc-bar-track { display: none; }

.gc-bar-fill { display: none; }

.gc-steps {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 340px;
  gap: 0;
}

.gc-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.12);
}

.gc-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  background: transparent;
  transition: all 0.35s var(--ease);
  flex-shrink: 0;
  letter-spacing: 0;
}

.gc-dot.active {
  background: #fff;
  border-color: #fff;
  color: #1e2820;
}

.gc-dot.done {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: transparent;
  font-size: 0;
}

.gc-dot.done::before {
  content: '✓';
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

/* Panels */
.gc-panel { display: none; }
.gc-panel.active {
  display: block;
  animation: gc-panel-in 0.4s var(--ease) both;
}

@keyframes gc-panel-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gc-panel-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.gc-panel-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 36px;
  line-height: 1.5;
}

/* Service tiles */
.gc-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}

.gc-svc-tile {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.gc-svc-tile:hover {
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.gc-svc-tile input { display: none; }

.gc-svc-tile span {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  line-height: 1.3;
}

.gc-svc-tile:has(input:checked) {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

.gc-svc-tile:has(input:checked) span {
  color: #fff;
  font-weight: 600;
}

.gc-svc-tile:has(input:checked)::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  color: #1e2820;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Radio tiles */
.gc-radio-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
  margin-top: 28px;
}

.gc-radio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}

.gc-radio-tile {
  cursor: pointer;
  padding: 20px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  text-align: center;
  background: rgba(255,255,255,0.04);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.gc-radio-tile:hover {
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.gc-radio-tile input { display: none; }

.gc-radio-tile span {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  line-height: 1.35;
  display: block;
}

.gc-radio-tile:has(input:checked) {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

.gc-radio-tile:has(input:checked) span {
  color: #fff;
  font-weight: 700;
}

/* Contact form */
.gc-form { display: flex; flex-direction: column; gap: 0; }

.gc-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

.gc-field {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 28px;
}

.gc-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 10px;
}

.gc-field input,
.gc-field textarea {
  padding: 0 0 14px;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  border-radius: 0;
  font-size: 16px;
  font-family: inherit;
  color: #fff;
  background: transparent;
  transition: border-color 0.2s;
  resize: none;
}

.gc-field input::placeholder,
.gc-field textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.gc-field input:-webkit-autofill,
.gc-field input:-webkit-autofill:hover,
.gc-field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #1e2820 inset !important;
  -webkit-text-fill-color: #fff !important;
}

.gc-field input:focus,
.gc-field textarea:focus {
  outline: none;
  border-bottom-color: rgba(255,255,255,0.7);
}

/* Summary */
.gc-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 0;
}

.gc-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 28px;
  color: #fff;
}

.gc-summary h3 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 12px;
}

.gc-summary > p {
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 32px;
}

.gc-summary-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 24px 28px;
  width: 100%;
  text-align: left;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,0.6);
}

.gc-summary-box strong {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

/* Error */
.gc-error {
  color: #f08080;
  font-size: 13px;
  margin-top: 10px;
}

/* Navigation */
.gc-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.gc-btn-back {
  margin-right: auto;
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  font-family: inherit;
}

.gc-btn-back:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

/* Override btn-primary inside configurator */
.gc-nav .btn-primary {
  background: #fff;
  color: #1e2820;
  border-radius: 100px;
  font-size: 14px;
}

.gc-nav .btn-primary:hover {
  background: rgba(255,255,255,0.88);
  transform: translateY(-1px);
}

.gc-nav .btn-primary span { color: #1e2820; }

@media (max-width: 768px) {
  .gc-progress { margin-bottom: 48px; }
  .gc-services { grid-template-columns: repeat(2, 1fr); }
  .gc-radio-grid { grid-template-columns: repeat(2, 1fr); }
  .gc-field-row { grid-template-columns: 1fr; gap: 0; }
}

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

/* ============================================
   ÜBER UNS PAGE
   ============================================ */

.about-page-intro {
  padding: var(--section-gap) 0;
  background: var(--white);
  text-align: center;
}

.about-lead-text {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--gray-700);
  line-height: 1.7;
  font-weight: 300;
  max-width: 760px;
  margin: 0 auto 72px;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  text-align: left;
}

.about-story-text h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 24px;
}

.about-story-text p {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.78;
  margin-bottom: 18px;
}

.about-story-img {
  position: relative;
}

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

.about-story-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--accent);
  color: var(--white);
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-story-badge strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 5px;
}

.about-story-badge span {
  font-size: 12.5px;
  opacity: 0.82;
  white-space: nowrap;
}

/* Values Section */
.values-section {
  background: var(--black);
  padding: var(--section-gap) 0;
}

.values-section .section-header h2 {
  color: var(--white);
}

.values-section .eyebrow {
  color: var(--accent);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 0;
}

.value-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 40px 30px;
  transition: background 0.35s var(--ease);
}

.value-card:hover {
  background: rgba(255,255,255,0.08);
}

.val-icon {
  width: 52px;
  height: 52px;
  background: rgba(46,94,62,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
  transition: all 0.35s;
}

.value-card:hover .val-icon {
  background: var(--accent);
  color: var(--white);
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.value-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.43);
  line-height: 1.68;
}

/* Process Timeline */
.process-timeline-section {
  background: var(--gray-50);
  padding: var(--section-gap) 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% / 8);
  right: calc(100% / 8);
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.timeline-item {
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.timeline-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 auto 22px;
  transition: all 0.35s var(--ease);
  box-shadow: var(--shadow-sm);
}

.timeline-item:hover .timeline-dot {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(46,94,62,0.3);
}

.timeline-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* Team Section */
.team-section {
  background: var(--white);
  padding: var(--section-gap) 0;
}

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

.team-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.team-avatar-wrap {
  height: 230px;
  overflow: hidden;
  background: var(--gray-200);
  position: relative;
}

.team-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.4s;
  filter: grayscale(20%);
}

.team-card:hover .team-avatar-wrap img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.team-card-body {
  padding: 24px;
}

.team-card-body strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.team-card-body .team-role {
  display: block;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.team-card-body p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================
   TERRASSE PAGE
   ============================================ */

.terrasse-intro {
  background: var(--white);
  padding: var(--section-gap) 0;
}

.terrasse-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.terrasse-intro-text h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  margin-bottom: 22px;
}

.terrasse-intro-text p {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.78;
  margin-bottom: 16px;
}

.terrasse-intro-text p:last-child {
  margin-bottom: 0;
}

.terrasse-intro-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: block;
}

.terrasse-intro-img:has(.terrasse-intro-video) {
  width: 480px;
  height: 480px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.terrasse-intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.5) translateY(2.5%);
}

/* Benefits Section */
.benefits-section {
  background: var(--gray-50);
  padding: var(--section-gap) 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent);
  transition: all 0.35s;
}

.benefit-card:hover .benefit-icon {
  background: var(--accent);
  color: var(--white);
}

.benefit-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* Terrasse Visual Gallery */
.terrasse-gallery-section {
  background: var(--white);
  padding: var(--section-gap) 0;
  overflow: hidden;
}

.tg-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 12px;
}

.tg-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.tg-item:first-child {
  grid-row: span 2;
}

.tg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.tg-item:hover img {
  transform: scale(1.04);
}

/* Variants Section */
.variants-section {
  background: var(--gray-50);
  padding: var(--section-gap) 0;
}

.variants-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.variant-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 170px 1fr;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.variant-img-wrap {
  overflow: hidden;
  position: relative;
}

.variant-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.variant-card:hover .variant-img-wrap img {
  transform: scale(1.07);
}

.variant-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.variant-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 10px;
  align-self: flex-start;
}

.variant-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.variant-body p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ============================================
   KONTAKT PAGE
   ============================================ */

.contact-page-section {
  background: var(--gray-50);
  padding: var(--section-gap) 0;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Form Card */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow);
}

.contact-form-card > h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  margin-bottom: 8px;
}

.contact-form-card > .form-desc {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 36px;
  line-height: 1.6;
}

/* Shared form field styles (supplements configurator.css field styles) */
.page-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-form .field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: 0.03em;
}

.page-form input:not([type="checkbox"]),
.page-form select,
.page-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.page-form input:focus,
.page-form select:focus,
.page-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(46,94,62,0.10);
}

.page-form input.error,
.page-form textarea.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 4px rgba(231,76,60,0.10);
}

.page-form select {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%2386868b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
}

.page-form select option[value=""] {
  color: var(--gray-500);
}

.page-form textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.65;
}

.page-form .form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.page-form .consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

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

.page-form .consent-row label {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.65;
  font-weight: 400;
}

.page-form .consent-row a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-form .req {
  color: var(--accent);
}

.form-submit-row {
  display: flex;
  justify-content: flex-start;
}

/* Contact Success State */
.contact-form-success {
  display: none;
  text-align: center;
  padding: 32px 0;
}

.contact-form-success.show {
  display: block;
}

.contact-form-success .success-icon {
  width: 70px;
  height: 70px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: successPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-form-success h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}

.contact-form-success p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto 28px;
}

/* Contact Info Sidebar */
.contact-info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  color: var(--black);
}

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

.info-icon {
  width: 46px;
  height: 46px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.3s;
}

.info-card:hover .info-icon {
  background: var(--accent);
  color: var(--white);
}

.info-body strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}

.info-body p,
.info-body a {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
  transition: color 0.25s;
}

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

/* Map Section */
.map-section {
  background: var(--gray-50);
  padding: 0 0 var(--section-gap);
}

.map-block {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 380px;
  position: relative;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.map-placeholder-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    linear-gradient(rgba(245,245,247,0.92), rgba(245,245,247,0.92)),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      var(--gray-200) 39px,
      var(--gray-200) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      var(--gray-200) 39px,
      var(--gray-200) 40px
    );
}

.map-pin-icon {
  width: 56px;
  height: 56px;
  background: var(--accent);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(46,94,62,0.40);
  animation: mapPinBounce 2s ease infinite;
}

.map-pin-icon svg {
  transform: rotate(45deg);
}

@keyframes mapPinBounce {
  0%, 100% { transform: rotate(-45deg) translateY(0); }
  50%       { transform: rotate(-45deg) translateY(-5px); }
}

.map-placeholder-wrap address {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.55;
  margin-top: 4px;
}

.map-placeholder-wrap span {
  font-size: 13px;
  color: var(--gray-500);
}

/* ============================================
   RESPONSIVE – INNER PAGES
   ============================================ */

@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid   { grid-template-columns: repeat(2, 1fr); }
  .about-story-grid { grid-template-columns: 1fr; gap: 52px; }
  .about-story-img img { height: 380px; }
  .terrasse-intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .terrasse-intro-img img { height: 360px; }
  .terrasse-intro-img:has(.terrasse-intro-video) { width: 320px; height: 320px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .variants-grid { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .timeline::before { display: none; }
  .tg-grid { grid-template-columns: 1fr 1fr; }
  .tg-item:first-child { grid-row: span 1; }
}

@media (max-width: 768px) {
  .page-hero { min-height: 42vh; padding: calc(var(--nav-h) + 60px) 0 52px; }
  .projects-grid { grid-template-columns: 1fr; }
  .proj-modal-inner { grid-template-columns: 1fr; width: calc(100% - 24px); margin: 12px auto; }
  .proj-modal-img-wrap { min-height: 240px; }
  .proj-modal-body { padding: 28px 24px; }
  .values-grid { grid-template-columns: 1fr; gap: 2px; }
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .team-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .tg-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .tg-item { height: 220px; }
  .contact-form-card { padding: 28px 24px; }
  .inner-cta-btns { flex-direction: column; align-items: center; }
  .variant-card { grid-template-columns: 1fr; }
  .variant-img-wrap { height: 190px; }
  .page-form .form-row-2 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; gap: 10px; }
  .benefit-card { display: flex; align-items: flex-start; gap: 14px; text-align: left; padding: 16px 18px; }
  .benefit-icon { width: 40px; height: 40px; flex-shrink: 0; margin: 0; }
  .benefit-card h3 { font-size: 14px; margin-bottom: 4px; }
  .benefit-card p { font-size: 13px; }
  .filter-btn { padding: 9px 16px; font-size: 12.5px; }
}

/* ============================================
   GESTALTUNGSIDEEN — Vorher / Tag / Nacht
   ============================================ */

/* Stats strip */
.proj-stats-strip {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 56px 0;
}
.proj-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.proj-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 16px;
  border-right: 1px solid #e5e7eb;
}
.proj-stat:last-child { border-right: none; }
.proj-stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary, #2E5E3E);
  line-height: 1;
  letter-spacing: -0.02em;
}
.proj-stat-label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
  text-align: center;
}
@media (max-width: 640px) {
  .proj-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-stat:nth-child(2) { border-right: none; }
  .proj-stat:nth-child(3) { border-right: 1px solid #e5e7eb; }
  .proj-stat:nth-child(3), .proj-stat:nth-child(4) { border-top: 1px solid #e5e7eb; }
}

.vi-section {
  background: #f2f4f1;
  padding: var(--section-gap) 0;
}

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

.vi-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e5e0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Toggle buttons */
.vi-controls {
  border-bottom: 1px solid #e2e5e0;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vi-toggle-top,
.vi-toggle-bottom {
  display: flex;
  gap: 6px;
}

.vi-toggle-bottom {
  visibility: hidden;
}

.vi-toggle-bottom.vi-visible {
  visibility: visible;
  animation: vi-fade-in 0.25s ease both;
}

@keyframes vi-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.vi-btn-mode,
.vi-btn-time {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: transparent;
  color: #6b7280;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s;
}

.vi-btn-mode:hover,
.vi-btn-time:hover {
  color: #374151;
  border-color: #9ca3af;
  background: #f9fafb;
}

.vi-btn-mode.active,
.vi-btn-time.active {
  background: #2E5E3E;
  border-color: #2E5E3E;
  color: #fff;
}

/* Images */
.vi-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.vi-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.vi-img.active {
  opacity: 1;
}

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

/* ── Direction-Aware Gallery ── */
#da-gallery {
  background: var(--white);
  padding: var(--section-gap) 0;
}

#da-gallery ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

#da-gallery li {
  position: relative;
  perspective: 400px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  cursor: pointer;
}

#da-gallery .da-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

#da-gallery .da-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  pointer-events: none;
  transform: rotate3d(1, 0, 0, 90deg);
  will-change: transform;
}

@media (max-width: 1024px) { #da-gallery ul { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { #da-gallery ul { grid-template-columns: repeat(2, 1fr); } }

/* ── Lightbox ── */
#lightbox {
  border: none;
  border-radius: 12px;
  background: transparent;
  padding: 0;
  max-width: 90vw;
  max-height: 90vh;
  margin: auto;
  overflow: visible;
}
#lightbox::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}
.lightbox-img {
  display: block;
  max-width: 90vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  line-height: 1;
  transition: background 0.15s;
  z-index: 1;
}
.lightbox-close:hover { background: #f0f0f0; }

/* ── Projekte CTA Section ── */
.proj-cta-section {
  background: linear-gradient(135deg, #2E5E3E 0%, #1f4229 100%);
  padding: 80px 0;
}
.proj-cta-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.proj-cta-inner h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
  line-height: 1.15;
}
.proj-cta-sub {
  color: rgba(255,255,255,0.55);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 40px;
}
.proj-cta-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.proj-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.proj-cta-card:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}
.proj-cta-card svg { opacity: 0.7; }
.proj-cta-card-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.proj-cta-card-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.proj-cta-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.proj-cta-contact:hover { color: rgba(255,255,255,0.9); }

@media (max-width: 768px) {
  .proj-cta-card {
    padding: 16px 14px;
    gap: 6px;
    flex-direction: row;
    justify-content: flex-start;
  }
  .proj-cta-card svg { width: 22px; height: 22px; flex-shrink: 0; }
  .proj-cta-card-title { font-size: 14px; }
  .proj-cta-card-sub { font-size: 12px; }
}

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

/* ============================================
   PROZESS — premium card design
   ============================================ */
.proc-section {
  background: #f5f7f4;
  padding: var(--section-gap) 0;
}

.proc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.proc-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px 30px;
  border: 1px solid #e6ebe3;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.proc-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
  border-radius: 18px 18px 0 0;
}

.proc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(47,58,52,0.11);
}

.proc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.proc-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.proc-step-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(47,58,52,0.28);
}

.proc-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 10px;
}

.proc-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
}

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

@media (max-width: 540px) {
  .proc-section { padding: 48px 0; }
  .proc-section .section-header { margin-bottom: 0; }
  .proc-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .proc-section .section-header h2 { font-size: 24px; }
  .proc-card { padding: 14px 16px 16px; border-radius: 12px; }
  .proc-card-top { margin-bottom: 12px; }
  .proc-icon-box { width: 36px; height: 36px; border-radius: 9px; }
  .proc-card h3 { font-size: 15px; margin-bottom: 6px; }
  .proc-card p { font-size: 13px; }
  .inner-cta-section { padding: 52px 0; }
  .inner-cta-btns .btn-lg { width: auto; min-width: 240px; padding: 14px 28px; }
}

.proc-benefits-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 56px 0 48px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proc-benefits-divider::before,
.proc-benefits-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(47,58,52,0.12);
}

/* ── Über uns – Intro ───────────────────────────────────────── */
.about-intro-section {
  padding: var(--section-gap) 0;
  background: var(--white);
}

.about-intro-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.about-intro-inner h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 16px 0 24px;
}

.about-lead-p {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--gray-500);
  line-height: 1.78;
}

/* ── Gründer ────────────────────────────────────────────────── */
.founder-section {
  background: #f5f7f4;
  padding: var(--section-gap) 0;
}

.founder-card {
  display: flex;
  align-items: center;
  gap: 52px;
  background: var(--white);
  border-radius: 20px;
  padding: 52px 56px;
  border: 1px solid #e6ebe3;
  box-shadow: 0 4px 32px rgba(47,58,52,0.07);
  max-width: 820px;
  margin: 0 auto;
}

.founder-avatar-wrap { flex-shrink: 0; }

.founder-avatar-img {
  width: 164px;
  height: 164px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 3px solid rgba(46,94,62,0.12);
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

.founder-name {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--black);
  margin: 10px 0 6px;
  line-height: 1.1;
}

.founder-role {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.founder-bio {
  font-size: 15.5px;
  color: var(--gray-500);
  line-height: 1.72;
  max-width: 460px;
}

@media (max-width: 768px) {
  .founder-card {
    flex-direction: column;
    gap: 28px;
    padding: 36px 28px;
    text-align: center;
  }
  .founder-bio { max-width: 100%; }
}

@media (max-width: 480px) {
  .founder-avatar-placeholder { width: 120px; height: 120px; }
}

/* ── Über uns – Values ──────────────────────────────────────── */
.about-values-section {
  padding: var(--section-gap) 0;
  background: var(--white);
}

/* ── Über uns – Galerie ─────────────────────────────────────── */
.about-gallery-section {
  padding: var(--section-gap) 0;
  background: #f5f7f4;
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.ag-item {
  overflow: hidden;
  border-radius: 14px;
  background: #e8ede5;
}

.ag-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.ag-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 600px) {
  .about-gallery-grid { grid-template-columns: 1fr; }
}

