/* Mannheim Taxi – Child-Template von Cassiopeia
   Markenfarbe #e2d880, Text in Anthrazit. Systemschriften, keine externen Fonts. */

:root {
  --mt-brand: #e2d880;
  --mt-brand-deep: #cfc25c;
  --mt-brand-tint: #f8f5e3;
  --mt-ink: #1f1f1c;
  --mt-text: #2c2b27;
  --mt-muted: #5f5c50;
  --mt-line: #e6e1c8;
  --mt-white: #fff;
  --mt-radius: 18px;
  --mt-shadow: 0 1px 2px rgb(31 31 28 / 6%), 0 12px 32px -16px rgb(31 31 28 / 22%);
  --mt-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mt-header-h: 104px;

  /* Cassiopeia-Variablen auf das Markendesign umstellen */
  --cassiopeia-color-primary: var(--mt-ink);
  --cassiopeia-color-link: var(--mt-ink);
  --cassiopeia-color-hover: #000;
  --cassiopeia-font-family-body: var(--mt-font);
  --cassiopeia-font-family-headings: var(--mt-font);
  --cassiopeia-font-weight-headings: 800;
  --body-color: var(--mt-text);
  --link-color: var(--mt-ink);
}

html {
  scroll-padding-top: var(--mt-header-h);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body.mt {
  margin: 0;
  background: var(--mt-white);
  color: var(--mt-text);
  font-family: var(--mt-font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Überschriften bewusst leicht und in Versalien: ruhig und seriös statt plakativ */
.mt h1, .mt h2, .mt h3, .mt h4 {
  color: var(--mt-ink);
  font-family: var(--mt-font);
  line-height: 1.2;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.mt h1 { font-size: 2em; font-weight: 200; }
.mt h2 { font-size: 1.6em; font-weight: 300; }
.mt h3 { font-size: 1.15em; font-weight: 400; letter-spacing: .04em; }
.mt h4 { font-size: 1em; font-weight: 600; letter-spacing: .05em; }

.mt a {
  color: var(--mt-ink);
  text-decoration-color: var(--mt-brand-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.mt a:hover { color: #000; text-decoration-color: var(--mt-ink); }

.mt :focus-visible {
  outline: 3px solid var(--mt-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.mt-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
  box-sizing: border-box;
}

.mt-muted { color: var(--mt-muted); }

.mt .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mt-skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: .6rem 1rem;
  background: var(--mt-ink);
  color: var(--mt-brand) !important;
  border-radius: 8px;
}

.mt-skip:focus { top: 12px; }

/* ---------- Infozeile ---------- */
.mt-topbar {
  background: var(--mt-ink);
  color: #d9d6c6;
  font-size: .875rem;
}

.mt-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 38px;
}

.mt-topbar a, .mt-topbar joomla-hidden-mail a { color: var(--mt-brand); text-decoration: none; }
.mt-topbar a:hover { color: #fff; }
.mt-topbar__contact { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ---------- Menüleiste und Kopfbereich ---------- */
.mt-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(255 255 255 / 96%);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--mt-line);
}

.mt-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  min-height: 60px;
  flex-wrap: wrap;
}

.mt-header {
  background: #fff;
  border-bottom: 6px solid var(--mt-brand);
}

.mt-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 22px;
  flex-wrap: wrap;
}

.mt-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  color: var(--mt-ink);
}

.mt-sign {
  width: 66px;
  height: 66px;
  flex: none;
  filter: drop-shadow(0 3px 6px rgb(0 0 0 / 18%));
}

.mt-brand__text { display: flex; flex-direction: column; line-height: 1.1; }

.mt-brand__name {
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.mt-brand__claim {
  margin-top: 4px;
  font-size: clamp(.82rem, 1.1vw, .95rem);
  color: var(--mt-muted);
  font-weight: 600;
}

/* Großes Logo auf dem Desktop */
.mt-brand--large { gap: 22px; }
.mt-brand--large .mt-sign { width: 104px; height: 104px; }
.mt-brand--large .mt-brand__name { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.mt-brand--large .mt-brand__claim { margin-top: 8px; font-size: clamp(1rem, 1.4vw, 1.2rem); }

/* Kleines Logo nur mobil in der Menüleiste */
.mt-brand--mini { display: none; }

.mt-header__call {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: .7rem 1.2rem;
  border-radius: 16px;
  background: var(--mt-brand-tint);
  text-decoration: none !important;
  color: var(--mt-ink);
}

.mt-header__call:hover { background: var(--mt-brand); color: var(--mt-ink); }
.mt-header__call-label { font-size: .85rem; font-weight: 600; color: var(--mt-muted); }
.mt-header__call-number { font-size: 1.35rem; font-weight: 900; white-space: nowrap; }

/* Navigation (Standard-Layout von mod_menu), horizontal */
.mt-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* !important, weil Cassiopeia .mod-menu senkrecht anordnet */
.mt-nav > ul,
.mt-nav .mod-menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center !important;
  gap: 4px;
}

.mt-nav li {
  position: relative;
  width: auto;
  margin: 0;
}

.mt-nav a,
.mt-nav .nav-header,
.mt-nav .separator {
  display: block;
  padding: .5rem 1rem;
  border-radius: 999px;
  color: var(--mt-ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.mt-nav a:hover { background: var(--mt-brand-tint); color: #000; }

.mt-nav li.current > a,
.mt-nav li.active > a {
  background: var(--mt-brand);
}

/* Untermenüs als Dropdown */
.mt-nav li > ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--mt-line);
  border-radius: 14px;
  box-shadow: var(--mt-shadow);
  display: none;
  flex-direction: column;
  align-items: stretch;
}

.mt-nav li:hover > ul,
.mt-nav li:focus-within > ul { display: flex; }

.mt-nav li > ul a { border-radius: 10px; }

.mt-navtoggle {
  display: none;
  align-items: center;
  gap: .6rem;
  padding: .6rem 1rem;
  border: 2px solid var(--mt-ink);
  border-radius: 999px;
  background: #fff;
  color: var(--mt-ink);
  font: 700 1rem var(--mt-font);
  cursor: pointer;
}

.mt-navtoggle__bars,
.mt-navtoggle__bars::before,
.mt-navtoggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease;
}

.mt-navtoggle__bars { position: relative; }
.mt-navtoggle__bars::before, .mt-navtoggle__bars::after { content: ""; position: absolute; left: 0; }
.mt-navtoggle__bars::before { top: -6px; }
.mt-navtoggle__bars::after { top: 6px; }
.mt-navtoggle[aria-expanded="true"] .mt-navtoggle__bars { background: transparent; }
.mt-navtoggle[aria-expanded="true"] .mt-navtoggle__bars::before { transform: translateY(6px) rotate(45deg); }
.mt-navtoggle[aria-expanded="true"] .mt-navtoggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 991.98px) {
  :root { --mt-header-h: 88px; }

  /* Mobil: großes Logo ausblenden, kleines Logo + Menü-Schalter in der fixierten Leiste */
  .mt-header { display: none; }
  .mt-navbar { border-bottom: 6px solid var(--mt-brand); }
  .mt-navbar__inner { padding-block: 12px; }
  .mt-brand--mini { display: inline-flex; }
  .mt-sign { width: 52px; height: 52px; }
  .mt-navtoggle { display: inline-flex; }

  .mt-nav {
    display: none;
    flex-basis: 100%;
    padding-bottom: 8px;
  }

  .mt-navbar.is-open .mt-nav { display: block; }

  .mt-nav > ul,
  .mt-nav .mod-menu {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .mt-nav a { padding: .8rem 1rem; border-radius: 12px; }

  .mt-nav li > ul {
    position: static;
    display: flex;
    min-width: 0;
    padding: 0 0 0 1rem;
    border: 0;
    box-shadow: none;
  }
}

@media (min-width: 992px) {
  :root { --mt-header-h: 76px; }
}

@media (max-width: 479.98px) {
  .mt-navbar__inner { gap: .75rem; }
  .mt-brand { gap: 10px; }
  .mt-sign { width: 46px; height: 46px; }
  .mt-brand__name { font-size: 1.3rem; }
  .mt-brand__claim { font-size: .75rem; }
  .mt-navtoggle { padding: .65rem; }
  .mt-navtoggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
}

@media (max-width: 359.98px) {
  .mt-brand__claim { display: none; }
}

/* ---------- Startbereich ---------- */
.mt-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 30%, rgb(255 255 255 / 55%), transparent 55%),
    var(--mt-brand);
}

.mt-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: end;
  gap: 2rem;
}

.mt-hero__text {
  padding-block: clamp(48px, 7vw, 96px);
  align-self: center;
}

.mt-hero__media { display: flex; justify-content: center; }

.mt-hero__media img {
  display: block;
  width: auto;
  height: auto;
  max-height: 520px;
  max-width: 100%;
}

.mt-hero h1 {
  margin: .4em 0 .5em;
  font-size: clamp(2em, 3.4vw, 2.6em);
  font-weight: 200;
  line-height: 1.15;
}

.mt-hero .mt-lead { max-width: 36em; }

.mt-hero--slim { padding-block: 32px; }

.mt-eyebrow {
  margin: 0;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mt-ink);
  opacity: .75;
}

