/* ============================================================
   Elektrotechnik Schneider – Stylesheet
   ============================================================ */

@font-face {
  font-family: 'AvantGarde';
  src: url('../fonts/AvantGarde-Book.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  /* Nur ASCII-Bereich – kein Einsatz für deutsche Sonderzeichen */
  unicode-range: U+0020-007E;
}

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

:root {
  --blue-dark:   #1B3A6B;
  --blue-mid:    #2656A0;
  --blue-light:  #EBF1FA;
  --amber:       #E8920A;
  --amber-light: #FFF4E0;
  --text:        #1E1E2E;
  --text-muted:  #5A5A72;
  --white:       #FFFFFF;
  --bg:          #F7F9FC;
  --border:      #DDE3EE;
  --radius:      12px;
  --shadow-sm:   0 2px 8px rgba(27,58,107,.08);
  --shadow-md:   0 8px 32px rgba(27,58,107,.13);
  --transition:  .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.2;
  color: var(--blue-dark);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .75rem;
}

/* ---------- Layout ---------- */
.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

section { padding: 96px 0; }

/* ---------- Navigation ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__brand {
  font-family: 'AvantGarde', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
  letter-spacing: .02em;
}

.navbar__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar__links a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}

.navbar__links a:hover { color: var(--blue-dark); }

.navbar__cta {
  background: var(--amber);
  color: var(--white) !important;
  padding: .55rem 1.3rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
}

.navbar__cta:hover { background: #c97a08; transform: translateY(-1px); }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.navbar__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 60%, #3A72C4 100%);
  color: var(--white);
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__logo-wrap {
  display: inline-block;
  background: var(--white);
  border-radius: 16px;
  padding: 1.2rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}

.hero__logo {
  height: auto;
  width: min(300px, 70%);
  display: block;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: .4rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,.9);
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
}

.hero h1 span { color: var(--amber); }

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
}

.btn-primary:hover { background: #c97a08; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,146,10,.4); }

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

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

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  color: var(--white);
  max-width: 320px;
  width: 100%;
}

.hero__card-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}

.hero__card h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: .5rem;
}

.hero__card p {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
}

.hero__card-tel {
  display: inline-block;
  margin-top: 1.2rem;
  background: var(--amber);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  padding: .6rem 1.2rem;
  border-radius: 8px;
  letter-spacing: .04em;
}

/* ---------- Stats Bar ---------- */
.stats {
  background: var(--blue-dark);
  padding: 32px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.stats__item {
  color: var(--white);
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,.1);
}

.stats__item:last-child { border-right: none; }

.stats__num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  font-family: 'AvantGarde', Arial, sans-serif;
}

.stats__label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}

/* ---------- Leistungen ---------- */
.leistungen { background: var(--bg); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: .75rem;
}

.leistungen__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.leistung-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.leistung-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.leistung-card__icon {
  width: 56px;
  height: 56px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.leistung-card h3 {
  margin-bottom: .6rem;
  font-size: 1.05rem;
}

.leistung-card p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
}

/* ---------- Marken ---------- */
.marken { background: var(--white); padding: 64px 0; }

.marken__title {
  text-align: center;
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 2rem;
}

.marken__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.marken__item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .6rem 1.4rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}

.marken__item:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
  border-color: var(--blue-mid);
}

/* ---------- Über uns ---------- */
.ueber-uns { background: var(--white); }

.ueber-uns__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.ueber-uns__visual {
  position: relative;
}

.ueber-uns__img-box {
  background: linear-gradient(135deg, var(--blue-light) 0%, #D6E4F7 100%);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  font-size: 6rem;
  border: 1px solid var(--border);
}

.ueber-uns__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--amber);
  color: var(--white);
  border-radius: 12px;
  padding: 1rem 1.4rem;
  font-size: .85rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.ueber-uns__badge strong {
  display: block;
  font-size: 1.8rem;
}

.ueber-uns__content .section-label { margin-bottom: .5rem; }

.ueber-uns__content h2 { margin-bottom: 1.2rem; }

.ueber-uns__content p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.check-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  color: var(--text);
}

.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ---------- Kontakt ---------- */
.kontakt { background: var(--bg); }

.kontakt__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.kontakt__info h2 { margin-bottom: 1rem; }

.kontakt__info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.kontakt__details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.kontakt__detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.kontakt__detail-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kontakt__detail-body strong {
  display: block;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: .2rem;
}

.kontakt__detail-body a,
.kontakt__detail-body span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-dark);
}

.kontakt__detail-body a:hover { color: var(--amber); }

.kontakt__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.kontakt__map iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

/* ---------- Kontaktformular ---------- */
.kontakt__form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(38,86,160,.12);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #A0A0B8;
}

/* ---------- Öffnungszeiten ---------- */
.oeffnungszeiten {
  background: var(--blue-dark);
  padding: 64px 0;
}

.oz__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.oz__text h2 { color: var(--white); margin-bottom: .75rem; }
.oz__text p  { color: rgba(255,255,255,.7); }

.oz__table {
  background: rgba(255,255,255,.07);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
}

.oz__row {
  display: flex;
  justify-content: space-between;
  padding: .9rem 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: .95rem;
}

.oz__row:last-child { border-bottom: none; }

.oz__row span:first-child { color: rgba(255,255,255,.7); }
.oz__row span:last-child  { color: var(--white); font-weight: 600; }

.oz__row.closed span:last-child { color: rgba(255,255,255,.3); }

/* ---------- Footer ---------- */
.footer {
  background: #111827;
  color: rgba(255,255,255,.6);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__logo span {
  font-family: 'AvantGarde', Arial, sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  letter-spacing: .02em;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  font-size: .85rem;
}

.footer__links a { transition: color var(--transition); }
.footer__links a:hover { color: var(--white); }

.footer__copy { font-size: .8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner,
  .ueber-uns__inner,
  .kontakt__inner,
  .oz__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .leistungen__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  .hero__visual { display: none; }

  .ueber-uns__badge { bottom: -10px; right: 10px; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }

  .navbar__links { display: none; }
  .navbar__hamburger { display: flex; }

  .navbar__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 1rem;
    z-index: 99;
  }

  .leistungen__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }

  .hero { padding: 64px 0 48px; }

  .footer__inner { flex-direction: column; text-align: center; }
}
