/* Desktop-Organisation – Homepage
   Aufbau und Farben folgen bewusst der Homepage der zero-Buchhaltung (Grips mbH),
   damit beide Seiten als Programme desselben Hauses erkennbar sind. */

body {
  font-family: Arial, Helvetica, Verdana, sans-serif;
  line-height: 20px;
  background-color: #EFEFEF;
  margin: 8px;
}

#wrapper {
  width: 1024px;
  margin-left: 20px;
  padding: 5px;
  background-color: white;
  border: 3px solid #CFCFCF;
}

/* Kopf */
#b1 {
  background-color: #006666;
  width: 1024px;
  height: 115px;
  padding-top: 16px;
  display: block;
  box-sizing: content-box;
}
#logo {
  width: 190px;
  height: 42px;
  float: left;
  margin-left: 20px;
  background-image: url('img/marke_desktop.svg');
  background-repeat: no-repeat;
}
#logo a { display: block; width: 100%; height: 100%; }
#titel {
  width: 130px;
  height: 80px;
  color: white;
  float: left;
  margin-left: 40px;
}
.kopficon {
  width: 80px;
  height: 80px;
  float: right;
  margin-right: 20px;
  background-repeat: no-repeat;
}
#icon1 { background-image: url('img/icon01.svg'); }
#icon2 { background-image: url('img/icon08.svg'); }
#icon3 { background-image: url('img/icon09.svg'); }

/* Hauptmenü */
#Menu {
  width: 1044px;
  display: block;
  height: 70px;
  clear: both;
}
#Menu ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
  height: 90px;
}
#Menu li {
  background-color: #006666;
  list-style-type: none;
  float: left;
  width: 187px;
  margin-left: 0;
  margin-right: 21px;
  margin-top: 16px;
  text-align: center;
  padding: 3px 0 3px 0;
  font-size: 14px;
}
#Menu li a {
  color: white;
  text-decoration: none;
  display: block;
}
#Menu li a:hover,
#Menu li a:focus {
  color: yellow;
  letter-spacing: 3px;
  font-weight: bold;
}
#Menu li.aktiv a { color: yellow; }

/* Inhaltsbereich */
#content {
  position: relative;
  width: 1024px;
}
#content::after { content: ""; display: block; clear: both; }

#linksIcon {
  background-image: url('img/lefticon.svg');
  background-repeat: no-repeat;
  width: 50px;
  height: 200px;
  float: left;
}

#internesMenu {
  float: left;
  width: 200px;
}
#internesMenu ul { padding-left: 40px; }
#internesMenu a { color: black; }
#internesMenu a:hover { color: #006666; }
#internesMenu li {
  list-style-type: none;
  text-align: right;
  margin: 0 10px 0;
  font-size: 12px;
}
#internesMenu li.aktiv a { color: #006666; font-weight: bold; }
#internesMenu h2 {
  text-align: right;
  margin: 30px 0 0;
  color: #006666;
  font-size: 14px;
}

#inhalt {
  margin-left: 300px;
  width: 700px;
  color: black;
  font-size: 12px;
}
#inhalt h1 { font-size: 18px; margin-top: 18px; }
#inhalt h2 { font-size: 16px; }
#inhalt h3 { font-size: 14px; }
#inhalt p, #inhalt li { font-size: 12px; }
#inhalt a { color: #006666; }
#inhalt a:hover { color: #004040; }
#inhalt code { font-family: Consolas, "Courier New", monospace; background: #F2F2F2; padding: 0 3px; }
#inhalt kbd {
  font-family: Consolas, "Courier New", monospace;
  border: 1px solid #AAAAAA;
  border-bottom-width: 2px;
  background: #FAFAFA;
  padding: 0 4px;
  font-size: 11px;
}

.bild { text-align: center; margin: 16px 0 4px; }
.bild img { max-width: 100%; height: auto; border: 1px solid #CFCFCF; }
.bildtext { text-align: center; color: gray; font-size: 11px; margin-top: 0; }

/* Download-Kasten im Stil des Hauptmenüs */
.download {
  border: 2px solid #006666;
  padding: 10px 16px;
  margin: 14px 0;
  background: #F4F9F9;
}
#inhalt .download a.knopf {
  display: inline-block;
  background: #006666;
  color: white;
  text-decoration: none;
  padding: 4px 20px;
  font-size: 14px;
  margin: 4px 0;
}
#inhalt .download a.knopf:hover { color: yellow; }
.klein { color: gray; font-size: 11px; }

