.rs-columns {
  clear: both;
  display: inline-block;
  width: 100%;
}

.rs-column {
  float: left;
  width: 100%;
  margin-top: 7.69231%;
  margin-right: 7.69231%;
}
.rs-column.-large-first {
  clear: left;
}
.rs-column.-large-last {
  margin-right: -5px;
}
.rs-column.-large-first-row {
  margin-top: 0;
}
.rs-column.-large-col-1-1 {
  width: 100%;
}
.rs-column.-large-col-2-1 {
  width: 46.15385%;
}
.rs-column.-large-col-2-2 {
  width: 100%;
}
.rs-column.-large-col-3-1 {
  width: 28.20513%;
}
.rs-column.-large-col-3-2 {
  width: 64.10256%;
}
.rs-column.-large-col-3-3 {
  width: 100%;
}
.rs-column.-large-col-4-1 {
  width: 19.23077%;
}
.rs-column.-large-col-4-2 {
  width: 46.15385%;
}
.rs-column.-large-col-4-3 {
  width: 73.07692%;
}
.rs-column.-large-col-4-4 {
  width: 100%;
}
.rs-column.-large-col-5-1 {
  width: 13.84615%;
}
.rs-column.-large-col-5-2 {
  width: 35.38462%;
}
.rs-column.-large-col-5-3 {
  width: 56.92308%;
}
.rs-column.-large-col-5-4 {
  width: 78.46154%;
}
.rs-column.-large-col-5-5 {
  width: 100%;
}
.rs-column.-large-col-6-1 {
  width: 10.25641%;
}
.rs-column.-large-col-6-2 {
  width: 28.20513%;
}
.rs-column.-large-col-6-3 {
  width: 46.15385%;
}
.rs-column.-large-col-6-4 {
  width: 64.10256%;
}
.rs-column.-large-col-6-5 {
  width: 82.05128%;
}
.rs-column.-large-col-6-6 {
  width: 100%;
}
@media screen and (max-width: 900px) {
  .rs-column {
    margin-top: 7.69231%;
    margin-right: 7.69231%;
  }
  .rs-column.-large-first {
    clear: none;
  }
  .rs-column.-large-last {
    margin-right: 7.69231%;
  }
  .rs-column.-large-first-row {
    margin-top: 7.69231%;
  }
  .rs-column.-medium-first {
    clear: left;
  }
  .rs-column.-medium-last {
    margin-right: -5px;
  }
  .rs-column.-medium-first-row {
    margin-top: 0;
  }
  .rs-column.-medium-col-1-1 {
    width: 100%;
  }
  .rs-column.-medium-col-2-1 {
    width: 46.15385%;
  }
  .rs-column.-medium-col-2-2 {
    width: 100%;
  }
  .rs-column.-medium-col-3-1 {
    width: 28.20513%;
  }
  .rs-column.-medium-col-3-2 {
    width: 64.10256%;
  }
  .rs-column.-medium-col-3-3 {
    width: 100%;
  }
  .rs-column.-medium-col-4-1 {
    width: 19.23077%;
  }
  .rs-column.-medium-col-4-2 {
    width: 46.15385%;
  }
  .rs-column.-medium-col-4-3 {
    width: 73.07692%;
  }
  .rs-column.-medium-col-4-4 {
    width: 100%;
  }
  .rs-column.-medium-col-5-1 {
    width: 13.84615%;
  }
  .rs-column.-medium-col-5-2 {
    width: 35.38462%;
  }
  .rs-column.-medium-col-5-3 {
    width: 56.92308%;
  }
  .rs-column.-medium-col-5-4 {
    width: 78.46154%;
  }
  .rs-column.-medium-col-5-5 {
    width: 100%;
  }
  .rs-column.-medium-col-6-1 {
    width: 10.25641%;
  }
  .rs-column.-medium-col-6-2 {
    width: 28.20513%;
  }
  .rs-column.-medium-col-6-3 {
    width: 46.15385%;
  }
  .rs-column.-medium-col-6-4 {
    width: 64.10256%;
  }
  .rs-column.-medium-col-6-5 {
    width: 82.05128%;
  }
  .rs-column.-medium-col-6-6 {
    width: 100%;
  }
}
@media screen and (max-width: 599px) {
  .rs-column {
    margin-top: 7.69231%;
    margin-right: 7.69231%;
  }
  .rs-column.-large-last {
    margin-right: 7.69231%;
  }
  .rs-column.-large-first-row {
    margin-top: 7.69231%;
  }
  .rs-column.-medium-first {
    clear: none;
  }
  .rs-column.-medium-last {
    margin-right: 7.69231%;
  }
  .rs-column.-medium-first-row {
    margin-top: 7.69231%;
  }
  .rs-column.-small-first {
    clear: left;
  }
  .rs-column.-small-last {
    margin-right: -5px;
  }
  .rs-column.-small-first-row {
    margin-top: 0;
  }
  .rs-column.-small-col-1-1 {
    width: 100%;
  }
  .rs-column.-small-col-2-1 {
    width: 46.15385%;
  }
  .rs-column.-small-col-2-2 {
    width: 100%;
  }
  .rs-column.-small-col-3-1 {
    width: 28.20513%;
  }
  .rs-column.-small-col-3-2 {
    width: 64.10256%;
  }
  .rs-column.-small-col-3-3 {
    width: 100%;
  }
  .rs-column.-small-col-4-1 {
    width: 19.23077%;
  }
  .rs-column.-small-col-4-2 {
    width: 46.15385%;
  }
  .rs-column.-small-col-4-3 {
    width: 73.07692%;
  }
  .rs-column.-small-col-4-4 {
    width: 100%;
  }
  .rs-column.-small-col-5-1 {
    width: 13.84615%;
  }
  .rs-column.-small-col-5-2 {
    width: 35.38462%;
  }
  .rs-column.-small-col-5-3 {
    width: 56.92308%;
  }
  .rs-column.-small-col-5-4 {
    width: 78.46154%;
  }
  .rs-column.-small-col-5-5 {
    width: 100%;
  }
  .rs-column.-small-col-6-1 {
    width: 10.25641%;
  }
  .rs-column.-small-col-6-2 {
    width: 28.20513%;
  }
  .rs-column.-small-col-6-3 {
    width: 46.15385%;
  }
  .rs-column.-small-col-6-4 {
    width: 64.10256%;
  }
  .rs-column.-small-col-6-5 {
    width: 82.05128%;
  }
  .rs-column.-small-col-6-6 {
    width: 100%;
  }
}

