

    .logo-box{
        max-height: 5rem;
        max-width: 5rem;
    }

  .logo-box2{
    max-height: 13rem;
    max-width: 13rem;
  }

  .img-home{
    max-width: 100%;
}

  .card{
      background-color: #fff;
      min-height: 33rem;
      border-radius: 2%
  }
  .card-logo{
      padding: 1rem, 1rem, 1rem, 1rem;
  }

  header.masthead:before {
    opacity: 0;
  }

  .address-p p {
      font-size: small;
      margin-bottom: 0.2rem;
      padding-left:0rem
  }

  .vr {
    width: 3px;
    opacity: 1;
  }
  ul {
    padding-left: 0rem;
    list-style-type: none;
    font-size:small;
  }
  show-bullets{
    list-style-type: disc;
  }

  ul li {
      padding-bottom:0.4rem
  }

  .dot {
    width: 4em;
    height: 4em;
  }
  
  .dot:hover {
    cursor:pointer;
  }

  .jslink{
    cursor:pointer;
  }

  .dotBig {
    width: 5em;
    height: 5em;
    padding: 0px;
  }

  .navbar-expand-lg .offcanvas-body {
    display: flex;
    flex-grow: 0;
    padding: 0;
    overflow-y: visible;
  }

  p{
    font-size:small;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }

  body{
    font-family: "Open Sans";
    background-color: #F9F9F9;
  }

  .patent-box{
    background: var(--bwp-blue);
    color: #fff;
    padding-left: 3%;
    font-size:smaller;
  }
  .patent-box p{
    padding-left: 0rem;
  }

  .anwalt-box{
    background: var(--bwp-red);
    color: #fff;
    padding-left: 3%;
    font-size:smaller;
  }

  .anwalt-box p{
    padding-left: 0rem;
  }

  

  .anwalt-box-small{
    font-size:small;
  }
  
  .anwalt-contact{
    padding-top: 0.1rem;
    padding-bottom:0.1rem;
    color: #373f43;
    font-size:small;
  }

  .anwalt-image{
    padding:0%;
  }

.rechtsgebiete p{
  margin-bottom: 1.5em;
}

.rechtsgebiete{
  padding-top: 3em;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link {
  color: var(--bwp-grey);
}

#mainNav .navbar-nav > li.nav-item > a.nav-link:active,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus,
#mainNav .navbar-nav > li.nav-item > a.nav-link:hover {
  color: var(--bwp-blue);
}


:root{
  --bwp-blue: #0071B7;
  --bwp-red: #D70F7A;
  --bwp-grey: #4e4d4d;
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a::selection {
  text-decoration: none;
  color: var(--bwp-blue);
}

a:hover {
  text-decoration: none;
  color: var(--bwp-red);
}

h1, .h1 {
  font-size: calc(1.275rem + 0.3vw);
  font-weight: 600;
}
@media (min-width: 1200px) {
  h, .h1 {
    font-size: 1.5rem;
  }
}

h2{
  font-weight: 700;
}


h3{
  font-weight: 600;
}

h4{
  font-weight: 600;
}

h5{
  font-weight: 500;
}


ul.dropdown-menu.show{
  width: auto;
}
div.dropdown-menu.show{
  width: auto;
  background: none;
  border: none;
}
.dropdown-item.active, .dropdown-item:active {
  background-color: #e9ecef;
}

.border-left-blue{
  border: none;
  border-left: 6px solid var(--bwp-blue) ;
}
.border-left-red{
  border: none;
  border-left: 6px solid var(--bwp-red);
}
.border-left-blue>li>a,
.border-left-red>li>a{
  font-weight: bolder;
  font-size: smaller;
  color: var(--bwp-grey);
}
.border-left-blue>li>a:hover,
.border-left-red>li>a:hover{
  color: var(--bwp-grey);
}

button{
  border:0;
}

#languageDropdown + .dropdown-menu {
  margin-top: -14px;
}

#navbarDarkDropdownMenuLink + .dropdown-menu {
  margin-top: -6px;
}

/* Erzwinge Open Sans für die gesamte Seite */
body, body * {
  font-family: "Open Sans", sans-serif !important;
}

/* Flag-only language selector: local SVGs render consistently across devices. */
#mainNav .language-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.language-flag {
  display: block;
  width: 24px;
  height: 16px;
  object-fit: contain;
}
#languageDropdown + .language-menu {
  min-width: 56px;
  width: 56px;
  padding: 4px;
  margin-top: 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}
.language-menu li { padding: 0; }
.language-menu .dropdown-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px;
}
.language-toggle:focus-visible,
.language-menu .dropdown-item:focus-visible {
  outline: 2px solid var(--bwp-blue);
  outline-offset: 2px;
}

/* Intrinsic dimensions reserve image space; CSS keeps images responsive. */
img { max-width: 100%; height: auto; }
.modal-trigger {
  border: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.modal-trigger:not(.patent-box):not(.anwalt-box) { background: transparent; color: inherit; }
.modal-trigger.row { width: calc(100% + var(--bs-gutter-x)); }
.modal-trigger .trigger-subtitle { font-size: small; margin: 0.7rem 0; }
.modal-trigger:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--bwp-blue);
  outline-offset: 3px;
}
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 2000; padding: 0.75rem 1rem; background: #fff; color: #0071B7; }
.skip-link:focus { top: 1rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { transition: none !important; }
}
.modal-trigger.dot { display: block; }
