/* =========================================================================
   Uttenrodt & Schreiber – Restaurierungsatelier
   Stylesheet · Premium / Heritage / Mobile-First
   Lokale Schriften (DSGVO-konform, keine externen CDNs)
   ========================================================================= */

/* ---------- Lokale Schriften ------------------------------------------- */
/* Cormorant Garamond – Display-Serif für Überschriften */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter – Sans für Fließtext & UI */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/inter-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/inter-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/inter-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/inter-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/inter-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/inter-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/inter-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/inter-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design Tokens --------------------------------------------- */
:root {
  /* Farbwelt: warmes Pergament, Walnuss, Messing – museal & handwerklich */
  --bg: #f6f1e8;
  --bg-alt: #efe7d8;
  --surface: #fffdf9;
  --surface-2: #faf5ec;
  --ink: #221b12;
  --ink-soft: #5b5446;
  --ink-faint: #8a8170;
  --walnut: #3c2c1d;
  --walnut-soft: #5e4631;
  --brass: #a87d39;
  --brass-deep: #7c5a26;
  --brass-tint: #ede0c6;
  --sage: #5d6450;
  --line: #e3d8c4;
  --line-strong: #d3c4a9;
  --danger: #a8331f;
  --success: #3f6b46;

  /* Typografie */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Maße & Form */
  --maxw: 1200px;
  --maxw-narrow: 820px;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Schatten */
  --shadow-sm: 0 1px 2px rgba(34, 27, 18, 0.05), 0 2px 6px rgba(34, 27, 18, 0.04);
  --shadow: 0 6px 22px rgba(34, 27, 18, 0.08), 0 2px 6px rgba(34, 27, 18, 0.05);
  --shadow-lg: 0 24px 60px rgba(34, 27, 18, 0.14), 0 8px 20px rgba(34, 27, 18, 0.07);

  /* Abstände (8pt-Raster) */
  --space-section: clamp(4rem, 9vw, 7.5rem);

  /* Bewegung */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 260ms;

  --header-h: 76px;
}

/* ---------- Reset / Basis --------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(168, 125, 57, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(93, 100, 80, 0.06), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--brass-deep);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
a:hover {
  color: var(--walnut);
}

button {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--walnut);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--brass);
  color: #fff;
}

/* ---------- Layout-Helfer --------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.section {
  padding-block: var(--space-section);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.section--alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}
.section-head.is-center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brass);
}
.is-center .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brass);
}

h2.section-title {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
}

.section-lead {
  font-size: clamp(1.08rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

/* ---------- Buttons --------------------------------------------------- */
.btn {
  --btn-bg: var(--brass-deep);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: var(--walnut);
  color: #fff;
}
.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--walnut);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--surface);
  color: var(--walnut);
  border-color: var(--brass);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--walnut);
}
.btn--light:hover {
  background: var(--brass-tint);
  color: var(--walnut);
}

.btn--block {
  width: 100%;
}