@charset "UTF-8";
/* ============================================================
   ITSM GmbH - Custom Theme
   Contao 5 - Open Sans - #33B1EC / #455A64
   ============================================================ */

/* ─── RESET & CUSTOM PROPERTIES ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #33B1EC;
  --blue-dark:  #1a8fc4;
  --blue-light: #e8f6fd;
  --slate:      #455A64;
  --ink:        #1A2332;
  --body:       #3D4F5C;
  --muted:      #7A8FA0;
  --rule:       #E2EAF0;
  --bg:         #FFFFFF;
  --bg-alt:     #F5F9FC;
  --max:        1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--bg);
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 1.75rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }

h1 .accent, h2 em { color: var(--blue); font-style: normal; }
h1 .line-break { display: block; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ─── UTILITIES ─── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.section-label::before {
  content: ''; width: 20px; height: 2px; background: var(--blue); flex-shrink: 0;
}

/* ─── BUTTONS ─── */
.btn,
a.btn,
button.btn {
  display: inline-block;
  background: var(--blue); color: #fff;
  padding: 0.55rem 1.3rem; border-radius: 7px;
  font-size: 0.875rem; font-weight: 700;
  font-family: 'Open Sans', sans-serif;
  border: none; cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.btn:hover, a.btn:hover { background: var(--blue-dark); color: #fff; }

.btn-outline,
a.btn-outline {
  background: transparent; color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: 0.55rem 1.3rem; border-radius: 7px;
  font-size: 0.875rem; font-weight: 700;
  display: inline-block;
  transition: all 0.2s;
}
.btn-outline:hover, a.btn-outline:hover { background: var(--blue); color: #fff; }

/* ─── NAV ─── */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  height: 68px;
}

#header .inside {
  max-width: var(--max); margin: 0 auto;
  height: 100%;
  display: flex; align-items: center;
  padding: 0 2.5rem;
  justify-content: space-between;
}

/* Logo */
#header .logo a {
  display: flex; align-items: center;
}
#header .logo img {
  height: 36px; width: auto; display: block;
}

