/* ============================================================
   Drei Garten — Shared stylesheet
   ============================================================ */
:root {
  --font-display: "Cormorant Garamond", ui-serif, Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;

  --background: #f3f4f8;
  --foreground: #15192a;
  --cream: #f3f4f8;
  --ink: #15192a;

  --primary: #0f2c7c;
  --primary-foreground: #f3f4f8;
  --moss: #0f2c7c;
  --moss-deep: #091e5c;
  --leaf: #5a9bc4;
  --sand: #3fa5c7;

  --card: #ffffff;
  --secondary: #e7ebf3;
  --muted: #e7ebf3;
  --muted-foreground: #5a6178;
  --border: rgba(189, 199, 217, 0.7);
  --destructive: #b3261e;
}

* { box-sizing: border-box; border-color: var(--border); }
*::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
}
em { font-style: italic; font-weight: 300; }

::selection { background: var(--moss); color: var(--cream); }

/* ============================================================
   Utilities
   ============================================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

.container-narrow { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container-narrow { padding: 0 2.5rem; } }

.container-prose { max-width: 48rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container-prose { padding: 0 2.5rem; } }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0;
}

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.link-underline:hover::after { transform: scaleX(1); }

.hover-lift {
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
/* Nincs emelés és árnyék — a kártyákon a finom kép-zoom adja a hover-hatást (lásd ref/service/blog-cover). */
.hover-lift:hover { transform: none; box-shadow: none; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.ken-burns { animation: kenBurns 22s ease-out both; }
@keyframes kenBurns {
  from { transform: scale(1.06); }
  to   { transform: scale(1.16); }
}

.grain {
  background-image: radial-gradient(circle at 1px 1px, rgba(21, 25, 42, 0.05) 1px, transparent 0);
  background-size: 22px 22px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 500ms, color 500ms, border-color 500ms, backdrop-filter 500ms;
  background: transparent;
  color: var(--cream);
}
.site-header.solid,
.site-header.always-solid {
  background: rgba(243, 244, 248, 0.95);
  color: var(--ink);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(189, 199, 217, 0.6);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}
@media (min-width: 1024px) { .header-inner { padding: 0.75rem 2.5rem; } }

.logo-box {
  display: inline-flex;
  border-radius: 2px;
  padding: 0;
  background: transparent;
  transition: background 500ms, padding 500ms;
}
.site-header.solid .logo-box,
.site-header.always-solid .logo-box { background: transparent; padding: 0; }
.logo-box img { height: 2.5rem; width: auto; }
@media (min-width: 768px) { .logo-box img { height: 3rem; } }

.main-nav {
  display: none;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) { .main-nav { display: flex; } }
.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.active { font-weight: 600; }

.nav-item { position: relative; padding: 0.5rem 0; }
/* Lenyíló-jelző nyíl */
.nav-has-dropdown { display: inline-flex; align-items: center; gap: 0.32em; }
.nav-caret { transition: transform 250ms ease; opacity: 0.7; margin-top: 1px; }
.nav-item:hover .nav-caret { transform: rotate(180deg); opacity: 1; }
.nav-has-dropdown::after { width: calc(100% - 1.1em) !important; }
.nav-dropdown {
  position: absolute;
  left: 50%; top: 100%;
  margin-top: 0.5rem;
  width: 18rem;
  transform: translateX(-50%) translateY(-4px);
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--ink);
  padding: 0.5rem;
  border-radius: 2px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms, transform 220ms;
  transition-delay: 160ms;
  z-index: 60;
}
/* Átlátszó híd a menüpont és a lenyíló között — kitölti a rést, hogy az egér ne "essen ki" */
.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -0.65rem; height: 0.65rem;
}
.nav-item:hover .nav-dropdown,
.nav-dropdown:hover {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0ms;
}
.nav-dropdown a {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  border-radius: 2px;
  font-weight: 500;
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover { background: var(--muted); }

.cta-header {
  display: none;
  padding: 0.625rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border-radius: 2px;
  transition: background 200ms, color 200ms;
  border: 1px solid var(--cream);
  color: var(--cream);
}
.cta-header:hover { background: var(--cream); color: var(--ink); }
.site-header.solid .cta-header,
.site-header.always-solid .cta-header {
  background: var(--moss);
  color: var(--cream);
  border-color: var(--moss);
}
.site-header.solid .cta-header:hover,
.site-header.always-solid .cta-header:hover { background: var(--moss-deep); }
@media (min-width: 768px) { .cta-header { display: inline-flex; } }

.menu-btn {
  display: inline-flex;
  width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  border: 1px solid rgba(243, 244, 248, 0.6);
  border-radius: 2px;
}
.site-header.solid .menu-btn,
.site-header.always-solid .menu-btn { border-color: var(--border); }
.menu-btn .lines { display: flex; flex-direction: column; gap: 6px; }
.menu-btn .lines span { display: block; height: 1px; width: 1.25rem; background: currentColor; transition: transform 300ms, opacity 300ms; }
.menu-btn.open .lines span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open .lines span:nth-child(2) { opacity: 0; }
.menu-btn.open .lines span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 768px) { .menu-btn { display: none; } }

.mobile-overlay {
  position: fixed;
  inset: 60px 0 0 0;
  background: var(--cream);
  color: var(--ink);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 500ms, transform 500ms;
  overflow-y: auto;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; transform: translateX(0); }
.mobile-overlay nav { display: flex; flex-direction: column; padding: 1.5rem; }
.mobile-overlay .mob-item { border-bottom: 1px solid var(--border); padding: 0.25rem 0; }
.mobile-overlay .mob-item > a { display: block; padding: 0.75rem 0; font-family: var(--font-display); font-size: 1.5rem; }
.mobile-overlay .mob-children { display: grid; gap: 0.375rem; margin-bottom: 0.75rem; margin-left: 0.25rem; }
.mobile-overlay .mob-children a { font-size: 0.875rem; color: var(--muted-foreground); padding: 0.25rem 0; }
.mobile-overlay .mob-cta {
  margin-top: 1.5rem;
  display: inline-flex;
  justify-content: center;
  background: var(--moss);
  color: var(--cream);
  padding: 1rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border-radius: 2px;
}
@media (min-width: 768px) { .mobile-overlay { display: none; } }

/* ============================================================
   HERO (homepage)
   ============================================================ */
.hero {
  position: relative;
  min-height: 640px;
  height: 100svh;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute; inset: 0;
  will-change: transform;
}
.hero-bg img {
  height: 115%;
  width: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 5;
  background: linear-gradient(to bottom, rgba(21,25,42,0.62) 0%, rgba(21,25,42,0.28) 32%, rgba(21,25,42,0.42) 64%, rgba(21,25,42,0.9) 100%);
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 8rem 1.5rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
}
@media (min-width: 1024px) { .hero-content { padding-left: 2.5rem; padding-right: 2.5rem; } }
.hero-inner { max-width: 48rem; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border: 1px solid rgba(243, 244, 248, 0.4);
  background: rgba(243, 244, 248, 0.1);
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-pill .dot { height: 6px; width: 6px; border-radius: 9999px; background: var(--cream); }

.hero h1 {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1.02;
}
@media (min-width: 768px) { .hero h1 { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 5.5rem; } }

.hero p.lead {
  margin-top: 1.75rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(243, 244, 248, 0.85);
}
@media (min-width: 768px) { .hero p.lead { font-size: 1.25rem; } }

.hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.btn-solid, .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transition: background 200ms, color 200ms;
  border-radius: 2px;
}
.btn-solid { background: var(--cream); color: var(--ink); }
.btn-solid:hover { background: var(--sand); color: var(--cream); }
.btn-outline { border: 1px solid rgba(243,244,248,0.6); color: var(--cream); }
.btn-outline:hover { background: rgba(243,244,248,0.1); }

