/* ===================================================================
   Meiler Productions — Stylesheet
   =================================================================== */

:root {
  --navy: #1F3864;
  --navy-light: #3E5A8C;
  --navy-dark: #142544;
  --ink: #0E1830;
  --ink-2: #16254A;
  --sky: #4A7FC9;
  --gold: #E8B15C;
  --bg: #FFFFFF;
  --bg-alt: #EEF3FB;
  --blue-soft: #DCE7F8;
  --text: #1C2530;
  --text-muted: #5B6472;
  --border: #E2E5EA;
  --white: #FFFFFF;

  --navy-grad: linear-gradient(135deg, #24447E 0%, #3E5A8C 55%, #4A7FC9 100%);
  --dark-grad: linear-gradient(160deg, #0B1428 0%, #16264C 55%, #24447E 130%);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', 'Inter', serif;

  --max-width: 1160px;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --radius: 10px;
  --shadow: 0 10px 30px -12px rgba(31, 56, 100, 0.18);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered grid reveal: apply .reveal-stagger to the grid container,
   children cascade in one after another via nth-child transition-delay. */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(26px) scale(0.97);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal-stagger > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > *:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger > *:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger > *:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger > *:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger > *:nth-child(6) { transition-delay: 350ms; }
.reveal-stagger > *:nth-child(7) { transition-delay: 420ms; }
.reveal-stagger > *:nth-child(8) { transition-delay: 490ms; }

/* Cursor-follow glow on dark sections */
.section-dark, .hero {
  --mx: 50%;
  --my: 50%;
}
.section-dark::before, .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(232,177,92,0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.section-dark:hover::before, .hero:hover::before {
  opacity: 1;
}


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

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--navy-dark);
}

h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5.4vw, 3.8rem); letter-spacing: -0.01em; }
h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--text-muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-light);
  margin-bottom: 0.9rem;
}

.section-head {
  max-width: 640px;
  margin: 0 0 3rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

section { padding: var(--section-pad) 0; }

.bg-alt {
  background-color: var(--bg-alt);
  background-image: radial-gradient(rgba(31,56,100,0.08) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--navy-grad);
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(31,56,100,0.55);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-outline.on-dark {
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline.on-dark:hover { background: var(--white); color: var(--navy); }

/* ---------- Header / Nav ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  color: #fff;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(12px);
  color: var(--text);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px -12px rgba(31,56,100,0.15);
}

.site-header:not(.scrolled) .logo-link img { filter: brightness(0) invert(1); }
.site-header:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.92); }
.site-header:not(.scrolled) .btn-outline { border-color: rgba(255,255,255,0.6); color: #fff; }
.site-header:not(.scrolled) .btn-outline:hover { background: #fff; color: var(--navy); }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }

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

.logo-link { display: flex; align-items: center; gap: 0.6rem; }
.logo-link img { height: 34px; width: auto; }
/* Neues Logo (schwarz/orange): als abgerundete Kachel, nie einfärben */
.logo-link img.logo-badge,
.site-header:not(.scrolled) .logo-link img.logo-badge { height: 40px; width: auto; border-radius: 8px; filter: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.nav-links a {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: right 0.25s ease;
}
.nav-links a.active::after { right: 0; }
.site-header:not(.scrolled) .nav-links a.active { color: #fff; }
.nav-links a.active { color: var(--navy); }

.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-cta .btn { padding: 0.65rem 1.4rem; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--navy-dark); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: calc(76px + 7rem) 0 6rem;
  overflow: hidden;
  background: var(--dark-grad);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 75%);
  pointer-events: none;
}

.hero .blob-a {
  width: 560px; height: 560px;
  top: -220px; right: -160px;
  background: radial-gradient(circle, rgba(74,127,201,0.5), transparent 70%);
  animation: floatSlow 14s ease-in-out infinite;
}
.hero .blob-b {
  width: 420px; height: 420px;
  bottom: -180px; left: 8%;
  background: radial-gradient(circle, rgba(232,177,92,0.18), transparent 70%);
  animation: floatSlow 18s ease-in-out infinite reverse;
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 30px); }
}

.hero-frame {
  position: absolute;
  top: 50%;
  right: 5%;
  width: min(34vw, 420px);
  height: min(34vw, 420px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
  animation: focusBreathe 5s ease-in-out infinite;
}
.hero-frame line, .hero-frame circle { stroke: #fff !important; }
.hero-frame circle { fill: var(--gold) !important; stroke: none !important; }
@keyframes focusBreathe {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.5; }
  50% { transform: translateY(-50%) scale(1.045); opacity: 0.65; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 640px);
  gap: 2rem;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 0.45rem 0.9rem 0.45rem 0.7rem;
  border-radius: 999px;
}
.hero .eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(232,177,92,0.6);
  animation: pulseDot 2s ease-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(232,177,92,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(232,177,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,177,92,0); }
}

.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--gold); }