/* Hauptnavigation */
#header nav.nav_main ul {
  display: flex; gap: 2.5rem; list-style: none;
}
#header nav.nav_main a {
  color: var(--body); font-size: 0.9rem; font-weight: 600;
  transition: color 0.2s;
}
#header nav.nav_main a:hover,
#header nav.nav_main .active > a { color: var(--blue); }

/* Remote-Support Link */
#header nav.nav_main a[href*="splashtop"] { color: var(--blue); }

/* Telefon + CTA rechts */
#header .nav-right {
  display: flex; align-items: center; gap: 1rem;
}
#header .nav-phone {
  font-size: 0.85rem; font-weight: 600; color: var(--slate);
}

/* ─── HERO ─── */
#hero {
  padding-top: 68px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 4rem 5rem 6rem;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 2px; background: var(--blue);
}

.hero-sub {
  font-size: 1.1rem; color: var(--body);
  line-height: 1.85; max-width: 460px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-chips,
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.hero-chip {
  background: var(--blue-light);
  border: 1.5px solid rgba(51,177,236,0.25);
  color: var(--blue-dark);
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero-right {
  position: relative; overflow: hidden;
  background: var(--blue);
}

.hero-right img {
  width: 100%; height: 100%; object-fit: cover;
}

.hero-badge {
  position: absolute; bottom: 2.5rem; left: 2.5rem; right: 2.5rem;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  color: #fff;
  font-size: 0.82rem;
  backdrop-filter: blur(8px);
  max-width: 320px;
}
.hero-badge strong {
  display: block; font-size: 0.95rem; margin-bottom: 0.25rem;
}

/* Foto-Platzhalter (solange kein Bild) */
.hero-pattern {
  position: absolute; inset: 0;
  opacity: 0.07;
  background-image:
    repeating-linear-gradient(0deg, #fff 0, #fff 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(90deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
  background-size: 48px 48px;
}

/* ─── WORK PHOTOS (3-Panel-Streifen) ─── */
.work-photos {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  height: 340px; gap: 3px; background: var(--rule);
}
.work-photos .photo { overflow: hidden; }
.work-photos img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ─── STATEMENT ─── */
#statement {
  background: var(--ink);
  padding: 5rem 2.5rem;
  text-align: center;
}
.statement-inner { max-width: 820px; margin: 0 auto; }

.statement-inner blockquote {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600; color: #fff;
  line-height: 1.55; font-style: italic;
  margin-bottom: 1.5rem;
}
.statement-inner blockquote em { color: var(--blue); font-style: normal; }

.statement-source {
  font-size: 0.85rem; color: var(--muted); font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
}

/* ─── PHILOSOPHY / WIE WIR ARBEITEN ─── */
#philosophy {
  padding: 7rem 2.5rem;
  max-width: var(--max); margin: 0 auto;
}

.philosophy-layout {
  display: grid; grid-template-columns: 5fr 4fr; gap: 6rem; align-items: start;
}

.philosophy-text p {
  color: var(--body); line-height: 1.9;
  margin-bottom: 1.1rem; font-size: 1.02rem;
}
.philosophy-text p strong { color: var(--ink); }

.platform-list {
  list-style: none;
  border: 1.5px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}
.platform-list li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
}
.platform-list li:last-child { border-bottom: none; }
.platform-list li:hover { background: var(--bg-alt); }
.p-ico { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }
.p-text strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--ink); margin-bottom: 0.2rem; }
.p-text span { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

/* ─── SERVICES ─── */
#services {
  background: var(--bg-alt);
  padding: 7rem 2.5rem;
}
.services-inner { max-width: var(--max); margin: 0 auto; }

.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3.5rem;
}
.services-header h2 { margin-bottom: 0; }

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5px;
  background: var(--rule);
  border-radius: 16px;
  overflow: hidden;
}