.btn .ico {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------- Header / Navigation --------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 232, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(34, 27, 18, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1.05;
  color: var(--walnut);
}
.brand:hover {
  color: var(--walnut);
}
.brand__mark {
  width: 42px;
  height: 42px;
  flex: none;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

.nav__links {
  display: none;
}
.nav__actions {
  display: none;
}

.nav__links a {
  position: relative;
  color: var(--ink);
  font-size: 0.97rem;
  font-weight: 500;
  padding: 0.4rem 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--brass);
  transition: width var(--dur) var(--ease);
}
.nav__links a:hover {
  color: var(--walnut);
}
.nav__links a:hover::after {
  width: 100%;
}

/* Burger */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--walnut);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile-Menü */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 1.5rem) clamp(1.25rem, 5vw, 2.5rem) 2.5rem;
  background: var(--bg);
  background-image: radial-gradient(800px 400px at 90% 0%, rgba(168, 125, 57, 0.1), transparent 60%);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 360ms var(--ease), opacity 360ms var(--ease), visibility 360ms var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu a.m-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--walnut);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.m-link span {
  color: var(--brass);
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.mobile-menu .btn {
  margin-top: 1.75rem;
}
.mobile-menu__contact {
  margin-top: auto;
  padding-top: 1.75rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.mobile-menu__contact a {
  color: var(--walnut);
  font-weight: 600;
}

body.no-scroll {
  overflow: hidden;
}

/* ---------- Hero ------------------------------------------------------ */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.hero__eyebrow {
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.7rem, 8.5vw, 5.2rem);
  font-weight: 600;
  line-height: 1.02;
  margin-bottom: 0.6rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--brass-deep);
}
.hero__lead {
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 36ch;
  margin-bottom: 2rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.hero__meta .stars {
  color: var(--brass);
  letter-spacing: 2px;
}

/* Hero-Visual: gerahmtes Bild im Passepartout-Stil */
.frame {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #fffefb, #f3ead9);
  padding: clamp(0.9rem, 2.5vw, 1.5rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.frame::after {
  content: "";
  position: absolute;
  inset: clamp(0.9rem, 2.5vw, 1.5rem);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) - 4px);
  pointer-events: none;
}
.frame__inner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, #4a3520, transparent),
    repeating-linear-gradient(45deg, #5b4129 0 22px, #54391f 22px 44px),
    #4d3722;
}

/* Platzhalter-Bild im muse/craft Stil */
.ph {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  width: 100%;
  height: 100%;
  min-height: 180px;
  color: #f3ead9;
  background-color: #4d3722;
  background-image:
    linear-gradient(180deg, rgba(60, 44, 29, 0.2), rgba(34, 27, 18, 0.55)),
    repeating-linear-gradient(48deg, rgba(255, 255, 255, 0.035) 0 14px, rgba(0, 0, 0, 0.04) 14px 28px),
    radial-gradient(120% 120% at 30% 20%, #6b4e30, #3a2918 75%);
  padding: 1.5rem;
}
.ph--light {
  color: var(--ink-soft);
  background-color: var(--surface-2);
  background-image:
    repeating-linear-gradient(48deg, rgba(124, 90, 38, 0.05) 0 14px, rgba(124, 90, 38, 0.02) 14px 28px),
    radial-gradient(120% 120% at 30% 20%, #fff, var(--surface-2) 80%);
  border: 1px dashed var(--line-strong);
}
.ph__icon {
  width: 40px;
  height: 40px;
  opacity: 0.85;
}
.ph__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}
.ph__caption {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
  max-width: 28ch;
}
.ph__tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #f3ead9;
  backdrop-filter: blur(4px);
}
.ph--light .ph__tag {
  background: var(--brass-tint);
  color: var(--brass-deep);
}

/* ---------- Stats / Kennzahlen ---------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--surface);
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3rem);
  font-weight: 600;
  color: var(--brass-deep);
  line-height: 1;
}
.stat__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* ---------- Trust / Auftraggeber -------------------------------------- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.trust__inner {
  padding-block: clamp(2rem, 4vw, 2.75rem);
}
.trust__label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.5rem;
}
.trust__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust__list li {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  font-weight: 600;
  color: var(--walnut-soft);
  padding: 0.35rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  white-space: nowrap;
}

/* ---------- Karten / Grids -------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(1.1rem, 2.5vw, 1.75rem);
}
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brass-tint);
  color: var(--brass-deep);
  margin-bottom: 1.25rem;
}
.card__icon svg {
  width: 28px;
  height: 28px;
}
.card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}
.card p {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-bottom: 0;
}
.card__index {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--brass);
  opacity: 0.25;
}

/* ---------- Services Detail (Accordion) ------------------------------- */
.accordion {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.acc-item + .acc-item {
  border-top: 1px solid var(--line);
}
.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.35rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--walnut);
  transition: background-color var(--dur) var(--ease);
}
.acc-trigger:hover {
  background: var(--surface-2);
}
.acc-trigger .acc-ico {
  flex: none;
  width: 26px;
  height: 26px;
  position: relative;
  transition: transform var(--dur) var(--ease);
}
.acc-trigger .acc-ico::before,
.acc-trigger .acc-ico::after {
  content: "";
  position: absolute;
  background: var(--brass-deep);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.acc-trigger .acc-ico::before { width: 16px; height: 2px; }
.acc-trigger .acc-ico::after { width: 2px; height: 16px; transition: transform var(--dur) var(--ease); }
.acc-trigger[aria-expanded="true"] .acc-ico::after { transform: translate(-50%, -50%) scaleY(0); }

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease);
}
.acc-panel > div {
  overflow: hidden;
}
.acc-trigger[aria-expanded="true"] + .acc-panel {
  grid-template-rows: 1fr;
}
.acc-panel .acc-body {
  padding: 0 1.35rem 1.5rem;
  color: var(--ink-soft);
}
.acc-panel .acc-body p { margin-top: 0; }
.acc-cols {
  display: grid;
  gap: 0.4rem 1.5rem;
}
.acc-cols ul {
  margin: 0.2rem 0 0;
  padding-left: 1.1rem;
}
.acc-cols li { margin-bottom: 0.2rem; }
.acc-cols h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0.6rem 0 0.1rem;
}

