/* === KONTAKT SECTION – POLISHED === */
* {
  font-family: "Lora", serif;
}
body, a {
  margin: 0;
  color: #111827;
}

.kontakt-title {
  font-weight: bold;
}
.kontakt-section {
  background-color: #ffffff;
  padding: 6rem 1rem;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.kontakt-title {
  font-family: "Playfair Display", serif;
  font-size: 2.125rem;
  font-weight: 300;
  text-align: center;
  letter-spacing: 0.2px;
  margin: 0 0 3rem;
  position: relative;
}
.kontakt-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  background: #111827;
  opacity: 0.12;
  border-radius: 2px;
  margin: 0.8rem auto 0;
}

/* Layout (Grid) */
.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .kontakt-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Cards */
.kontakt-info,
.kontakt-form {
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
}
.kontakt-info h3,
.kontakt-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

/* ---- Kontaktdaten-Liste ---- */
.kontakt-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid #f2f4f7;
}
.kontakt-item:first-of-type {
  border-top: 0;
}

.kontakt-item i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f5f7fa;
  color: #374151;
  font-size: 1rem;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.kontakt-item .label {
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.kontakt-info p {
  margin: 0;
  color: #374151;
  line-height: 1.6;
}

/* ---- Social ---- */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin: 0.5rem 0 1rem;
}
.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  background: #f5f7fa;
  border: 1px solid #e7ebf0;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease;
}
.social-links a:hover {
  background: #ffffff;
  color: #111827;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.09);
}

/* ---- Formular ---- */
.kontakt-form form {
  display: grid;
  gap: 1rem;
}
/* Labels */
.kontakt-form label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.4rem;
  display: inline-block;
}

/* Grundstil für alle Felder */
*, *::before, *::after { box-sizing: border-box; }

.kontakt-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d6dbe3;
  border-radius: 12px;
  background: #fff;
  color: #111827;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  padding: 0 1rem;
}
textarea.kontakt-input {
  min-height: 160px;
  padding: 0.8rem 1rem;   
  line-height: 1.5;
}


.select-wrapper {
  position: relative;
  display: inline-block;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  font-family: inherit;
  font-size: 1rem;
}
.select-wrapper select option {
  padding: .5rem 1rem;                  /* viele Desktop-Browser */
  white-space: nowrap;                   /* Optionstext sauber */
  text-indent: 1rem;  
}


.select-wrapper i {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  pointer-events: none;
  color: #333;
}

/* Pfeil drehen, wenn Select aktiv/fokussiert */
.select-wrapper select:focus + i {
  transform: translateY(-50%) rotate(180deg);
}



/* ---- Button ---- */
.kontakt-button {
  justify-self: start;
  padding: 0.7rem 1.3rem;
  background: #111827;
  color: #fff;
  border: 1px solid #111827;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(17, 24, 39, 0.16);
  transition: transform 0.1s ease, background-color 0.2s ease,
    box-shadow 0.2s ease;
}
.kontakt-button:hover {
  background: #1f2937;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(17, 24, 39, 0.2);
}
.kontakt-button:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.15);
}

/* Feinheiten */
.kontakt-info h3 + .social-links {
  margin-top: 0.25rem;
}




/* ========= BREAKPOINTS ========= */

/* === Smartphone: max-width: 767px === */
@media (max-width: 767px) {
  .kontakt-section { padding: 4.5rem 1rem; }
  .kontakt-title { font-size: 1.875rem; margin-bottom: 2.25rem; }
  .kontakt-layout { gap: 1.5rem; }

  .kontakt-info,
  .kontakt-form { padding: 1.25rem; }

  .kontakt-item { gap: .8rem; }
  .social-links a { width: 40px; height: 40px; }

  .kontakt-button {
    width: 100%;           /* mobile: Button über volle Breite */
    justify-self: stretch;
    text-align: center;
  }
}



/* === Tablet: 768px–1023px === */
@media (min-width: 768px) and (max-width: 1023px) {
  .kontakt-section { padding: 5rem 1.25rem; }
  .kontakt-title { font-size: 2rem; margin-bottom: 2.5rem; }

  /* 2-spaltig ab Tablet, mit großzügigem Gap */
  .kontakt-layout {
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
    gap: 2rem;
  }

  .kontakt-info,
  .kontakt-form { padding: 1.75rem; }

  .kontakt-item { gap: 1rem; }
  .kontakt-item i { width: 36px; height: 36px; }

  .social-links { gap: .75rem; }
  .social-links a { width: 42px; height: 42px; }

  .kontakt-button {
    width: auto;           /* nebeneinander Layout, kein full width */
    padding: .75rem 1.4rem;
    font-size: 1rem;
  }
}

/* === Desktop: min-width: 1024px === */
@media (min-width: 1024px) {
  .kontakt-section { padding: 6rem 1.5rem; }
  .kontakt-title { font-size: 2.125rem; margin-bottom: 3rem; }

  .kontakt-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .kontakt-info,
  .kontakt-form { padding: 2rem; }

  .kontakt-item { gap: 1rem; }
  .kontakt-item i { width: 38px; height: 38px; }

  .social-links a { width: 44px; height: 44px; }

  .kontakt-button { padding: .8rem 1.5rem; font-size: 1.05rem; }
}