.svc {
  background: var(--bg);
  padding: 2.5rem;
  transition: background 0.2s;
}
.svc:hover { background: var(--blue-light); }
.svc h3 { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 0.6rem; }
.svc p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ─── REFERENZEN ─── */
.references {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--rule);
}
.ref-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.ref-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--blue);
  border-radius: 10px;
  padding: 1.5rem;
}
.ref-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 0.75rem;
}
.ref-card p {
  font-size: 0.9rem; color: var(--body);
  line-height: 1.75; font-style: italic;
  margin-bottom: 1rem;
}
.ref-meta { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.ref-note { font-size: 0.75rem; color: var(--muted); }

/* ─── ABOUT ─── */
#about {
  padding: 7rem 2.5rem;
  max-width: var(--max); margin: 0 auto;
}
.about-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover; object-position: center top;
  border-radius: 16px;
}
.about-cert {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--blue); color: #fff;
  padding: 1rem 1.25rem; border-radius: 12px;
  font-size: 0.8rem; font-weight: 700; line-height: 1.4;
  box-shadow: 0 8px 32px rgba(51,177,236,0.35);
}
.about-cert strong { font-size: 1rem; display: block; }

.about-text p { color: var(--body); line-height: 1.9; margin-bottom: 1rem; font-size: 1rem; }
.about-text p strong { color: var(--ink); }

.team-row { display: flex; gap: 1.5rem; margin-top: 2rem; }
.team-member {
  flex: 1;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.25rem;
}
.team-member strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--ink); margin-bottom: 0.2rem; }
.team-member span { font-size: 0.8rem; color: var(--muted); }

/* ─── BÜRO-GALERIE ─── */
.office-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: 220px;
  gap: 3px;
}
.office-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: filter 0.3s;
}
.office-gallery img:hover { filter: saturate(1.1); }

/* ─── TESTIMONIALS ─── */
#testimonials {
  background: var(--bg-alt);
  padding: 7rem 2.5rem;
}
.testimonials-inner { max-width: var(--max); margin: 0 auto; }
.testimonials-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.5rem;
  margin-top: 3rem;
}
.tcard {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 2rem;
}
.tcard.large { padding: 2.5rem; }
.tcard .stars { color: var(--blue); font-size: 0.85rem; margin-bottom: 1.25rem; }
.tcard blockquote { font-size: 1rem; color: var(--body); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.tcard.large blockquote { font-size: 1.15rem; }
.tcard-author strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.tcard-author span { font-size: 0.78rem; color: var(--muted); }

/* ─── CONTACT ─── */
#contact {
  padding: 7rem 2.5rem;
  max-width: var(--max); margin: 0 auto;
}
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.contact-left h2 { margin-bottom: 1rem; }
.contact-left > p { font-size: 1.02rem; color: var(--body); line-height: 1.85; margin-bottom: 2.5rem; }

.contact-detail { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.contact-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.contact-detail span { font-size: 0.82rem; color: var(--muted); }

/* Contao Formular-Overrides */
.contact-form-wrap {
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 2.5rem;
}
.contact-form-wrap h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; }
.contact-form-wrap .form-intro { font-size: 0.85rem; color: var(--muted); margin-bottom: 2rem; }

.widget { margin-bottom: 1.1rem; }
.widget label {
  display: block; font-size: 0.75rem; font-weight: 700;
  color: var(--muted); margin-bottom: 0.4rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.widget input[type="text"],
.widget input[type="email"],
.widget input[type="tel"],
.widget textarea,
.widget select {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--rule);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--ink);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.widget input:focus,
.widget textarea:focus { border-color: var(--blue); }
.widget textarea { min-height: 110px; resize: vertical; }
.widget.submit button {
  width: 100%; margin-top: 0.5rem;
  background: var(--blue); color: #fff;
  border: none; border-radius: 8px;
  padding: 0.95rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  cursor: pointer; transition: background 0.2s;
  letter-spacing: 0.02em;
}
.widget.submit button:hover { background: var(--blue-dark); }
.widget.captcha input { font-size: 0.85rem; }

/* ─── FOOTER ─── */
#footer {
  background: var(--ink);
  padding: 2.5rem;
}
#footer .inside {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}

.footer-brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-brand strong { font-size: 0.95rem; font-weight: 700; color: #fff; }
.footer-brand span { font-size: 0.78rem; color: rgba(255,255,255,0.35); }

#footer .footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
#footer .footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
#footer .footer-links a:hover { color: #fff; }

.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem; }

