@import url("common.css");

/* ============================================
   KONTAKT PAGE — glassmorphism redesign
   ============================================ */

html {
  height: 100%;
}

body {
  position: relative;
}

#content {
  padding-top: 6em;
  box-sizing: border-box;
}

#content > :not(.navbar):not(.footer) {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5em;
  padding-right: 1.5em;
  box-sizing: border-box;
}

/* Global gold-line heading accent */
.kontakt-heading {
  padding-left: 0.8em;
  border-left: 3px solid #ffba01;
  line-height: 1.25;
  text-align: left;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

h2 {
  margin: 0;
  text-align: left;
}

/* ============================================
   CONTACT HEADER — 3 glass cards
   ============================================ */
.contact-header {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6em;
  margin: 2em 0 4em;
  width: 100%;
  border: none;
  padding: 0;
  border-radius: 0;
  align-self: auto;
  justify-self: auto;
}

.contact-header .column.main {
  margin: 0;
  padding: 2em 1.8em;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2em;
  min-width: 0;
  max-width: none;
  flex: 1 1 auto;
  height: auto;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.35s ease, box-shadow 0.35s ease;
}

.contact-header .column.main:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 186, 1, 0.5);
  box-shadow: 0 22px 60px rgba(255, 186, 1, 0.18);
}

.contact-header-icon {
  width: 3.2em;
  height: 3.2em;
  margin: 0 0 0.2em;
  padding: 0.7em;
  border-radius: 0.9em;
  background: rgba(255, 186, 1, 0.12);
  border: 1px solid rgba(255, 186, 1, 0.28);
  box-sizing: border-box;
  object-fit: contain;
}

.contact-header .heading-container {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  height: auto;
}

.contact-header .heading-container > .column {
  margin: 0;
  padding: 0;
  flex: initial;
  min-width: 0;
  max-width: none;
  width: 100%;
  height: auto;
  text-align: left;
}

.contact-header h2 {
  padding-left: 0.7em;
  border-left: 3px solid #ffba01;
  line-height: 1.2;
  margin: 0 0 0.8em;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-header p {
  margin: 0;
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.contact-header a {
  color: #ffba01;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-header a:hover {
  color: #ffd257;
}

.contact-header .phone-number {
  font-size: 1.05rem;
  font-weight: 700;
}

.header-social-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.9em;
  margin-top: 0.4em;
}

.header-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4em;
  height: 2.4em;
  border-radius: 0.7em;
  background: rgba(255, 186, 1, 0.08);
  border: 1px solid rgba(255, 186, 1, 0.22);
  transition: transform 0.25s ease, background 0.25s ease,
    border-color 0.25s ease;
}

.header-social-icons a:hover {
  transform: translateY(-3px);
  background: rgba(255, 186, 1, 0.18);
  border-color: #ffba01;
}

.header-social-icons img {
  width: 1.3em;
  height: 1.3em;
  margin: 0;
}

.header-social-icons img:hover {
  transform: none;
}

/* ============================================
   QUESTION SELECTION — centered glass card
   ============================================ */
#content > .column.questionSelection {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.1em;
  max-width: 34em;
  width: 100%;
  margin: 0 auto 4em;
  padding: 2em 2em;
  box-sizing: border-box;
  flex: initial;
  min-width: 0;
  max-height: none;
  height: auto;
}

.column.questionSelection h1 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: none;
  text-align: left;
  padding-left: 0.6em;
  border-left: 3px solid #ffba01;
  line-height: 1.2;
}

.column.questionSelection p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.55;
  text-align: left;
}

.column.questionSelection > div {
  width: 100%;
}

#questionSelect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  width: 100%;
  height: auto;
  padding: 0.7em 1em;
  box-sizing: border-box;
  border: 1px solid rgba(255, 186, 1, 0.35);
  border-radius: 0.9em;
  background: rgba(24, 20, 14, 0.4);
}

#questionSelect h3 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  align-self: center;
}

#questionSelector {
  flex: 1 1 auto;
  max-width: 16em;
  padding: 0.55em 2.2em 0.55em 1em;
  background-color: rgba(255, 186, 1, 0.1);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffba01'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.6em center;
  background-size: 1.1em;
  color: #fff;
  font-family: "Montserrat";
  font-size: 0.95rem;
  border: 1px solid rgba(255, 186, 1, 0.3);
  border-radius: 0.7em;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

#questionSelector:hover,
#questionSelector:focus {
  border-color: #ffba01;
  background-color: rgba(255, 186, 1, 0.18);
  outline: none;
}

#questionSelector option {
  background-color: #1f1b15;
  color: #fff;
}