.mt-lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--mt-text);
}

.mt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

@media (max-width: 767.98px) {
  .mt-hero__inner { grid-template-columns: 1fr; gap: 0; }
  .mt-hero__text { padding-bottom: 8px; }
  .mt-hero__media img { max-height: 300px; }
}

/* ---------- Buttons ---------- */
.mt .mt-btn,
.mt .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  border: 2px solid var(--mt-ink);
  border-radius: 999px;
  background: var(--mt-ink);
  color: var(--mt-brand);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

.mt .mt-btn:hover,
.mt .btn-primary:hover {
  background: #000;
  border-color: #000;
  color: #fff;
  transform: translateY(-1px);
}

.mt .mt-btn--ghost {
  background: transparent;
  color: var(--mt-ink);
}

.mt .mt-btn--ghost:hover { background: var(--mt-ink); color: var(--mt-brand); }

/* ---------- Inhaltsbänder und Karten ---------- */
.mt-band { padding-block: clamp(48px, 7vw, 88px); }
.mt-band--tint { background: var(--mt-brand-tint); }

.mt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

.mt-card {
  background: #fff;
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-radius);
  padding: clamp(24px, 3.2vw, 40px);
  box-shadow: var(--mt-shadow);
  min-width: 0;
}

.mt-card > :first-child { margin-top: 0; }
.mt-card > :last-child { margin-bottom: 0; }

