/* ================================================
   KONTAKT PAGE — Daniel Kroh
   ================================================ */

/* ---- HEADER ---- */
.about-header {
  mix-blend-mode: normal;
  background: var(--bg-dark);
}

.nav-active {
  color: var(--cyan) !important;
}

/* ---- HERO ---- */
.kontakt-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding: 10rem 5vw 4rem;
  background: var(--bg-dark);
  overflow: hidden;
}

.kontakt-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.04) 0%, transparent 65%);
  pointer-events: none;
}

.kontakt-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.03) 0%, transparent 65%);
  pointer-events: none;
}

.kontakt-hero-inner {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.kontakt-hero-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.kontakt-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--silver);
  max-width: 500px;
}

/* ---- CONTACT SECTION ---- */
.kontakt-section {
  padding: 6rem 5vw 8rem;
  background: var(--bg-dark);
  position: relative;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6vw;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* ---- LEFT: INFO ---- */
.kontakt-info-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 3rem;
}

.kontakt-channels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.kontakt-channel {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-navy);
  border: 1px solid rgba(0, 212, 255, 0.06);
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

a.kontakt-channel:hover {
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateX(4px);
}

.kontakt-channel-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 50%;
  color: var(--cyan);
}

.kontakt-channel-icon svg {
  width: 20px;
  height: 20px;
}

.kontakt-channel-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.kontakt-channel-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.kontakt-channel-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

/* Availability */
.kontakt-availability {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 230, 118, 0.04);
  border: 1px solid rgba(0, 230, 118, 0.12);
  border-radius: 4px;
}

.availability-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.5);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(0, 230, 118, 0.5); }
  50% { opacity: 0.6; box-shadow: 0 0 16px rgba(0, 230, 118, 0.3); }
}

.kontakt-availability span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--green);
}

/* ---- RIGHT: FORM ---- */
.kontakt-form-wrap {
  position: relative;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-optional {
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  color: var(--slate);
}

.form-input {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  background: var(--bg-navy);
  border: 1px solid rgba(0, 212, 255, 0.1);
  padding: 1rem 1.25rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%238892a8' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  padding-right: 3rem;
}

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

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

/* Checklist */
.form-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  background: var(--bg-navy);
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.form-checklist-group-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-top: 0.75rem;
}

.form-checklist-group-label:first-child {
  margin-top: 0;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--silver);
  padding: 0.5rem 0.25rem;
  transition: color 0.2s ease;
}

.form-check:hover {
  color: var(--white);
}

.form-check input[type="checkbox"] {
  display: none;
}

.form-check-mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(0, 212, 255, 0.25);
  border-radius: 3px;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-check input:checked + .form-check-mark {
  border-color: var(--cyan);
  background: rgba(0, 212, 255, 0.15);
}

.form-check input:checked + .form-check-mark::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid var(--cyan);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-check input:checked ~ * {
  color: var(--white);
}

/* Submit Button */
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: none;
  cursor: pointer;
  width: 100%;
  min-height: 56px;
  font-size: 0.95rem;
}

.form-submit-icon {
  transition: transform 0.3s ease;
}

.form-submit:hover .form-submit-icon {
  transform: translate(4px, -4px);
}

/* Success Overlay */
.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.success-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.success-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.success-modal {
  position: relative;
  background: var(--bg-navy);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 16px;
  padding: 3.5rem 3rem 2.5rem;
  max-width: 480px;
  width: 90vw;
  text-align: center;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 212, 255, 0.05);
}

.success-overlay.is-visible .success-modal {
  transform: translateY(0) scale(1);
}

.success-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s ease;
}

.success-close:hover {
  color: var(--white);
}

.success-modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.success-modal-icon svg {
  width: 100%;
  height: 100%;
}

.success-check-path {
  stroke-dasharray: 44;
  stroke-dashoffset: 44;
}

.success-overlay.is-visible .success-check-path {
  animation: draw-check 0.6s 0.3s ease forwards;
}

@keyframes draw-check {
  to { stroke-dashoffset: 0; }
}

.success-modal-heading {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.success-modal-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--silver);
  margin-bottom: 0.5rem;
}

.success-modal-subtext {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.success-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.success-btn {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.success-btn--primary {
  background: var(--cyan);
  color: var(--bg-dark);
  border: none;
}

.success-btn--primary:hover {
  background: #4dcdb0;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(93, 224, 192, 0.3);
}

.success-btn--secondary {
  background: transparent;
  color: var(--silver);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.success-btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

/* ---- MOBILE ---- */
@media (max-width: 1024px) {
  .kontakt-grid {
    gap: 4vw;
  }
}

@media (max-width: 768px) {
  .kontakt-hero {
    padding: 7rem 5vw 3rem;
    min-height: auto;
  }

  .kontakt-section {
    padding: 3rem 5vw 5rem;
  }

  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .kontakt-info-heading {
    font-size: clamp(2rem, 7vw, 2.8rem);
    margin-bottom: 2rem;
  }

  .kontakt-channel {
    padding: 1rem 1.25rem;
  }

  a.kontakt-channel:hover {
    transform: none;
  }

  .form-input {
    font-size: 16px; /* prevents iOS zoom */
    padding: 0.9rem 1rem;
    min-height: 48px;
  }

  .form-submit {
    min-height: 52px;
  }

  .nav-links {
    display: none;
  }
}

/* ---- CTA: TERMIN BUCHEN ---- */
.kontakt-cta {
  padding: 5rem 5vw;
  background: var(--bg-navy);
  text-align: center;
  border-top: 1px solid rgba(0, 212, 255, 0.06);
}

.kontakt-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.kontakt-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1rem;
}

.kontakt-cta-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--silver);
  margin-bottom: 2rem;
}

.cta-button--small {
  font-size: 0.85rem;
  padding: 0.8rem 2rem;
  min-height: auto;
}

@media (max-width: 480px) {
  .kontakt-hero {
    padding: 5rem 5vw 2.5rem;
  }

  .kontakt-hero-heading {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .kontakt-section {
    padding: 2.5rem 5vw 3.5rem;
  }

  .kontakt-info-heading {
    font-size: 1.8rem;
  }

  .kontakt-channel-value {
    font-size: 0.9rem;
  }

  .kontakt-channel-icon {
    width: 36px;
    height: 36px;
  }

  .kontakt-channel-icon svg {
    width: 16px;
    height: 16px;
  }

  .form-input {
    padding: 0.8rem 0.9rem;
  }

  .form-label {
    font-size: 0.75rem;
  }

  .kontakt-cta-heading {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .kontakt-cta-text {
    font-size: 0.9rem;
  }
}
