/* ================= Basis-Setup ================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #0d1724;
  background-color: #ffffff;
  line-height: 1.6;
}

/* Seite als Flex-Layout, damit Footer unten klebt */
.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

/* ================= Farben & Typo ================= */

:root {
  --color-text: #0d1724;
  --color-muted: #7f8691;
  --color-border: #e2e5ea;
  --color-accent: #0d3b66;
  --color-accent-soft: #edf2ff;
  --color-overlay: rgba(0, 0, 0, 0.65);       
}

/* Footer-Farben pro Seite */
body.page-home .site-footer { background: #fc8bc0; color: #ffffff; }    /* Startseite */
body.page-projekte .site-footer { background: #fc8bc0; color: #ffffff; } /* Projekte */
body.page-buero .site-footer { background: #fc8bc0; color: #ffffff; } /* Büro */
body.page-news .site-footer { background: #fc8bc0; color: #ffffff; } /* News */
body.page-kontakt .site-footer { background: #fc8bc0; color: #ffffff; } /* Kontakt */
body.page-impressum .site-footer { background: #fc8bc0; color: #ffffff; } /* Impressum */
body.page-datenschutz .site-footer { background: #fc8bc0; color: #ffffff; } /* Datenschutz */
body.page-project-detail .site-footer { background: #fc8bc0; color: #ffffff; } /* Projekt-Detail */
body.page-news-detail .site-footer { background: #fc8bc0; color: #ffffff; } /* News-Detail */

a {
  color: inherit;
  text-decoration: none;  
}

a:hover {
  color: inherit; 
}

/* ================= Layout-Helfer ================= */

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}

.section + .section {
  border-top: 1px solid var(--color-border);
}

/* Hervorgehobene Kontaktdaten in der Datenschutzerklärung */
.datenschutz-contact {
  max-width: 640px;
  margin: 12px 0 24px;
  padding: 0;
  font-style: normal;
  line-height: 1.55;
}

.datenschutz-contact-name {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

.datenschutz-contact a {
  font-weight: 700;
}

.page-datenschutz .buero-title {
  font-size: clamp(26px, 7.2vw, 36px);
}

/* ================= He/* ================= Header & Navigation ================= */

/* ================= Header & Navigation ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  display: block;
  height: 36px;
  width: auto;
}

/* ===== Desktop-Navigation ===== */

.main-nav {
  display: flex;
  gap: 32px;
  font-size: 20px;
}

.main-nav a {
  font-weight: 600;
  position: relative;
}

/* Desktop: Unterstrich-Hover wie gehabt */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #0d1724;
  transition: width 0.22s ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

/* ===== Hamburger Button (40 x 40, Linien exakt bündig) ===== */

/* Hamburger Button */

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  position: relative;
}

/* Drei exakt ausgerichtete Linien */

/* drei saubere übereinander liegende Striche */
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  width: 24px;
  height: 2px;
  background: #0d1724;
  border-radius: 1px;
  content: "";
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center center;   /* <– NEU: gleicher Drehpunkt */
}

/* Mittlerer Balken */
.nav-toggle span {
  top: 50%;
  transform: translateY(-50%);
}

/* Oberer Balken */
.nav-toggle span::before {
  top: -7px;
}

/* Unterer Balken */
.nav-toggle span::after {
  top: 7px;
}


/* X-Zustand */
body.nav-open .nav-toggle span {
  background: transparent; /* Mittelstrich verschwindet */
}

body.nav-open .nav-toggle span::before,
body.nav-open .nav-toggle span::after {
  top: 50%;
}

body.nav-open .nav-toggle span::before {
  transform: translateY(-50%) rotate(45deg);
}

body.nav-open .nav-toggle span::after {
  transform: translateY(-50%) rotate(-45deg);
}

/* ========= Overlay-Menü ========= */

.nav-overlay {
  position: fixed;
  inset: 72px 0 0 0;                 /* unterhalb des 72px-Headers */
  z-index: 40;
  display: none;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #0d1724;
}

body.nav-open .nav-overlay {
  display: block;
}

.nav-overlay-inner {
  height: 100%;
  padding: 40px 24px 32px;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Hauptlinks groß */

.nav-overlay-mainlinks {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 28px;
  font-weight: 600;
}

.nav-overlay-mainlinks a {
  color: #0d1724;
  text-decoration: none;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

/* Hover: keine Unterstreichung, nur grau */
.nav-overlay-mainlinks a:hover,
.nav-overlay-mainlinks a:focus-visible {
  color: #7f8691;
}

/* Social-Bereich unten */

.nav-overlay-bottom {
  margin-top: 40px;
}

.nav-overlay-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 24px;
}

.nav-overlay-legal a {
  color: #0d1724;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-overlay-legal a:hover,
.nav-overlay-legal a:focus-visible {
  color: #7f8691;
}

.nav-overlay-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7f8691;
  margin-bottom: 10px;
}

.nav-overlay-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-overlay-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #0d1724;
  text-decoration: none;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.nav-overlay-social-link:hover,
.nav-overlay-social-link:focus-visible {
  color: #7f8691;
}

/* nur Icon, kein eigener Hover-Strich */
.nav-overlay-social-icon {
  width: 20px;
  height: 20px;
  display: block;
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}


/* ================= Hero Startseite ================= */

.hero {
  padding: 64px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 3fr 2.2fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 18px;
}

.hero-lead {
  font-size: 17px;
  color: var(--color-muted);
  max-width: 540px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ================= Buttons ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

/* Dunkler Primär-Button */
.btn-primary {
  background: #0d1724;
  color: #ffffff;
  border: 2px solid #240d1b;
}

.btn-primary:hover {
  background: #ffffff;
  border-color: #000000;
  transform: translateY(-1px);
}

/* Heller Outline-Button */
.btn-outline {
  background: transparent;
  border: 2px solid #0d1724;
  color: #0d1724;
}

.btn-outline:hover {
  background: #0d1724;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Optional kleiner Schatten beim Klick */
.btn:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

.hero-image-wrap {
  border-radius: 0;
  overflow: hidden;
}

.hero-image {
  display: block;
  width: 100%;
  height: 320px;
  height: auto;   /* statt fester Höhe */
  border-radius: 0;  /* keine runden Ecken */
}

/* ================= Listen: Projekte & News Startseite ================= */

/* ================= Listen: Projekte & News Startseite ================= */

.list-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.list-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
}

.list-title-big {
  font-size: 36px;
  font-weight: 700;
  margin: 0;
}

.list-link {
  font-size: 13px;
  color: var(--color-muted);
}

.list-table {
  width: 100%;
  border-collapse: collapse;
}

.list-row {
  display: grid;
  grid-template-columns: minmax(120px,220px) 1.6fr 0.9fr;
  align-items: center;
  gap: 150px;
  padding: 14px 16px;
  border-top: 1px solid var(--color-border);
  cursor: pointer;
  transition: background 0.16s ease;
}

.list-row:last-child {
  border-bottom: 1px solid var(--color-border);
}

.list-row:hover {
  background: rgba(0,0,0,0.03);
}

.list-row-label {
  font-size: 12px;
  color: var(--color-muted);
}

.list-row-title {
  font-size: 15px;
  font-weight: 600;
}


/* ================= Prozess-Section ================= */
/* ================= Leistungen & Prozesse ================= */

.services-section {
  padding: 80px 0;
}

.services-header {
  max-width: 680px;
  margin-bottom: 52px;
}

.services-header h2 {
  margin: 0 0 18px;
}

.services-header p {
  margin: 0;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-muted);
}

.services-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 42px;
}

.service-step {
  border-top: 2px solid #0d1724;
  padding-top: 12px;
}

.service-step-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 18px;
}

.service-step h3 {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
}

.service-step p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: #0d1724;
}

/* mittlere Breiten: 3 + 2 */
@media (max-width: 1100px) {
  .services-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* mobil: untereinander */
@media (max-width: 700px) {
  .services-section {
    padding: 64px 0;
  }

  .services-header {
    margin-bottom: 36px;
  }

  .services-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
/* ================= Projekte Übersicht ================= */

/* ================= Projekte → Grid-Layout ================= */

.project-grid {
  padding: 40px 0 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;                 /* etwas mehr Luft zwischen den Karten */
  align-items: flex-start;
}
/* ================= Projekte → Karten wie News ================= */

.project-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: none !important;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.18s ease;
  padding: 0;   /* wichtig: News hat auch kein Padding */
}

/* quadratische Thumbnails */
.project-card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;      /* quadratisch */
  overflow: hidden;
}

.project-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hover Overlay wie bei News */
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.18s ease;
}

.project-card:hover .project-card-overlay {
  background: rgba(255,255,255,0.16);
}

/* Body wie bei News */
.project-card-body {
  padding: 10px 0 0;
}

/* Titel groß + fett wie News.title */
.project-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: #000;
  display: inline-block;
  text-decoration: none;
}

/* Hover: Titel unterstreichen */
.project-card:hover .project-card-title {
  text-decoration: underline;
}

/* Entfernen: Meta-Zeile */
.project-card-meta {
  display: none !important;
}


/* ================= News Übersicht ================= */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  padding: 40px 0 56px;   /* gleich wie project-grid */
}
/* Karte: sauber, ohne Rahmen/Schatten */
.news-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: none;
  border-radius: 0;
}

/* Bildbereich */
.news-thumb-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.news-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}