.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.35); }

/* ─── BLOG / NEWS-MODUL ─── */

/* Blog-Seiten-Header */
.blog-page-header {
  padding-top: 68px;
  background: var(--ink);
  padding-bottom: 4rem;
}
.blog-page-header .inner {
  max-width: var(--max); margin: 0 auto;
  padding: 4rem 2.5rem 0;
}
.blog-breadcrumb {
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.blog-breadcrumb a { color: rgba(255,255,255,0.4); }
.blog-breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.blog-page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 1rem;
}
.blog-page-header p.intro {
  font-size: 1.05rem; color: rgba(255,255,255,0.55);
  max-width: 540px; line-height: 1.8;
}

/* Filter-Leiste (Contao Kategorie-Navigation) */
.blog-filter {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--rule);
  padding: 1rem 2.5rem;
  position: sticky; top: 68px; z-index: 50;
}
.blog-filter .inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center;
}
.blog-filter .filter-label {
  font-size: 0.75rem; font-weight: 700; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase; margin-right: 0.5rem;
}
.blog-filter a,
.blog-filter .filter-btn {
  background: var(--bg);
  border: 1.5px solid var(--rule);
  border-radius: 99px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem; font-weight: 700;
  color: var(--muted); text-decoration: none;
  transition: all 0.2s; display: inline-block;
}
.blog-filter a:hover,
.blog-filter .filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.blog-filter a.active,
.blog-filter .filter-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Blog-Hauptbereich */
.blog-main {
  max-width: var(--max); margin: 0 auto;
  padding: 4rem 2.5rem 6rem;
}

/* Contao mod_newslist Wrapper */
.mod_newslist { }

/* News-Grid: 3 Spalten */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}

