/* =========================================================
   ANTON HOFFMANN FOTOGRAFIE — PREMIUM ONEPAGE
   ========================================================= */

/* =========================================================
   LOCAL FONTS
   ========================================================= */

/* Montserrat – moderne, klare Sans-Serif */
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* Playfair Display – elegante Serifenschrift */
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
  --bg: #0a0a0a;
  --bg2: #111;
  --paper: #e8e5de;
  --muted: #969696;
  --line: rgba(255,255,255,.14);
  --gold: #c5a46d;

  /* Schriftarten */
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;

  --max: 1380px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg);color:#f4f3ef;font-family:var(--sans);font-weight:400;line-height:1.7;overflow-x:hidden}
body.no-scroll{overflow:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
img{display:block;width:100%}
::selection{background:var(--gold);color:#000}

.container{width:min(calc(100% - 80px),var(--max));margin:auto}
.section{padding:160px 0}
.eyebrow{font-size:10px;letter-spacing:.28em;text-transform:uppercase;color:var(--gold)}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.03}
h2{font-size:clamp(3rem,7vw,4rem)}
em{font-style:italic;color:var(--gold)}
.lead{font-size:clamp(1.05rem,1.5vw,1.35rem);line-height:1.7;color:#ddd}
.muted{color:var(--muted);font-size:.96rem;line-height:1.9}
.reveal{opacity:0;transform:translateY(35px);transition:opacity 1s var(--ease),transform 1s var(--ease)}
.reveal.visible{opacity:1;transform:none}

/* loader */
.loader{position:fixed;inset:0;background:#080808;z-index:9999;display:grid;place-content:center;gap:25px;transition:opacity .7s,visibility .7s}
.loader.done{opacity:0;visibility:hidden}
.loader-mark{font-family:var(--serif);font-size:52px;text-align:center}
.loader-line{width:150px;height:1px;background:#333;overflow:hidden}
.loader-line span{display:block;width:100%;height:100%;background:var(--gold);transform:translateX(-100%);animation:load 1.4s var(--ease) forwards}
@keyframes load{to{transform:translateX(0)}}

/* cursor */
.cursor-dot,.cursor-ring{position:fixed;pointer-events:none;z-index:10000;transform:translate(-50%,-50%);display:none}
.cursor-dot{width:5px;height:5px;border-radius:50%;background:#fff}
.cursor-ring{width:34px;height:34px;border:1px solid rgba(255,255,255,.6);border-radius:50%;transition:width .25s,height .25s,background .25s}
.cursor-ring.hover{width:65px;height:65px;background:rgba(255,255,255,.06)}
@media (pointer:fine){.cursor-dot,.cursor-ring{display:block}body{cursor:none}a,button{cursor:none}}

/* =========================================================
   HEADER — LOGO ORIGINALFARBEN, SCHRIFT MIT KONTRAST
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 40px;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  mix-blend-mode: normal;
}

.brand-initials {
  font-family: var(--serif);
  font-size: 29px;
}

.brand-initials img {
  display: block;
  width: 100px;
  height: 100px;
  mix-blend-mode: normal;
  filter: none;
}

/* Schriftzug */
.brand-name {
  color: #fff;
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: .18em;
  mix-blend-mode: difference;
}

.brand-name small {
  color: inherit;
  font-size: 7px;
}

/* Navigation */
.desktop-nav {
  display: flex;
  gap: 36px;
}

.desktop-nav a {
  color: #fff;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  position: relative;
  mix-blend-mode: difference;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: .3s;
}

.desktop-nav a:hover::after {
  width: 100%;
}

/* Mobiles Menü */
.menu-button {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  position: relative;
}

.menu-button span {
  position: absolute;
  left: 8px;
  width: 25px;
  height: 1px;
  background: #fff;
  transition: .3s;
}

.menu-button span:first-child {
  top: 16px;
}

.menu-button span:last-child {
  top: 24px;
}

.menu-button.open span:first-child {
  transform: rotate(45deg);
  top: 20px;
}

.menu-button.open span:last-child {
  transform: rotate(-45deg);
  top: 20px;
}

/* overlay menu */
.menu-overlay{position:fixed;inset:0;background:#0a0a0a;z-index:400;visibility:hidden;opacity:0;transition:.5s var(--ease)}
.menu-overlay.open{visibility:visible;opacity:1}
.menu-inner{height:100%;padding:130px 8vw 50px;display:flex;flex-direction:column}
.menu-inner nav{margin:auto 0;display:flex;flex-direction:column}
.menu-inner nav a{font-family:var(--serif);font-size:clamp(3rem,7vw,7rem);line-height:1.02;display:flex;gap:30px;transition:.3s}
.menu-inner nav a span{font:10px var(--sans);letter-spacing:.2em;color:var(--gold);padding-top:15px}
.menu-inner nav a:hover{color:var(--gold);padding-left:20px}
.menu-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#888}

/* hero */
.hero{height:100svh;min-height:720px;position:relative;overflow:hidden}
.hero-media,.hero-image,.hero-vignette{position:absolute;inset:0}
.hero-image{background:url("../images/hero.jpg") center/cover no-repeat;transform:scale(1.08)}
.hero-vignette{background:linear-gradient(90deg,rgba(0,0,0,.62),rgba(0,0,0,.05) 70%),linear-gradient(0deg,rgba(0,0,0,.58),transparent 45%)}
.hero-content{position:absolute;left:8vw;bottom:13vh;max-width:900px;z-index:2}
.hero-content h1{font-size:clamp(5rem,11vw,12rem);letter-spacing:-.045em;margin:18px 0 25px}
.hero-intro{max-width:520px;color:#ddd;font-size:1rem}
.circle-link{width:112px;height:112px;border:1px solid rgba(255,255,255,.45);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;margin-top:42px;font-size:9px;letter-spacing:.16em;text-transform:uppercase;transition:.4s}
.circle-link i{font-size:18px;color:var(--gold);font-style:normal}
.circle-link:hover{background:#fff;color:#000;transform:scale(1.08)}
.hero-meta{position:absolute;right:40px;bottom:40px;display:flex;gap:25px;font-size:9px;letter-spacing:.2em;color:#aaa;z-index:2}
.hero-scroll{color:#fff}

/* manifesto */
.manifesto{background:var(--paper);color:#121212}
.manifesto-grid{display:grid;grid-template-columns:25% 75%}
.section-index{font-size:10px;letter-spacing:.2em;color:#777}
.manifesto-copy{max-width:1000px}
.manifesto h2{font-size:clamp(4rem,7vw,8rem);margin:20px 0 45px}
.manifesto .lead{color:#292929;max-width:800px;margin-bottom:30px}
.manifesto .muted{color:#686868;max-width:650px}


/* =========================================================
   PORTFOLIO — ANTON HOFFMANN FOTOGRAFIE
   Kompakte Galerie | Responsive | Premium Design
   ========================================================= */

/* Portfolio Hintergrund */
.portfolio {
  background: var(--bg);
}

/* Überschrift und Filter */
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-bottom: 50px;
}

.section-top h2 {
  margin-top: 18px;
}

/* Kategorie-Filter */
.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 17px;
  font-size: 8px;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: .3s;
  cursor: pointer;
}

.filter:hover,
.filter.active {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* =========================================================
   GALERIE — DESKTOP
   4 kompakte Spalten im 12-Spalten-Raster
   ========================================================= */

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
  align-items: stretch;
}

/* Einzelne Bildkacheln */
.gallery-item {
  position: relative;
  min-width: 0;
  min-height: 340px;
  grid-column: span 3;
  overflow: hidden;
  transition:
    opacity .5s ease,
    transform .5s ease;
}

/* Breite Bildkacheln */
.gallery-item.item-wide {
  grid-column: span 6;
}

/* Hohe Bildkacheln */
.gallery-item.item-tall {
  grid-row: span 2;
  min-height: 696px;
}

/* Ausgeblendete Filter-Ergebnisse */
.gallery-item.hidden {
  display: none;
}

/* =========================================================
   BILDER UND KLICKFLÄCHE
   ========================================================= */

.gallery-open {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
}

/* Bilddarstellung */
.gallery-open img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1s var(--ease),
    filter 1s;
}

/* Dunkler Verlauf für lesbare Bildtitel */
.gallery-open::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, .8),
    transparent 55%
  );
  opacity: .75;
  pointer-events: none;
  transition: opacity .5s ease;
}

/* Hover-Effekt */
.gallery-open:hover img {
  transform: scale(1.045);
  filter: brightness(.78);
}

.gallery-open:hover::after {
  opacity: 1;
}

/* Tastaturbedienung */
.gallery-open:focus-visible,
.filter:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* =========================================================
   BILDTITEL UND BESCHRIFTUNG
   ========================================================= */

.gallery figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 10px;
  pointer-events: none;
}

/* Kleine Kategorie über dem Titel */
.gallery figcaption span {
  grid-column: 1;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #bbb;
}

/* Bildtitel */
.gallery figcaption strong {
  grid-column: 1;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.15;
  font-weight: 400;
  color: #fff;
}

/* Dekoratives Symbol rechts */
.gallery figcaption i {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-style: normal;
  color: var(--gold);
  font-size: 22px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .section-top {
    gap: 28px;
    margin-bottom: 38px;
  }

  .gallery {
    gap: 14px;
  }

  .gallery-item {
    grid-column: span 6;
    min-height: 300px;
  }

  .gallery-item.item-wide {
    grid-column: span 12;
  }

  .gallery-item.item-tall {
    grid-row: span 2;
    min-height: 614px;
  }

  .gallery figcaption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .gallery figcaption strong {
    font-size: 23px;
  }
}

/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 560px) {

  .section-top {
    display: block;
    margin-bottom: 30px;
  }

  .filter-row {
    margin-top: 24px;
    gap: 7px;
  }

  .filter {
    padding: 9px 12px;
    font-size: 8px;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery-item,
  .gallery-item.item-wide {
    grid-column: span 1;
    min-height: 220px;
  }

  .gallery-item.item-tall {
    grid-column: span 1;
    grid-row: span 2;
    min-height: 450px;
  }

  .gallery figcaption {
    left: 11px;
    right: 11px;
    bottom: 11px;
    gap: 4px;
  }

  .gallery figcaption span {
    font-size: 7px;
    letter-spacing: .12em;
  }

  .gallery figcaption strong {
    font-size: 17px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .gallery figcaption i {
    font-size: 18px;
  }
}

/* =========================================================
   KLEINE SMARTPHONES
   ========================================================= */

@media (max-width: 380px) {

  .gallery {
    gap: 8px;
  }

  .gallery-item,
  .gallery-item.item-wide {
    min-height: 185px;
  }

  .gallery-item.item-tall {
    min-height: 378px;
  }

  .gallery figcaption {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }

  .gallery figcaption strong {
    font-size: 15px;
  }
}


/* image break */
.full-image-break{height:75vh;min-height:600px;position:relative;overflow:hidden}
.break-image{position:absolute;inset:-10%;background:url("../images/break.jpg") center/cover no-repeat}
.full-image-break:after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.3)}
.break-caption{position:absolute;z-index:2;left:8vw;bottom:9vh}
.break-caption span{display:block;font-size:10px;letter-spacing:.25em;color:#ddd}
.break-caption strong{font:italic clamp(4rem,8vw,9rem) var(--serif);font-weight:400}

/* about */
.about{background:#101010}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:10vw;align-items:center}
.about-image-wrap{position:relative}
.about-image{aspect-ratio:4/5;background:url("../images/about.jpg") center/cover no-repeat}
.image-note{position:absolute;bottom:20px;left:20px;font-size:8px;letter-spacing:.2em;line-height:1.5;color:#fff;text-shadow:0 1px 5px #000}
.about-copy h2{margin:18px 0 40px}
.about-copy .lead{margin-bottom:28px}
.signature{font:italic 46px var(--serif);color:var(--gold);margin-top:40px}

/* services */
.services{background:var(--paper);color:#111}
.section-description{max-width:370px;color:#666;font-size:.95rem}
.service-list{border-top:1px solid #aaa}
.service-row{display:grid;grid-template-columns:8% 42% 42% 8%;align-items:center;min-height:125px;border-bottom:1px solid #aaa;transition:.4s}
.service-row span{font-size:9px;letter-spacing:.15em;color:#888}
.service-row h3{font-size:clamp(1.7rem,3vw,3rem)}
.service-row p{font-size:12px;color:#777}
.service-row b{justify-self:end;font-size:22px;color:#888;font-weight:300;transition:.3s}
.service-row:hover{padding:0 20px;background:#ddd}
.service-row:hover b{color:#111;transform:translate(5px,-5px)}

/* statement */
.statement{padding:190px 0;background:#0b0b0b}
.statement h2{font-size:clamp(4rem,8vw,9rem);margin-top:30px;max-width:1100px}

/* contact */
.contact{background:#0d0d0d}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:10vw}
.contact h2{margin:20px 0 35px}
.contact-card{display:flex;flex-direction:column;justify-content:center}
.contact-big{font:clamp(2rem,4vw,4rem) var(--serif);border-bottom:1px solid #555;padding-bottom:12px;transition:.3s}
.contact-big:hover{color:var(--gold)}
.contact-meta{display:flex;justify-content:space-between;padding:20px 0 35px;color:#888;font-size:11px}
.outline-button{border:1px solid #777;padding:16px 20px;display:flex;justify-content:space-between;font-size:10px;letter-spacing:.15em;text-transform:uppercase;transition:.3s}
.outline-button:hover{background:#fff;color:#000;border-color:#fff}

/* FOOTER */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: #777;
  font-size: 9px;
  letter-spacing: .1em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  justify-items: stretch;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-self: start;
  margin: 0;
  padding: 0;
  font-family: var(--serif);
  font-size: 10px;
  line-height: 1;
  color: #fff;
}

.footer-brand img {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.footer-brand span {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .15em;
  margin-left: 5px;
	color: #777;
}

.footer-copyright {
  justify-self: center;
  text-align: center;
  font-size: 9px;
}

.footer-links {
  display: flex;
  justify-self: end;
  justify-content: flex-end;
  gap: 20px;
  font-size: 9px;
}

.footer-links a {
  position: relative;
  z-index: 2;
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
}

.footer-links a:hover {
  color: #fff;
}

/* FOOTER AUF SMARTPHONES */
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
  }

  .footer-brand,
  .footer-copyright,
  .footer-links {
    justify-self: center;
  }
}

/* lightbox */
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.97);z-index:9000;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:.4s}
.lightbox.open{opacity:1;visibility:visible}
.lightbox-stage{width:min(82vw,1100px);height:82vh;position:relative;display:flex;align-items:center;justify-content:center}
.lightbox-stage img{max-width:100%;max-height:100%;width:auto;object-fit:contain}
.lightbox-info{position:absolute;left:0;bottom:-35px;display:flex;gap:18px;align-items:baseline}
.lightbox-info span{font-size:8px;letter-spacing:.18em;text-transform:uppercase;color:#999}
.lightbox-info strong{font:25px var(--serif)}
.lightbox-info small{font-size:9px;color:#888}
.lightbox-close,.lightbox-prev,.lightbox-next{position:absolute;background:none;border:0;color:#fff;font-size:28px;z-index:2}
.lightbox-close{top:28px;right:35px;font-size:38px;font-weight:200}
.lightbox-prev{left:30px}.lightbox-next{right:30px}

/* responsive */
@media(max-width:900px){
  .container{width:min(calc(100% - 40px),var(--max))}
  .site-header{padding:22px 20px}
  .desktop-nav{display:none}.menu-button{display:block}
  .hero-content{left:20px;right:20px;bottom:12vh}
  .hero-content h1{font-size:clamp(4.2rem,17vw,7rem)}
  .hero-meta{right:20px;bottom:20px}.hero-scroll{display:none}
  .manifesto-grid,.about-grid,.contact-grid{grid-template-columns:1fr;gap:55px}
  .section-index{margin-bottom:-30px}
  .gallery{grid-template-columns:1fr 1fr}
  .gallery-item,.gallery-item.item-wide,.gallery-item.item-tall{grid-column:span 1;grid-row:auto;min-height:430px}
  .gallery-item.item-wide{grid-column:span 2}
  .section-top{display:block}.filter-row{margin-top:30px}
  .service-row{grid-template-columns:10% 1fr 10%;gap:10px;padding:20px 0}
  .service-row p{display:none}.service-row h3{font-size:1.7rem}
  .footer-grid{grid-template-columns:1fr;gap:15px;text-align:center}.footer-grid>div:nth-child(2){text-align:center}.footer-links{justify-content:center}
}
@media(max-width:560px){
  .section{padding:100px 0}
  h2{font-size:3.8rem}
  .hero{min-height:700px}
  .hero-intro{font-size:.9rem}
  .circle-link{width:95px;height:95px}
  .gallery{grid-template-columns:1fr}
  .gallery-item,.gallery-item.item-wide{grid-column:1;min-height:430px}
  .full-image-break{height:60vh;min-height:450px}
  .statement{padding:120px 0}
  .statement h2{font-size:4rem}
  .menu-inner{padding:110px 30px 30px}
  .menu-inner nav a{font-size:3.2rem}
  .menu-footer{display:block;line-height:2.2}
  .menu-footer a{display:block}
  .contact-meta{display:block}.contact-meta>*{display:block;margin-bottom:8px}
  .lightbox-stage{width:90vw;height:75vh}.lightbox-prev{left:10px}.lightbox-next{right:10px}
}

/* =====================================================
   NAVIGATION – KONTRAST AUF HELLEN BEREICHEN
   ===================================================== */

/* Nur auf der Startseite: Navigation über hellen Abschnitten */
body:not(.legal-page) .site-header.header-light .brand-name,
body:not(.legal-page) .site-header.header-light .brand-name small,
body:not(.legal-page) .site-header.header-light .desktop-nav a {
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  mix-blend-mode: normal !important;
}

/* Unterstreichung ebenfalls dunkel */
body:not(.legal-page) .site-header.header-light .desktop-nav a::after {
  background: #111111 !important;
}

/* Mobiles Menü: Linien auf hellen Bereichen dunkel */
body:not(.legal-page) .site-header.header-light .menu-button span {
  background: #111111 !important;
}

/* =========================================
   KONTAKTFORMULAR – PREMIUM DESIGN
   ========================================= */

.contact-form-card {
  width: 100%;
  min-width: 0;
}

.contact-form-eyebrow {
  margin: 0 0 14px;
  color: var(--accent, #c5a47e);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-form-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
}

.contact-form-intro {
  margin: 0 0 30px;
  color: var(--muted, #a0a0a0);
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.contact-form .form-field {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.contact-form .form-field label {
  color: var(--text, #f4f4f4);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.contact-form .form-field input,
.contact-form .form-field select,
.contact-form .form-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.035);
  color: #f4f4f4;
  font: inherit;
  font-size: 14px;
  line-height: 1.6;
  transition: border-color 0.2s ease,
              background-color 0.2s ease;
}

.contact-form .form-field input,
.contact-form .form-field select {
  min-height: 50px;
}

.contact-form .form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .form-field input::placeholder,
.contact-form .form-field textarea::placeholder {
  color: #858585;
  opacity: 1;
}

.contact-form .form-field select {
  color-scheme: dark;
}

.contact-form .form-field select:invalid {
  color: #858585;
}

.contact-form .form-field select option {
  background: #151515;
  color: #f4f4f4;
}

.contact-form .form-field input:focus-visible,
.contact-form .form-field select:focus-visible,
.contact-form .form-field textarea:focus-visible {
  outline: 2px solid var(--accent, #c5a47e);
  outline-offset: 3px;
  border-color: var(--accent, #c5a47e);
}

.contact-form .contact-submit {
  justify-self: start;
  cursor: pointer;
  font: inherit;
}

.contact-form-note {
  margin: -5px 0 0;
  color: var(--muted, #a0a0a0);
  font-size: 12px;
  line-height: 1.7;
}

.contact-form-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-meta-form {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin-top: 35px;
}

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

@media (max-width: 600px) {
  .contact-form-card {
    padding: 24px;
  }

  .contact-form {
    gap: 19px;
  }

  .contact-form .contact-submit {
    width: 100%;
    justify-content: center;
  }

  .contact-meta-form {
    margin-top: 26px;
  }
}