/* ---------- Über uns / Team ------------------------------------------- */
.about {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.about__text p { color: var(--ink-soft); }
.about__quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--walnut);
  border-left: 3px solid var(--brass);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
}

.team {
  display: grid;
  gap: 1.25rem;
}
.member {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.member__photo {
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--brass-tint);
}
.member__photo .ph {
  min-height: 0;
  gap: 0;
  padding: 0;
}
.member__photo .ph__label { font-size: 0.55rem; }
.member h3 {
  font-size: 1.35rem;
  margin-bottom: 0.1rem;
}
.member span {
  display: block;
  font-size: 0.9rem;
  color: var(--brass-deep);
  font-weight: 600;
}
.member small {
  color: var(--ink-faint);
  font-size: 0.82rem;
}

/* ---------- Vorteile / Warum wir -------------------------------------- */
.why {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: 1fr;
}
.why__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why__check {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brass-tint);
  color: var(--brass-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.why__check svg { width: 22px; height: 22px; }
.why__item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.15rem;
}
.why__item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* ---------- Ablauf / Prozess ------------------------------------------ */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--walnut);
  color: #f3ead9;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.step h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}
.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* ---------- Referenzen ------------------------------------------------ */
.refs {
  display: grid;
  gap: clamp(1.1rem, 2.5vw, 1.5rem);
  grid-template-columns: 1fr;
}
.ref {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.ref:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.ref__media {
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
}
.ref__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 600ms var(--ease);
}
.ref:hover .ref__media img { transform: scale(1.05); }
.ref__media .ph { min-height: 0; }
.ref__body {
  padding: 1.25rem 1.35rem 1.4rem;
}
.ref__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.ref__body h3 {
  font-size: 1.4rem;
  margin: 0.35rem 0 0.25rem;
}
.ref__body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.ref-more {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}
.ref-more__head {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--walnut);
  margin-bottom: 0.75rem;
}
.ref-list {
  columns: 1;
  column-gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ref-list li {
  break-inside: avoid;
  padding: 0.55rem 0 0.55rem 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.ref-list li strong {
  color: var(--walnut);
  font-weight: 600;
}
.ref-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brass);
  transform: rotate(45deg);
}

/* ---------- Standort -------------------------------------------------- */
.location {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: stretch;
}
.map-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 320px;
  background:
    radial-gradient(circle at 60% 45%, rgba(168, 125, 57, 0.18), transparent 45%),
    linear-gradient(150deg, #eef0e8, #e4e2d2);
}
.map-card__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(93, 100, 80, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 100, 80, 0.14) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 60% 45%, #000 35%, transparent 80%);
}
.map-card__road {
  position: absolute;
  inset: 0;
}
.map-card__road span {
  position: absolute;
  background: rgba(124, 90, 38, 0.25);
  border-radius: 4px;
}
.map-card__road span:nth-child(1) { left: 0; right: 0; top: 52%; height: 10px; transform: rotate(-4deg); }
.map-card__road span:nth-child(2) { top: 0; bottom: 0; left: 58%; width: 8px; transform: rotate(6deg); }
.map-card__road span:nth-child(3) { left: 10%; right: 40%; top: 30%; height: 6px; transform: rotate(8deg); opacity: 0.6; }
.map-pin {
  position: absolute;
  left: 60%;
  top: 45%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.map-pin__dot {
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 50% 0;
  background: var(--brass-deep);
  transform: rotate(-45deg);
  box-shadow: 0 8px 18px rgba(34, 27, 18, 0.3);
  border: 3px solid #fff;
}
.map-pin__label {
  margin-top: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--walnut);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.map-card__note {
  position: absolute;
  bottom: 0.9rem;
  left: 0.9rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background: rgba(255, 253, 249, 0.8);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.location__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.info-list {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.info-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.info-list svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--brass-deep);
  margin-top: 2px;
}
.info-list strong {
  display: block;
  color: var(--walnut);
  font-weight: 600;
}
.info-list span {
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.info-list a { color: var(--walnut); font-weight: 600; }

/* ---------- Kontakt / Formular ---------------------------------------- */
.contact {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}
.contact__intro p { color: var(--ink-soft); }
.contact__chips {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.chip {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.chip svg { width: 22px; height: 22px; color: var(--brass-deep); flex: none; }
.chip a, .chip span { color: var(--walnut); font-weight: 600; }
.chip small { display: block; color: var(--ink-faint); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}
.field {
  margin-bottom: 1.1rem;
}
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--walnut);
  margin-bottom: 0.4rem;
}
.field label .req { color: var(--danger); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(168, 125, 57, 0.18);
}
.field-row {
  display: grid;
  gap: 1.1rem;
}
.consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0.5rem 0 1.35rem;
}
.consent input {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--brass-deep);
  cursor: pointer;
}
.consent label {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.consent label a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-note {
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-top: 1rem;
  margin-bottom: 0;
}
.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
}
.form-status.is-success {
  display: block;
  background: #e9f0e6;
  color: var(--success);
  border: 1px solid #c4d8bf;
}
.form-status.is-error {
  display: block;
  background: #f6e4df;
  color: var(--danger);
  border: 1px solid #e2bcb2;
}