/* Mobil: a hero tartalma ne csússzon a fix fejléc alá (összecsúszás javítása) */
@media (max-width: 767px) {
  .hero-content { justify-content: flex-start; padding-top: 6.75rem; padding-bottom: 4rem; }
  .hero h1 { font-size: 2.55rem; margin-top: 1.25rem; }
  .hero p.lead { margin-top: 1.25rem; font-size: 1.0625rem; }
  .hero-ctas { margin-top: 1.75rem; }
  .hero-pill { font-size: 0.5625rem; letter-spacing: 0.13em; padding: 0.32rem 0.8rem; line-height: 1.3; }
  .hero-ctas .btn-solid, .hero-ctas .btn-outline { width: 100%; justify-content: center; }
}

.scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: rgba(243,244,248,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}
.scroll-indicator .line {
  height: 2.5rem;
  width: 1px;
  background: rgba(243,244,248,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}
.page-hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.page-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(21,25,42,0.55), rgba(21,25,42,0.62), rgba(21,25,42,0.9));
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10rem 1.5rem 5rem;
}
@media (min-width: 1024px) { .page-hero-inner { padding: 12rem 2.5rem 7rem; } }
.page-hero h1 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1.02;
  max-width: 56rem;
}
@media (min-width: 768px) { .page-hero h1 { font-size: 4.5rem; } }
.page-hero .intro {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(243,244,248,0.8);
}
@media (min-width: 768px) { .page-hero .intro { font-size: 1.25rem; } }

/* ============================================================
   Section bases
   ============================================================ */
section.padded { padding: 7rem 1.5rem; }
@media (min-width: 1024px) { section.padded { padding: 9rem 2.5rem; } }

section.padded-sm { padding: 4rem 1.5rem; }
@media (min-width: 1024px) { section.padded-sm { padding: 5rem 2.5rem; } }

.section-heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.05;
  margin-top: 1rem;
}
@media (min-width: 768px) { .section-heading { font-size: 3.75rem; } }

/* ============================================================
   STEPS (homepage)
   ============================================================ */
.steps-grid {
  margin-top: 4rem;
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--border);
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  background: var(--background);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
@media (min-width: 768px) { .step-card { padding: 2.5rem; } }
.step-number {
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--sand);
  line-height: 1;
}
@media (min-width: 768px) { .step-number { font-size: 6rem; } }
.step-card h3 {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--ink);
}
.step-card p {
  margin-top: 1rem;
  max-width: 24rem;
  color: rgba(21,25,42,0.75);
}

/* ============================================================
   SERVICES grid (homepage + leistungen index)
   ============================================================ */
.services-section { background: rgba(231, 235, 243, 0.6); }
.services-head {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .services-head { grid-template-columns: repeat(12, 1fr); align-items: end; }
  .services-head > div:first-child { grid-column: span 7; }
  .services-head > div:last-child { grid-column: span 5; }
}
.services-head .lead-text { font-size: 1.125rem; color: rgba(21,25,42,0.75); }

.services-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  display: block;
  background: var(--card);
  border-radius: 2px;
  overflow: hidden;
}
.service-cover { aspect-ratio: 4 / 5; overflow: hidden; }
.service-cover img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 1400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.service-card:hover .service-cover img { transform: scale(1.05); }
.service-body { padding: 1.75rem; }
.service-num {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sand);
}
.service-body h3 {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
}
.service-body p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(21,25,42,0.75);
}
.service-more {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--moss);
}

/* Two-column service cards (leistungen index) */
.services-2col {
  display: grid;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}
@media (min-width: 768px) { .services-2col { grid-template-columns: repeat(2, 1fr); } }

.service-card-row {
  background: var(--card);
  border-radius: 2px;
  padding: 0.75rem;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  height: 100%;
}
@media (min-width: 640px) { .service-card-row { grid-template-columns: 200px 1fr; } }
.service-card-row .img-wrap { overflow: hidden; border-radius: 2px; }
.service-card-row .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.service-card-row:hover .img-wrap img { transform: scale(1.05); }
.service-card-row .body {
  display: flex; flex-direction: column;
  padding: 0.75rem 1rem 0.75rem 0;
}
.service-card-row .body .num { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--sand); }
.service-card-row .body h2 { margin-top: 0.5rem; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
@media (min-width: 768px) { .service-card-row .body h2 { font-size: 1.875rem; } }
.service-card-row .body p { margin-top: 0.75rem; font-size: 0.875rem; color: rgba(21,25,42,0.75); }
.service-card-row .body .more {
  margin-top: auto;
  padding-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--moss);
}

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.ba-wrap { max-width: 1100px; margin: 0 auto; }
.ba-head { max-width: 48rem; margin-bottom: 3rem; }
.ba-head p.lead-text { margin-top: 1.25rem; font-size: 1.125rem; color: rgba(21,25,42,0.75); }

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
  user-select: none;
  box-shadow: 0 25px 50px -12px rgba(21,25,42,0.25);
}
.ba-img { position: absolute; inset: 0; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; }
.ba-after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 150ms ease-out;
}
.ba-label {
  position: absolute;
  top: 1rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  background: rgba(21,25,42,0.7);
  color: var(--cream);
  border-radius: 2px;
}
.ba-label.before-l { left: 1rem; }
.ba-label.after-l { right: 1rem; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--cream);
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-handle::before {
  content: "↔";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  background: var(--cream);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(21,25,42,0.4);
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}
.ba-caption {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-style: italic;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section { background: var(--ink); color: var(--cream); }
.pricing-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 3.5rem;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.pricing-section h2 { color: var(--cream); }
.pricing-section .lead-text { margin-top: 1.5rem; max-width: 32rem; color: rgba(243,244,248,0.75); }
.pricing-section .btn-solid {
  margin-top: 2.25rem;
  background: var(--cream);
  color: var(--ink);
}
.pricing-section .btn-solid:hover { background: var(--sand); color: var(--cream); }

.pricing-list { display: flex; flex-direction: column; gap: 1px; background: rgba(243,244,248,0.15); }
.pricing-row {
  background: var(--ink);
  padding: 1.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .pricing-row { flex-direction: row; align-items: baseline; justify-content: space-between; }
}
.pricing-row h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--cream); }
.pricing-row p { margin-top: 0.5rem; max-width: 28rem; font-size: 0.875rem; color: rgba(243,244,248,0.65); }
.pricing-row .price { font-family: var(--font-display); font-size: 1.875rem; color: var(--sand); }

/* ============================================================
   REFERENCES grid
   ============================================================ */