/* ============================================
   INFO SECTION — two-column glass card grid
   ============================================ */
.infoSection {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6em;
  align-items: start;
  width: 100%;
  padding: 0;
  margin: 0 0 5em;
}

.infoSection > .column {
  display: flex;
  flex-direction: column;
  gap: 1.6em;
  margin: 0;
  padding: 0;
  flex: initial;
  min-width: 0;
  max-width: none;
  width: 100%;
  height: auto;
}

#main1,
#main2 {
  flex: initial;
  min-width: 0;
  max-width: none;
  padding: 0;
  margin: 0;
  height: auto;
}

.info {
  margin: 0;
  padding: 1.8em 1.8em;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1em;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.35s ease, box-shadow 0.35s ease;
}

.info:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 186, 1, 0.45);
  box-shadow: 0 22px 56px rgba(255, 186, 1, 0.15);
}

.info.glow-twice {
  animation: info-glow-twice 3s ease-in-out 1;
}

@keyframes info-glow-twice {
  0%,
  100% {
    border-color: rgba(255, 186, 1, 0.22);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  }
  20%,
  60% {
    border-color: #ffba01;
    box-shadow:
      0 0 0 2px rgba(255, 186, 1, 0.35),
      0 22px 60px rgba(255, 186, 1, 0.35);
  }
  40%,
  80% {
    border-color: rgba(255, 186, 1, 0.22);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .info.glow-twice {
    animation: none;
  }
}

.info-icon {
  width: 3em;
  height: 3em;
  margin: 0;
  padding: 0.65em;
  border-radius: 0.85em;
  background: rgba(255, 186, 1, 0.12);
  border: 1px solid rgba(255, 186, 1, 0.28);
  box-sizing: border-box;
  object-fit: contain;
  align-self: flex-start;
}

.info .heading-container {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  height: auto;
}

.info .heading-container > .column {
  display: block;
  margin: 0;
  padding: 0;
  flex: initial;
  min-width: 0;
  max-width: none;
  width: 100%;
  height: auto;
  text-align: left;
}

.info h2 {
  padding-left: 0.7em;
  border-left: 3px solid #ffba01;
  line-height: 1.2;
  margin: 0 0 0.8em;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.info h3 {
  margin: 0.6em 0 0.4em;
  font-size: 1rem;
  font-weight: 700;
  color: #ffba01;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
}

.info p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
}

.info p strong {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.info p span {
  color: #ffba01;
  font-weight: 600;
}

#discount h2 {
  padding-left: 0.7em;
  border-left: 3px solid #ffba01;
}

#discount p span {
  color: #ffba01;
  font-size: 1rem;
  font-weight: 700;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .contact-header {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-header .column.main:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .infoSection {
    grid-template-columns: 1fr;
    gap: 1.4em;
  }
}

@media (max-width: 768px) {
  #content {
    padding: 5em 1em 0;
  }

  .contact-header {
    grid-template-columns: 1fr;
    gap: 1.2em;
    margin: 1.5em 0 3em;
  }

  .contact-header .column.main:last-child {
    grid-column: auto;
  }

  .contact-header .column.main {
    padding: 1.6em 1.4em;
  }

  .column.questionSelection {
    padding: 1.6em 1.4em;
    margin-bottom: 3em;
  }

  .column.questionSelection h1 {
    font-size: 1.35rem;
  }

  #questionSelect {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6em;
  }

  #questionSelect h3 {
    text-align: left;
  }

  #questionSelector {
    max-width: none;
    width: 100%;
  }

  .info {
    padding: 1.4em 1.3em;
  }

  .info h2 {
    font-size: 1.05rem;
  }

  .info p {
    font-size: 0.85rem;
  }
}

@media (max-width: 425px) {
  #content {
    padding: 4em 0.8em 0;
  }

  .contact-header .column.main {
    padding: 1.4em 1.2em;
  }

  .contact-header h2 {
    font-size: 1rem;
  }

  .contact-header p {
    font-size: 0.85rem;
  }

  .contact-header-icon {
    width: 2.8em;
    height: 2.8em;
    padding: 0.6em;
  }

  .column.questionSelection h1 {
    font-size: 1.2rem;
  }

  .column.questionSelection p {
    font-size: 0.85rem;
  }

  .info {
    padding: 1.2em 1.1em;
  }

  .info h2 {
    font-size: 0.95rem;
  }

  .info h3 {
    font-size: 0.9rem;
  }

  .info p {
    font-size: 0.8rem;
  }

  .info-icon {
    width: 2.6em;
    height: 2.6em;
    padding: 0.55em;
  }
}
