/* CSS für Navigation Layout und Google Play Button */

/* Container für geteilte Navigation */
.md-tabs__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Hauptnavigation links */
.md-tabs__main {
  display: flex;
  align-items: center;
}

/* Rechtliche Seiten rechts */
.md-tabs__legal {
  display: flex;
  align-items: center;
  margin-left: auto;
}

/* Listen in beiden Containern */
.md-tabs__main .md-tabs__list,
.md-tabs__legal .md-tabs__list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Responsive: Bei kleineren Bildschirmen vertikal stapeln */
@media screen and (max-width: 76.25em) {
  .md-tabs__container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .md-tabs__legal {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

/* Google Play Button Container - jetzt innerhalb der Navigation */
.google-play-container {
  display: inline-flex;
  align-items: center;
  margin-right: 0.5rem;
}

/* Footer Digital Design UG Link Styling */
.md-copyright__highlight a {
  transition: color 0.3s ease;
}

.md-copyright__highlight a:hover {
  color: #8c8cf0 !important;
  text-decoration: underline !important;
}

/* Version Link im Header */
.md-header__version {
  display: inline-flex;
  align-items: center;
  margin-right: 0.5rem;
}

.md-header__version-link {
  display: inline-block;
  padding: 0.5rem 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: currentColor;
  text-decoration: none;
  border-radius: 7px;
  font-size: 0.5rem;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.md-header__version-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  text-decoration: none;
  color: currentColor;
}

/* Responsive für Version Link */
@media screen and (max-width: 768px) {
  .md-header__version {
    margin-right: 0.3rem;
  }
  
  .md-header__version-link {
    padding: 0.15rem 0.4rem;
    font-size: 0.7rem;
  }
}

.google-play-btn {
  display: inline-block;
  transition: transform 0.2s ease;
}

.google-play-btn:hover {
  transform: scale(1.05);
}

.google-play-btn img {
    height: 35px;
    width: auto;
    border-radius: 4px;
    margin-top: 4px;
}

/* Responsive für verschiedene Bildschirmgrößen */
@media screen and (max-width: 768px) {
  .google-play-btn img {
    height: 20px;
  }
}

@media screen and (max-width: 480px) {
  .google-play-btn img {
    height: 18px;
  }
}
.md-header__button.md-logo img, .md-header__button.md-logo svg {
    fill: currentcolor;
    display: block;
    height: 2.2rem;
    width: auto;
}
@media screen and (min-width: 60em) {
    .md-search__form {
        background-color: #00000042;
        height: 1.7rem;
        border-radius: 9px;
    }
}
.md-header {
    background-color: #232535;
    box-shadow: 0 0 .2rem #0000, 0 .2rem .4rem #0000;
    color: var(--md-primary-bg-color);
    display: block;
    left: 0;
    position: sticky;
    right: 0;
    top: 0;
    z-index: 4;
}
.md-tabs {
    background-color: #6c68e9;
    color: var(--md-primary-bg-color);
    display: block;
    line-height: 1.3;
    overflow: auto;
    width: 100%;
    z-index: 3;
}

.md-header__topic span.md-ellipsis {
    background: #6c68e9;
    padding: 2px 13px 2px 13px;
    border-radius: 10px;
    font-size: 0.6rem;
    display: flex
;
    height: 38px;
    align-items: center;
    align-content: center;
    margin-top: 9px;
;
}
a.md-tabs__link {
    font-weight: 600;
    font-size: 0.6rem;
}
@media screen and (min-width: 60em) {
    [dir=ltr] .md-search__input {
        padding-left: 2.2rem;
        font-size: 0.6rem;
    }
}

/* Dark Mode Main Background */
[data-md-color-scheme="slate"] .md-main {
    background-color: #242535;
}

[data-md-color-scheme="slate"] .md-content {
    background-color: #242535;
}
.md-nav__link .md-ellipsis {
    position: relative;
    font-size: 0.6rem;
}

/* Admonitions nebeneinander */
.admonition-row {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.admonition-row > .admonition {
    flex: 1;
    margin: 0;
}

/* Responsive: auf kleineren Bildschirmen untereinander */
@media screen and (max-width: 768px) {
    .admonition-row {
        flex-direction: column;
        gap: 10px;
    }
}
.md-typeset h1, .md-typeset h2 {
    letter-spacing: -.01em;
    color: black;
}

[data-md-color-scheme="slate"] .md-typeset h1, [data-md-color-scheme="slate"] .md-typeset h2 {
    letter-spacing: -.01em;
    color: white;
}

.cards p {
    font-size: 13px;
}
.cards strong {
        font-size: 13px;
        font-weight: 600;
}
.cards #auto-dashboard strong {
    font-size: 19px;
}
.cards #standard-dashboard strong {
    font-size: 19px;
}
.cards #standard-dashboard p {
    font-size: 13px;
}
.cards #auto-dashboard p {
    font-size: 13px;
}
.cards hr {
    margin-bottom: 8px!important;
    margin-top: 8px!important;
}
h3#standard-dashboard {
    margin: 0;
}
h3#auto-dashboard {
    margin: 0;
}
.admonition video {
    margin-top: -1px;
    margin-bottom: 0px !important;
    
}

