/* ==========================================================================
   KONTAKT – FINAL (Hero + Layout + Form) – NO ROUNDED CORNERS
   ========================================================================== */
:root{
  --radius-sm: 8px;
  --radius-md: 12px;
}

.contact-page{
  background: var(--bg-page, #f6f3ec);
}

/* --------------------------------------------------------------------------
   HERO (full width, no card look)
   -------------------------------------------------------------------------- */

.page-hero{
  position: relative;
  width: 100%;
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: hidden;

  color: #fff;
  text-align: center;

  min-height: clamp(320px, 42vh, 520px);
  padding-top: clamp(110px, 14vh, 150px);
  padding-bottom: clamp(36px, 6vh, 72px);
}

.page-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--page-hero-img);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.page-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.35) 55%,
    rgba(0,0,0,0.55)
  );
}

.page-hero__inner{
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.page-hero__title{
  margin: 0 0 12px;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff !important;
  text-shadow: 0 16px 38px rgba(0,0,0,.45);
}

.page-hero__lead{
  margin: 0 auto;
  max-width: 70ch;
  font-size: 16px;
  color: rgba(255,255,255,.95);
  text-shadow: 0 16px 38px rgba(0,0,0,.45);
}

.page-hero__trust{
  display: inline-block;
  margin: 14px auto 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  font-weight: 800;
  font-size: 13px;
}

.page-hero--contact{
  --page-hero-img: url("/images/contact.webp");
}

/* --------------------------------------------------------------------------
   CONTENT LAYOUT
   -------------------------------------------------------------------------- */

.contact-section{
  padding: 72px 0 90px;
}

.contact-wrapper{
  max-width: 1100px;
}

.contact-grid{
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 56px;
  align-items: start;
}

/* Card (Form) */
.contact-card{
  background: #fff;
  border-radius: var(--radius-md);
  padding: 26px 26px 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
}

.contact-card h2{
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  color: rgba(20, 40, 55, 0.95);
}

/* --------------------------------------------------------------------------
   LEFT COLUMN (Foto + Mini-Info)
   -------------------------------------------------------------------------- */

.contact-left{ align-self: start; }

/* Desktop: links bleibt sichtbar */
@media (min-width: 981px){
  .contact-left{
    position: sticky;
    top: 110px; /* unter Header */
  }
}

.contact-photo{
  margin: 0;
}

.contact-photo img{
  width: 100%;
  height: auto;
  display: block;

  /* klare Modulform */
  aspect-ratio: 4 / 5;
  object-fit: cover;

  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);

  /* Warm-Toning (subtil, professionell) */
  filter:
    brightness(1.03)
    contrast(1.04)
    saturate(1.08)
    sepia(0.06);
}

.contact-photo figcaption{
  margin-top: 10px;
  font-size: 13px;
  color: rgba(20,40,55,.70);
}
.contact-photo figcaption strong{
  color: rgba(20,40,55,.92);
}

.contact-mini{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
  max-width: 420px;
}

.contact-mini h3{
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: .01em;
  color: rgba(20,40,55,.92);
}

.contact-mini__text{
  margin: 0 0 10px;
  color: rgba(20,40,55,.78);
  line-height: 1.6;
}

.contact-mini a{
  font-weight: 850;
  text-decoration: none;
  color: rgba(20,40,55,.95);
}
.contact-mini a:hover{ text-decoration: underline; }

.contact-bullets{
  margin: 8px 0 0;
  padding-left: 18px;
  color: rgba(20,40,55,.70);
}
.contact-bullets li{ margin: 6px 0; }

/* --------------------------------------------------------------------------
   FORM (Business look + Microcopy + Errors + Mobile UX)
   -------------------------------------------------------------------------- */

.contact-card .form-intro{
  margin: 0 0 14px;
  color: rgba(20,40,55,.72);
  font-size: 14px;
  line-height: 1.6;
}

.contact-form{ margin-top: 8px; }

.form-row{ margin-bottom: 14px; }

.form-row label{
  display: block;
  margin-bottom: 6px;
  font-weight: 850;
  color: rgba(20, 40, 55, 0.92);
}

.form-row input,
.form-row textarea{
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,0.14);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
}

.form-row textarea{
  resize: vertical;
  min-height: 120px;
}

.form-row input:focus,
.form-row textarea:focus{
  outline: none;
  border-radius: 8px;
  border-color: #f2b705;
  box-shadow: 0 0 0 4px rgba(242,183,5,0.18);
}

/* Gruppen */
.form-group{
  border: 0;
  padding: 0;
  margin: 18px 0 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.form-group:first-of-type{
  border-top: 0;
  padding-top: 0;
  margin-top: 10px;
}

.form-group legend{
  font-weight: 900;
  color: rgba(20,40,55,.92);
  margin-bottom: 10px;
}

.form-subgroup{
  border: 0;
  padding: 0;
  margin: 0 0 14px;
}

.form-sublegend{
  font-weight: 850;
  color: rgba(20,40,55,.88);
  margin-bottom: 8px;
}

/* Microcopy */
.form-help{
  margin: 6px 0 0;
  font-size: 12.5px;
  color: rgba(20,40,55,.62);
}

.form-note{
  margin: 10px 0 0;
  font-size: 12px;
  opacity: 0.65;
}

/* Choices */
.choices-grid{
  display: grid;
  gap: 8px;
}

.choice{
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 10px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.65);

  border-radius: var(--radius-sm);
  color: rgba(20,40,55,.86);
  font-weight: 700;

  min-height: 44px;
}

.choice + .choice{ margin-top: 8px; }

.choice:hover{
  border-color: rgba(242,183,5,.35);
}

.choice input{
  transform: translateY(1px);
  accent-color: #f2b705;
}

.choice--legal{
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,.08);
}

/* Inline rows */
.form-row--inline{ margin-top: 12px; }

/* Status */
.form-status{
  margin-top: 10px;
  font-size: 13px;
  color: rgba(20,40,55,.78);
}

/* Errors */
.form-error{
  margin: 6px 0 0;
  font-size: 12.5px;
  color: rgba(180,40,40,.95);
}

.is-error input,
.is-error textarea{
  border-color: rgba(220,60,60,.55);
  box-shadow: 0 0 0 4px rgba(220,60,60,.12);
}

/* Fokus/Scroll unter sticky Header */
.contact-card input,
.contact-card textarea{
  scroll-margin-top: 120px;
}

/* Button nutzt .btn-cta aus style.css */
.contact-form .btn-cta{
  width: 100%;
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 980px){
  .contact-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-card{
    padding: 22px 18px 18px;
  }

  .contact-left{
    position: static;
  }

  .contact-photo img{
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 560px){
  .page-hero{
    min-height: 300px;
    padding-top: 96px;
    padding-bottom: 40px;
  }

  .page-hero__trust{
    font-size: 12px;
    padding: 9px 12px;
  }
}