/* Merkmale: drei Spalten wie die drei Symbole im Kopf */
.merkmale { width: 100%; border-collapse: collapse; margin: 10px 0; }
.merkmale td { vertical-align: top; padding: 4px 10px 4px 0; width: 33%; font-size: 12px; }
.merkmale img { float: left; width: 34px; height: 34px; margin: 2px 8px 4px 0; }
.merkmale b { color: #006666; }

table.liste { border-collapse: collapse; margin: 8px 0; }
table.liste th, table.liste td { border: 1px solid #CFCFCF; padding: 3px 8px; text-align: left; vertical-align: top; font-size: 12px; }
table.liste th { background: #E6F0F0; }

.hinweis { border-left: 4px solid #006666; background: #F4F9F9; padding: 4px 10px; margin: 10px 0; }

#bottom {
  width: 1024px;
  height: 40px;
  padding-top: 16px;
  display: block;
  clear: both;
}
#bottom p { color: gray; font-size: 12px; margin: 0 0 0 20px; }
#bottom a { color: gray; }

/* Schmale Fenster und Mobilgeräte */
@media screen and (max-width: 1090px) {
  body { margin: 0; }
  #wrapper, #b1, #content, #bottom { width: auto; }
  #wrapper { margin: 0; border-width: 0; }
  #Menu { width: auto; height: auto; }
  #Menu ul { height: auto; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
  #Menu li { float: none; width: auto; flex: 1 1 140px; margin: 0; }
  #linksIcon { display: none; }
  #internesMenu { float: none; width: auto; }
  #internesMenu ul { padding-left: 16px; margin: 8px 0; }
  #internesMenu li { text-align: left; display: inline-block; margin: 0 14px 0 0; }
  #internesMenu h2 { display: none; }
  #inhalt { margin: 0; width: auto; padding: 0 16px; }
}
@media screen and (max-width: 640px) {
  #b1 { height: auto; padding-bottom: 12px; }
  #b1::after { content: ""; display: block; clear: both; }
  .kopficon { display: none; }
  #titel { height: auto; margin-left: 20px; }
  .merkmale td { display: block; width: auto; }
}

@media print {
  #wrapper { width: auto; margin-left: 20px; border: 0 none; }
  #b1 { background: none; height: auto; }
  #logo, .kopficon, #linksIcon, #Menu, #internesMenu { display: none; }
  #titel { width: auto; height: auto; float: none; color: gray; margin-left: 20px; margin-bottom: 50px; font-size: 20pt; }
  #inhalt { margin-left: 20px; width: auto; font-size: 14pt; line-height: 20pt; }
  #inhalt h1 { font-size: 20pt; }
  #inhalt h2 { font-size: 18pt; line-height: 22pt; }
  #inhalt h3 { font-size: 16pt; line-height: 22pt; }
  #inhalt p { font-size: 14pt; text-align: justify; line-height: 20pt; }
}

/* Registrierungsformular */
#inhalt p.preis { border-left: 4px solid #006666; background: #F4F9F9; padding: 6px 10px; font-size: 14px; }
.hidden { display: none; }
#inhalt .zeile { margin: 6px 0; }
#inhalt .zeile label { display: inline-block; width: 140px; vertical-align: top; padding-top: 3px; font-size: 12px; }
#inhalt .zeile input[type=text], #inhalt .zeile input[type=email], #inhalt .zeile input[type=number], #inhalt .zeile select, #inhalt .zeile textarea {
  width: 300px; max-width: 100%; box-sizing: border-box; padding: 3px 6px; border: 1px solid #CFCFCF; font: inherit; font-size: 13px;
}
#inhalt .zeile .kurz { width: 140px; }
#inhalt .zeile textarea { width: 400px; }
#inhalt .zeile img { vertical-align: middle; cursor: pointer; border: 1px solid #CFCFCF; }
#inhalt .zeile input.errorFrame { border-color: #B00020; }
#inhalt .fehler { color: #B00020; font-size: 12px; display: block; margin-left: 144px; }
#inhalt p.fehler { margin-left: 0; }
#inhalt .fehler.hidden { display: none; }
#inhalt button.knopf { background: #006666; color: white; border: 0; padding: 5px 20px; font-size: 14px; margin: 4px 0 4px 144px; cursor: pointer; }
#inhalt button.knopf:hover { color: yellow; }
#inhalt button.knopf:disabled { background: gray; cursor: default; }
#AnwserArea button.knopf { margin-left: 0; }
@media screen and (max-width: 640px) {
  #inhalt .zeile label { display: block; width: auto; }
  #inhalt .fehler, #inhalt button.knopf { margin-left: 0; }
}