.refs-section { background: rgba(231, 235, 243, 0.6); }
.refs-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.refs-head .top { max-width: 36rem; }
.refs-link { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--moss); }

.refs-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .refs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .refs-grid { grid-template-columns: repeat(3, 1fr); } }

.ref-card { display: block; }
.ref-cover { overflow: hidden; border-radius: 2px; }
.ref-cover img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  transition: transform 1400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ref-card:hover .ref-cover img { transform: scale(1.05); }
.ref-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; margin-top: 1rem; }
.ref-meta h3 { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.ref-meta .loc { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted-foreground); }
.ref-meta .service { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--sand); }

/* Variant: stacked meta below (used on references index) */
.ref-card-stacked .meta-stack { margin-top: 1rem; }
.ref-card-stacked .meta-stack .service { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--sand); }
.ref-card-stacked .meta-stack h2 { margin-top: 0.25rem; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.ref-card-stacked .meta-stack .loc { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted-foreground); }

/* ============================================================
   FILTER CHIPS
   ============================================================ */
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.chip {
  border: 1px solid var(--border);
  background: transparent;
  color: rgba(21,25,42,0.7);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: 9999px;
  transition: border-color 200ms, color 200ms, background 200ms;
}
.chip:hover { border-color: var(--moss); color: var(--moss); }
.chip.active { border-color: var(--moss); background: var(--moss); color: var(--cream); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: 7rem 1.5rem; text-align: center; }
@media (min-width: 1024px) { .testimonials { padding: 9rem 2.5rem; } }
.testimonials-inner { max-width: 64rem; margin: 0 auto; }
.quote-mark { margin-top: 1.25rem; font-family: var(--font-display); font-size: 4.5rem; line-height: 1; color: var(--sand); }
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 0.5rem auto 0;
  max-width: 48rem;
  border: 0;
  padding: 0;
  font-style: normal;
  transition: opacity 500ms;
}
@media (min-width: 768px) { .testimonial-quote { font-size: 3rem; } }
.testimonial-foot { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.stars { display: flex; gap: 0.25rem; color: var(--sand); }
.testimonial-name { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.testimonial-loc { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-foreground); }
.testimonial-dots { margin-top: 2.5rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.testimonial-dots button {
  height: 6px; width: 8px; border-radius: 9999px; background: var(--border);
  transition: width 300ms, background 300ms;
}
.testimonial-dots button.active { width: 2.5rem; background: var(--moss); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-section { background: rgba(231, 235, 243, 0.6); }
.blog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.blog-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .blog-grid.three { grid-template-columns: repeat(3, 1fr); } }
.blog-grid.two-col { gap: 2rem; }
@media (min-width: 768px) { .blog-grid.two-col { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid.two-col { grid-template-columns: repeat(3, 1fr); } }

.blog-card { display: block; background: var(--card); }
.blog-cover { aspect-ratio: 3 / 2; overflow: hidden; }
.blog-cover img { height: 100%; width: 100%; object-fit: cover; transition: transform 1400ms cubic-bezier(0.2,0.8,0.2,1); }
.blog-card:hover .blog-cover img { transform: scale(1.05); }
.blog-body { padding: 1.75rem; }
.blog-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--sand); }
.blog-body h3 { margin-top: 0.75rem; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.25; color: var(--ink); }
.blog-body p { margin-top: 0.75rem; font-size: 0.875rem; color: rgba(21,25,42,0.75); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-body .read-more {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--moss);
}

/* Pagination */
.pagination {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.pagination span.page {
  display: grid;
  place-items: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  color: rgba(21,25,42,0.7);
}
.pagination span.page.active { background: var(--moss); color: var(--cream); border-color: var(--moss); }
.pagination .arrow { margin-left: 0.5rem; font-size: 0.875rem; color: rgba(21,25,42,0.7); }

/* ============================================================
   ARTICLE (blog detail body)
   ============================================================ */
.article-prose {
  max-width: 42rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
@media (min-width: 1024px) { .article-prose { padding: 7rem 2.5rem; } }
.article-prose p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(21,25,42,0.85);
  margin: 0 0 1.75rem;
}
.article-prose blockquote {
  margin: 2.5rem 0;
  padding: 0 0 0 1.5rem;
  border-left: 2px solid var(--sand);
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.3;
  color: var(--ink);
  font-style: normal;
}
@media (min-width: 768px) { .article-prose blockquote { font-size: 2rem; } }
.article-share {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.article-share p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
  margin: 0;
}
.article-share .links {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
}
.article-share .links a {
  border: 1px solid var(--border);
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: 2px;
  transition: background 200ms;
}
.article-share .links a:hover { background: var(--muted); }

/* ============================================================
   SERVICE DETAIL — intro + features
   ============================================================ */
.detail-intro {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 4rem;
}
@media (min-width: 768px) {
  .detail-intro { grid-template-columns: repeat(12, 1fr); }
  .detail-intro .lead { grid-column: span 7; }
  .detail-intro .aside { grid-column: span 5; }
}
.detail-intro .lead p {
  font-size: 1.25rem;
  line-height: 1.75;
  color: rgba(21,25,42,0.85);
  margin: 0;
}
.detail-intro .aside h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
}
.feature-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: rgba(21,25,42,0.85);
}
.feature-list li::before {
  content: "";
  margin-top: 0.5rem;
  height: 6px; width: 6px;
  background: var(--sand);
  border-radius: 9999px;
  flex-shrink: 0;
}

/* Process list */
.process-section { background: rgba(231, 235, 243, 0.6); }
.process-wrap { max-width: 64rem; margin: 0 auto; }
.process-list {
  margin-top: 3rem;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
}
.process-list li {
  background: var(--background);
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .process-list li { grid-template-columns: 80px 1fr; gap: 2.5rem; }
}
.process-list .num { font-family: var(--font-display); font-size: 1.875rem; color: var(--sand); line-height: 1; }
.process-list h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.process-list p { margin-top: 0.5rem; color: rgba(21,25,42,0.75); }

/* CTA strip (dark, end of service/project pages) */
.cta-strip {
  background: var(--moss-deep);
  color: var(--cream);
  padding: 6rem 1.5rem;
}
@media (min-width: 1024px) { .cta-strip { padding: 7rem 2.5rem; } }
.cta-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .cta-strip-inner { flex-direction: row; align-items: center; }
}
.cta-strip-inner h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--cream);
  max-width: 36rem;
}
@media (min-width: 768px) { .cta-strip-inner h2 { font-size: 3rem; } }
.cta-strip-inner .btn-solid {
  background: var(--cream);
  color: var(--ink);
}
.cta-strip-inner .btn-solid:hover { background: var(--sand); color: var(--cream); }

/* ============================================================
   PROJECT DETAIL — sidebar + gallery
   ============================================================ */