.hero p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 560px;
  color: rgba(255,255,255,0.72);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}

.hero .btn-primary,
.section-dark .btn-primary { background: linear-gradient(135deg, var(--gold), #D89A3A); box-shadow: 0 10px 24px -8px rgba(232,177,92,0.5); color: #241705; }
.hero .btn-primary:hover,
.section-dark .btn-primary:hover { filter: brightness(1.06); }
.hero .btn-outline,
.section-dark .btn-outline { border-color: rgba(255,255,255,0.35); color: #fff; }
.hero .btn-outline:hover,
.section-dark .btn-outline:hover { background: #fff; color: var(--navy); }

.hero-meta {
  display: flex;
  gap: 1.2rem;
  margin-top: 3.4rem;
  flex-wrap: wrap;
}

.hero-meta div {
  max-width: 240px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  backdrop-filter: blur(6px);
}
.hero-meta strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.hero-meta span { font-size: 0.88rem; color: rgba(255,255,255,0.6); }

/* ---------- Marquee ---------- */

.marquee {
  background: var(--navy-dark);
  overflow: hidden;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marqueeScroll 28s linear infinite;
  animation-play-state: running;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  flex: none;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  flex: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding: 0 1.3rem;
  white-space: nowrap;
}
.marquee-track span::after {
  content: "●";
  color: var(--gold);
  margin-left: 1.3rem;
  font-size: 0.4rem;
  vertical-align: middle;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero .blob-a, .hero .blob-b { animation: none; }
  .hero-frame { animation: none; }
  .reveal, .reveal-stagger > *, .process-list::before { transition-duration: 0.01ms !important; }
}

/* ---------- Leistungen ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.services-note {
  text-align: center;
  margin: 2.5rem 0 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}
.services-note a { font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.services-note a:hover { color: var(--gold); }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.7rem;
  box-shadow: 0 10px 24px -18px rgba(15,29,56,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--navy-grad);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 20px 36px -20px rgba(15,29,56,0.28);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  transition: background 0.2s ease;
}
.service-card:hover .service-icon { background: var(--navy); }
.service-icon svg { width: 24px; height: 24px; }
.service-icon svg, .service-icon svg * { stroke: var(--navy); transition: stroke 0.2s ease; }
.service-card:hover .service-icon svg,
.service-card:hover .service-icon svg * { stroke: #fff; }

.service-card-body { flex: 1; min-width: 0; }
.service-card h3 { color: var(--navy-dark); margin-bottom: 0.5rem; }
.service-card p { margin: 0; font-size: 0.95rem; color: var(--text-muted); }

/* ---------- Referenzen ---------- */

.section-dark {
  position: relative;
  background: var(--dark-grad);
  overflow: hidden;
  isolation: isolate;
}
.section-dark .blob-a {
  width: 460px; height: 460px;
  top: -120px; left: -140px;
  background: radial-gradient(circle, rgba(74,127,201,0.4), transparent 70%);
}
.section-dark .blob-b {
  width: 380px; height: 380px;
  bottom: -160px; right: -100px;
  background: radial-gradient(circle, rgba(232,177,92,0.14), transparent 70%);
}
.section-dark .container { position: relative; z-index: 2; }
.section-dark .eyebrow { color: var(--gold); }
.section-dark h2 { color: #fff; }
.section-dark > .container > .section-head > p { color: rgba(255,255,255,0.65); }

.featured-project-grid {
  display: grid;
  grid-template-columns: 1.43fr 1fr;
  align-items: start;
  gap: 1.75rem;
  max-width: 1060px;
  margin: 0 auto;
}
.featured-project--tall {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.featured-project--tall .featured-video-frame { aspect-ratio: 9 / 16; }

.featured-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.featured-video-frame:hover {
  transform: translateY(-3px);
  border-color: rgba(232,177,92,0.4);
}

.featured-video-frame.has-video {
  cursor: pointer;
  background-size: cover;
  background-position: center;
}
.featured-video-frame.has-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(11,20,40,0.2) 0%, rgba(11,20,40,0.6) 100%);
}
.featured-video-frame.has-video:hover .fv-play { transform: scale(1.08); }
.featured-video-frame.has-video:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.featured-video-frame video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: contain;
}

.fv-corner {
  position: absolute;
  z-index: 1;
  width: 34px;
  height: 34px;
  color: rgba(255,255,255,0.4);
}
.fv-tl { top: 14px; left: 14px; }
.fv-tr { top: 14px; right: 14px; }
.fv-bl { bottom: 14px; left: 14px; }
.fv-br { bottom: 14px; right: 14px; }

.fv-play {
  position: relative;
  z-index: 1;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--navy-grad);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.fv-play svg { width: 26px; height: 26px; color: #fff; margin-left: 3px; }

.featured-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.featured-meta .dot { color: var(--gold); font-size: 0.7rem; }

/* ---------- Über mich ---------- */

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

.about-portrait {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: var(--navy-grad);
  box-shadow: 0 20px 40px -18px rgba(31,56,100,0.5);
  position: relative;
  overflow: hidden;
}
.about-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.about-copy p { font-size: 1.02rem; }
.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.6rem;
}
.about-facts li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text);
}
.about-facts svg { width: 18px; height: 18px; color: var(--navy-light); flex-shrink: 0; margin-top: 2px; }

/* ---------- Ablauf & Preise ---------- */

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.process-list::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 18px;
  right: calc(25% - 18px);
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(31,56,100,0.25) 0, rgba(31,56,100,0.25) 8px, transparent 8px, transparent 16px);
  z-index: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s ease 0.15s;
}
.process-list.is-visible::before { transform: scaleX(1); }
@media (max-width: 980px) {
  .process-list::before { display: none; }
}

