/* Lokal gehostete Schriften (DSGVO: keine Verbindung zu Google) */
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url("assets/fonts/montserrat-400.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("assets/fonts/montserrat-500.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("assets/fonts/montserrat-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("assets/fonts/montserrat-700.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("assets/fonts/source-sans-3-400.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 500; font-display: swap; src: url("assets/fonts/source-sans-3-500.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url("assets/fonts/source-sans-3-600.woff2") format("woff2"); }

:root {
  --navy: #13284a;
  --navy-deep: #0c1c35;
  --navy-soft: #1d3762;
  --cream: #efe1c0;
  --cream-soft: #f6eedb;
  --paper: #f8f5ef;
  --ink: #18223a;
  --muted: #5b6577;
  --line: #e3ddd0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12, 28, 53, .08);
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  /* Putz-Strukturen als SVG-Rauschen */
  --grain-fine: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-coarse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.35' numOctaves='4' stitchTiles='stitch'/%3E%3CfeDiffuseLighting lighting-color='%23fff' surfaceScale='2.2'%3E%3CfeDistantLight azimuth='45' elevation='55'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-smooth: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .03' numOctaves='3' seed='4'/%3E%3CfeDiffuseLighting lighting-color='%23fff' surfaceScale='3'%3E%3CfeDistantLight azimuth='120' elevation='60'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow-dark { color: #9a7b3c; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: .95em 1.6em;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .6em 1.2em; font-size: .85rem; }
.btn-cream { background: var(--cream); color: var(--navy); }
.btn-cream:hover { background: #fff; }
.btn-ghost { border-color: rgba(239, 225, 192, .5); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(239, 225, 192, .08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 40, 74, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(239, 225, 192, .12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark { width: 40px; height: 38px; color: var(--cream); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 500; font-size: 1.35rem; letter-spacing: .02em; }
.brand-sub { font-family: var(--font-head); font-size: .68rem; color: var(--cream); letter-spacing: .06em; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 500;
  position: relative;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--cream);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 8px; order: 2; margin-left: 24px; }
.lang-switch { display: flex; border: 1px solid rgba(239, 225, 192, .35); border-radius: 999px; padding: 3px; }
.lang-switch a {
  text-decoration: none;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, .7);
  padding: .35em .75em;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="true"] { background: var(--cream); color: var(--navy); }
.nav { margin-left: auto; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 85% 20%, var(--navy-soft) 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: #fff;
  padding: clamp(64px, 10vw, 120px) 0 clamp(72px, 10vw, 130px);
}
.hero-texture {
  position: absolute;
  inset: 0;
  background-image: var(--grain-fine);
  opacity: .07;
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 600; margin-bottom: .45em; }
.hero h1 span { color: var(--cream); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .78); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 36px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: rgba(255, 255, 255, .75); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%2313284a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
  flex: none;
}

.hero-art { display: flex; justify-content: center; }
.draw-mark { width: min(380px, 100%); height: auto; overflow: visible; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .25)); }
.draw-mark path {
  fill: none;
  stroke: var(--cream);
  stroke-width: 26;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.2s cubic-bezier(.65, 0, .35, 1) .3s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Innen / Außen */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split-panel {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: clamp(32px, 5vw, 64px);
}
.panel-texture { position: absolute; inset: 0; transition: transform 1.2s ease; }
.split-panel:hover .panel-texture { transform: scale(1.04); }
.panel-in { background: #ece6da; color: var(--ink); }
.panel-in .panel-texture { background-image: var(--grain-smooth); background-size: 600px; mix-blend-mode: multiply; opacity: .35; }
.panel-out { background: #c9bfae; color: var(--ink); }
.panel-out .panel-texture { background-image: var(--grain-coarse); background-size: 220px; mix-blend-mode: multiply; opacity: .55; }
.panel-body {
  position: relative;
  max-width: 460px;
  background: rgba(248, 245, 239, .9);
  backdrop-filter: blur(4px);
  border-radius: var(--radius);
  padding: 28px 30px 24px;
  box-shadow: var(--shadow);
}
.panel-out .panel-body { background: rgba(19, 40, 74, .94); color: #fff; }
.panel-out .panel-body p { color: rgba(255, 255, 255, .8); }
.panel-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .3em .8em;
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
  margin-bottom: 14px;
}
.panel-out .panel-tag { background: var(--cream); color: var(--navy); }
.panel-body h2 { font-size: 1.8rem; margin-bottom: .4em; }
.panel-body p { color: var(--muted); }
.link-arrow { font-family: var(--font-head); font-weight: 600; font-size: .92rem; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.panel-out .link-arrow { color: var(--cream); }

/* Sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-tint { background: var(--cream-soft); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin: 0; }
.card h3 { hyphens: auto; overflow-wrap: break-word; }
.card-icon {
  width: 52px; height: 52px;
  padding: 11px;
  border-radius: 12px;
  background: var(--navy);
  margin-bottom: 20px;
  fill: none;
  stroke: var(--cream);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc-more {
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px 28px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}
.svc-more .link-arrow { color: #fff; font-size: .95rem; }

.objects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.object {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 34px 30px 28px;
  border-top: 4px solid var(--navy);
}
.object p { color: var(--muted); margin: 0; }
.object-num { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--cream); line-height: 1; margin-bottom: 18px; -webkit-text-stroke: 1px #c8b48a; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 70px; counter-increment: step; }
.step::before {
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line);
}
.step::after {
  content: "";
  position: absolute;
  top: 25px; left: 66px; right: -6px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.step:last-child::after { display: none; }
.step p { color: var(--muted); margin: 0; }

/* Über uns */
.about { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(72px, 9vw, 120px) 0; }
.about-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-copy p:last-child { color: rgba(255, 255, 255, .78); font-size: 1.1rem; }
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.values li {
  border: 1px solid rgba(239, 225, 192, .2);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, .03);
}
.values strong { display: block; font-family: var(--font-head); color: var(--cream); font-size: 1.1rem; margin-bottom: 4px; }
.values span { color: rgba(255, 255, 255, .72); font-size: .97rem; }

/* Kontakt */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info > p { color: var(--muted); font-size: 1.1rem; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list svg {
  width: 42px; height: 42px;
  padding: 10px;
  border-radius: 50%;
  background: var(--cream-soft);
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-family: var(--font-head); font-size: .82rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  width: 100%;
  padding: .8em .95em;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(19, 40, 74, .12);
}
.contact-form .invalid { border-color: #c0392b; }
.contact-form .btn { justify-self: start; }
.form-status { margin: 0; font-size: .95rem; color: var(--muted); min-height: 1.4em; }
.form-status.error { color: #c0392b; }

.form-status.success { color: #2e7d4f; font-weight: 600; }
.consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-family: var(--font-body) !important; font-weight: 400 !important; font-size: .92rem !important; color: var(--muted) !important; }
.consent input { width: 18px !important; height: 18px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.consent.invalid, .consent input.invalid { outline: 2px solid #c0392b; outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Eigene Fotos (im Admin-Bereich hochgeladen) */
.hero.has-photo { background: linear-gradient(100deg, rgba(12, 28, 53, .94) 0%, rgba(19, 40, 74, .82) 55%, rgba(19, 40, 74, .55) 100%), var(--photo) center / cover; }
.split-panel.has-photo { background: var(--photo) center / cover; }
.split-panel.has-photo .panel-texture { display: none; }

/* Projekte */
.section-dark-paper { background: #fff; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head-row > div { max-width: 640px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  padding: .55em 1.1em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: var(--cream); }

.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project {
  all: unset;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.project[hidden] { display: none; }
.project:hover, .project:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }
.project:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.project-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project:hover .project-img img { transform: scale(1.05); }
.project-count {
  position: absolute;
  right: 12px; bottom: 12px;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 600;
  padding: .35em .8em;
  border-radius: 999px;
  background: rgba(12, 28, 53, .8);
  color: #fff;
}
.project-body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; }
.project-cat { font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9a7b3c; }
.project-title { font-family: var(--font-head); font-size: 1.12rem; font-weight: 600; color: var(--ink); }
.project-meta { font-size: .93rem; color: var(--muted); }

.lightbox {
  width: min(1200px, 100vw - 32px);
  height: min(780px, 100vh - 32px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
}
.lightbox[open] { display: grid; grid-template-columns: 1fr 340px; }
.lightbox::backdrop { background: rgba(6, 14, 28, .82); backdrop-filter: blur(3px); }
.lb-stage { position: relative; display: grid; place-items: center; background: #050c18; min-height: 0; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
}
.lb-nav:hover { background: rgba(255, 255, 255, .28); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-nav[hidden], .lb-counter[hidden], .lb-thumbs[hidden] { display: none; }
.lb-counter { position: absolute; left: 16px; bottom: 14px; font-size: .85rem; color: rgba(255, 255, 255, .75); }
.lb-info { position: relative; padding: 56px 28px 28px; overflow-y: auto; }
.lb-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lb-close:hover { background: rgba(255, 255, 255, .2); }
.lb-cat { font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); margin-bottom: 8px; }
.lb-title { font-size: 1.4rem; }
.lb-meta { color: rgba(255, 255, 255, .6); font-size: .95rem; }
.lb-text { color: rgba(255, 255, 255, .82); font-size: 1rem; }
.lb-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 20px; }
.lb-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 1; opacity: .6; transition: opacity .2s, border-color .2s; }
.lb-thumbs button:hover { opacity: 1; }
.lb-thumbs button.is-active { border-color: var(--cream); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Impressum / Datenschutz */
.legal { min-height: 60vh; }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 18px 0 28px; }
.legal-text p { color: #39445a; }
.link-back::after { content: none; }
.link-back::before { content: "←"; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .7); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { text-decoration: none; font-size: .92rem; }
.footer-nav a:hover { color: #fff; }
.copyright { margin: 0; font-size: .88rem; width: 100%; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); }

/* Scroll-Animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .draw-mark path { animation: none; stroke-dashoffset: 0; }
}

/* Responsive */
@media (max-width: 980px) {
  .cards, .objects, .projects { grid-template-columns: 1fr 1fr; }
  .lightbox[open] { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lb-info { max-height: 38vh; padding-top: 24px; }
  .lb-close { position: fixed; top: 24px; right: 24px; z-index: 2; background: rgba(0, 0, 0, .5); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .step:nth-child(2)::after { display: none; }
  .about-inner, .contact { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    padding: 8px 16px 20px;
    border-bottom: 1px solid rgba(239, 225, 192, .12);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; justify-content: flex-start; }
  .draw-mark { width: 120px; }
  .split { grid-template-columns: 1fr; }
  .split-panel { min-height: 340px; }
}

@media (max-width: 600px) {
  .cards, .objects, .steps, .values, .field-row, .projects { grid-template-columns: 1fr; }
  .lightbox { width: 100vw; height: 100dvh; border-radius: 0; }
  .lb-nav { width: 40px; height: 40px; }
  .step::after { display: none; }
  .brand-name { font-size: 1.15rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}