.project-meta {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .project-meta { grid-template-columns: repeat(12, 1fr); gap: 4rem; }
  .project-meta aside { grid-column: span 4; }
  .project-meta .body { grid-column: span 8; }
}
.project-meta dl { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.project-meta dl > div { border-bottom: 1px solid var(--border); padding-bottom: 0.75rem; }
.project-meta dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-foreground); margin: 0; }
.project-meta dd { margin: 0.25rem 0 0; font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.project-meta .body p { font-size: 1.125rem; line-height: 1.75; color: rgba(21,25,42,0.85); margin: 0 0 1.25rem; }

.gallery-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(6, 1fr); }
  .gallery-grid .gallery-item-full { grid-column: span 6; }
  .gallery-grid .gallery-item-half { grid-column: span 3; }
}
.gallery-grid .item { overflow: hidden; border-radius: 2px; }
.gallery-grid .item img { width: 100%; object-fit: cover; }
.gallery-grid .item.tall img { aspect-ratio: 16 / 9; }
.gallery-grid .item.wide img { aspect-ratio: 4 / 3; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  position: relative;
  overflow: hidden;
  background: var(--moss-deep);
  color: var(--cream);
}
.contact-bg {
  position: absolute; inset: 0;
  opacity: 0.25;
  pointer-events: none;
}
.contact-bg img { width: 100%; height: 100%; object-fit: cover; }
.contact-bg::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(9, 30, 92, 0.85);
}
.contact-grid {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 3.5rem;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-grid h2 { color: var(--cream); }
.contact-grid .lead-text { margin-top: 1.5rem; max-width: 28rem; color: rgba(243,244,248,0.85); }

.contact-details { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 0.875rem; padding: 0; }
.contact-details dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(243,244,248,0.55); margin: 0; }
.contact-details dd { margin: 0.25rem 0 0; font-family: var(--font-display); font-size: 1.5rem; }
.contact-details dd a { transition: color 200ms; }
.contact-details dd a:hover { color: var(--sand); }
.contact-details .addr { font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.6; color: rgba(243,244,248,0.85); }

.contact-form-wrap {
  background: var(--cream);
  color: var(--foreground);
  padding: 1.75rem;
  border-radius: 2px;
}
@media (min-width: 768px) { .contact-form-wrap { padding: 2.25rem; } }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-form h3 { font-family: var(--font-display); font-size: 1.75rem; color: var(--ink); margin-bottom: 0.25rem; }
.contact-form .grid-2 { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .contact-form .grid-2 { grid-template-columns: 1fr 1fr; } }
.contact-form label { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-foreground); margin-bottom: 0.5rem; }
.contact-form input, .contact-form textarea {
  font: inherit;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: var(--cream);
  border-radius: 2px;
  color: var(--ink);
  transition: border-color 200ms, box-shadow 200ms;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(15, 44, 124, 0.15);
}
.contact-form textarea { min-height: 8rem; resize: vertical; }
.contact-form .checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(21,25,42,0.8);
}
.contact-form .checkbox-row input { width: 1rem; height: 1rem; margin-top: 0.25rem; accent-color: var(--moss); }
.contact-form .checkbox-row a { text-decoration: underline; }
.contact-form .checkbox-row a:hover { color: var(--moss); }
.contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--moss);
  color: var(--cream);
  padding: 1rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border-radius: 2px;
  transition: background 200ms;
  align-self: flex-start;
}
.contact-form button[type="submit"]:hover { background: var(--moss-deep); }
.contact-form button[type="submit"]:disabled { opacity: 0.6; cursor: default; }

.form-success {
  border: 1px solid rgba(15, 44, 124, 0.3);
  background: var(--cream);
  padding: 2.5rem;
  border-radius: 2px;
  text-align: center;
}
.form-success .check {
  margin: 0 auto;
  display: grid;
  place-items: center;
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 9999px;
  background: var(--moss);
  color: var(--cream);
}
.form-success h3 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--ink);
}
.form-success p {
  margin-top: 0.75rem;
  color: rgba(21,25,42,0.75);
}

/* Kontakt page — contact info card */
.kontakt-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 3.5rem;
}
@media (min-width: 768px) {
  .kontakt-layout { grid-template-columns: repeat(12, 1fr); gap: 4rem; }
  .kontakt-layout .form-col { grid-column: span 7; }
  .kontakt-layout .info-col { grid-column: span 5; }
}
.info-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.info-card .block p:not(.eyebrow) { margin: 0.5rem 0 0; color: rgba(21,25,42,0.75); }
.info-card .block .name { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.info-card .block .big-link { font-family: var(--font-display); font-size: 1.5rem; }
.info-card .block .big-link a { color: var(--ink); }
.info-card .block .big-link a:hover { color: var(--moss); }
.info-card .socials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.info-card .socials a {
  border: 1px solid var(--border);
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: 2px;
}
.info-card .socials a:hover { background: var(--muted); }

/* Ansprechpartnerin (Dorottya) */
.ansprech {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  overflow: hidden;
  border-radius: 2px;
}
@media (min-width: 768px) {
  .ansprech { grid-template-columns: repeat(12, 1fr); gap: 3.5rem; }
  .ansprech .img-col { grid-column: span 7; }
  .ansprech .text-col { grid-column: span 5; }
}
.ansprech img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
@media (min-width: 768px) { .ansprech img { aspect-ratio: 3 / 4; } }
.ansprech .text-col h2 { font-family: var(--font-display); font-size: 2.25rem; color: var(--ink); margin-top: 1rem; line-height: 1.05; }
@media (min-width: 768px) { .ansprech .text-col h2 { font-size: 3rem; } }
.ansprech .text-col .role { margin-top: 0.75rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--sand); }
.ansprech .text-col .bio { margin-top: 1.5rem; color: rgba(21,25,42,0.75); }

/* ============================================================
   LEGAL PAGES (Impressum, Datenschutz, Cookies)
   ============================================================ */