.mt-card.mt-plain { background: none; border: 0; padding: 0; box-shadow: none; }
.mt-card.mt-wide { grid-column: 1 / -1; }

.mt-card h2,
.mt-card__title,
.mt-contact__head h2,
.mt-contact__head h1 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 300;
  margin: .6em 0 .6em;
}

.mt-card h3 { margin: 0 0 .5em; }

/* Vorbereitungskurs: Einleitung + Kursinhalte nebeneinander */
.mt-course {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

@media (max-width: 899.98px) {
  .mt-course { grid-template-columns: 1fr; }
}

.mt-course__topics {
  padding: clamp(20px, 2.5vw, 32px);
  border-radius: 16px;
  background: var(--mt-brand-tint);
}

.mt-course__topics > :last-child { margin-bottom: 0; }

.mt-facts {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mt-facts li {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 14px 16px;
  border: 1px solid var(--mt-line);
  border-radius: 14px;
  line-height: 1.3;
}

.mt-facts strong {
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: .02em;
  color: var(--mt-ink);
}

.mt-facts span { font-size: .92rem; color: var(--mt-muted); }

.mt-topics {
  list-style: none;
  counter-reset: topic;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.mt-topics li {
  counter-increment: topic;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  font-weight: 600;
  color: var(--mt-ink);
}

.mt-topics li::before {
  content: counter(topic);
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--mt-brand);
  font-weight: 700;
}

.mt-anchor { display: block; height: 0; }

.mt-kicker {
  display: inline-block;
  margin: 0;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: var(--mt-brand);
  color: var(--mt-ink);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mt-note {
  margin-top: 1.25rem;
  font-size: .95rem;
  color: var(--mt-muted);
}

.mt-checks {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: .55rem;
}

.mt-checks li {
  position: relative;
  padding-left: 2rem;
}

.mt-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--mt-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%231f1f1c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% no-repeat;
}

/* Taxitarif */
.mt-tariff {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.mt-tariff th,
.mt-tariff td {
  padding: .8rem 0;
  border-bottom: 1px solid var(--mt-line);
  vertical-align: top;
}

.mt-tariff th { text-align: left; font-weight: 500; padding-right: 1rem; }
.mt-tariff td { text-align: right; font-weight: 700; color: var(--mt-ink); white-space: nowrap; }
.mt-tariff tr:first-child td { font-size: 1.15rem; }

.mt-example {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: var(--mt-brand-tint);
  border-left: 5px solid var(--mt-brand);
}

/* Partner und Werbeplätze */
.mt-partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
  margin-top: 1.5rem;
}

.mt-partner {
  position: relative;
  padding: 24px;
  border: 1px solid var(--mt-line);
  border-radius: 14px;
  background: #fff;
}

.mt-partner__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 0; }

.mt-partner--free {
  border: 2px dashed var(--mt-brand-deep);
  background: var(--mt-brand-tint);
}

.mt-badge--soft {
  border-color: var(--mt-brand-deep);
  background: var(--mt-brand-tint);
  color: var(--mt-ink);
}

/* Partner-Karte mit Screenshot */
.mt-partner--card { padding: 0 24px 24px; overflow: hidden; }

.mt-partner__media {
  display: block;
  margin: 0 -24px 18px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--mt-line);
  background: var(--mt-brand-tint);
}