/* weißes Overlay beim Hover */
.news-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.18s ease;
}

/* Textbereich */
.news-card-body {
  padding: 10px 0 0;
}

/* Datum / Kategorie oben, klein */
.news-meta {
  font-size: 12px;
  color: var(--color-muted);
  margin-bottom: 4px;
}

/* Headline groß & fett */
.news-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: #000000;
}

.news-excerpt {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 6px;
}

/* Hover: nur leichtes Overlay + Titel unterstreichen */
.news-card:hover .news-thumb-overlay {
  background: rgba(255, 255, 255, 0.16);
}

.news-card:hover .news-title {
  text-decoration: underline;
}

/* ================= Büro ================= */

.buero-hero {
  padding: 64px 0 40px;
}

.buero-title {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 16px;
}

.buero-lead {
  max-width: 620px;
  color: var(--color-muted);
  font-size: 15px;
  margin-bottom: 32px;
}

.buero-columns {
  display: grid;
  grid-template-columns: 2.2fr 1.4fr;
  gap: 40px;
  margin-bottom: 40px;
}

.buero-list {
  list-style: disc;
  padding-left: 18px;
  font-size: 14px;
}

.buero-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  font-size: 12px;
}

.buero-team-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 10px;
}

/* ================= Kontakt ================= */