.legal-page {
  padding: 10rem 1.5rem 5rem;
}
@media (min-width: 1024px) { .legal-page { padding: 11rem 2.5rem 5rem; } }
.legal-content {
  max-width: 48rem;
  margin: 0 auto;
}
.legal-content h1 {
  font-family: var(--font-display);
  font-size: 3rem;
}
.legal-content > .eyebrow {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.legal-content section {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.legal-content section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.legal-content section h3 {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.legal-content section p {
  margin: 0.75rem 0;
  line-height: 1.75;
  color: rgba(21,25,42,0.8);
}
.legal-content section a { color: var(--primary); }
.legal-content section a:hover { text-decoration: underline; }
.legal-content section ul {
  margin: 1rem 0;
  padding-left: 1.25rem;
}
.legal-content section ul li {
  margin: 0.5rem 0;
  line-height: 1.75;
  color: rgba(21,25,42,0.85);
}
.legal-content .muted-italic {
  color: var(--muted-foreground);
  font-style: italic;
  font-size: 0.875rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: 6rem;
  border-top: 1px solid var(--border);
  background: var(--ink);
  color: var(--cream);
}
.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  padding: 5rem 1.5rem;
}
@media (min-width: 768px) {
  .footer-top { grid-template-columns: repeat(12, 1fr); }
  .footer-col-brand { grid-column: span 5; }
  .footer-col-services { grid-column: span 3; }
  .footer-col-studio { grid-column: span 2; }
  .footer-col-contact { grid-column: span 2; }
}
@media (min-width: 1024px) { .footer-top { padding: 5rem 2.5rem; } }

.footer-logo {
  display: inline-flex;
  background: transparent;
  padding: 0;
}
.footer-logo img { height: 3rem; width: auto; }
.footer-logo img.footer-logo-auto { filter: brightness(0) invert(1); }
.footer-tag {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.2;
  color: var(--cream);
  max-width: 28rem;
}
.footer-desc { margin-top: 1rem; max-width: 28rem; font-size: 0.875rem; line-height: 1.6; color: rgba(243,244,248,0.7); }
.footer-socials { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-socials a {
  border: 1px solid rgba(243,244,248,0.25);
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: 2px;
  transition: background 200ms;
}
.footer-socials a:hover { background: rgba(243,244,248,0.1); }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(243,244,248,0.55);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col li a { font-size: 0.875rem; color: rgba(243,244,248,0.85); transition: color 200ms; }
.footer-col li a:hover { color: var(--cream); }
.footer-col address {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(243,244,248,0.85);
}
.footer-col address a:hover { color: var(--cream); }

.footer-bottom { border-top: 1px solid rgba(243,244,248,0.1); }
.footer-bottom .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem;
  font-size: 0.75rem;
  color: rgba(243,244,248,0.55);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
@media (min-width: 768px) { .footer-bottom .inner { flex-direction: row; align-items: center; justify-content: space-between; } }
@media (min-width: 1024px) { .footer-bottom .inner { padding: 1.5rem 2.5rem; } }
.footer-bottom .legal { display: flex; gap: 1.25rem; }
.footer-bottom a:hover { color: var(--cream); }

/* ======================================================================
   ALOLDALAK — kiegészítő stílusok (Drei Garten subpages)
   Az eredeti dizájn-tokenekkel összhangban. Ezek pótolják a frissen írt
   nézetekben használt, korábban nem definiált osztályokat.
   ====================================================================== */

/* --- Page hero (Leistungen, Referenzen, Blog, Kontakt fejléc) --- */
.page-hero { padding: 0; }
.page-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 9.5rem;
  padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .page-hero .container { padding-top: 12rem; padding-bottom: 6rem; }
}
.page-title {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.75rem;
  line-height: 1.04;
  max-width: 56rem;
  color: var(--cream);
}
@media (min-width: 768px) { .page-title { font-size: 3.5rem; } }
.page-title em { font-style: italic; color: var(--sand); }
.page-lead {
  margin: 1.5rem 0 0;
  max-width: 42rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(243, 244, 248, 0.82);
}

/* --- Detail hero (Leistung / Referenz részletoldal fejléce) --- */
.detail-hero {
  position: relative;
  isolation: isolate;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.detail-hero-img { position: absolute; inset: 0; z-index: -2; }
.detail-hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.detail-hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(21,25,42,0.35), rgba(21,25,42,0.5), rgba(21,25,42,0.92));
}
.detail-hero-content { width: 100%; padding-top: 9rem; padding-bottom: 3.5rem; }
@media (min-width: 1024px) { .detail-hero-content { padding-top: 11rem; padding-bottom: 4.5rem; } }
.detail-hero-content h1 {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1.05;
  max-width: 52rem;
}
@media (min-width: 768px) { .detail-hero-content h1 { font-size: 3.25rem; } }
.detail-hero-content > p,
.detail-hero-content .container > p {
  margin: 1.25rem 0 0;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(243, 244, 248, 0.85);
}

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(243, 244, 248, 0.7);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.breadcrumb a { color: rgba(243, 244, 248, 0.7); transition: color 200ms; }
.breadcrumb a:hover { color: var(--sand); }
.breadcrumb span { color: var(--cream); }

/* --- Detail törzs rács (fő + oldalsáv) --- */
.detail-body-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .detail-body-grid { grid-template-columns: 1fr 320px; gap: 4rem; } }
.detail-main { min-width: 0; }
.detail-main .rich-text { max-width: 42rem; }
.block-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.85rem;
  margin: 2.5rem 0 1.25rem;
  color: var(--ink);
}

/* --- Oldalsáv kártyák --- */
.detail-side { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 900px) { .detail-side { position: sticky; top: 6rem; } }
.side-card, .side-cta {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1.75rem;
}
.side-card h3, .side-cta h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
}
.side-cta { background: var(--ink); color: var(--cream); }
.side-cta p { font-size: 0.9rem; color: rgba(243,244,248,0.8); margin: 0 0 1.25rem; }

/* --- Rich text (cikk / oldal HTML tartalom) --- */
.rich-text { font-size: 1.05rem; line-height: 1.8; color: var(--ink); }
.rich-text > *:first-child { margin-top: 0; }
.rich-text p { margin: 0 0 1.3rem; }
.rich-text h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; margin: 2.2rem 0 1rem; }
.rich-text h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; margin: 1.8rem 0 0.8rem; }
.rich-text ul, .rich-text ol { margin: 0 0 1.3rem 1.4rem; }
.rich-text li { margin: 0.4rem 0; }
.rich-text a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.rich-text img { border-radius: 3px; margin: 1.5rem 0; }
.rich-text blockquote {
  border-left: 3px solid var(--sand);
  padding: 0.4rem 0 0.4rem 1.5rem;
  margin: 1.8rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--moss-deep);
}

/* --- CTA sáv --- */
.cta-band { background: var(--ink); color: var(--cream); text-align: center; padding: 5rem 0; }
.cta-band h2 { font-family: var(--font-display); font-weight: 500; font-size: 2.2rem; color: var(--cream); margin: 0 0 0.75rem; }
.cta-band p { color: rgba(243,244,248,0.8); max-width: 36rem; margin: 0 auto 2rem; }

/* --- Leistungen lista (services-index) --- */
.leistung-list { display: flex; flex-direction: column; gap: 1.5rem; }
.leistung-row {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow 250ms, transform 250ms;
}
@media (min-width: 768px) { .leistung-row { grid-template-columns: 320px 1fr; } }
.leistung-row:hover { box-shadow: 0 18px 40px -24px rgba(15,44,124,0.4); transform: translateY(-2px); }
.leistung-row-img { overflow: hidden; min-height: 200px; }
.leistung-row-img img { width: 100%; height: 100%; object-fit: cover; }
.leistung-row-body { padding: 2rem 2.25rem; display: flex; flex-direction: column; justify-content: center; }
.leistung-num { font-size: 0.8rem; letter-spacing: 0.2em; color: var(--sand); font-weight: 600; }
.leistung-row-body h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.75rem; margin: 0.5rem 0 0.6rem; }
.leistung-row-body p { color: var(--muted-foreground); margin: 0 0 1rem; line-height: 1.6; }

/* --- Projekt tények + galéria --- */
.project-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .project-facts { grid-template-columns: repeat(4, 1fr); } }
.fact-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted-foreground); margin-bottom: 0.3rem; }
.fact-value { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }
.project-text { max-width: 46rem; margin: 0; text-align: left; }
.project-gallery { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 768px) { .project-gallery { grid-template-columns: repeat(2, 1fr); } }
.project-gallery figure { margin: 0; overflow: hidden; border-radius: 3px; }
.project-gallery img { width: 100%; height: 100%; object-fit: cover; }