.mt-partner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s ease;
}

.mt-partner--card:hover .mt-partner__media img { transform: scale(1.03); }
.mt-partner h3 a { text-decoration: none; }
.mt-partner h3 a:hover { text-decoration: underline; }

/* Screenshot im Browser-Rahmen (Partner-Seiten) */
.mt-browser {
  margin: 0 0 2rem;
  border: 1px solid var(--mt-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--mt-shadow);
}

.mt-browser__bar {
  position: relative;
  padding: .55rem 1rem .55rem 4.75rem;
  background: #f1efe4;
  border-bottom: 1px solid var(--mt-line);
  color: var(--mt-muted);
  font-size: .85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* drei Fensterpunkte */
.mt-browser__bar::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: #e06c5b;
  box-shadow: 16px 0 0 #e8c14f, 32px 0 0 #6cc070;
}

.mt-browser img { display: block; width: 100%; height: auto; }

/* Beitragsseiten (Partner, Impressum, Datenschutz) */
.mt .com-content-article { max-width: 880px; }
.mt .com-content-article h1 { margin-bottom: .8em; }
.mt .com-content-article h2 { margin-top: 1.6em; }
.mt .com-content-article h3 { margin-top: 1.4em; }

.mt-fleet {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
  border-top: 1px solid var(--mt-line);
}

.mt-fleet li {
  padding: .7rem 0;
  border-bottom: 1px solid var(--mt-line);
}

.mt-cta {
  margin: 2.5rem 0 1.5rem;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 18px;
  background: var(--mt-brand);
}

