/* ============================================
   Vojta-AK Hannover – Optimiertes Stylesheet
   Basierend auf dem Artisteer/Vojta12 Theme
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: normal;
  line-height: 1.5;
  color: #7A7A7A;
  min-width: 320px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: url('../images/pageglare.png') top center no-repeat,
              linear-gradient(to bottom, #C4C4C4 0, #FFFFFF 250px) no-repeat;
  background-color: #F0F0F0;
}

a {
  color: #86BD32;
  text-decoration: none;
}

a:hover {
  color: #A0D256;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

ul {
  list-style: none;
}

ol {
  list-style-position: inside;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  padding: 0;
}

/* --- Navigation --- */
.site-nav {
  background: linear-gradient(to bottom, rgba(255,255,255,0.7) 0, rgba(212,212,212,0.7) 100%) no-repeat;
  border: 1px solid rgba(166,166,166,0.7);
  padding: 5px 0;
  position: relative;
  z-index: 499;
}

.site-nav .nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.nav-menu {
  display: inline-block;
  vertical-align: middle;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  display: inline-block;
  float: left;
  position: relative;
}

.nav-menu li a {
  display: block;
  padding: 0 20px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  text-decoration: none;
  color: #828282;
  font-size: 14px;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-weight: bold;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}

.nav-menu li a:hover {
  background: linear-gradient(to bottom, rgba(196,227,149,0.11) 0, rgba(145,203,59,0.05) 100%) no-repeat,
              url('../images/menuhovereditem.png'),
              linear-gradient(to bottom, #BBDF86 0, #9ACF4A 100%) no-repeat;
  color: #3B3B3B;
  text-decoration: none;
}

.nav-menu li a.active,
.nav-menu li.active a {
  background: linear-gradient(to bottom, rgba(173,216,108,0.1) 0, rgba(138,195,52,0.04) 71%, rgba(121,171,46,0.05) 100%) no-repeat,
              url('../images/menuactiveitem.png'),
              linear-gradient(to bottom, #A5D45E 0, #8EC936 71%, #83B931 100%) no-repeat;
  color: #141414;
  text-decoration: none;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  border: 1px solid #404040;
  border-radius: 3px;
  box-shadow: 0 0 3px 0 rgba(0,0,0,0.2);
  background: linear-gradient(to bottom, #707070 0, #000 100%);
  margin: 3px;
  padding: 5px;
  width: 30px;
  cursor: pointer;
  outline: none;
}

.menu-toggle span {
  background: #E0E0E0;
  border-radius: 2px;
  display: block;
  height: 3px;
  margin: 3px 1px;
  transition: background 0.2s;
}

.menu-toggle:hover span {
  background: #f3f3f3;
}

.nav-menu::after {
  content: "";
  display: block;
  clear: both;
}

/* --- Header --- */
.site-header {
  border: 1px solid transparent;
  margin: 0 auto;
  width: 100%;
  max-width: 1100px;
  background: url('../images/header.png') center top no-repeat;
  height: 265px;
  position: relative;
}

.header-decoration {
  position: absolute;
  top: 14px;
  right: 0;
  width: 235px;
  height: 240px;
  background: url('../images/object856787831.png') 0 0 no-repeat;
  z-index: 1;
}

.site-title {
  display: inline-block;
  position: absolute;
  min-width: 50px;
  top: 8px;
  left: 16px;
  z-index: 101;
}

.site-title,
.site-title a,
.site-title a:link,
.site-title a:visited,
.site-title a:hover {
  font-size: 48px;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-style: italic;
  text-decoration: none;
  text-shadow: 1.4px 1.4px 2px rgb(255,255,255), 2.1px 2.1px 2px rgba(23,23,23,0.8);
  color: #383838;
  white-space: nowrap;
  line-height: 1;
}

.site-slogan {
  display: inline-block;
  position: absolute;
  min-width: 50px;
  top: 58px;
  left: 150px;
  z-index: 102;
  white-space: nowrap;
  font-size: 36px;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-style: italic;
  text-shadow: 1.4px 1.4px 2px rgb(255,255,255);
  color: #383838;
  line-height: 1;
}

/* --- Sticky Footer Layout --- */
.site-sheet {
  flex: 1 0 auto;
}

/* --- Content Area --- */
.site-sheet {
  background: transparent;
  border-radius: 5px;
  border: 1px solid transparent;
  margin: 0 auto;
  position: relative;
  max-width: 1100px;
}

.content-area {
  font-size: 16px;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  text-align: left;
  color: #7A7A7A;
}

.content-area p {
  margin: 12px 0;
}

.content-area a,
.content-area a:link {
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  text-decoration: none;
  color: #86BD32;
}

.content-area a:visited {
  color: #86BD32;
}

.content-area a:hover {
  text-decoration: underline;
  color: #A0D256;
}

.content-area h1 {
  color: #787878;
  margin: 10px 0 0;
  font-size: 20px;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

.content-area h2 {
  color: #A0D256;
  margin: 10px 0 0;
  font-size: 18px;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

.content-area h3 {
  color: #787878;
  margin: 10px 0 0;
  font-size: 16px;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

.content-area h4 {
  color: #4D4D4D;
  margin: 10px 0 0;
  font-size: 14px;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

.content-area h5 {
  color: #699528;
  margin: 10px 0 0;
  font-size: 13px;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

.content-area h6 {
  color: #FAFAFA;
  margin: 10px 0 0;
  font-size: 14px;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

/* Page title */
.page-title {
  color: #787878;
  font-size: 20px;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-weight: normal;
  line-height: 1.2;
  margin-bottom: 10px;
}

/* --- Home Page Layout (2-column) --- */
.home-layout {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.home-layout-row {
  display: table-row;
}

.home-main {
  display: table-cell;
  vertical-align: top;
  width: 75%;
  padding: 0 10px;
  color: #7A7A7A;
}

.home-sidebar {
  display: table-cell;
  vertical-align: top;
  width: 25%;
  padding: 0 10px;
  color: #7A7A7A;
}

/* Section headings (green underlined) */
.section-heading {
  padding-bottom: 5px;
  border-bottom: 1px solid #a1c1c4;
  margin: 10px 0 0;
  font-size: 16px;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

.section-heading .green {
  font-size: 22px;
  color: #699528;
}

/* Divider */
.content-divider {
  border-top: 1px solid #7DB12F;
  margin: 10px 0;
}

/* --- Tables --- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

.data-table th {
  text-align: left;
  padding: 8px;
  border-bottom: 2px solid #7DB12F;
  font-weight: bold;
}

.data-table td {
  padding: 8px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

/* --- Contact Form --- */
.contact-form label {
  display: block;
  margin-bottom: 3px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  max-width: 400px;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-family: inherit;
  font-size: 14px;
  margin-bottom: 10px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #86BD32;
  box-shadow: 0 0 3px rgba(134,189,50,0.3);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  background: linear-gradient(to bottom, #ACD76A 0, #8EC936 65%, #7AAD2E 100%) no-repeat;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 0 3px 2px rgba(0,0,0,0.1);
  padding: 6px 20px;
  height: 32px;
  font-size: 12px;
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-submit:hover {
  opacity: 0.9;
}

/* --- Footer --- */
.site-footer {
  flex-shrink: 0;
  background: #333;
  color: #ccc;
  text-align: center;
  padding: 20px;
  margin-top: 10px;
  font-size: 12px;
}

.site-footer a {
  color: #86BD32;
}

.site-footer a:hover {
  color: #A0D256;
}

.footer-credit {
  text-align: right;
  color: #383838;
  margin-top: 8px;
}

.footer-credit a {
  color: #383838;
}

.footer-designer {
  margin-top: 8px;
  font-size: 11px;
}

/* --- Form Messages --- */
.form-message {
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 15px;
}

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-message.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

/* --- Utility --- */
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-bold { font-weight: bold; }

/* --- Responsive --- */
@media (max-width: 1099px) {
  .site-sheet {
    margin: 0 1%;
  }

  .site-header {
    height: auto;
    min-height: 100px;
    text-align: center;
    background-position: center center;
    background-size: cover;
  }

  .site-title {
    position: relative;
    display: block;
    top: auto;
    left: auto;
    margin: 10px;
    text-align: center;
  }

  .site-slogan {
    position: relative;
    display: block;
    top: auto;
    left: auto;
    margin: 0 10px 10px;
    text-align: center;
  }

  .site-title a {
    white-space: normal;
  }

  .header-decoration {
    display: none;
  }

  .home-layout,
  .home-layout-row,
  .home-main,
  .home-sidebar {
    display: block;
    width: 100%;
    padding: 0;
  }

  .data-table, .data-table thead, .data-table tbody,
  .data-table th, .data-table td, .data-table tr {
    display: block;
  }

  .data-table thead {
    display: none;
  }

  .data-table td {
    padding: 8px;
    border: none;
    border-bottom: 1px solid #eee;
  }

  .data-table td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
    color: #699528;
  }

  .data-table tr {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-menu {
    display: none;
    width: 100%;
  }

  .nav-menu.open {
    display: block;
  }

  .nav-menu li {
    float: none;
    display: block;
  }

  .nav-menu li a {
    text-align: left;
    height: auto;
    line-height: normal;
    padding: 10px 20px;
    margin: 1px 0;
  }

  .site-title,
  .site-title a {
    font-size: 32px;
  }

  .site-slogan {
    font-size: 24px;
  }

  .content-area {
    font-size: 14px;
  }
}