.process-step {
  position: relative;
  z-index: 1;
  padding-top: 0.5rem;
  transition: transform 0.2s ease;
}
.process-step:hover { transform: translateY(-4px); }
.process-step .num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.25s ease;
}
.process-step:hover .num { transform: scale(1.1) rotate(-4deg); }
.process-step:nth-child(odd) .num { background: var(--navy-grad); box-shadow: 0 6px 14px -6px rgba(31,56,100,0.5); }
.process-step:nth-child(even) .num { background: linear-gradient(135deg, var(--sky), var(--navy-light)); box-shadow: 0 6px 14px -6px rgba(31,56,100,0.5); }
.process-step-body { flex: 1; min-width: 0; }
.process-step h3 { font-size: 1.02rem; margin-bottom: 0.4rem; color: var(--navy-dark); }
.process-step p { font-size: 0.9rem; margin: 0; color: var(--text-muted); }

.price-note {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, var(--gold), #D89A3A);
  color: #241705;
  border-radius: var(--radius);
  padding: 2.4rem 2.6rem;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.5);
}
.price-note h3 { color: #241705; margin-bottom: 0.5rem; }
.price-note p { color: rgba(36,23,5,0.75); margin: 0; max-width: 560px; }
.price-note .btn { background: var(--navy-dark); color: #fff; border-color: var(--navy-dark); }
.price-note .btn:hover { background: var(--navy); border-color: var(--navy); }

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.form-row input,
.form-row textarea,
.form-row select {
  font-family: var(--font);
  font-size: 0.98rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  resize: vertical;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-row select option { color: var(--text); }
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}
.form-row.two-col { flex-direction: row; gap: 1rem; }
.form-row.two-col > div { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }

.form-status {
  margin: 0 0 0.4rem;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
}
.form-status.is-ok { border-color: var(--gold); background: rgba(232,177,92,0.14); }
.form-status.is-error { border-color: #ff8f8f; background: rgba(255,120,120,0.14); }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.form-consent a { color: rgba(255,255,255,0.8); }
.form-consent input { margin-top: 3px; }

.contact-info {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 2.2rem;
  height: fit-content;
}
.contact-info h3 { margin-bottom: 1.3rem; color: #fff; }
.contact-info-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1.4rem;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-item svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.5); font-weight: 500; }
.contact-info-item a, .contact-info-item span.value {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
.contact-info-item a:hover { color: var(--gold); }

/* ---------- Footer ---------- */

.site-footer {
  background: linear-gradient(160deg, var(--navy-dark) 0%, #1B3260 100%);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 2rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 1.6rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.6rem; }
.footer-brand img { height: 26px; }
.footer-brand img.logo-badge { height: 46px; width: auto; border-radius: 8px; }
.footer-tag { font-size: 0.88rem; max-width: 280px; margin-top: 0.8rem; }
.footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-links h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.9rem; }
.footer-links ul li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.92rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.82rem;
}

/* ---------- Legal pages ---------- */

.legal-page {
  padding: calc(76px + 3.5rem) 0 5rem;
  max-width: 820px;
  margin: 0 auto;
}
.legal-page h1 { margin-bottom: 0.4rem; }
.legal-page .updated { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2.5rem; }
.legal-page h2 { font-size: 1.25rem; margin-top: 2.2rem; }
.legal-page p, .legal-page li { color: var(--text); font-size: 0.98rem; }
.legal-page ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.legal-page ul li { margin-bottom: 0.4rem; }
.legal-page a.back-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.9rem; font-weight: 600; color: var(--navy);
  margin-bottom: 2rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .featured-project-grid { grid-template-columns: 1fr; max-width: 640px; }
  .featured-project--tall { grid-column: auto; grid-row: auto; max-width: 340px; width: 100%; justify-self: center; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 320px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .price-note { grid-template-columns: 1fr; text-align: left; }
  .price-note .btn { margin-top: 0.5rem; }
  .hero-frame { display: none; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-primary { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px -12px rgba(31,56,100,0.2);
    gap: 1.1rem;
  }

  .hero { padding: calc(76px + 2.25rem) 0 3rem; }

  .services-grid, .process-list { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .form-row.two-col { flex-direction: column; }
  .hero-meta { gap: 1.6rem; }

  /* Leistungen: kompakte Zeile statt hoher Kachel, mit Farbakzent statt reinem Weiß-auf-Weiß */
  .services-grid { gap: 0.85rem; }
  .service-card {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem 1rem 1.4rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .service-card::before {
    top: 0; left: 0; right: auto; bottom: 0;
    width: 4px; height: auto;
    transform: none;
  }
  .service-card:active { transform: scale(0.98); box-shadow: 0 6px 14px -12px rgba(15,29,56,0.3); }
  .service-icon {
    width: 44px; height: 44px;
    margin-bottom: 0;
    flex-shrink: 0;
    background: var(--navy-grad);
  }
  .service-icon svg { width: 21px; height: 21px; }
  .service-icon svg, .service-icon svg * { stroke: #fff; }
  .service-card h3 { font-size: 1rem; margin-bottom: 0.2rem; }
  .service-card p { font-size: 0.86rem; }

  /* Laufschrift: dezenter statt fett auf kleinen Screens */
  .marquee { padding: 0.6rem 0; }
  .marquee-track span {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0 0.9rem;
  }
  .marquee-track span::after { margin-left: 0.9rem; }

  /* Ablauf & Preise: Nummer neben Text, gestrichelte Linie 1 bis 4 durchgehend */
  .process-list { position: relative; row-gap: 1.75rem; }
  .process-step { display: flex; align-items: flex-start; gap: 1rem; padding-top: 0; }
  .process-step .num { margin-bottom: 0; flex-shrink: 0; }
  .process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 38px;
    left: 19px;
    bottom: -1.75rem;
    width: 2px;
    background: repeating-linear-gradient(180deg, rgba(31,56,100,0.28) 0, rgba(31,56,100,0.28) 6px, transparent 6px, transparent 12px);
    z-index: 0;
  }
}