.mt-cta h3 { margin: .6em 0 .2em; }
.mt-cta .mt-kicker { background: #fff; }
.mt-cta .mt-actions { margin-top: 1.25rem; }

.mt-badge {
  display: inline-block;
  margin-bottom: .6rem;
  padding: .1rem .55rem;
  border: 1px solid var(--mt-muted);
  border-radius: 6px;
  color: var(--mt-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* FAQ */
.mt-faq-list { margin-top: 1rem; }

.mt details {
  border-bottom: 1px solid var(--mt-line);
}

.mt details > summary {
  position: relative;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-weight: 600;
  color: var(--mt-ink);
  cursor: pointer;
  list-style: none;
}

.mt details > summary::-webkit-details-marker { display: none; }

.mt details > summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1.8rem;
  height: 1.8rem;
  margin-top: -.9rem;
  border-radius: 50%;
  background: var(--mt-brand);
  text-align: center;
  line-height: 1.8rem;
  font-weight: 800;
  transition: transform .2s ease;
}

.mt details[open] > summary::after { transform: rotate(45deg); }
.mt details > :not(summary) { margin: 0 0 1.1rem; max-width: 60em; }

/* ---------- Hauptbereich und Kontakt ---------- */
.mt-main { padding-block: clamp(40px, 6vw, 72px); }

.mt-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
}

@media (max-width: 991.98px) {
  .mt-main__grid { grid-template-columns: 1fr; }
}

.mt main:focus { outline: none; }

.mt-contact__head { max-width: 46em; margin-bottom: 1.75rem; }

.mt-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

@media (max-width: 767.98px) {
  .mt-contact__grid { grid-template-columns: 1fr; }
}

.mt-contact__info address { font-style: normal; margin: 0 0 1rem; }

.mt-contact__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: .4rem;
}

.mt-contact__list [class^="icon-"] { width: 1.25rem; color: var(--mt-muted); }
.mt-contact__misc { font-size: .95rem; color: var(--mt-muted); }

/* Formularfelder (Joomla-Kontaktformular, Visforms) */
.mt .contact-form .well,
.mt .contact-form fieldset { margin: 0; padding: 0; border: 0; background: none; }
.mt .contact-form legend { display: none; }
.mt .contact-form .control-group { margin-bottom: 1rem; }
.mt .contact-form .control-label { margin-bottom: .3rem; font-weight: 700; }

.mt .form-control,
.mt .form-select {
  border: 1.5px solid #cfcab1;
  border-radius: 12px;
  padding: .75rem .95rem;
  font: inherit;
}

.mt .form-control:focus,
.mt .form-select:focus {
  border-color: var(--mt-ink);
  box-shadow: 0 0 0 4px rgb(226 216 128 / 70%);
}

.mt .contact-form textarea { min-height: 150px; }

/* ---------- Fußbereich ---------- */
.mt-footer {
  background: var(--mt-ink);
  color: #d9d6c6;
  padding-top: clamp(48px, 6vw, 72px);
  font-size: .97rem;
}

.mt-footer a { color: #fff; text-decoration-color: var(--mt-brand); }
.mt-footer a:hover { color: var(--mt-brand); }

.mt-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

@media (max-width: 767.98px) {
  .mt-footer__grid { grid-template-columns: 1fr; }
}

.mt-footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.mt-footer__brand .mt-sign { width: 52px; height: 52px; }
.mt-footer__brand strong { color: #fff; font-size: 1.15rem; text-transform: uppercase; }

.mt-footer__title {
  margin: 0 0 .75rem;
  color: var(--mt-brand) !important;
  font-size: .85rem !important;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mt-footer address { font-style: normal; margin-bottom: .75rem; }
.mt-footer .mt-muted { color: #a9a593; }
.mt-footer__links { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .35rem; }
.mt-footer ul.mod-menu { list-style: none; padding: 0; }

.mt-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  padding-block: 20px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: .85rem;
  color: #a9a593;
}

/* ---------- Anruf-Leiste mobil, nach oben ---------- */
.mt-callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: var(--mt-ink);
  color: var(--mt-brand) !important;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 -6px 20px rgb(0 0 0 / 18%);
}

.mt-totop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 91;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--mt-brand);
  color: var(--mt-ink) !important;
  text-decoration: none !important;
  box-shadow: var(--mt-shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

.mt-totop.is-visible { opacity: 1; visibility: visible; }

@media (max-width: 767.98px) {
  .mt-callbar { display: flex; }
  body.mt { padding-bottom: 60px; }
  .mt-totop { bottom: 78px; }
  .mt-topbar__text { display: none; }
  .mt-topbar__inner { justify-content: center; }
}

/* Breadcrumbs */
.mt .mod-breadcrumbs { padding: 0; margin: 0 0 1.5rem; background: none; font-size: .9rem; }
