/* FREI DESIGN - gemeinsames Stylesheet fuer alle Seiten */
:root {
  --ink: #08090b;
  --ink-2: #0e1013;
  --panel: #14171b;
  --panel-2: #1b1f24;
  --line: rgba(226, 229, 231, .16);
  --line-strong: rgba(226, 229, 231, .27);
  --silver: #d9dcdf;
  --silver-muted: #a7adb3;
  --gold: #ead094;
  --gold-deep: #b99250;
  --white: #f7f7f5;
  --shadow: 0 24px 80px rgba(0, 0, 0, .34);
  --radius: 18px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
body::selection { background: var(--gold); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--gold); }

.display {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(2.65rem, 5vw, 5.7rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.065em;
}
.display em { color: var(--gold); font-style: normal; }

.section-title {
  margin: 16px 0 0;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(2rem, 3.4vw, 3.65rem);
  line-height: 1.03;
  letter-spacing: -.055em;
  font-weight: 800;
}
.section-title em { color: var(--gold); font-style: normal; }
.section-intro { max-width: 580px; color: var(--silver-muted); font-size: 1.04rem; }

/* Kopfzeile */
.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(4,5,7,.55), rgba(4,5,7,.08));
}
.nav { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.brand { width: 182px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; max-height: 72px; object-fit: contain; object-position: center; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 44px);
  margin-left: auto;
}
.nav-links a { color: rgba(255,255,255,.78); font-size: .88rem; transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold); }

.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .01em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover, .nav-cta:hover { transform: translateY(-2px); }
.nav-cta, .button-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(234,208,148,.13);
}
.nav-cta:hover, .button-primary:hover { background: #f6dfa6; }
.button-ghost { border-color: var(--line-strong); color: var(--white); background: rgba(255,255,255,.02); }
.button-ghost:hover { border-color: var(--gold); color: var(--gold); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #262a2e; }

.menu-toggle { display: none; color: var(--white); background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle svg { width: 26px; height: 26px; }

/* Hero */
.hero {
  position: relative;
  min-height: 790px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,9,11,.97) 0%, rgba(8,9,11,.84) 37%, rgba(8,9,11,.34) 72%, rgba(8,9,11,.67) 100%),
    url("frei-design-hero.jpg") center / cover no-repeat;
  transform: scale(1.01);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(transparent, var(--ink));
}
.hero-content { width: min(760px, 100%); padding: 150px 0 110px; }
.hero h1 { margin-top: 22px; max-width: 760px; }
.hero-copy { max-width: 600px; margin: 28px 0 0; color: #c2c6c9; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 36px; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 700px;
  margin-top: 82px;
  border-top: 1px solid var(--line);
}
.hero-proof div { padding: 18px 18px 0 0; color: var(--silver-muted); font-size: .8rem; }
.hero-proof strong { display: block; margin-bottom: 3px; color: var(--silver); font-size: .92rem; }

/* Abschnitte */
.section { padding: 128px 0; }
.section-dark { background: var(--ink); }
.section-panel { background: var(--panel); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 58px;
}
.section-head .section-intro { margin: 0 0 4px; }

/* Der Blick von aussen */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pain-card { position: relative; min-height: 260px; padding: 28px 28px 30px 0; border-right: 1px solid var(--line); }
.pain-card:not(:first-child) { padding-left: 28px; }
.pain-card:last-child { border-right: 0; }
.pain-number { color: var(--gold); font-family: Manrope, sans-serif; font-size: .8rem; font-weight: 800; letter-spacing: .08em; }
.pain-card h3 { margin: 55px 0 10px; font-size: 1.2rem; letter-spacing: -.025em; }
.pain-card p { max-width: 280px; margin: 0; color: var(--silver-muted); font-size: .92rem; }
.pain-card::after { content: "\2197"; position: absolute; top: 26px; right: 4px; color: var(--silver-muted); font-size: 1.1rem; }

/* Leistungen */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card {
  position: relative;
  min-height: 310px;
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.012));
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(234,208,148,.55);
  background: linear-gradient(145deg, rgba(234,208,148,.11), rgba(255,255,255,.025));
}
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: Manrope, sans-serif;
  font-weight: 800;
}
.service-card h3 { margin: 54px 0 12px; font-size: 1.14rem; line-height: 1.15; }
.service-card p { margin: 0; color: var(--silver-muted); font-size: .88rem; }
.service-card a { position: absolute; right: 24px; bottom: 23px; color: var(--gold); font-size: .8rem; font-weight: 700; }