/* --- Blog cikk (article) --- */
.article-hero {
  position: relative;
  isolation: isolate;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.article-hero-img { position: absolute; inset: 0; z-index: -2; }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.article-hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(21,25,42,0.35), rgba(21,25,42,0.55), rgba(21,25,42,0.92)); }
.article-hero-content { width: 100%; padding-top: 9rem; padding-bottom: 3rem; }
@media (min-width: 1024px) { .article-hero-content { padding-top: 11rem; padding-bottom: 4rem; } }
.article-hero-content h1 { margin: 1rem 0 0; font-family: var(--font-display); font-weight: 500; font-size: 2.5rem; line-height: 1.08; max-width: 50rem; }
@media (min-width: 768px) { .article-hero-content h1 { font-size: 3.1rem; } }
.article-meta { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; color: rgba(243,244,248,0.8); }
.article-body { max-width: 44rem; margin: 0 auto; }
.article-share { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; font-size: 0.85rem; }
.article-share span { color: var(--muted-foreground); }
.article-share a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.blog-grid-lg { gap: 2rem; }
@media (min-width: 768px) { .blog-grid-lg { grid-template-columns: repeat(3, 1fr); } }

/* --- Kontakt aloldal (világos kontextus) --- */
.contact-hours { margin-top: 2.5rem; }
.contact-hours h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; margin: 0 0 0.5rem; }
.contact-hours p { color: var(--muted-foreground); line-height: 1.7; }

/* Világos szekcióban (nem a sötét homepage contact-section) a contact-grid/details
   szövegszínét felülírjuk, hogy olvasható legyen */
.padded:not(.contact-section) .contact-grid h2,
.padded:not(.contact-section) .block-heading { color: var(--ink); }
.padded:not(.contact-section) .contact-details dt { color: var(--muted-foreground); }
.padded:not(.contact-section) .contact-details dd { color: var(--ink); }
.padded:not(.contact-section) .contact-details .addr { color: var(--muted-foreground); }
.padded:not(.contact-section) .contact-grid { grid-template-columns: 1fr; }
@media (min-width: 768px) { .padded:not(.contact-section) .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* --- Jogi / statikus oldal törzs --- */
.legal-body { max-width: 44rem; margin: 0 auto; }

/* --- Segéd gomb --- */
.btn-block { width: 100%; justify-content: center; }

/* --- Process lista szám (ha a feature-list-től külön kell) --- */
.process-list { list-style: none; margin: 1.25rem 0 0; padding: 0; counter-reset: proc; }
.process-list li { display: flex; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.process-list li:last-child { border-bottom: none; }
.proc-num { font-family: var(--font-display); font-size: 1.5rem; color: var(--sand); flex-shrink: 0; }
.process-list h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; margin: 0 0 0.3rem; }
.process-list p { color: var(--muted-foreground); margin: 0; line-height: 1.6; font-size: 0.95rem; }

/* --- ba-before (a slider eredetiből hiányzott) --- */
.ba-before { z-index: 1; }
.ba-before img { width: 100%; }

/* ======================================================================
   FINOMHANGOLÁS — térközök, egységes képek, kontakt dizájn
   ====================================================================== */

/* --- Lábléc: ne legyen világos rés a (sötét) kontakt-szekció és a lábléc közt --- */
.site-footer { margin-top: 0; }
/* Ha a kontakt-szekció közvetlenül a lábléc előtt van, sima átmenet */
.contact-section + .site-footer { border-top: none; }

/* A térközök a sablon eredeti értékeit követik (section.padded 7/9rem,
   section.padded-sm 4/5rem) — nincs felülírás, hogy pontosan egyezzen. */

/* ======================================================================
   EGYSÉGES KÉPKERET (media-frame) — minden kép azonos arányban,
   szürke helykitöltővel ha nincs kép. Megakadályozza az elcsúszást.
   ====================================================================== */
.media-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #e7ebf3;
  border-radius: 2px;
}
.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame.r-4-3  { aspect-ratio: 4 / 3; }
.media-frame.r-3-2  { aspect-ratio: 3 / 2; }
.media-frame.r-16-9 { aspect-ratio: 16 / 9; }
.media-frame.r-1-1  { aspect-ratio: 1 / 1; }
.media-frame.r-2-1  { aspect-ratio: 2 / 1; }
.media-frame.r-cover { height: 100%; aspect-ratio: auto; }
/* Üres állapot — szürke helykitöltő ikon középen */
.media-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aeb6c9;
  background: repeating-linear-gradient(45deg, #e7ebf3, #e7ebf3 10px, #e1e6f0 10px, #e1e6f0 20px);
}

/* ======================================================================
   KONTAKT OLDAL — látványosabb (aloldal, világos kontextus)
   ====================================================================== */
.contact-page-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}
@media (min-width: 900px) { .contact-page-grid { grid-template-columns: 0.85fr 1.15fr; gap: 0; } }

.contact-aside {
  background: var(--moss-deep);
  color: var(--cream);
  padding: 3rem 2.5rem;
  border-radius: 3px 0 0 3px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 899px) { .contact-aside { border-radius: 3px; } }
.contact-aside::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63,165,199,0.35), transparent 70%);
  pointer-events: none;
}
.contact-aside .eyebrow { color: var(--sand); }
.contact-aside h2 { font-family: var(--font-display); font-weight: 500; font-size: 2rem; color: var(--cream); margin: 0.75rem 0 1rem; line-height: 1.1; }
.contact-aside .intro { color: rgba(243,244,248,0.82); line-height: 1.65; margin-bottom: 2.25rem; }
.contact-aside .c-item { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid rgba(243,244,248,0.14); }
.contact-aside .c-item:first-of-type { border-top: none; }
.contact-aside .c-icon { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: rgba(63,165,199,0.18); display: flex; align-items: center; justify-content: center; color: var(--sand); }
.contact-aside .c-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(243,244,248,0.55); }
.contact-aside .c-value { font-family: var(--font-display); font-size: 1.2rem; margin-top: 2px; }
.contact-aside .c-value a:hover { color: var(--sand); }
.contact-aside .c-sub { font-size: 0.85rem; color: rgba(243,244,248,0.75); margin-top: 2px; }

.contact-form-side {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: none;
  padding: 3rem 2.5rem;
  border-radius: 0 3px 3px 0;
}
@media (max-width: 899px) { .contact-form-side { border-left: 1px solid var(--border); border-radius: 3px; } }
.contact-form-side .contact-form { gap: 1.1rem; }

/* A media-frame átveszi az arány/kerekítés szerepét a kártya-wrapperekben */
.service-cover, .ref-cover, .blog-cover { aspect-ratio: auto !important; overflow: visible; }
.service-cover .media-frame, .ref-cover .media-frame, .blog-cover .media-frame { border-radius: 2px; }
.leistung-row-img { min-height: 220px; position: relative; }
.leistung-row-img .media-frame { position: absolute; inset: 0; border-radius: 0; }
.project-gallery figure .media-frame { border-radius: 3px; }
/* Reveal kép-keret ne maradjon átlátszó, ha a JS nem fut */
.media-frame img { opacity: 1; }

/* ======================================================================
   OLDAL-BLOKKOK (front megjelenítés)
   ====================================================================== */