/* Startseite Dashboard Bild */
.startseiteimage {
    margin-bottom: -119px;
}

/* Verstecke automatische Seitentitel (H1) */
.md-typeset h1:first-child {
    display: none !important;
}

/* Entferne Aufzählungszeichen aus Listen */
.admonition ul {
    list-style: none !important;
    padding-left: 0 !important;
}

/* Käufer/Verkäufer Kacheln */
.buyer-box {
    background: rgba(40, 167, 69, 0.10); /* leichtes Grün */
    border-left: 4px solid #28a745;
}

.seller-box {
    background: rgba(255, 193, 7, 0.12); /* leichtes Gelb */
    border-left: 4px solid #ffc107;
}

.buyer-box .admonition-title,
.seller-box .admonition-title {
    font-weight: 700;
}

.buyer-box ul li,
.seller-box ul li {
    margin: 6px 0;
}

/* Mermaid Diagramm volle Breite */
.mermaid {
    width: 100% !important;
    max-width: none !important;
    margin: 20px 0 !important;
    overflow-x: auto !important;
}

.mermaid svg {
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    min-width: 1000px !important;
}


.md-typeset .buyer-box, details {
    color: var(--md-admonition-fg-color);
    display: flow-root;
    font-size: .64rem;
    margin: 1.5625em 0;
    padding: 0 .6rem;
    page-break-inside: avoid;
    transition: box-shadow 125ms;
}
.md-typeset  .buyer-box-title {
    background: #e1dfff;
}


.md-typeset .seller-box, details {
    background-color: none;
    border:none
    border-radius: .2rem;
    color: var(--md-admonition-fg-color);
    display: flow-root;
    font-size: .64rem;
    margin: 1.5625em 0;
    padding: 0 .6rem;
    page-break-inside: avoid;
    transition: box-shadow 125ms;
}
.md-search-result__item:first-child {
    box-shadow: none;
    padding-left: 34px;
    padding-right: 34px;
}
.md-typeset  .seller-box-title {
    background: #ffdffb;
}

input.md-search__input.focus-visible {
    font-weight: 800;
    font-size: 20px;
}

.md-search-result__more>summary:hover {
    background-color: none;
}

/* Auto Dashboard Box mit schwarzem Border */
.md-typeset .auto-admonition {
    border: .075rem solid #000000;
    border-radius: .2rem;
    box-shadow: var(--md-shadow-z1);
}

/* Entferne Marker vor den Box-Titeln */
.buyer-box-title::before,
.seller-box-title::before,
.autodashboard-title-admonition::before,
.standart-title-admonition::before {
    content: none !important;
}
.autodashboard-title-admonition {
    background:#00000017;
}
.autodashboard-title-admonition  {
    font-size: 16px;
    padding-left: 13px;
}
 .standart-title-admonition  {
    font-size: 16px;
    padding-left: 13px;
}

/* Marken Container mit Text und Bild */
.marken-container {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin: 1rem 0;
}

.marken-text {
    flex: 0 0 70%;
}

.marken-text-content,
.marken-text-autodashboard {
    font-weight: 400;
    font-size: 1.1em;
    margin: 0;
}
.marken-text-autodashboard {
    flex: 0 0 45%;
}
.marken-image {
    flex: 0 0 50%;
}

.marken-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .marken-container {
        flex-direction: column;
    }
    
    .marken-text,
    .marken-image {
        flex: 0 0 100%;
    }
}
.md-typeset hr {
    border-bottom: .05rem solid var(--md-default-fg-color--lightest);
    display: flow-root;
    margin: 4.5em 0;
}
[data-md-toggle=search]:checked~.md-header .md-search__form {

    border-radius: .1rem .1rem 0 0;
    box-shadow: 0 0 .6rem #00000012;
    color: var(--md-default-fg-color);
}