/* Zweispaltig mit Bild */
.split { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: stretch; gap: 0; }
.split-media { position: relative; min-height: 580px; overflow: hidden; background: #0b0d10; }
.split-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 50%, rgba(20,23,27,.55));
}
.media-tag {
  position: absolute;
  z-index: 1;
  bottom: 26px;
  left: 26px;
  padding: 9px 13px;
  color: var(--ink);
  background: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.split-copy { padding: clamp(34px, 6vw, 82px); background: var(--panel-2); }
.split-copy p { color: var(--silver-muted); }
.bullet-list { display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.bullet-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--silver); font-size: .94rem; }
.bullet-list li::before {
  content: "\2713";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-top: 1px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: .72rem;
}
.focus-line {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--gold);
  font-family: Manrope, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

/* Drei Schritte */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.process-step { padding: 28px 34px 8px 0; border-right: 1px solid var(--line); }
.process-step:not(:first-child) { padding-left: 34px; }
.process-step:last-child { border-right: 0; }
.process-no {
  color: var(--gold);
  font-family: Manrope, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -.08em;
}
.process-step h3 { margin: 22px 0 10px; font-size: 1.15rem; }
.process-step p { margin: 0; color: var(--silver-muted); font-size: .9rem; }

/* Produktliste (Pulverlack-Seite) */
.product-list { border-top: 1px solid var(--line); }
.product-row {
  display: grid;
  grid-template-columns: 90px minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: background .25s ease;
}
.product-row:hover { background: rgba(234,208,148,.035); }
.product-no {
  color: var(--gold);
  font-family: Manrope, sans-serif;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding-top: 6px;
}
.product-row h3 {
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -.03em;
}
.product-row p { margin: 0; color: var(--silver-muted); font-size: .97rem; }
.product-cta { margin-top: 42px; display: flex; justify-content: flex-start; }

/* Intro-Text in zwei Spalten */
.statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.statement p { margin: 0; color: var(--silver-muted); font-size: 1.02rem; }
.statement p strong { color: var(--silver); font-weight: 600; }

/* Werte */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 58px; }
.value-card {
  padding: 30px 28px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.012));
}
.value-card h3 { margin: 0 0 10px; color: var(--gold); font-family: Manrope, sans-serif; font-size: 1.25rem; letter-spacing: -.02em; }
.value-card p { margin: 0; color: var(--silver-muted); font-size: .92rem; }