.page-blocks { max-width: 46rem; margin: 0 auto; }
.page-blocks .block { margin: 0 0 2rem; }
.page-blocks .block:last-child { margin-bottom: 0; }
.block-heading-b .block-h { font-family: var(--font-display); font-weight: 500; line-height: 1.1; }
.block-heading-b h2.block-h { font-size: 2rem; margin: 1rem 0 0.5rem; }
.block-heading-b h3.block-h { font-size: 1.5rem; margin: 0.5rem 0; }
.block-image { margin: 2.5rem 0; }
.block-image figcaption { margin-top: 0.6rem; font-size: 0.85rem; color: var(--muted-foreground); text-align: center; font-style: italic; }
.block-image-text { display: grid; gap: 2rem; align-items: center; margin: 2.5rem 0; }
@media (min-width: 768px) { .block-image-text { grid-template-columns: 1fr 1fr; } .block-image-text.pos-right .bit-image { order: 2; } }
.block-gallery { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 2.5rem 0; }
@media (min-width: 600px) { .block-gallery { grid-template-columns: repeat(2, 1fr); } }
.block-gallery figure { margin: 0; }
.block-button { margin: 2rem 0; }
.block-quote { margin: 2.5rem 0; text-align: center; }
.block-quote blockquote { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; line-height: 1.4; color: var(--moss-deep); border: none; padding: 0; margin: 0; }
.block-quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); }
.block-spacer.size-small { height: 1.5rem; }
.block-spacer.size-medium { height: 3rem; }
.block-spacer.size-large { height: 5rem; }
/* A blokkos oldal full-width galériához/képhez engedjen kicsit szélesebbet */
.page-blocks .block-image, .page-blocks .block-gallery, .page-blocks .block-image-text { max-width: none; }

/* WhatsApp gomb a kontakt oldalon */
.wa-link {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 8px 16px; border-radius: 999px;
  background: #25D366; color: #fff !important; font-weight: 600;
  font-size: 0.85rem; text-decoration: none; transition: background .15s, transform .15s;
}
.wa-link:hover { background: #1ebe5b; transform: translateY(-1px); }

/* === Hero diavetítés (3 kép, lágy áttűnés + zoom) === */
.hero-slideshow { position: absolute; inset: 0; overflow: hidden; }
.hero-slideshow .hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; will-change: opacity, transform;
}
/* Egy kép: csak lágy zoom */
.hero-slideshow:not(.is-multi) .hero-slide {
  opacity: 1; animation: heroKenSingle 20s ease-out both;
}
@keyframes heroKenSingle { from { transform: scale(1.03); } to { transform: scale(1.16); } }
/* Több kép: körbejáró áttűnés (a keyframe-et a home.php számolja) */
.hero-slideshow.is-multi .hero-slide {
  opacity: 0;
  animation-name: heroKen;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slideshow .hero-slide { animation: none !important; opacity: 0; }
  .hero-slideshow .hero-slide:first-child { opacity: 1; }
}

/* === Logó: automatikus szín-/fehér-váltás a fejléc állapota szerint === */
.logo-box { position: relative; display: inline-flex; align-items: center; }
.logo-box img { display: block; transition: opacity .35s ease, filter .35s ease; }
/* Két különálló logófájl esetén */
.logo-box.has-white-logo .logo-white { position: absolute; inset: 0; opacity: 1; }
.logo-box.has-white-logo .logo-color { opacity: 0; }
.site-header.solid .logo-box.has-white-logo .logo-white,
.site-header.always-solid .logo-box.has-white-logo .logo-white { opacity: 0; }
.site-header.solid .logo-box.has-white-logo .logo-color,
.site-header.always-solid .logo-box.has-white-logo .logo-color { opacity: 1; }
/* Egyetlen logó esetén: a hero fölött CSS-szűrővel fehér, görgetve színes */
.logo-box.auto-white .logo-color { filter: brightness(0) invert(1); }
.site-header.solid .logo-box.auto-white .logo-color,
.site-header.always-solid .logo-box.auto-white .logo-color { filter: none; }

