/* ============================================================
   DIE CASTER — clean rebuild
   Tone: editorial, warm plaster, restrained gold accent
   Fonts: Playfair Display + DM Sans
============================================================ */

:root {
  --text-xs: clamp(0.75rem, 0.72rem + 0.18vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.22vw, 1rem);
  --text-base: clamp(1rem, 0.96rem + 0.24vw, 1.125rem);
  --text-md: clamp(1.125rem, 1.04rem + 0.4vw, 1.25rem);
  --text-lg: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);
  --text-xl: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
  --text-2xl: clamp(2.3rem, 1.7rem + 2.4vw, 3.8rem);
  --text-3xl: clamp(3rem, 2rem + 4vw, 5.5rem);
  --text-4xl: clamp(4.4rem, 2rem + 6vw, 7.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --color-bg: #e8e3da;
  --color-surface: rgba(255, 255, 255, 0.24);
  --color-surface-2: rgba(255, 255, 255, 0.38);
  --color-text: #121110;
  --color-text-muted: #56504a;
  --color-text-faint: #7f786f;
  --color-border: rgba(18, 17, 16, 0.12);
  --color-divider: rgba(18, 17, 16, 0.08);

  --color-plaster: #e8e3da;
  --color-plaster-muted: rgba(232, 227, 218, 0.72);
  --color-plaster-faint: rgba(232, 227, 218, 0.48);
  --color-charcoal-border: rgba(232, 227, 218, 0.14);

  --color-gold: #c9a43a;
  --color-gold-light: #e0c060;
  --color-gold-dark: #9d7f25;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --tr: 180ms var(--ease-out);

  --w-default: 1120px;
  --w-narrow: 720px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);

  --header-height: 60px;
}


/* Reset */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: url("assets/bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.3;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

a,
button,
input,
textarea,
select {
  transition:
    color var(--tr),
    background-color var(--tr),
    border-color var(--tr),
    opacity var(--tr),
    transform var(--tr);
}

a {
  color: inherit;
}

::selection {
  background: rgba(18, 17, 16, 0.14);
}

:focus-visible {
  outline: 1.5px solid currentColor;
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout */

.wrap {
  width: min(100%, var(--w-default));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  width: min(100%, var(--w-narrow));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

.section-title {
  font-size: var(--text-xl);
  color: var(--color-text);
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  padding-inline: var(--gutter);
  background: rgba(248, 246, 243, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(18, 17, 16, 0.07);
}



.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  height: var(--header-height);
}

.site-logo,
.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo svg {
  width: auto;
  height: 38px;
}

.site-logo svg .st0 {
  fill: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.site-nav a,
.footer-links a {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--color-gold);
}

.nav-insta {
  display: flex;
  align-items: center;
  opacity: 0.58;
}

.nav-insta:hover {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.hamburger {
  display: none;
  width: 30px;
  height: 30px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  opacity: 0.75;
}

.hamburger span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform var(--tr), opacity var(--tr), width var(--tr);
}

.hamburger span:nth-child(1) {
  width: 22px;
}

.hamburger span:nth-child(2) {
  width: 14px;
}

.hamburger span:nth-child(3) {
  width: 18px;
}

.hamburger.open span:nth-child(1) {
  width: 22px;
  transform: translateY(6px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  width: 22px;
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Nav */

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  padding: calc(var(--header-height) + var(--space-12)) var(--gutter) var(--space-16);
  background-image: url("assets/bg.jpg");
  background-size: cover;
  background-position: center;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-6);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text);
  opacity: 0.88;
}

.mobile-nav a:hover {
  opacity: 1;
  color: var(--color-gold);
}

@media (max-width: 780px) {
  .site-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* Hero */

.hero {
  display: flex;
  flex-direction: column;
  padding-top: var(--header-height);
  padding-bottom: var(--space-8);
}

.hero-photos {
  width: 100%;
  padding-top: clamp(1.5rem, 4vw, 4rem);
  line-height: 0;
}

.hero-group-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-text {
  padding:
    clamp(1.5rem, 3vw, 2.5rem)
    clamp(1.5rem, 5vw, 3.5rem)
    clamp(3rem, 6vw, 5rem);
}

.hero-headline {
  font-size: var(--text-3xl);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 0.35em;
}

.hero-claim {
  max-width: 52ch;
  padding-top: 1em;
  margin-top: -0.05em;
  border-top: 1px solid var(--color-gold);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero-headline {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 500px) {
  .hero-photos {
    padding-top: clamp(1rem, 3vw, 2rem);
  }

  .hero-headline {
    font-size: var(--text-4xl);
  }

  .hero-claim {
    font-size: var(--text-base);
  }
    .hero {padding-bottom:0;padding-top: 5rem;}
    .hero-text {margin-top: -1.5rem;}
}

/* Shared CTA */

.leistungen-anfrage-link,
.anfragen-link,
.news-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.55rem 1.25rem 0.5rem;
  border: 1.5px solid var(--color-gold);
  border-radius: 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-gold);
  opacity: 1;
}

.news-cta {margin-top:24px}

.leistungen-anfrage-link svg,
.anfragen-link svg,
.news-cta svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  flex-shrink: 0;
}

.leistungen-anfrage-link:hover,
.anfragen-link:hover,
.news-cta:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: #1e1c18;
}