.kontakt-grid {
  padding: 64px 0 80px;
  display: grid;
  grid-template-columns: 1.8fr 1.6fr;
  gap: 40px;
}

.kontakt-label {
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.kontakt-heading {
  font-size: 26px;
  font-weight: 700;
  margin: 8px 0 14px;
}

/* ================= Projekt-Detail: generisch ================= */

.project-hero {
  padding: 40px 0 24px;
}

.project-hero-title {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 8px;
}

.project-hero-sub {
  font-size: 13px;
  color: var(--color-muted);
}

/* Slider / Gallery oben mit Thumbnails */


.project-media-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;   /* exaktes 16:9-Format */
  overflow: hidden;
  background: #ffffff;
}

.project-media-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* füllt den Ausschnitt sauber */
  display: block;
}



/* Projektlayout-Kombis */

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(220px, 1.2fr);
  gap: 40px;
  margin-bottom: 40px;
}

.project-text {
  font-size: 14px;
}

.project-facts {
  font-size: 12px;
  border-top: 1px solid var(--color-border);
  padding-top: 10px;
}

.project-facts-row {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 8px;
  padding: 4px 0;
}

/* Tabellenoption */

/* ===== Projekt-Detail: einspaltiges Layout ===== */

.project-detail-body {
  padding: 40px 0 100px; /* Abstand zum Footer */
}

/* komplette Breite, kein Grid */
.project-detail-body .project-layout {
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

/* Textblock */
.project-text {
  font-size: 15px;
  margin-bottom: 40px;
  max-width: 800px;
}

/* Tabelle wie CV-Liste */
.simple-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 16px;
  border-top: 2px solid #0d1724;
}

.simple-table th,
.simple-table td {
  border-bottom: 2px solid #0d1724;
  padding: 10px 10px;
  text-align: left;
}

.simple-table th {
  font-weight: 700;
  width: 180px;
  white-space: nowrap;
}

/* Button darunter */
.project-back {
  margin-top: 32px;
}

.btn-back-projects {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 9999px;
  border: 2px solid #0d1724;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #0d1724;
}

.btn-back-projects:hover {
  background: #000000;
  color: #fff;
}