/* === Google Bewertungen szekció === */
.reviews-section { background: #f7f8fb; }
.reviews-head { text-align: center; margin-bottom: 2.5rem; }
.google-badge { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .95rem; color: #3c4043; background: #fff; border: 1px solid #e6e8ee; padding: 9px 18px; border-radius: 999px; box-shadow: 0 2px 10px -4px rgba(0,0,0,.08); }
.reviews-score { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 1.25rem; flex-wrap: wrap; }
.reviews-num { font-size: 2.4rem; font-weight: 700; color: var(--navy, #0f2c7c); font-family: 'Cormorant Garamond', Georgia, serif; line-height: 1; }
.reviews-stars { color: #fbbc05; font-size: 1.5rem; letter-spacing: 2px; }
.reviews-stars .star-empty { color: #dcdfe6; }
.reviews-count { color: #6b7280; font-size: .95rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1rem; }
.review-card { background: #fff; border: 1px solid #edeef2; border-radius: 16px; padding: 1.75rem; display: flex; flex-direction: column; gap: .85rem; }
.review-card .review-stars { color: #fbbc05; font-size: 1.05rem; letter-spacing: 1px; }
.review-card blockquote { margin: 0; font-size: 1rem; line-height: 1.7; color: #2c3344; flex: 1; }
.review-card figcaption { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid #f0f1f5; padding-top: .9rem; }
.review-author { font-weight: 600; color: #15192a; }
.review-date { font-size: .8rem; color: #9aa0ad; }
.reviews-cta { text-align: center; margin-top: 2.5rem; }
.reviews-embed { margin-top: 1rem; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

/* === Közösségi ikonok === */
.social-icons { display: inline-flex; align-items: center; gap: 8px; }
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid currentColor; color: inherit;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  opacity: .92;
}
.social-icons a:hover { transform: translateY(-2px); opacity: 1; }

/* Lábléc — világos ikonok sötét háttéren */
.social-icons-footer a { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.22); }
.social-icons-footer a:hover { background: var(--teal, #3fa5c7); border-color: var(--teal, #3fa5c7); color: #fff; }

/* Fejléc — kisebb, a fejléc állapotához igazodik */
.header-actions { display: inline-flex; align-items: center; gap: 16px; }
.social-icons-header { gap: 6px; }
.social-icons-header a { width: 34px; height: 34px; border-color: transparent; }
.site-header:not(.solid):not(.always-solid) .social-icons-header a { color: #fff; }
.site-header.solid .social-icons-header a,
.site-header.always-solid .social-icons-header a { color: var(--navy, #0f2c7c); }
.social-icons-header a:hover { background: rgba(127,127,127,.12); }
@media (max-width: 900px) { .social-icons-header { display: none; } }

/* Kapcsolat oldal — sötét ikonok világos háttéren */
.social-icons-contact { margin-top: 6px; }
.social-icons-contact a { color: var(--navy, #0f2c7c); border-color: rgba(15,44,124,.25); }
.social-icons-contact a:hover { background: var(--navy, #0f2c7c); border-color: var(--navy, #0f2c7c); color: #fff; }

/* === Partner-szekció === */
.partners-section { background: linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%); padding-top: 4.5rem; padding-bottom: 4.75rem; border-top: 1px solid #eef0f4; }
.partners-head { text-align: center; margin-bottom: 2.75rem; }
.partners-head .eyebrow { margin-bottom: 0; }
.partners-head .line { display: block; width: 46px; height: 2px; background: var(--sand); margin: 0.9rem auto 0; border-radius: 2px; opacity: 0.85; }
.partners-grid { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 1.5rem; }
.partner-item {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 230px; min-height: 132px; padding: 2.1rem 3rem;
  background: #fff; border: 1px solid #e9ebf1; border-radius: 18px;
  box-shadow: 0 12px 28px -20px rgba(21,25,42,0.18);
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.partner-item img {
  max-height: 78px; max-width: 210px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: 0.72; transition: filter 0.35s ease, opacity 0.35s ease;
}
a.partner-item:hover { border-color: #d7dbe5; box-shadow: 0 18px 36px -20px rgba(21,25,42,0.24); transform: translateY(-3px); }
.partner-item:hover img { filter: grayscale(0); opacity: 1; }
@media (max-width: 640px) {
  .partners-grid { gap: 1.1rem; }
  .partner-item { min-width: 0; width: 100%; max-width: 320px; min-height: 112px; padding: 1.75rem 2rem; }
  .partner-item img { max-height: 60px; max-width: 175px; }
}

/* === Lebegő gyors-segítség widget (bal alsó sarok) === */
.quick-help { position: fixed; left: 20px; bottom: 20px; z-index: 1200; }
.qh-toggle {
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--navy, #0f2c7c); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(15,44,124,.45); transition: transform .2s ease, background .2s ease;
}
.qh-toggle:hover { transform: translateY(-2px) scale(1.04); background: var(--navy-deep, #091e5c); }
.qh-toggle .qh-icon-close { display: none; }
.quick-help.is-open .qh-toggle .qh-icon-open { display: none; }
.quick-help.is-open .qh-toggle .qh-icon-close { display: block; }

.qh-panel {
  position: absolute; bottom: 70px; left: 0; width: 320px; max-width: calc(100vw - 40px);
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 20px 60px -12px rgba(9,30,92,.32), 0 4px 14px -6px rgba(0,0,0,.12);
  border: 1px solid #eef0f5;
  opacity: 0; transform: translateY(12px) scale(.97); pointer-events: none;
  transition: opacity .22s ease, transform .22s ease; transform-origin: bottom left;
}
.quick-help.is-open .qh-panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.qh-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 18px 18px 14px; background: linear-gradient(135deg, var(--navy, #0f2c7c), var(--navy-deep, #091e5c)); color: #fff; }
.qh-title { font-weight: 600; font-size: 1.02rem; margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; letter-spacing: .01em; }
.qh-sub { margin: 3px 0 0; font-size: .78rem; opacity: .8; }
.qh-close { background: rgba(255,255,255,.14); border: none; color: #fff; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .15s; }
.qh-close:hover { background: rgba(255,255,255,.26); }
.qh-body { padding: 16px 16px 18px; }
.qh-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: #9aa0ad; margin: 0 0 8px; }
.qh-links { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.qh-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 10px; color: #1c2333; text-decoration: none; font-size: .9rem; transition: background .15s, color .15s; }
.qh-link:hover { background: #f3f6fb; color: var(--navy, #0f2c7c); }
.qh-link svg { color: #c0c6d4; flex-shrink: 0; }
.qh-link:hover svg { color: var(--teal, #3fa5c7); }
.qh-cta { display: block; text-align: center; background: var(--teal, #3fa5c7); color: #fff; font-weight: 600; padding: 12px; border-radius: 11px; text-decoration: none; font-size: .92rem; transition: background .15s, transform .15s; }
.qh-cta:hover { background: #2f8fb0; transform: translateY(-1px); }
.qh-call { display: block; text-align: center; margin-top: 10px; font-size: .82rem; color: #6b7280; text-decoration: none; }
.qh-call strong { color: var(--navy, #0f2c7c); }
.qh-call:hover { color: var(--navy, #0f2c7c); }
@media (max-width: 480px) { .quick-help { left: 14px; bottom: 14px; } .qh-panel { width: calc(100vw - 28px); } }
@media print { .quick-help { display: none; } }

/* Nagyobb social ikonok a láblécben */
.social-icons-footer { gap: 12px; }
.social-icons-footer a { width: 48px; height: 48px; }
.social-icons-footer a svg { width: 24px; height: 24px; }

/* Finom hover-visszajelzés a referencia-kártyák címén (a kép-zoom mellé) */
.ref-card .meta-stack h2, .ref-card .ref-meta h3 { transition: color .3s ease; }
.ref-card:hover .meta-stack h2, .ref-card:hover .ref-meta h3 { color: var(--sand); }

/* === Közösségi feed szekció === */
.social-feed-section { background: #fff; padding-top: 4rem; padding-bottom: 4.5rem; border-top: 1px solid #eef0f4; }
.social-feed-embed { max-width: 1100px; margin: 0 auto; }
.social-feed-embed iframe, .social-feed-embed .instagram-media, .social-feed-embed blockquote { max-width: 100% !important; margin-left: auto !important; margin-right: auto !important; }

/* === Görgő képsáv a lábléc fölött (marquee, köz/padding nélkül) === */
.footer-gallery { width: 100%; overflow: hidden; line-height: 0; background: var(--ink); }
.footer-gallery-track { display: flex; width: max-content; }
.footer-gallery-track.fg-ready { animation-name: footerGalleryScroll; animation-timing-function: linear; animation-iteration-count: infinite; }
.footer-gallery-img { height: 240px; width: auto; display: block; object-fit: cover; flex: 0 0 auto; }
.footer-gallery:hover .footer-gallery-track { animation-play-state: paused; }
@keyframes footerGalleryScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 768px) { .footer-gallery-img { height: 160px; } }
@media (prefers-reduced-motion: reduce) { .footer-gallery-track { animation: none !important; } }

/* === Blog galéria-blokk (a szerkesztőből beszúrt képek) === */
.rich-text .post-gallery, .post-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 1.6rem 0; padding: 0;
}
.post-gallery a { display: block; overflow: hidden; border-radius: 6px; line-height: 0; }
.post-gallery img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform .4s ease; margin: 0; }
.post-gallery a:hover img { transform: scale(1.05); }
@media (max-width: 640px) { .rich-text .post-gallery, .post-gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; } .post-gallery img { height: 150px; } }

/* === Blog tartalom: táblázat, elválasztó, igazítás (TinyMCE) === */
.rich-text table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; font-size: 0.95em; }
.rich-text table td, .rich-text table th { border: 1px solid #dfe3ea; padding: 0.6rem 0.85rem; text-align: left; }
.rich-text table th { background: #f6f7fb; font-weight: 600; }
.rich-text hr { border: none; border-top: 2px solid #e6e9ef; margin: 2rem 0; }
.rich-text u { text-decoration: underline; }
.rich-text s { text-decoration: line-through; }

/* === Oldal szabad tartalom szekció === */
.page-free-content { }
.page-free-content .rich-text { max-width: 820px; margin: 0 auto; }
