/* Brandhofer Technik – blaues Mittelstand-Design (~2014) */
:root {
  --blue-dark: #0b3d6e;
  --blue: #1a5f9e;
  --blue-mid: #2e7dcc;
  --blue-light: #e8f1f9;
  --gray-bg: #f0f2f5;
  --border: #c5d0dc;
  --text: #222;
  --muted: #555;
  --white: #fff;
  --max: 960px;
  --font: Arial, Verdana, "Lucida Sans", "Lucida Sans Unicode", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--gray-bg);
  min-height: 100vh;
}

a { color: var(--blue); text-decoration: underline; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; border: 0; display: block; }

.wrap { width: min(100% - 24px, var(--max)); margin-inline: auto; }

/* Top strip */
.top-strip {
  background: #083056;
  color: #c8d8e8;
  font-size: 12px;
  padding: 5px 0;
  border-bottom: 1px solid #06243f;
}
.top-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: flex-end;
  align-items: center;
}
.top-strip a { color: #d6e6f5; text-decoration: none; }
.top-strip a:hover { text-decoration: underline; color: #fff; }

/* Header bar */
.site-header {
  background: var(--blue-dark);
  border-bottom: 3px solid var(--blue-mid);
  box-shadow: 0 2px 4px rgba(0,0,0,0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}
.brand {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 0.3px;
  font-family: Verdana, Arial, sans-serif;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.25);
}
.brand:hover { color: #fff; text-decoration: none; }
.brand span {
  display: block;
  font-size: 11px;
  font-weight: normal;
  color: #a8c4de;
  letter-spacing: 0.5px;
  margin-top: 1px;
}

.nav { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.nav a {
  color: #e4eef8;
  text-decoration: none;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: bold;
  border: 1px solid transparent;
  border-radius: 3px;
}
.nav a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
}
.nav a.active {
  background: var(--blue);
  border-color: #0a4a7a;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

.menu-toggle {
  display: none;
  background: var(--blue);
  border: 1px solid #0a4a7a;
  color: #fff;
  border-radius: 3px;
  padding: 6px 10px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 13px;
  font-weight: bold;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  border-bottom: 1px solid #083056;
  position: relative;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}
.hero-inner {
  position: relative;
  padding: 36px 0 32px;
  z-index: 1;
}
.hero h1 {
  margin: 0 0 10px;
  font-size: 28px;
  font-family: Verdana, Arial, sans-serif;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.35);
  letter-spacing: 0;
}
.hero-lead {
  margin: 0 0 18px;
  font-size: 15px;
  max-width: 560px;
  color: #e4eef8;
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Bevelly buttons (2014 corporate) */
.btn {
  display: inline-block;
  padding: 8px 16px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: bold;
  text-decoration: none !important;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 1px 2px rgba(0,0,0,0.2);
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}
.btn-primary {
  background: linear-gradient(180deg, #4a9ae0 0%, #1a5f9e 55%, #0f4a7a 100%);
  border-color: #0a3d66;
  color: #fff !important;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #5aa8eb 0%, #2270b5 55%, #145788 100%);
  color: #fff !important;
}
.btn-secondary {
  background: linear-gradient(180deg, #f7f9fb 0%, #dce3ea 100%);
  border-color: #9aadb8;
  color: #1a3a55 !important;
  text-shadow: none;
}
.btn-secondary:hover {
  background: linear-gradient(180deg, #fff 0%, #e8eef4 100%);
  color: #0b3d6e !important;
}

/* Content boxes */
.content {
  padding: 22px 0 28px;
}
.box {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 16px 18px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.box h2 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--blue-dark);
  font-family: Verdana, Arial, sans-serif;
  border-bottom: 2px solid var(--blue-mid);
  padding-bottom: 6px;
}
.box h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--blue);
}
.box p { margin: 0 0 10px; color: var(--text); }
.box p:last-child { margin-bottom: 0; }
.box ul { margin: 0 0 10px; padding-left: 18px; color: var(--text); }
.box li { margin: 3px 0; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--blue-dark);
  font-family: Verdana, Arial, sans-serif;
}
.card p { margin: 0; color: var(--muted); font-size: 13px; }
.card ul { margin: 8px 0 0; padding-left: 16px; color: var(--muted); font-size: 13px; }
.card-img {
  margin: -14px -14px 12px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 140px;
  background: #d8e2ec;
}
.card-img img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.feature-img {
  border: 1px solid var(--border);
  margin-bottom: 12px;
}
.feature-img img { width: 100%; }

.band {
  background: var(--blue-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  margin: 0 0 16px;
}
.band-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: center;
}
.band p { margin: 0; color: var(--text); font-size: 13px; }
.band strong { color: var(--blue-dark); }

.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dotted var(--border);
}
.steps li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.step-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: linear-gradient(180deg, var(--blue-mid), var(--blue));
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
  line-height: 24px;
  border-radius: 3px;
  border: 1px solid var(--blue-dark);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: var(--muted);
  margin: 10px 0 3px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 7px 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font: inherit;
  border-radius: 2px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-mid);
  background: #fafcfe;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .form-actions { margin-top: 12px; }
.contact-meta dt {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 12px;
}
.contact-meta dd { margin: 2px 0 0; }
.contact-meta a { font-weight: bold; text-decoration: none; }
.contact-meta a:hover { text-decoration: underline; }

/* Legal pages */
.page-title {
  background: var(--white);
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--blue);
  padding: 12px 18px;
  margin-bottom: 16px;
}
.page-title h1 {
  margin: 0;
  font-size: 22px;
  color: var(--blue-dark);
  font-family: Verdana, Arial, sans-serif;
}
.page-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.legal-box h2 {
  margin: 18px 0 6px;
  font-size: 15px;
  color: var(--blue-dark);
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
}
.legal-box h2:first-child { margin-top: 0; }
.legal-note {
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--blue-light);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--blue-dark);
  color: #a8c4de;
  font-size: 12px;
  padding: 16px 0;
  margin-top: 8px;
  border-top: 3px solid var(--blue-mid);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links a { color: #c8d8e8; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 760px) {
  .grid-2, .grid-3, .contact-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .hero h1 { font-size: 22px; }
  .top-strip .wrap { justify-content: flex-start; }
}