/* Ueber Frei Design */
.about-grid { display: grid; grid-template-columns: 360px 1fr; gap: 76px; align-items: center; }
.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: .82; object-fit: cover; object-position: center 20%; filter: saturate(.8); }
.portrait::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
}
.about-copy .section-intro { margin: 24px 0 0; }
.about-copy p { color: var(--silver-muted); }
.signature { margin-top: 34px; color: var(--gold); font-family: Georgia, serif; font-size: 1.8rem; font-style: italic; }
.signature small {
  display: block;
  margin-top: 7px;
  color: var(--silver-muted);
  font-family: "DM Sans", sans-serif;
  font-size: .74rem;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Partner-Abschnitt */
.partner-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.partner-grid .section-intro { margin: 24px 0 0; }

/* Call-to-action-Band */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background: var(--gold);
  color: var(--ink);
}
.cta-band::after {
  content: "FD";
  position: absolute;
  right: -15px;
  bottom: -90px;
  color: rgba(8,9,11,.07);
  font-family: Manrope, sans-serif;
  font-size: 19rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.13em;
}
.cta-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.cta-band .eyebrow { color: var(--ink); }
.cta-band .eyebrow::before { background: var(--ink); }
.cta-band h2 {
  max-width: 700px;
  margin: 16px 0 0;
  font-family: Manrope, sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -.06em;
}
.cta-band p { max-width: 560px; margin: 20px 0 0; color: #2a2d31; }

/* Kontakt */
.contact-wrap { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.contact-lead p { color: var(--silver-muted); }
.contact-details { display: grid; gap: 18px; margin-top: 38px; }
.contact-detail { display: flex; gap: 14px; align-items: center; color: var(--silver); font-size: .92rem; }
.contact-detail a:hover { color: var(--gold); }
.contact-detail-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold);
  font-size: .9rem;
  flex: 0 0 auto;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  box-shadow: var(--shadow);
}
.field { display: grid; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { color: var(--silver); font-size: .8rem; font-weight: 600; }
.field label span { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  outline: none;
  background: rgba(0,0,0,.18);
  color: var(--white);
  padding: 13px 14px;
  transition: border-color .2s ease, background .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #788087; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field select option { background: var(--panel); }
.field textarea { min-height: 134px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  background: rgba(234,208,148,.04);
}
.form-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 5px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 430px;
  color: var(--silver-muted);
  font-size: .73rem;
  line-height: 1.4;
}
.consent input { accent-color: var(--gold); margin-top: 3px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button.button-primary { border: 0; cursor: pointer; }

/* Fusszeile */
footer { padding: 34px 0 30px; border-top: 1px solid var(--line); background: var(--ink-2); }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-brand { width: 142px; }
.footer-brand img { width: 100%; }
.footer-main p { margin: 0; color: var(--silver-muted); font-size: .76rem; text-align: right; }
.footer-main a { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #71777d;
  font-size: .72rem;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .nav-links { gap: 20px; }
  .nav-cta { padding-inline: 16px; }
  .hero { min-height: 720px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 280px 1fr; gap: 50px; }
  .contact-wrap { gap: 42px; }
  .statement, .partner-grid { gap: 42px; }
  .values { grid-template-columns: 1fr; }
  .product-row { grid-template-columns: 60px minmax(0, 1fr); }
  .product-row p { grid-column: 2; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 34px), var(--max)); }
  .site-header { top: 0; }
  .nav { min-height: 78px; }
  .brand { width: 148px; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 17px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(12,14,17,.98);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-cta { display: none; }
  .hero { min-height: 720px; }
  .hero::before {
    background: linear-gradient(90deg, rgba(8,9,11,.97), rgba(8,9,11,.75)), url("frei-design-hero.jpg") 60% center / cover no-repeat;
  }
  .hero-content { padding: 140px 0 84px; }
  .hero-proof { grid-template-columns: 1fr; margin-top: 55px; }
  .hero-proof div { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .section { padding: 88px 0; }
  .section-head { display: block; margin-bottom: 38px; }
  .section-head .section-intro { margin-top: 20px; }
  .pain-grid, .process { grid-template-columns: 1fr; }
  .pain-card, .pain-card:not(:first-child), .process-step, .process-step:not(:first-child) {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .pain-card:last-child, .process-step:last-child { border-bottom: 0; }
  .pain-card h3 { margin-top: 28px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 270px; }
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 380px; }
  .statement, .partner-grid { grid-template-columns: 1fr; gap: 24px; }
  .product-row { grid-template-columns: 1fr; gap: 12px; padding: 26px 0; }
  .product-row p { grid-column: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .portrait { width: min(280px, 80%); }
  .cta-inner { display: block; }
  .cta-inner .button { margin-top: 30px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .field-wide, .form-bottom { grid-column: auto; }
  .form-bottom { display: grid; }
  .footer-main, .footer-bottom { display: block; }
  .footer-main p { margin-top: 18px; text-align: left; }
  .footer-bottom p + p { margin-top: 7px; }
}

/* Rechtliche Seiten */
.legal-page { padding: 190px 0 110px; background: var(--ink); }
.legal { max-width: 820px; }
.legal .section-title { margin-bottom: 40px; }
.legal h2 {
  margin: 44px 0 12px;
  font-family: Manrope, sans-serif;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  color: var(--gold);
}
.legal p { margin: 0 0 14px; color: var(--silver-muted); font-size: .97rem; }
.legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal-date { margin-top: 48px; font-size: .8rem; color: #71777d; }
@media (max-width: 760px) { .legal-page { padding: 150px 0 80px; } }
