/* styles.css */
@font-face {
  font-family: 'Inter';
  src: url('./_fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('./_fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('./_fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('./_fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* RESET */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* VARIABLES */
:root {
  --bg: rgb(76, 61, 46);
  --glass: rgba(12,12,12,1);
  --text: #f2f2f2;
  --muted: #dddddd;
  --line: rgba(255,255,255,0.08);
}
/* BASE */
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* HEADER */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(58px, 7vh, 82px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 1.2rem;
  background:
    linear-gradient(
      to bottom,
      rgba(10,10,10,0.92),
      rgba(10,10,10,0.65)
    );
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
}
/* BURGER */
.burger {
  grid-column: 1;
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.burger span {
  width: 100%;
  height: 2px;
  background: #fff;
  transition: 0.3s ease;
}
.burger:hover span:nth-child(2) {
  width: 70%;
}
/* LOGO */
.logo {
  grid-column: 2;
  justify-self: center;
  font-size: clamp(0.92rem, 1.3vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: #fff;
}
.logo span {
  color: var(--muted);
  font-weight: 300;
}
/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding:
    0
    8vw
    8vh
    8vw;
  background-image:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.02),
      rgba(0,0,0,0.35)
    ),
    url('./_pics/top-mittig.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}
/* HERO OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.02),
      rgba(0,0,0,0.18)
    );
  pointer-events: none;
}
/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin-left: 0;
  padding-bottom: 1.5rem;
}
.hero-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: default;
}
/* KICKER */
.hero-kicker {
  margin-bottom: 1.2rem;
  color: #999;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
}
/* HEADLINE */
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 5vw);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 200;
  color: #fff;
  margin-bottom: 1.5rem;
  transform: translateX(-0.5vw);
  text-shadow:
    0 5px 30px rgba(0,0,0,0.35);
}
.hero-topline {
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.hero-bottomline {
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
/* HERO TEXT */
.hero-text {
  max-width: 650px;
  font-size: 1.1rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.78);
}
/* SERVICES */
.services {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding:
    6rem
    8vw;
}
/* CARD */
.service-card {
  padding: 2.5rem;
  border: 1px solid rgba(255,255,255,0.05);
  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.02),
      rgba(255,255,255,0.01)
    );
  background-color: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
  border-radius: 20px;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.18);
  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.04),
      rgba(255,255,255,0.02)
    );
}
.service-card h2 {
  position: relative;
  margin-bottom: 2rem;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.service-card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.9rem;
  width: 42px;
  height: 1px;
  background:
  linear-gradient(
    to right,
    rgba(255,255,255,0.9),
    rgba(255,255,255,0.15)
  );
  transform-origin: left center;
  transform: scaleX(0.5);
  transition: transform 0.45s ease;
}
.service-card:hover h2::after {
  transform: scaleX(1.5);
}
.service-card p {
  color: var(--muted);
  line-height: 1.8;
}
/* LEGAL */
.legal {
  max-width: 760px;
}
.legal p {
  margin-bottom: 1rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
}
.legal h3 {
  margin:
    2.6rem
    0
    1.2rem;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.legal h3:first-child {
  margin-top: 0;
}
/* FOOTER */
.footer {
  padding: 4rem 2rem;
  text-align: center;
  color: #777;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    padding:
      0
      2rem;
  }
  .hero-content {
    padding-bottom: 20vh;
  }
  .hero h1 {
    line-height: 1.02;
  }
  .hero-text {
    font-size: clamp(1.2rem, 4vw, 1.4rem);
    line-height: 1.8;
  }
  .services {
    padding:
      5rem
      2rem;
  }
}
/* STATEMENT, CONTACT */
.statement, .contact {
  position: relative;
  padding:
    10rem
    8vw;
  border-top: 1px solid rgba(255,255,255,0.05);
  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.015),
      rgba(255,255,255,0.03)
    );
}
.statement-inner, .contact-inner {
  max-width: 1100px;
}
.statement-topline {
  margin-bottom: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.statement h2, .contact h2 {
  max-width: 900px;
  margin-bottom: 2rem;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: #fff;
}
.statement-text, .contact-text {
  max-width: 760px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
}
.contact a,
.statement a {
  color: inherit; /* übernimmt Textfarbe des Umfelds */
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease-in-out;
}
.contact a:hover,
.statement a:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,0.2);
}
/* CONTACT FORM */
.contact-form {
  max-width: 760px;
  margin-top: 4rem;
}
.form-row {
  margin-bottom: 1.4rem;
}
label {
  display: block;
  margin-top: 1rem;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 1.2rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  transition:
    border-color 0.25s ease,
    opacity 0.25s ease;
}
.contact-form textarea {
  resize: vertical;
  min-height: 180px;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.4);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.8);
}
.contact-form button {
  margin-top: 2rem;
  padding: 1rem 2rem;
  background: #fff;
  color: #111;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.contact-form button:hover {
  transform: translateY(-2px);
}
.contact-form input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  box-shadow: 0 0 0 1000px rgb(24,11,3) inset;
}
@media (max-width: 480px) {
  .top-bar {
    height: 58px;
  }
  .logo {
    font-size: 1.1rem;
    letter-spacing: 0.04em;
  }
}
@media (max-width: 768px) {

  .statement {

    padding:
      6rem
      2rem;
  }

  .statement h2 {
    line-height: 1.02;
  }
}
/* Autofill: Hintergrund und Textfarbe anpassen */
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form textarea:-webkit-autofill,
.contact-form textarea:-webkit-autofill:hover,
.contact-form textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #f5f0e8;
    caret-color: #f5f0e8;

    -webkit-box-shadow: 0 0 0 1000px #514132 inset;
    box-shadow: 0 0 0 1000px #514132 inset;

    transition: background-color 9999s ease-out;
}