/* Leistungen */

.leistungen {
  border-top: 1px solid var(--color-border);
}

.leistungen-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.leistungen-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--color-border);
}

.leistung-item {
  position: relative;
  padding: var(--space-5);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--tr);
}

.leistung-item:nth-child(2n) {
  border-right: none;
}

.leistung-item:nth-last-child(-n + 2) {
  _border-bottom: none;
}

.leistung-item:hover {
  background: rgba(18, 17, 16, 0.03);
}





.leistung-item--wide {
  grid-column: 1 / -1;
  border-bottom: none;
}

.leistung-num {
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
}

.leistung-item h3 {
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
  color: var(--color-text);
}

.leistung-item p {
  max-width: none;
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--color-text-muted);
}

@media (max-width: 700px) {
  .leistung-item--wide {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  .leistungen-list {
    grid-template-columns: 1fr;
  }

  .leistung-item {
    border-right: none !important;
  }

  .leistung-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--color-border);
  }

  .leistung-item:last-child {
    border-bottom: none !important;
  }
    
    .leistungen, .news {padding-block: clamp(var(--space-10), 8vw, var(--space-16));}
}

/* News */

.news {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background-color: rgba(255, 255, 255, 0.35);
}

.news-header {
  margin-bottom: var(--space-10);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  padding-block: var(--space-8);
  border-top: 1px solid var(--color-border);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.news-item.vis {
  opacity: 1;
  transform: none;
}

.news-item:last-child {
  border-bottom: none;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 0.8fr);
  gap: var(--space-10);
  align-items: flex-start;
}

.news-primary {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.news-header-block {
  margin-bottom: var(--space-2);
}

.news-date {
  margin-bottom: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.news-title {
  margin: 0;
  font-size: var(--text-lg);
  color: var(--color-text);
}

.news-text {
  max-width: 50ch;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  opacity: 0.86;
}

.news-meta-panel {
  align-self: stretch;
  padding: var(--space-4) var(--space-5);
  background: rgba(18, 17, 16, 0.035);
}

.news-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--text-sm);
}

.news-meta > div {
  margin: 0;
}

.news-meta dt {
  margin-bottom: 0.2em;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.65;
}

.news-meta dd {
  margin: 0;
  line-height: 1.5;
  font-weight: 300;
}

@media (max-width: 560px) {
  .news-layout {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .news-meta-panel {
    margin-top: var(--space-4);
  }
}

/* Team */

.team {
  border-top: 1px solid var(--color-border);
}

.team-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: start;
}

.team-member {
  display: flex;
  flex-direction: column;
}

.team-photo-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: clamp(200px, 28vw, 380px);
  background: transparent;
}

.team-photo-wrap img {
  width: 100%;
  max-height: clamp(320px, 42vw, 520px);
  object-fit: contain;
  object-position: bottom center;
  transition: transform 0.7s var(--ease-out);
}

.team-member:hover .team-photo-wrap img {
  transform: scale(1.02);
}

.team-info {
  padding: var(--space-5) var(--space-5) var(--space-6);
}

.team-info-name {
  margin-bottom: var(--space-1);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
}

