:root {
  --red: rgb(197, 10, 29);
  --red-dark: rgb(150, 8, 22);
  --black: #333333;
  --charcoal: rgb(77, 77, 77);
  --gray: rgb(77, 77, 77);
  --line: #eeeeee;
  --light: #f9f9f9;
  --white: #ffffff;
  --max: 1180px;
  --shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--gray);
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 56px 0; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.eyebrow::before { content: ""; display: inline-block; width: 20px; height: 2px; background: currentColor; margin: 0 8px 2px 0; }
.eyebrow.light { color: #fff; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: "Barlow Condensed", Arial, sans-serif;
  letter-spacing: -.025em;
  line-height: .95;
}
h1 { font-size: clamp(3.2rem, 6.5vw, 5.8rem); margin-bottom: 28px; }
h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); margin-bottom: 28px; }
h1 span, h2 span { color: var(--red); }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: .25s ease;
  text-decoration: none;
}
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(224,0,0,.25); }
.button-secondary { border-color: var(--black); background: #fff; }
.button-secondary:hover { background: var(--black); color: #fff; }
.button-small {
  min-height: auto;
  padding: 8px 12px;
  font-size: .85rem;
  color: var(--red);
  background: transparent;
  border: none;
  font-weight: 700;
  padding: 0;
  display: inline-flex;
  gap: 6px;
}
.button-small:hover { gap: 10px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(17,18,20,.08);
  backdrop-filter: blur(14px);
}
.header-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-family: "Barlow Condensed"; font-size: 1.55rem; letter-spacing: .02em; }
.brand-copy strong span { color: var(--red); }
.brand-copy small { margin-top: 5px; color: var(--gray); font-size: .68rem; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .9rem; font-weight: 700; }
.main-nav a:not(.nav-cta):not(.nav-support):hover { color: var(--red); }
.nav-cta { padding: 12px 18px; background: var(--black); color: #fff; }
/* Fernwartung: Outline statt gefuellt, damit die Telefonnummer der Haupt-CTA bleibt.
   Padding 2px kleiner als .nav-cta, damit der Rahmen dieselbe Gesamthoehe ergibt. */
.nav-support { padding: 10px 16px; border: 2px solid var(--red); color: var(--red); transition: .2s ease; }
.nav-support:hover { background: var(--red); color: #fff; }
.menu-button { display: none; border: 0; background: none; padding: 8px; }
.menu-button span { display: block; width: 26px; height: 2px; background: var(--black); margin: 5px; }

.hero {
  min-height: 860px;
  padding: 180px 0 100px;
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 75px; align-items: center; position: relative; z-index: 2; }
.hero-text { max-width: 650px; font-size: 1.17rem; color: var(--gray); }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; gap: 36px; margin-top: 54px; }
.hero-trust div { display: flex; flex-direction: column; border-left: 3px solid var(--red); padding-left: 13px; }
.hero-trust strong { font-size: .94rem; }
.hero-trust span { color: var(--gray); font-size: .75rem; }

.hero-visual { min-height: 300px; display: flex; align-items: center; }
.hero-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
.feature-item { padding: 24px; text-align: center; }
.feature-icon { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.feature-item h3 { margin: 12px 0 6px; font-family: "Barlow Condensed"; font-size: 1.2rem; text-transform: uppercase; }
.feature-item p { margin: 0; color: var(--gray); font-size: .9rem; }
.hero-shape { display: none; }

.value-strip { color: #fff; background: #444444; }
.value-grid { min-height: 150px; display: grid; grid-template-columns: repeat(4,1fr); }
.value-grid article { display: flex; align-items: center; gap: 20px; padding: 30px; border-right: 1px solid #36383c; }
.value-grid article:last-child { border-right: 0; }
.value-grid article > span { font-family: "Barlow Condensed"; font-size: 2.5rem; color: var(--red); }
.value-grid h3 { margin: 0; font-family: "Barlow Condensed"; font-size: 1.5rem; }
.value-grid p { margin: 2px 0 0; color: #adb0b5; font-size: .8rem; }

.section-heading { max-width: 820px; margin-bottom: 55px; }
.section-heading > p:last-child { max-width: 710px; color: var(--gray); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 40px; }
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: .25s ease;
  padding: 30px 20px;
  cursor: pointer;
}
.service-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(224,0,0,.12); }
.service-image { display: none; }
.service-number { display: none !important; }
.service-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.service-card h3 {
  margin-bottom: 12px;
  font-family: "Barlow Condensed";
  font-size: 1.5rem;
}
.service-card p { 
  margin: 0; 
  padding: 0; 
  color: var(--gray); 
  font-size: .9rem; 
  flex: 1; 
  line-height: 1.6; 
}
.service-card a { 
  margin-top: 16px;
  font-weight: 800; 
  font-size: .85rem;
  position: static;
}
.service-card a span { color: var(--red); margin-left: 7px; }

.process { background: #f5f5f5; }
.process-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 100px; align-items: center; }
.process-copy > p:not(.eyebrow) { max-width: 620px; color: var(--gray); font-size: 1.05rem; }
.text-link { display: inline-flex; margin-top: 18px; font-weight: 800; border-bottom: 2px solid var(--red); padding-bottom: 6px; }
.text-link span { color: var(--red); margin-left: 10px; }
.back-link { color: var(--red); text-decoration: none; font-weight: 700; margin-bottom: 20px; display: inline-block; }
.back-link:hover { text-decoration: underline; }
.process-steps { display: grid; gap: 1px; background: #d9dbde; }
.process-steps article { display: flex; flex-direction: column; padding: 28px; background: #fff; transition: .25s; }
.process-steps article:hover { background: var(--black); color: #fff; transform: translateX(-10px); }
.process-steps article > span { display: none; }
.process-steps h3 { margin: 0 0 4px; }
.process-steps p { margin: 0; color: var(--gray); font-size: .88rem; }

.about { padding-top: 0; background: #f5f5f5; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; }
.about-panel { min-height: 520px; padding: 70px; color: #fff; background: linear-gradient(135deg, var(--red) 0%, #b71c1c 100%); }
.about-panel p { color: rgba(255,255,255,.8); }
.about-panel h2 { color: #fff; }
.about-stat { display: flex; align-items: center; gap: 20px; margin-top: 50px; border-top: 1px solid rgba(255,255,255,.25); padding-top: 30px; }
.about-stat strong { font-family: "Barlow Condensed"; font-size: 4.5rem; line-height: 1; color: #fff; }
.about-stat span { max-width: 310px; font-size: .82rem; }
.about-content { display: flex; flex-direction: column; justify-content: center; padding: 70px; background: #fff; }
.about-content h3 { font-family: "Barlow Condensed"; font-size: 2.4rem; }
.about-content ul { list-style: none; padding: 0; margin: 15px 0 35px; }
.about-content li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.about-content li span { color: var(--red); font-weight: 900; margin-right: 12px; }
blockquote { margin: 0; padding-left: 22px; border-left: 4px solid var(--red); font-size: 1.1rem; font-weight: 700; }

.contact-section { padding: 55px 0; color: #fff; background: #444444; position: relative; overflow: hidden; }
.contact-section::after { content: ""; position: absolute; width: 300px; height: 300px; top: -50%; right: -100px; background: rgba(211, 47, 47, 0.1); border-radius: 50%; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.contact-copy h2 { color: #fff; }
.contact-copy > p { color: #b7bac0; }
.contact-links { display: grid; gap: 14px; margin-top: 42px; }
.contact-links > * { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #34363a; }
/* flex-shrink: 0 – ohne das schrumpfen die Icons auf ihre Zeichenbreite
   zusammen (● und ◷ sind schmal) und die Quadrate waeren ungleich gross. */
.contact-links > * > span { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; background: var(--red); }
.contact-links div div, .contact-links a div { display: flex; flex-direction: column; }
.contact-links small { color: #8e9299; }
.contact-form { padding: 42px; color: var(--gray); background: #fff; box-shadow: var(--shadow); }
.contact-form label { display: flex; flex-direction: column; margin-bottom: 16px; font-size: .78rem; font-weight: 800; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
input, select, textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid #d8dade;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(224,0,0,.2); border-color: var(--red); }
textarea { resize: vertical; }
.contact-form .button { width: 100%; border: 0; cursor: pointer; }
.form-note { display: block; margin-top: 12px; color: var(--gray); font-size: .68rem; }
.req { color: var(--red); font-weight: 800; }
.form-legend { display: block; margin-top: 12px; color: var(--gray); font-size: .7rem; font-weight: 600; }
/* Fehler aus send-mail.php (?error=...), eingeblendet von script.js */
.form-alert { display: none; margin: 0 0 20px; padding: 12px 14px; border-radius: 4px; font-size: .82rem; font-weight: 600; line-height: 1.5; }
.form-alert.is-visible { display: block; }
.form-alert.is-error { background: #fdeaea; color: #8e0000; border: 1px solid #f2b8b8; }

footer { padding: 70px 0 25px; color: var(--gray); background: #333333; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 50px; }
.footer-brand .brand-mark-logo { height: 200px; }
.footer-brand .brand-copy strong { color: #fff; }
.footer-grid > div:not(.brand) { display: flex; flex-direction: column; gap: 9px; font-size: .82rem; }
.footer-grid > div > strong { margin-bottom: 8px; color: #fff; text-transform: uppercase; font-size: .78rem; }
.footer-grid a { color: rgb(77, 77, 77); }
.footer-grid a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 55px; padding-top: 20px; border-top: 1px solid #242629; color: var(--gray); font-size: .74rem; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: .25s ease;
  cursor: pointer;
}
.team-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(224,0,0,.12); }
.team-image-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #f0f0f0 0%, #e5e5e5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-avatar {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  font-family: "Barlow Condensed";
  font-size: 3.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-header { padding: 20px; }
.team-header h3 { margin: 0 0 8px; font-family: "Barlow Condensed"; font-size: 1.3rem; }
.team-role { margin: 0 0 6px; padding: 0 20px; color: var(--red); font-weight: 700; font-size: .85rem; }
.team-expertise { margin: 0 0 0 0; padding: 0 20px 20px; color: var(--gray); font-size: .9rem; }

.team-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.team-modal.active { display: flex; }
.team-modal-content {
  background: #fff;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.team-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 0;
  background: #f0f0f0;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  color: var(--gray);
  transition: .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.team-modal-close:hover { background: var(--red); color: #fff; }
.team-modal-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 4px;
}
.team-modal-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 500px;
  display: none;
}
.team-modal-image img[src]:not([src=""]) {
  display: block;
}
.team-modal-info h2 { margin-top: 0; font-size: 2rem; text-transform: uppercase; }
.team-modal-info .team-role { padding: 0; margin: 8px 0 4px; font-size: 1rem; }
.team-modal-info .team-expertise { padding: 0; margin: 0 0 20px; font-size: 1rem; }
.team-modal-info p { line-height: 1.6; }

.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.partner-logo-container {
  background: #f9f9f9;
  padding: 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 15px;
}
.partner-logo {
  height: 40px;
  width: auto;
}
.partner-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: .25s ease;
  display: flex;
  flex-direction: column;
}
.partner-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(224,0,0,.12); }
.partner-icon { font-size: 2.5rem; margin-bottom: 12px; }
.partner-card h3 { margin: 0 0 12px; font-family: "Barlow Condensed"; font-size: 1.3rem; }
.partner-description { margin: 0 0 16px; color: var(--gray); font-size: .9rem; flex-grow: 1; }
.partner-card a { color: var(--red); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: .2s ease; }
.partner-card a:hover { gap: 10px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .main-nav { position: absolute; left: 0; right: 0; top: 84px; display: none; flex-direction: column; align-items: stretch; padding: 25px 20px; background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,.1); }
  .main-nav.open { display: flex; }
  .menu-button { display: block; }
  .hero { padding-top: 145px; }
  .hero-grid, .process-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 530px; margin-top: 20px; }
  .dashboard-card { right: 0; width: 95%; }
  .value-grid { grid-template-columns: repeat(2,1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .team-modal-content { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .partner-grid { grid-template-columns: 1fr; }
  .process-grid { gap: 55px; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 650px) {
  .container { width: 100%; padding: 0 14px; }
  .section { padding: 40px 0; }
  h1 { font-size: clamp(3.6rem, 18vw, 5.2rem); }
  h2 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .brand-copy small { display: none; }
  .hero { min-height: auto; padding-bottom: 75px; }
  .hero-actions, .hero-trust { flex-direction: column; }
  .hero-trust { gap: 16px; }
  .hero-visual { min-height: 410px; }
  .dashboard-card { width: 108%; right: -10%; transform: none; }
  .dashboard-content { grid-template-columns: 48px 1fr; min-height: 310px; }
  .dashboard-main { padding: 15px; }
  .dashboard-chart { height: 100px; padding: 12px; }
  .floating-card { width: 210px; }
  .floating-card-top { left: 0; }
  .floating-card-bottom { right: 0; bottom: -10px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid article { border-right: 0; border-bottom: 1px solid #36383c; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 30px; }
  .service-image { display: none; }
  .process-steps article { grid-template-columns: 60px 1fr; padding: 22px; }
  .about-panel, .about-content, .contact-form { padding: 34px 26px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