/* Galerie-Varianten */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 32px;
}

.gallery-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  cursor: pointer;
}

/* ================= News Detail ================= */

.news-detail-hero {
  padding: 40px 0 24px;
}

.news-detail-kicker {
  font-size: 11px;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.news-detail-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px;
}

.news-detail-meta {
  font-size: 11px;
  color: var(--color-muted);
}

.news-detail-image-hero {
  margin: 18px 0 24px;
}

.news-detail-image-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.news-detail-body {
  font-size: 14px;
  max-width: 760px;
  margin-bottom: 40px;
}



/* ================= Responsive ================= */

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buero-columns { grid-template-columns: 1fr; }
  .buero-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kontakt-grid { grid-template-columns: 1fr; }
  .project-layout { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: 1fr; }
  .nav-overlay-inner { padding: 80px 32px 32px; }
}

@media (max-width: 600px) {
  .news-grid { 
    grid-template-columns: 1fr; 
  }
  .project-grid { 
    grid-template-columns: 1fr; 
  }

  /* === Neue Projekte: mobil nur Titel anzeigen === */

  /* Label (Noiselevel / Tool / Studie) ausblenden */
  .list-row > div:first-child .list-row-label {
    display: none;
  }

  /* 2. und 3. Spalte komplett ausblenden */
  .list-row > div:nth-child(2),
  .list-row > div:nth-child(3) {
    display: none;
  }

  /* Erste Spalte (mit Titel) über ganze Breite laufen lassen */
  .list-row > div:first-child {
    grid-column: 1 / -1;
  }

  /* Titel auf Mobil etwas größer */
  .list-row-title {
    font-size: 16px;
    line-height: 1.35;
  }
}


/* ================= Manifest Offset Grid (EFFEKT-Style) ================= */

.manifesto {
  padding: 64px 0 40px; /* Abstand oben/unten */
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: #fff; /* weißer Hintergrund */
}

.manifesto .container {
  max-width: 1100px; /* max. Breite des Inhalts */
}

.manifesto-offset {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px 60px;
  align-items: start;
  position: relative;
}

.m-block {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  max-width: 520px;
}

.m-block em {
  font-style: normal;
  text-decoration: underline;
}

.m-block:nth-child(2),
.m-block:nth-child(5),
.m-block:nth-child(7) {
  margin-top: 60px;
}

.m-block:nth-child(3),
.m-block:nth-child(6),
.m-block:nth-child(8) {
  margin-top: -40px;
}

.m-block strong { font-weight: 800; }

@media (max-width: 900px) {
  .manifesto-offset { grid-template-columns: 1fr; gap: 32px; }
  .m-block { font-size: 22px; max-width: none; }
  .m-block:nth-child(n) { margin-top: 0; }
}



/* ================= Ende Manifest Offset Grid ================= */

/* ===== Team ohne Umrandung, klare Struktur ===== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  margin-top: 40px;
}

.team-card {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin: 0 0 14px 0;
  border: none;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}

.team-head { margin-bottom: 8px; }
.team-name { font-size: 18px; font-weight: 700; margin: 0; }
.team-role { font-size: 14px; color: var(--color-muted); margin: 2px 0 0 0; }

.cv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid #0d1724;
}
.cv-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 2px solid #0d1724;
}
.cv-year { font-size: 12px; font-weight: 700; color: #0d1724; }
.cv-text { font-size: 13px; line-height: 1.45; }

@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ================= Footer ================= */

.site-footer{
  background:#1c332a;
  color:#fff;
  padding:60px 0 30px;
  font-size:14px;
}

.footer-inner{
  max-width:1240px;
  margin:0 auto;
  padding:0 24px;
}

.footer-cols{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:40px;
}

.footer-col h4{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:rgba(255,255,255,.7);
  margin:0 0 12px;
}

.footer-list{list-style:none;margin:0;padding:0;}
.footer-list li{margin:0 0 8px;}

.tool-desc{
  font-size:13px;
  color:rgba(255,255,255,.65);
  line-height:1.45;
  display:block;
  padding-top:2px;
}

/* Footer Links */
.footer-link{
  position:relative;
  display:inline-block;
  font-weight:700;
  color:#fff;
  text-decoration:none;
  padding-bottom:3px;
}

.footer-link::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:0; height:2px;
  background:#fff;
  transition:width .22s ease;
}