.team-info-role {
  margin-bottom: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.team-info-bio {
  max-width: none;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text);
}

@media (max-width: 860px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-photo-wrap {
    min-height: clamp(120px, 36vw, 200px);
  }

  .team-photo-wrap img {
    max-height: clamp(180px, 48vw, 260px);
  }

  .team-info {
    padding: var(--space-3) var(--space-3) var(--space-4);
  }

  .team-info-bio {
    font-size: var(--text-xs);
    line-height: 1.5;
  }
    #h-team{font-size: var(--text-2xl);}
    .team-info-name{font-size: var(--text-2xl);}
    .team-info{margin-top: -3rem;}
    .team-photo-wrap img {
    max-height: clamp(300px, 280vw, 460px);
       
  }
    .team-header{margin-bottom: var(--space-4);}
    .team-member{padding: var(--space-2) 0;}
    .team{padding-bottom: 0}
}

@media (max-width: 500px) and (orientation: portrait) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-photo-wrap {
    min-height: clamp(260px, 70vw, 400px);
  }

  .team-photo-wrap img {
    max-height: clamp(300px, 280vw, 460px);
  }

  .team-info {
    padding: var(--space-4) var(--space-4) var(--space-8);
    border-bottom: 1px solid var(--color-border);
  }

  .team-member:last-child .team-info {
    border-bottom: none;
  }

  .team-info-bio {
    font-size: var(--text-sm);
    line-height: 1.55;
  }

      .team-header{margin-bottom: var(--space-4);}
    .team-member{padding: var(--space-2) 0;}
    .team{padding-bottom: 0}
}

/* Workshops */

.workshops {
  border-top: 1px solid var(--color-border);
}

.workshops-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: center;
}

.workshops-desc {
  max-width: 44ch;
  margin-bottom: var(--space-8);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-muted);
}

.workshops-right {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
}

.wshop-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-6);
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.wshop-row:last-child {
  border-bottom: none;
}

.wshop-num {
  width: 2ch;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1;
  color: var(--color-gold);
}

.wshop-title {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-gold);
}

@media (max-width: 680px) {
  .workshops-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
    #h2-workshops{font-size: var(--text-2xl);}
    #workshops{padding: 36px 18px;}
}

/* Kontakt */

.kontakt {
  border-top: 1px solid var(--color-border);
    padding-top: 36px;
}

.kontakt-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-10);
  max-width: 720px;
  margin-inline: auto;
}

.kontakt-intro {
  max-width: 60ch;
  margin-bottom: var(--space-8);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  font-size: var(--text-sm);
  opacity: 0.72;
}

.contact-link:hover {
  opacity: 1;
}

.contact-link svg {
  opacity: 0.5;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-field label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.form-field input,
.form-field textarea,
.form-field select {
  padding: var(--space-3) 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  outline: none;
  color: var(--color-text);
  font-size: var(--text-base);
  transition: border-color var(--tr);
  -webkit-appearance: none;
  appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  font-style: italic;
  color: rgba(18, 17, 16, 0.35);
}

.form-field textarea {
  min-height: 100px;
  resize: none;
}

.form-field select {
  padding-right: 20px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a43a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.form-field select option {
  background: var(--color-bg);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-bottom-color: var(--color-text);
}

.form-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: var(--space-2);
  border: 1px solid var(--color-border);
}

.form-tab {
  flex: 1;
  min-width: max-content;
  padding: var(--space-3) var(--space-5);
  border: none;
  border-right: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--text-xs);
  font-weight: 500;
  opacity: 0.42;
}

.form-tab:last-child {
  border-right: none;
}

.form-tab:hover {
  opacity: 0.8;
}

.form-tab.active {
  opacity: 1;
  background: rgba(18, 17, 16, 0.06);
}



.tab-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.tab-panel.hidden {
  display: none;
}

.btn-send {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background: var(--color-text);
  color: var(--color-bg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--text-xs);
  font-weight: 500;
}

.btn-send:hover {
  opacity: 0.78;
}