/* ---------- CTA-Band -------------------------------------------------- */
.cta-band {
  position: relative;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 80% 20%, rgba(168, 125, 57, 0.25), transparent 60%),
    linear-gradient(160deg, #2f2316, #4a3520 0%, #3c2c1d 100%);
  background-color: #2f2316;
  color: #f4ecdd;
}
.cta-band__inner {
  text-align: center;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}
.cta-band h2 {
  color: #fdf8ef;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  margin-bottom: 0.5rem;
}
.cta-band p {
  color: #d9cdb8;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: 2rem;
}
.cta-band .btn--ghost {
  color: #f4ecdd;
  border-color: rgba(244, 236, 221, 0.4);
}
.cta-band .btn--ghost:hover {
  background: rgba(244, 236, 221, 0.1);
  color: #fff;
  border-color: rgba(244, 236, 221, 0.7);
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* ---------- Footer ---------------------------------------------------- */
.site-footer {
  background: #211a12;
  color: #cabfa9;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer__grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: 1fr;
  padding-bottom: 2.5rem;
}
.footer__brand .brand__name { color: #f4ecdd; }
.footer__brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #b7ac96;
  max-width: 34ch;
}
.footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(244, 236, 221, 0.16);
  color: #cabfa9;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer__social a:hover {
  background: var(--brass-deep);
  color: #fff;
  border-color: var(--brass-deep);
}
.footer__social svg { width: 20px; height: 20px; }

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f4ecdd;
  margin-bottom: 1rem;
}
.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.footer__col a {
  color: #cabfa9;
  font-size: 0.95rem;
}
.footer__col a:hover { color: #fff; }
.footer__col address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #b7ac96;
}
.footer__col address a { color: #cabfa9; }

.footer__bottom {
  border-top: 1px solid rgba(244, 236, 221, 0.14);
  padding-block: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  justify-content: center;
  font-size: 0.85rem;
}
.footer__legal a { color: #b7ac96; }
.footer__legal a:hover { color: #fff; }
.footer__copy { font-size: 0.82rem; color: #8d836f; }
.powered {
  font-size: 0.85rem;
  color: #b7ac96;
}
.powered a {
  color: #22b8e0;
  font-weight: 600;
}
.powered a:hover { color: #4fc9ea; }

/* ---------- Reveal-Animationen ---------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal-delay="4"] { transition-delay: 320ms; }

/* ---------- Legal-Seiten ---------------------------------------------- */
.legal {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}
.legal__doc {
  max-width: var(--maxw-narrow);
  margin-inline: auto;
}
.legal__doc h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
.legal__doc h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
}
.legal__doc p, .legal__doc li { color: var(--ink-soft); }
.legal__doc address {
  font-style: normal;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  line-height: 1.7;
}
.placeholder-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--brass-tint);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: var(--walnut);
  font-size: 0.92rem;
  margin: 1.5rem 0;
}
.placeholder-note svg { flex: none; width: 22px; height: 22px; color: var(--brass-deep); margin-top: 2px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* =========================================================================
   Responsive – Tablet & Desktop
   ========================================================================= */
@media (min-width: 600px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .refs { grid-template-columns: 1fr 1fr; }
  .ref-list { columns: 2; }
}

@media (min-width: 820px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  :root { --header-h: 84px; }
  .burger { display: none; }
  .nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .nav__actions { display: flex; align-items: center; gap: 1rem; }
  .mobile-menu { display: none; }

  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .refs { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 1.1fr 0.9fr; }
  .location { grid-template-columns: 1.15fr 0.85fr; }
  .contact { grid-template-columns: 0.9fr 1.1fr; }
  .ref-list { columns: 3; }

  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 3rem; }
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .footer__legal { justify-content: flex-start; }
}

@media (min-width: 1200px) {
  .grid--services { grid-template-columns: repeat(4, 1fr); }
}

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

/* ---------- Print ----------------------------------------------------- */
@media print {
  .site-header, .mobile-menu, .cta-band, .site-footer, .burger { display: none; }
  body { background: #fff; color: #000; }
}
