/* Marketing mit Jule – Terminbuchung (Cal.com): Nav-Button, Termin-Karten, Datenschutz-Hinweis */

/* „Termin buchen“ in der Navigation – bleibt auf dem Handy neben dem Menü sichtbar */
.hauptnav .nav-links { margin-left: auto; }
.hauptnav .nav-termin {
  margin-left: 2rem;
  background: #c0920b;
  color: #fefaee;
  padding: 0.5rem 1.3rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.hauptnav .nav-termin:hover { background: #f1b811; }
.hauptnav .nav-links a.nav-kontakt { background: none; padding: 0; }

@media (max-width: 768px) {
  .hauptnav .nav-termin { margin-left: auto; margin-right: 0.9rem; padding: 0.45rem 0.9rem; font-size: 0.88rem; }
  .hauptnav .nav-links > li:last-child { margin-top: 0; }
}
@media (max-width: 480px) {
  .hauptnav .nav-logo img { height: 50px; }
  .hauptnav .nav-termin { padding: 0.4rem 0.75rem; font-size: 0.82rem; margin-right: 0.6rem; }
}
@media (max-width: 340px) {
  .hauptnav .nav-logo img { height: 42px; }
}

/* Zweiter Weg neben dem Hauptbutton, z. B. „oder schreib mir“ */
.termin-alternativ {
  display: inline-block;
  margin-left: 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: inherit;
  opacity: 0.9;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #c0920b;
}
.termin-alternativ:hover { opacity: 1; text-decoration-color: #f1b811; }
@media (max-width: 768px) {
  .termin-alternativ { display: block; margin: 0.9rem 0 0; }
}

/* Zwei Termin-Karten im Kontaktbereich */
.termin-karten {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 0 0 1.25rem;
}
.termin-karte {
  background: #fff;
  border: 1px solid #e8e2cc;
  border-top: 4px solid #c0920b;
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.termin-karte-kopf { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.6rem; }
.termin-karte-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: #00403b; color: #f1b811;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.termin-karte-icon .icon { width: 20px; height: 20px; }
.termin-karte h3 { font-size: 1.15rem; color: #00403b; font-weight: 600; line-height: 1.3; }
.termin-karte .termin-karte-meta { font-size: 0.85rem; font-weight: 600; color: #c0920b; margin-bottom: 0.6rem; }
.termin-karte p { color: #555; font-size: 0.93rem; margin-bottom: 1.25rem; }
.termin-karte .btn { margin-top: auto; align-self: flex-start; }
.termin-hinweis { font-size: 0.8rem; color: #555; margin-bottom: 2.5rem; }
.termin-schreiben { font-size: 1.05rem; font-weight: 600; color: #00403b; margin-bottom: 1.5rem; }

@media (max-width: 768px) {
  .termin-karten { grid-template-columns: 1fr; }
  .termin-karte .btn { align-self: stretch; text-align: center; }
}

/* Datenschutz-Hinweis vor dem Laden von Cal.com */
.termin-dialog {
  border: none;
  border-top: 4px solid #c0920b;
  border-radius: 12px;
  padding: 2rem;
  max-width: 460px;
  width: calc(100% - 32px);
  margin: auto;
  background: #fefaee;
  color: #111;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.termin-dialog::backdrop { background: rgba(0, 46, 42, 0.6); }
.termin-dialog-x {
  position: absolute; top: 0.6rem; right: 0.8rem;
  background: none; border: none; font-size: 1.6rem; line-height: 1;
  color: #555; cursor: pointer; padding: 0.25rem;
}
.termin-dialog-x:hover { color: #00403b; }
.termin-dialog-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #c0920b; margin: 0 0 0.25rem; }
.termin-dialog h2 { font-size: 1.25rem; color: #00403b; margin: 0 0 0.75rem; }
.termin-dialog p { font-size: 0.92rem; color: #333; margin: 0 0 1.25rem; }
.termin-dialog a { color: #00403b; font-weight: 500; }
.termin-dialog-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.termin-dialog-buttons button {
  font: inherit; font-size: 0.95rem; font-weight: 600;
  padding: 0.7rem 1.5rem; border-radius: 4px; cursor: pointer;
  transition: background 0.2s;
}
.termin-dialog-ok { background: #c0920b; color: #fefaee; border: 2px solid #c0920b; }
.termin-dialog-ok:hover { background: #f1b811; border-color: #f1b811; }
.termin-dialog-abbrechen { background: transparent; color: #00403b; border: 2px solid #00403b; }
.termin-dialog-abbrechen:hover { background: #00403b; color: #fefaee; }
.termin-dialog .termin-dialog-alternativ { font-size: 0.85rem; color: #555; margin: 0; }
@media (max-width: 480px) {
  .termin-dialog { padding: 1.75rem 1.25rem 1.5rem; }
  .termin-dialog-buttons button { flex: 1 1 100%; }
}

/* Landingpage Bayreuth */
.landing-nav .nav-termin { margin-left: 0; margin-right: 0; }
.anfrage-termine { margin: 1.5rem 0 1.75rem !important; }

/* Über mich: zweiter Link immer unter dem Button */
.ueber-treffen .termin-alternativ { display: block; margin: 0.9rem 0 0; }

/* Kontaktformular als Popup (Leistungsseiten) */
.anfrage-dialog { max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; }
.anfrage-honig { position: absolute; left: -9999px; top: -9999px; }
.anfrage-zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.anfrage-feld { margin-bottom: 1rem; }
.anfrage-feld label { display: block; font-size: 0.85rem; font-weight: 500; color: #555; margin-bottom: 0.35rem; }
.anfrage-feld input,
.anfrage-feld select,
.anfrage-feld textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #ddd6bb;
  border-radius: 6px;
  font: inherit;
  font-size: 0.9rem;
  color: #111;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.anfrage-feld input:focus,
.anfrage-feld select:focus,
.anfrage-feld textarea:focus { border-color: #c0920b; box-shadow: 0 0 0 3px rgba(192, 146, 11, 0.15); }
.anfrage-feld textarea { height: 120px; resize: vertical; }
.anfrage-dialog .anfrage-fehler { color: #b03a2e; font-weight: 500; font-size: 0.88rem; margin: -0.25rem 0 1rem; }
.anfrage-senden {
  font: inherit; font-size: 0.95rem; font-weight: 600;
  padding: 0.75rem 1.6rem; border-radius: 4px; cursor: pointer; transition: background 0.2s;
}
.anfrage-senden:disabled { opacity: 0.7; cursor: wait; }
.anfrage-dialog .anfrage-datenschutz { font-size: 0.78rem; color: #555; margin: 0.9rem 0 0; }
.anfrage-danke { text-align: center; padding: 1rem 0 0.5rem; }
.termin-dialog .anfrage-danke-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: #00403b; color: #f1b811;
  font-size: 1.6rem; line-height: 56px;
  margin: 0 auto 1rem !important;
}
.anfrage-danke .anfrage-zu {
  font: inherit; font-size: 0.95rem; font-weight: 600;
  padding: 0.7rem 1.5rem; border-radius: 4px; cursor: pointer;
}
@media (max-width: 480px) {
  .anfrage-zeile { grid-template-columns: 1fr; }
  .anfrage-senden { width: 100%; }
}

/* Startseite: „Lieber schreiben?“-Karte bündig unter den Termin-Karten */
.kontakt .kontakt-grid { gap: 1.5rem; }
.kontakt .kontakt-info { padding: 0.5rem 0 0 1.5rem; }
@media (max-width: 768px) {
  .kontakt .kontakt-info { padding: 1rem 0 0; }
}