@media (max-width: 680px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Charcoal sections */

.section-charcoal {
  color: var(--color-plaster);
  background-image: url("assets/bg-dark.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-top: 1px solid rgba(232, 227, 218, 0.08);
}

.section-charcoal .section-title,
.section-charcoal h2,
.section-charcoal h3,
.section-charcoal h4,
.section-charcoal p,
.section-charcoal li,
.section-charcoal label,
.section-charcoal a,
.section-charcoal span {
  color: inherit;
}

.section-charcoal .leistungen-list,
.section-charcoal .leistung-item,
.section-charcoal .workshops-right,
.section-charcoal .wshop-row,
.section-charcoal .team-info,
.section-charcoal .form-tabs {
  border-color: var(--color-charcoal-border);
}

.section-charcoal .leistung-item {
  background: transparent;
}

.section-charcoal .leistung-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.section-charcoal .leistung-item p,
.section-charcoal .workshops-desc {
  color: var(--color-plaster-muted);
}

.section-charcoal .team-info-role {
  color: var(--color-plaster-faint);
}

.section-charcoal .leistung-num,
.section-charcoal .wshop-num,
.section-charcoal .wshop-title {
  color: var(--color-gold);
}

.section-charcoal .leistungen-anfrage-link,
.section-charcoal .anfragen-link,
.section-charcoal .news-cta {
  color: var(--color-gold-light);
  border-color: var(--color-gold-light);
}

.section-charcoal .leistungen-anfrage-link:hover,
.section-charcoal .anfragen-link:hover,
.section-charcoal .news-cta:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  color: #1e1c18;
}

.section-charcoal .form-field label {
  color: var(--color-plaster-faint);
}

.section-charcoal .form-field input,
.section-charcoal .form-field textarea,
.section-charcoal .form-field select {
  color: var(--color-plaster);
  border-bottom-color: rgba(232, 227, 218, 0.22);
  background-color: transparent;
}

.section-charcoal .form-field input::placeholder,
.section-charcoal .form-field textarea::placeholder {
  color: rgba(232, 227, 218, 0.34);
}

.section-charcoal .form-field input:focus,
.section-charcoal .form-field textarea:focus,
.section-charcoal .form-field select:focus {
  border-bottom-color: var(--color-gold-light);
}

.section-charcoal .form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23e0c060' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.section-charcoal .form-field select option {
  background: #2c2920;
  color: var(--color-plaster);
}

.section-charcoal .form-tab {
  color: var(--color-plaster);
  border-right-color: rgba(232, 227, 218, 0.12);
  opacity: 0.48;
}

.section-charcoal .form-tab:hover {
  opacity: 0.82;
}

.section-charcoal .form-tab.active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.06);
}

.section-charcoal .btn-send {
  background: var(--color-plaster);
  color: #1e1c18;
}

/* Footer */

.site-footer {
  padding-block: var(--space-10);
  color: var(--color-plaster);
  background-image: url("assets/bg-dark.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-top: 1px solid rgba(232, 227, 218, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-logo svg {
  width: auto;
  height: 28px;
}

.footer-logo svg .st0 {
  fill: currentColor;
  opacity: 0.5;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--color-plaster);
  opacity: 0.56;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-gold-light);
}

.footer-address {
  width: 100%;
  margin-top: var(--space-2);
  text-align: center;
  font-style: normal;
  font-size: var(--text-xs);
  letter-spacing: 0.03em;
  color: var(--color-plaster);
  opacity: 0.45;
}

.footer-copy {
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: var(--color-plaster);
  opacity: 0.35;
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .footer-address {
    text-align: left;
  }
}

/* Legal */

.legal {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

.legal h1 {
  margin-bottom: var(--space-12);
  font-size: var(--text-2xl);
  color: var(--color-text);
}

.legal h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-3);
  font-size: var(--text-md);
  color: var(--color-text);
}

.legal p,
.legal li {
  max-width: 64ch;
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.legal ul {
  padding-left: var(--space-5);
  margin-bottom: var(--space-4);
}

.legal a {
  color: var(--color-text);
  opacity: 0.72;
}

.legal a:hover {
  opacity: 1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-12);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  opacity: 0.56;
}

.back-link:hover {
  opacity: 1;
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.vis {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Mobile performance */

@media (max-width: 900px) {
  body,
  .section-charcoal,
  .site-footer {
    background-attachment: scroll;
  }
}
