/***** CSS brot.jenninger.de 2026 *****/
/*************************************/

/* Fonts */

/* PT Sans Regular */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url('../fonts/pt-sans-v9-latin-regular.woff2') format('woff2'),
    url('../fonts/pt-sans-v9-latin-regular.woff') format('woff');
}

/* PT Sans Italic */
@font-face {
  font-family: 'PT Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src:
    url('../fonts/pt-sans-v9-latin-italic.woff2') format('woff2'),
    url('../fonts/pt-sans-v9-latin-italic.woff') format('woff');
}

/* PT Sans Bold */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    url('../fonts/pt-sans-v9-latin-700.woff2') format('woff2'),
    url('../fonts/pt-sans-v9-latin-700.woff') format('woff');
}

/* PT Sans Bold Italic */
@font-face {
  font-family: 'PT Sans';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src:
    url('../fonts/pt-sans-v9-latin-700italic.woff2') format('woff2'),
    url('../fonts/pt-sans-v9-latin-700italic.woff') format('woff');
}

/* PT Sans Narrow Regular */
@font-face {
  font-family: 'PT Sans Narrow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url('../fonts/pt-sans-narrow-v9-latin-regular.woff2') format('woff2'),
    url('../fonts/pt-sans-narrow-v9-latin-regular.woff') format('woff');
}

/* PT Sans Narrow Bold */
@font-face {
  font-family: 'PT Sans Narrow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    url('../fonts/pt-sans-narrow-v9-latin-700.woff2') format('woff2'),
    url('../fonts/pt-sans-narrow-v9-latin-700.woff') format('woff');
}

html {
  color: #000;
  background-color: #fff;
}

body {
  margin: 0;
  padding: 0;
  background: #fff;
  font-family: 'PT Sans Narrow', sans-serif;
  color: #000;
}

h1, h2, h3, h4, .h1 {
  font-family: 'PT Sans Narrow', sans-serif;
  font-weight: normal;
}

/* SMALL */
h1, .h1 {font-size: 1.6em;}
h2 {font-size: 1.7em;}
h2.galtitel {font-size: 1.2em;}
h3 {font-size: 1.4em;}
h4 {font-size: 1em;}
.titeltext {padding-left:8px;}

.einstieg {padding: 12px;}
.einstieg h1, .einstieg .h1 {margin-top: 0.3em; font-size: 1.5em; letter-spacing: 0.012em; color: #fff;}
.hometitel {font-size: 1.8em;}

/* MEDIUM */
@media screen and (min-width: 640px) {
    h1, .h1 {font-size: 1.8em;}
    .einstieg h1, .einstieg .h1 {margin-top: 0.5em; font-size: 1.6em;}
    .hometitel {font-size: 2em;}
}

/* LARGE */
@media screen and (min-width: 1024px) {
    h1, .h1 {font-size: 2em;}
    .einstieg {padding: 8px;}
    .einstieg h1, .einstieg .h1 {margin-top: 0.9em;}
    .hometitel {font-size: 2.4em;}
}

a {
  color: #000;
}

a:hover {
  color: #466BB2;
}

label {
  color: #000;
}

.button {
  background-color: #466BB2;
}

.button:focus,
.button:hover {
  background-color: #0d4ec6;
}

input[type="text"],
input[type="date"],
input[type="number"],
textarea {
  background-color: #fff;
  border: 1px solid #ccc;
  color: #000;
}

input[type="text"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
textarea:focus {
  background-color: #333;
  border: 1px solid #ccc;
  color: #fff;
}


/* --------------------------------------------------
   Hauptnavigation
-------------------------------------------------- */

.brot-logo{display:flex;align-items:center;height:50px}
.brot-logo img{display:block;width:180px;height:50px;object-fit:contain}

.nav-wrapper {
  width: 100%;
  position: relative;
  z-index: 10000;
  background-color: #fff;
}

.title-bar {
  width: 100%;
  height: 60px;
  padding: 0;
  box-sizing: border-box;
  background-color: #fff;
  z-index: 10000;
  border-bottom:2px solid #822303;
}

.nav-inner {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.title-bar-left {
  flex: 0 0 auto;
}

.title-bar-left img {
  max-height: 55px;
  height: 100%;
  width: auto;
  display: block;
}

.title-bar-right {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.main-nav .nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  position: relative;
  margin: 0;
  padding: 0.7rem 1rem;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  color: #000;
  cursor: pointer;
}

.nav-dropdown-toggle:hover {
  color: #466BB2;
}

.nav-dropdown-toggle::after,
.mobile-dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  margin-left: 0.45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.15em) rotate(45deg);
}

.nav-dropdown-toggle[aria-expanded="true"]::after,
.mobile-dropdown-toggle[aria-expanded="true"]::after {
  transform: translateY(0.1em) rotate(225deg);
}

.main-nav .nav-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background-color: #466BB2;
  z-index: 10001;
}

.main-nav .nav-submenu li {
  display: block;
  width: 100%;
}

.main-nav .nav-submenu a {
  display: block;
  width: 100%;
  padding: 0.6rem 1rem;
  color: #fff;
  white-space: nowrap;
}

.main-nav .nav-submenu a:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.12);
}


/* Login / Logout */

.nav-login {
  color: #ccc !important;
  padding: 0 0.5rem;
}

.nav-login svg {
  fill: #ccc !important;
  vertical-align: middle;
}

.nav-login:hover,
.nav-login:focus {
  color: #ccc !important;
}

.nav-login:hover svg,
.nav-login:focus svg {
  fill: #ccc !important;
}

input[type="password"] {
  background-color: #fff;
  border: 1px solid #ccc;
  color: #000;
}

input[type="password"]:focus {
  background-color: #333;
  border: 1px solid #ccc;
  color: #fff;
}


/* Hamburger */

#hamburger-toggle {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

#hamburger-toggle svg rect {
  fill: #000;
}

#hamburger-toggle:hover svg rect {
  fill: #444;
}


/* Mobile Navigation */

#mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  right: 0;
  background-color: #466BB2;
  color: #fff;
  padding: 1.5rem;
  z-index: 10002;
  font-size: 1.25rem;
  line-height: 1.6;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

#mobile-nav a {
  color: #fff;
  text-decoration: none;
}

#mobile-nav a:hover {
  color: #fff;
}

.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
}

.mobile-menu > li {
  margin-bottom: 0.8rem;
}

.mobile-dropdown-toggle {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: #fff;
  cursor: pointer;
}

.mobile-submenu {
  display: none;
  list-style: none;
  margin: 0.4rem 0 0.8rem 0;
  padding: 0;
  font-size: 0.9em;
}

.mobile-submenu li {
  margin: 0.25rem 0;
}

.mobile-submenu a {
  color: #ddd;
}


/* --------------------------------------------------
   Contentbereich
-------------------------------------------------- */

.toppad {margin-top: 2em;}

.einstieg {background-color: #374256;color: #fff;}
.einstieg a {color: #fff;}

.site-footer{margin-top:4rem;padding:1rem 0;border-top:2px solid #822303;font-size:.85rem}
.site-footer a{color:#555}
.site-footer a:hover{color:#822303}
