/* Neue Kontaktseite (/kontakt) -- ersetzt das schlecht performende
   Andi-Popup als primaeres Kontakt-Ziel. scripts/kontakt-page-build.py */
.sfx-kontakt { background: #1F1F1F; color: #fff; }
.sfx-kontakt section { padding: clamp(3.5rem, 7vw, 6rem) clamp(1.4rem, 6vw, 6rem); }
.sfx-kontakt-inner { max-width: 74rem; margin: 0 auto; }

.sfx-k-hero { padding-top: clamp(4rem, 8vw, 6.5rem); }
.sfx-k-hero .sfx-lp-breadcrumb {
  max-width: none !important;
  margin: 0 0 1.7rem !important;
  padding: 0 !important;
  line-height: 1.45;
}

/* Die globale Navigation liegt absolut ueber dem Seiteninhalt. Auf schmalen
   Viewports braucht der Hero deshalb mehr Abstand als das allgemeine
   Section-Padding, sonst laeuft die Breadcrumb unter Logo und Menu-Button. */
@media (max-width: 820px) {
  .sfx-kontakt .sfx-k-hero { padding-top: 7.5rem; }
}
.sfx-k-hero h1 {
  margin: 0 0 1.2rem; font-size: clamp(2.6rem, 5.2vw, 4.4rem); font-weight: 300;
  line-height: 1.06; letter-spacing: -.02em; max-width: 22ch;
}
.sfx-k-hero-sub { margin: 0 0 2.4rem; max-width: 42rem; font-size: 1.12rem; line-height: 1.66; color: rgba(255,255,255,.78); }
.sfx-k-quicklinks { display: flex; flex-wrap: wrap; gap: .9rem; }
.sfx-k-quicklinks a {
  display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.4rem;
  border: 1px solid rgba(255,255,255,.18); border-radius: .6rem; color: #fff; text-decoration: none;
  font-size: .98rem; transition: border-color 200ms ease, background 200ms ease, transform 180ms ease;
}
.sfx-k-quicklinks a:hover { border-color: #FF8585; background: rgba(255,133,133,.08); transform: translateY(-2px); }
.sfx-k-quicklinks a.is-primary { background: #FF8585; border-color: #FF8585; color: #191b1f; font-weight: 500; }
.sfx-k-ql-icon { display: inline-flex; flex: 0 0 auto; width: 1.15rem; height: 1.15rem; }
.sfx-k-ql-icon svg { width: 100%; height: 100%; }

.sfx-k-visit { background: rgba(255,255,255,.03); }
.sfx-k-visit-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.sfx-k-visit-copy h2 { margin: 0 0 1rem; font-size: clamp(1.9rem, 2.8vw, 2.5rem); font-weight: 500; letter-spacing: -.015em; }
.sfx-k-visit-copy p { margin: 0 0 1.6rem; color: rgba(255,255,255,.75); font-size: 1.02rem; line-height: 1.65; max-width: 34rem; }
.sfx-k-address { margin: 0 0 1.8rem; font-style: normal; font-size: 1.02rem; line-height: 1.7; color: rgba(255,255,255,.9); }
.sfx-k-address strong { display: block; font-size: 1.1rem; margin-bottom: .2rem; }
.sfx-k-cta-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.sfx-k-cta-row a {
  display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.3rem; border-radius: .6rem;
  text-decoration: none; font-size: .96rem; font-weight: 500; transition: transform 180ms ease;
}
.sfx-k-cta-row a.is-call { background: #FF8585; color: #191b1f; }
.sfx-k-cta-row a.is-mail { border: 1px solid rgba(255,255,255,.2); color: #fff; }
.sfx-k-cta-row a:hover { transform: translateY(-2px); }
.sfx-k-map { position: relative; border-radius: 1rem; overflow: hidden; min-height: 22rem; background: #14161c; }
.sfx-k-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.15) invert(.92) contrast(.9); }
.sfx-k-embed-placeholder {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem; padding: 2rem;
  text-align: center; background: #14161c; color: #fff;
}
.sfx-k-embed-placeholder p { max-width: 28rem; margin: 0; color: rgba(255,255,255,.7); line-height: 1.55; }
.sfx-k-embed-placeholder button {
  padding: .85rem 1.25rem !important; border: 0 !important; border-radius: .55rem !important;
  background: #FF8585 !important; color: #191b1f !important; font: inherit; font-weight: 500; cursor: pointer;
}
[data-sfx-embed-wrap].is-loading .sfx-k-embed-placeholder { opacity: .55; pointer-events: none; }
[data-sfx-embed-wrap].is-loaded .sfx-k-embed-placeholder { display: none; }

.sfx-k-calendar { position: relative; overflow: hidden; }
.sfx-k-calendar::before {
  content: ""; position: absolute; top: -10rem; right: -10rem; width: 32rem; height: 32rem; z-index: 0;
  background: radial-gradient(circle, rgba(255,133,133,.16), transparent 70%); pointer-events: none;
}
.sfx-k-cal-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.sfx-k-cal-copy h2 { margin: 0 0 1rem; font-size: clamp(1.9rem, 2.8vw, 2.5rem); font-weight: 500; letter-spacing: -.015em; max-width: 18ch; }
.sfx-k-cal-copy > p { margin: 0 0 1.6rem; max-width: 34rem; color: rgba(255,255,255,.75); font-size: 1.02rem; line-height: 1.65; }
.sfx-k-cal-points { list-style: none; margin: 0 0 2.2rem; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.sfx-k-cal-points li { position: relative; padding-left: 1.3rem; font-size: .98rem; line-height: 1.5; color: rgba(255,255,255,.85); }
.sfx-k-cal-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: .5rem; height: .5rem; border-radius: 50%; background: #FF8585; }
.sfx-k-cal-person { display: flex; align-items: center; gap: .9rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); }
.sfx-k-cal-person img { width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.sfx-k-cal-person strong { display: block; font-size: .98rem; font-weight: 500; }
.sfx-k-cal-person span { font-size: .85rem; color: rgba(255,255,255,.6); }

.sfx-k-calendar-frame {
  position: relative; border-radius: 1.1rem; overflow: hidden;
  border: 1px solid rgba(255,133,133,.22);
  background: #fff; min-height: 46rem;
  box-shadow: 0 2rem 5rem rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.03);
}
.sfx-k-cal-framebar {
  position: absolute; top: 0; left: 0; right: 0; height: 2.75rem; z-index: 2;
  display: flex; align-items: center; gap: .6rem; padding: 0 1.15rem;
  background: #191b1f; color: rgba(255,255,255,.78); font-size: .82rem; font-weight: 500; letter-spacing: .01em;
}
.sfx-k-cal-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #FF8585; box-shadow: 0 0 0 3px rgba(255,133,133,.2); flex: 0 0 auto; }
.sfx-k-calendar-frame iframe { position: absolute; inset: 2.75rem 0 0 0; width: 100%; height: calc(100% - 2.75rem); border: 0; }
.sfx-k-embed-placeholder--calendar { inset: 2.75rem 0 0 0; }
.sfx-k-calendar-fallback {
  display: none; position: absolute; inset: 2.75rem 0 0 0; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.2rem; padding: 2rem; text-align: center; background: #14161c; color: #fff;
}
.sfx-k-calendar-frame.is-fallback .sfx-k-calendar-fallback { display: flex; }
.sfx-k-calendar-frame.is-fallback iframe { display: none; }
.sfx-k-calendar-frame.is-fallback .sfx-k-embed-placeholder { display: none; }
@media (max-width: 980px) {
  .sfx-k-cal-grid { grid-template-columns: 1fr; }
  .sfx-k-calendar-frame { min-height: 40rem; }
}

.sfx-k-form-section h2 { margin: 0 0 1rem; font-size: clamp(1.9rem, 2.8vw, 2.5rem); font-weight: 500; letter-spacing: -.015em; }
.sfx-k-form-section > .sfx-kontakt-inner > p { margin: 0 0 2rem; max-width: 40rem; color: rgba(255,255,255,.75); font-size: 1.02rem; line-height: 1.65; }
.sfx-k-form {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.6rem; max-width: 46rem;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); border-radius: 1rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.sfx-k-form .sfx-k-field-full { grid-column: 1 / -1; }
.sfx-k-field { display: flex; flex-direction: column; gap: .4rem; }
.sfx-k-field span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.sfx-k-field input, .sfx-k-field textarea {
  background: transparent !important; border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.25) !important;
  border-radius: 0 !important; color: #fff !important; font-size: 1.02rem; padding: .5rem 0 !important;
  font-family: inherit; transition: border-color 200ms ease; resize: vertical;
}
.sfx-k-field input:focus, .sfx-k-field textarea:focus { outline: none; border-bottom-color: #FF8585 !important; }
.sfx-k-field input::placeholder, .sfx-k-field textarea::placeholder { color: rgba(255,255,255,.32); }
.sfx-k-consent { grid-column: 1 / -1; display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: rgba(255,255,255,.6); line-height: 1.5; }
.sfx-k-consent input[type="checkbox"] {
  appearance: auto !important; -webkit-appearance: checkbox !important;
  width: 1.1rem !important; height: 1.1rem !important; min-width: 1.1rem;
  margin: .16rem 0 0; padding: 0 !important; accent-color: #FF8585; cursor: pointer;
}
.sfx-k-form-submit {
  grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: .55rem;
  background: #FF8585 !important; color: #191b1f !important; border: 0 !important; border-radius: .55rem;
  padding: .9rem 1.5rem !important; font-size: 1rem; font-weight: 500; cursor: pointer;
  transition: transform 180ms ease;
}
.sfx-k-form-submit:hover { transform: translateY(-2px); }

@media (max-width: 980px) {
  .sfx-k-visit-grid { grid-template-columns: 1fr; }
  .sfx-k-map { min-height: 18rem; }
}
@media (max-width: 640px) {
  .sfx-k-form { grid-template-columns: 1fr; }
}