/* Einzelne News-Kachel */
.news-grid .layout_latest,
.news-grid article {
  border: 1px solid var(--rule);
  border-radius: 12px; overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.news-grid .layout_latest:hover,
.news-grid article:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

/* News-Kachel: Bild-Bereich */
.news-card-img {
  height: 160px;
  background: var(--blue-light);
  position: relative; overflow: hidden;
}
.news-card-img img {
  width: 100%; height: 100%; object-fit: cover;
}
/* Farbige Platzhalter je Kategorie (falls kein Bild) */
.news-card-img.cat-security { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.news-card-img.cat-netzwerk { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); }
.news-card-img.cat-hardware { background: linear-gradient(135deg, #ECFDF5, #A7F3D0); }
.news-card-img.cat-cloud    { background: linear-gradient(135deg, #E0F2FE, #BAE6FD); }
.news-card-img.cat-privacy  { background: linear-gradient(135deg, #F0FDF4, #BBF7D0); }
.news-card-img.cat-ms365   { background: linear-gradient(135deg, #EFF6FF, #BFDBFE); }

/* News-Kachel: Inhalt */
.news-card-body {
  padding: 1.5rem;
  flex: 1; display: flex; flex-direction: column;
}
.news-card-body .post-meta {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.news-card-body .post-date {
  font-size: 0.78rem; color: var(--muted); font-weight: 600;
}
.news-card-body .post-tag {
  background: var(--blue-light); color: var(--blue);
  padding: 0.2rem 0.7rem; border-radius: 99px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.news-card-body .post-tag.security { background: #FEF3C7; color: #92400E; }
.news-card-body .post-tag.netzwerk { background: #EDE9FE; color: #5B21B6; }
.news-card-body .post-tag.hardware { background: #ECFDF5; color: #065F46; }
.news-card-body .post-tag.cloud    { background: #E0F2FE; color: #0369A1; }
.news-card-body .post-tag.privacy  { background: #F0FDF4; color: #166534; }
.news-card-body .post-tag.ms365    { background: #EFF6FF; color: #1D4ED8; }

.news-card-body h3 {
  font-size: 0.95rem; font-weight: 700; color: var(--ink);
  line-height: 1.4; margin-bottom: 0.5rem; letter-spacing: -0.01em;
}
.news-card-body p.intro {
  font-size: 0.83rem; color: var(--muted); line-height: 1.65;
  flex: 1; margin-bottom: 1.25rem;
}
.news-card-body .read-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 700; color: var(--blue);
  transition: gap 0.2s; margin-top: auto;
  padding-top: 1rem; border-top: 1px solid var(--rule);
}
.news-card-body .read-more:hover { gap: 0.7rem; }

/* Contao Pagination (mod_newslist) */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 0.5rem; margin-top: 3rem; flex-wrap: wrap;
  list-style: none;
}
.pagination li a,
.pagination li strong,
.pagination li span {
  min-width: 40px; height: 40px;
  border: 1.5px solid var(--rule);
  border-radius: 8px;
  background: var(--bg);
  color: var(--body);
  font-size: 0.85rem; font-weight: 700;
  padding: 0 0.75rem;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
}
.pagination li a:hover { border-color: var(--blue); color: var(--blue); }
.pagination li strong,
.pagination li.active a {
  background: var(--blue); border-color: var(--blue); color: #fff;
}
.pagination .previous a,
.pagination .next a { font-size: 1rem; }

/* Blog CTA-Block */
.blog-cta {
  background: var(--ink);
  border-radius: 16px;
  padding: 3rem;
  margin-top: 4rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.blog-cta h3 { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.blog-cta p { font-size: 0.9rem; color: rgba(255,255,255,0.5); }

/* ─── BLOG EINZELARTIKEL (mod_newsreader) ─── */
.mod_newsreader {
  max-width: 800px; margin: 0 auto;
  padding: 5rem 2.5rem 7rem;
}
.mod_newsreader .news-article-header {
  margin-bottom: 3rem;
}
.mod_newsreader .news-article-header .post-meta {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem;
}
.mod_newsreader h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1.25rem;
}
.mod_newsreader .news-article-header .lead {
  font-size: 1.1rem; color: var(--body); line-height: 1.85;
  border-left: 3px solid var(--blue);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}
.mod_newsreader .news-article-img {
  margin-bottom: 2.5rem;
  border-radius: 12px; overflow: hidden;
}
.mod_newsreader .news-article-img img { width: 100%; height: auto; }

.mod_newsreader .ce_text p {
  font-size: 1rem; color: var(--body); line-height: 1.9;
  margin-bottom: 1.25rem;
}
.mod_newsreader .ce_text h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.mod_newsreader .ce_text h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.mod_newsreader .ce_text ul,
.mod_newsreader .ce_text ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--body); line-height: 1.85;
}
.mod_newsreader .ce_text li { margin-bottom: 0.4rem; }
.mod_newsreader .ce_text a { color: var(--blue); text-decoration: underline; }
.mod_newsreader .ce_text strong { color: var(--ink); }

.news-back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 700; color: var(--blue);
  margin-bottom: 3rem;
}
.news-back-link:hover { gap: 0.75rem; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 4rem 2.5rem; }
  .hero-right { min-height: 320px; }
  .philosophy-layout { grid-template-columns: 1fr; gap: 3rem; }
  .about-layout { grid-template-columns: 1fr; }
  .about-img-wrap { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .news-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .services-layout { grid-template-columns: 1fr 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .services-layout { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  h1 { font-size: 2.4rem; }
  .work-photos { grid-template-columns: 1fr; height: auto; }
  .work-photos .photo { height: 240px; }
  .office-gallery { grid-template-columns: repeat(3, 1fr); height: 280px; }
  .news-grid { grid-template-columns: 1fr; }
  .blog-cta { flex-direction: column; }
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Mobile Nav */
  #header nav.nav_main { display: none; }
  #header .nav-phone { display: none; }

  /* Hamburger-Menü (wird per JS geöffnet) */
  #header .burger {
    display: flex; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 0.5rem;
  }
  #header .burger span {
    display: block; width: 24px; height: 2px;
    background: var(--ink); border-radius: 2px;
    transition: all 0.2s;
  }
  #header nav.nav_main.open {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--rule);
    padding: 1.5rem 2.5rem;
    gap: 1.25rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    z-index: 99;
  }
  #header nav.nav_main.open ul {
    flex-direction: column; gap: 0;
  }
  #header nav.nav_main.open li {
    border-bottom: 1px solid var(--rule);
    padding: 0.75rem 0;
  }

  #footer .inside { flex-direction: column; align-items: flex-start; }
  .footer-right { align-items: flex-start; }
}