.footer-link:hover::after,
.footer-link:focus-visible::after{
  width:100%;
}

/* Social Icons */
.footer-social .social-item{
  display:flex;
  align-items:center;
  margin:0 0 10px;
}

.social-ico{
  width:18px;
  height:18px;
  margin-right:12px;    /* Abstand Icon ⇢ Text */
}

.social-ico img{
  width:18px; height:18px;
  display:block;
}

/* Keine Unterstreichung global */
.site-footer a{
  text-decoration:none !important;
}

/* Footer Bottom */
.footer-bottom{
  margin:40px 0 0;
  padding:20px 0 0;
  border-top:1px solid rgba(255,255,255,.2);
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  font-size:12px;
  color:rgba(255,255,255,.7);
}

.footer-brandline{
  display:flex;
  align-items:center;
  gap:12px;
}

.footer-logo{
  height:18px;
  opacity:.9;
}

/* Legal bottom rechts */
.footer-legal{
  display:flex;
  gap:18px;
}

/* Kein Kursivstil */
.site-footer address,
.site-footer em,
.site-footer i { font-style: normal; }

.footer-contact-brand{
  display:block;
  font-weight:700;
  margin-bottom:2px;
}

.footer-contact-legal,
.footer-contact-line{
  display:block;
}

@media (max-width:900px){
  .footer-cols{ grid-template-columns:1fr 1fr; }
}

@media (max-width:600px){
  .footer-cols{ grid-template-columns:1fr; }
}

/* =======================
   Ende NOISELEVEL FOOTER
   ======================= */



   /* ================= Text-Links im Inhalt ================= */
/* Nur verwenden, wo Links wie im Beispiel aussehen sollen */
.text-link {
  position: relative;
  color: #0d1724;        /* schwarz */
  font-weight: 400;      /* kannst du bei Bedarf auf 500/400 absenken */
  text-decoration: none;
  padding-bottom: 2px;   /* Abstand zum Unterstrich */
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #0d1724;
  transition: width 0.22s ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  width: 100%;
}
/* ================= Ende Text-Links im Inhalt ================= */



/* ===== Projekt-Detail: Thumbnail-Navigation / Carousel ===== */

.project-media-nav {
  display: flex;
  align-items: center;
  justify-content: center;   /* Thumbnails + Pfeile mittig */
  gap: 8px;                  /* Abstand Pfeil <-> erstes/letztes Bild */
  margin-top: 8px;
}

.project-media-arrow {
  border: none;
  background: none;
  padding: 4px 10px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  color: #000;
}

/* 1./letztes Bild: Pfeil sichtbar, aber „ausgeschaltet“, kein Springen */
.project-media-arrow.is-disabled {
  opacity: 0.25;
  pointer-events: none;
}

/* Zu wenige Bilder gesamt (JS setzt das):
   Pfeile komplett unsichtbar, aber Platz bleibt erhalten */
.project-media-arrow.is-hidden-static {
  visibility: hidden;
}

.project-thumbs {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.project-thumbs::-webkit-scrollbar {
  display: none;
}

.project-thumb {
  width: 72px;
  height: 48px;
  border: 1px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  flex: 0 0 auto;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-thumb.is-active {
  border: 2px solid #0d1724;
}

/* ================= Ende Projekt-Detail: Thumbnail-Navigation ================= */



/* Auf Projekte- und News-Übersicht keine Trennlinie zwischen Sections */
/* Auf Projekte-Übersicht: zweite Section ohne obere Luft + keine Trennlinie */
body.page-projekte .section + .section {
  border-top: none;
  padding-top: 0;        /* <- wichtiger Teil */
}

/* Auf News-Übersicht: nur keine Trennlinie */
body.page-news .section + .section {
  border-top: none;
}
/*  Ende Auf Projekte- und News-Übersicht keine Trennlinie zwischen Sections */ 









/* ================= Call to Action Zentriert Startseite ================= */


.cta-centered {
  text-align: center;
  padding: 60px 0;
}

.cta-centered .cta-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0d1724;
}

.cta-centered .cta-lead {
  font-size: 16px;
  color: var(--color-muted);
  margin-bottom: 26px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}


/* ================= Ende Call to Action Zentriert Startseite ================= */



.lazy-img {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.lazy-img.is-loaded {
  opacity: 1;
}
