/* ===== Level one electronX IT.Service ===== */
/* Schlanke, barrierefreie Stylesheet ohne JavaScript-Pflicht */

:root {
  --blue: #14344b;
  --teal: #1a7f8a;
  --teal-dark: #14606a;
  --light: #f2f6f8;
  --text: #25313a;
  --border: #d7e1e6;
  --white: #ffffff;
  --max: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* --- Kopfbereich --- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--teal);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--blue);
  line-height: 1.2;
}

.brand strong { font-size: 1.25rem; letter-spacing: 0.02em; }

.brand span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--blue);
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] { border-bottom-color: var(--teal); }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 64px 0;
}

.hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 12px; }

.hero p { font-size: 1.15rem; max-width: 46rem; margin: 0 0 24px; }

.hero .lead-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid transparent;
}

.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); }

.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn-dark { background: var(--blue); color: var(--white); }

/* --- Abschnitte --- */
section { padding: 48px 0; }
section.alt { background: var(--light); }

h2 { color: var(--blue); font-size: 1.6rem; margin-top: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  border-radius: 6px;
  padding: 22px;
}

.card h3 { margin: 0 0 8px; color: var(--blue); font-size: 1.1rem; }
.card p { margin: 0; font-size: 0.95rem; }

/* --- Soforthilfe-Banner --- */
.hotline-banner {
  background: var(--teal);
  color: var(--white);
  text-align: center;
  padding: 26px 20px;
}

.hotline-banner p { margin: 0 0 6px; font-size: 1.1rem; }
.hotline-banner a {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
}
.hotline-banner a:hover { text-decoration: underline; }

/* --- Listen und Text --- */
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* --- Kontakt --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

address { font-style: normal; }

/* --- Fussbereich --- */
.site-footer {
  background: var(--blue);
  color: var(--light);
  padding: 32px 0;
  font-size: 0.9rem;
}

.site-footer a { color: #9fd3da; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

/* --- Impressum / Datenschutz --- */
.legal h2 { margin-top: 32px; }
.legal p, .legal li { max-width: 70rem; }

/* --- Sprunglink fuer Barrierefreiheit --- */
.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--white);
  color: var(--blue);
  padding: 8px 16px;
  z-index: 20;
}
.skip-link:focus { left: 8px; top: 8px; }

/* --- Anzeige / Print --- */
@media (max-width: 720px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .hero { padding: 44px 0; }
}

@media print {
  .site-header, .hotline-banner, .site-footer, .btn { display: none; }
}

/* --- Logo im Kopfbereich --- */
.brand img {
  height: 52px;
  width: auto;
  display: block;
}
@media (max-width: 720px) {
  .brand img { height: 40px; }
}

/* --- Logo praesenter (Update) --- */
.brand img { height: 64px; }
@media (max-width: 720px) {
  .brand img { height: 48px; }
}

/* Logo im Fussbereich auf weisser Karte */
.footer-logo {
  background: #ffffff;
  padding: 10px 18px;
  border-radius: 6px;
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 18px;
}

