/*
Theme Name: Nestocom - Childtheme
Author: nestocom - Nestoras Stergiopoulos
Description: Childtheme auf Basis des Divi - Themebuilders
Version: 1.0
Template: Divi
*/

:root {
  --divi-font-body: "Titillium Web", sans-serif;
  --divi-font-heading: "Titillium Web", sans-serif;
}

/* ============================================================
   Fonts — lokal gehostet
   ============================================================ */

@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('https://beta.nestocom.de/wp-content/uploads/fonts/NaPDcZTIAOhVxoMyOr9n_E7ffGjEKIl5YrSYqWM.woff2') format('woff2');
}

@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://beta.nestocom.de/wp-content/uploads/fonts/NaPecZTIAOhVxoMyOr9n_E7fRMHsDIRSfr0.woff2') format('woff2');
}

@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('https://beta.nestocom.de/wp-content/uploads/fonts/NaPDcZTIAOhVxoMyOr9n_E7ffBzCKIl5YrSYqWM.woff2') format('woff2');
}

@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://beta.nestocom.de/wp-content/uploads/fonts/NaPDcZTIAOhVxoMyOr9n_E7ffHjDKIl5YrSYqWM.woff2') format('woff2');
}

@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://beta.nestocom.de/wp-content/uploads/fonts/i7dPIFZifjKcF5UAWdDRUEN2RFq7AwU.woff2') format('woff2');
}

@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://beta.nestocom.de/wp-content/uploads/fonts/i7dMIFZifjKcF5UAWdDRaPpZYFeQHwyVd3U.woff2') format('woff2');
}

/* ============================================================
   Globale Typografie
   ============================================================ */

body,
.et_pb_text,
.et_pb_button,
input, select, textarea {
  font-family: "Titillium Web", sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Titillium Web", sans-serif !important;
  font-weight: 700;
}

.mono {
  font-family: "Space Mono", monospace !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   Hero — Sektion
   ============================================================ */

.nesto-hero {
  background-color: #1E1E5A; /* Primär */
  padding: 100px 40px;
  width: 100%;
}

.nesto-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 60px;
  align-items: center;
}

/* Hero Variante — zentriert (Unterseiten) */
.nesto-hero-inner--single {
  grid-template-columns: 1fr;
  max-width: 800px;
}

.nesto-hero-content--centered {
  text-align: center;
}

.nesto-hero-content--centered .nesto-hero-sub {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* Kicker */
.nesto-kicker {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a6b3a; /* Gold dunkler — WCAG AA */
  margin-bottom: 16px;
}

/* Kicker auf Navy (Hero) */
.nesto-hero .nesto-kicker {
  color: #c9a97a; /* Gold heller — WCAG AA auf Navy */
}

/* Kicker auf Beige/Weiß */
.nesto-services .nesto-kicker,
.nesto-blog .nesto-kicker,
.nesto-refs .nesto-kicker,
.nesto-pakete .nesto-kicker,
.nesto-prozess .nesto-kicker,
.nesto-projekte .nesto-kicker,
.nesto-plattformen .nesto-kicker,
.nesto-webbenefits .nesto-kicker,
.nesto-einsatz .nesto-kicker,
.nesto-faq .nesto-kicker,
.nesto-story .nesto-kicker,
.nesto-credentials .nesto-kicker,
.nesto-kontakt .nesto-kicker,
.nesto-cta .nesto-kicker {
  color: #7a5f2e; /* Gold noch dunkler für helle Hintergründe */
}

/* H1 */
.nesto-hero-h1 {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.05;
  color: #ffffff; /* Weiß */
  margin-bottom: 24px;
  white-space: normal;
}

.nesto-hero-h1 span {
  font-size: 42px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.nesto-hero-h1--large {
  font-size: 52px;
}

/* Subtext */
.nesto-hero-sub {
  font-family: 'Titillium Web', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 36px;
}

/* Buttons */
.nesto-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nesto-btn-primary {
  display: inline-block;
  background: #0F69B4; /* Sekundär */
  color: #ffffff; /* Weiß */
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  text-decoration: none;
  border: 2px solid #0F69B4; /* Sekundär */
  transition: background 0.2s, border-color 0.2s;
}

.nesto-btn-primary:hover {
  background: #0d588f;
  border-color: #0d588f;
  color: #ffffff; /* Weiß */
}

.nesto-btn-ghost {
  display: inline-block;
  background: transparent;
  color: #ffffff; /* Weiß */
  font-family: 'Titillium Web', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s;
}

.nesto-btn-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  color: #ffffff; /* Weiß */
}

.nesto-btn-outline {
  display: block;
  text-align: center;
  background: transparent;
  color: #0F69B4; /* Sekundär */
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  text-decoration: none;
  border: 2px solid #0F69B4; /* Sekundär */
  transition: background 0.2s, color 0.2s;
  margin-bottom: 28px;
}

.nesto-btn-outline:hover {
  background: #0F69B4; /* Sekundär */
  color: #ffffff; /* Weiß */
}

/* Hero Bild-Modul */
.nesto-hero-image {
  position: relative;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 28px 12px 12px;
  background: rgba(255,255,255,0.03);
  margin-top: 20px;
}

.nesto-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(20%);
}

.nesto-hero-image--svg {
  background: rgba(255,255,255,0.02);
}

.nesto-hero-image--svg svg {
  display: block;
  width: 100%;
}

.nesto-hero-label-top {
  position: absolute;
  top: -10px;
  left: 12px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  background: #1E1E5A; /* Primär */
  padding: 0 8px;
}

.nesto-hero-coords {
  display: flex;
  justify-content: space-between;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  margin-top: 8px;
}

/* ============================================================
   Services — Sektion
   ============================================================ */

.nesto-services {
  background: #f4f2ee; /* Beige */
  padding: 80px 40px;
  width: 100%;
}

.nesto-services-intro {
  max-width: 1200px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}

.nesto-services-h2 {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 38px;
  line-height: 1.1;
  color: #1E1E5A; /* Primär */
  margin-top: 12px;
  margin-bottom: 0;
}

.nesto-services-intro-text {
  font-family: 'Titillium Web', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #696969; /* Fließtextfarbe */
  margin: 0;
}

.nesto-services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.nesto-service-card {
  position: relative;
  background: #ffffff; /* Weiß */
  border: 1px solid #e6e2db; /* Border */
  padding: 36px 32px 40px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.nesto-service-card:hover {
  border-color: #0F69B4; /* Sekundär */
  box-shadow: 0 4px 24px rgba(15,105,180,0.08);
}

.nesto-service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.nesto-service-icon {
  width: 32px;
  height: 32px;
  color: #0F69B4; /* Sekundär */
}

.nesto-service-number {
  font-family: 'Space Mono', monospace;
  font-size: 11px !important;
  letter-spacing: 0.12em;
  color: #8a6b3a; /* Gold dunkler */
  text-transform: uppercase;
}

.nesto-service-title {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #1E1E5A; /* Primär */
  margin-bottom: 12px;
}

.nesto-service-text {
  font-family: 'Titillium Web', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #696969; /* Fließtextfarbe */
  margin-bottom: 24px;
}

.nesto-service-link {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #0F69B4; /* Sekundär */
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nesto-service-link:hover {
  color: #1E1E5A; /* Primär */
}

.nesto-service-bg-number {
  position: absolute;
  bottom: -10px;
  right: 16px;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 80px;
  color: rgba(30,30,90,0.04); /* Primär transparent */
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ============================================================
   Referenzen — Startseiten-Sektion (statisch)
   ============================================================ */

.nesto-refs {
  background: #ffffff; /* Weiß */
  padding: 80px 40px;
  width: 100%;
  border-top: 1px solid #e6e2db; /* Border */
}

.nesto-refs-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.nesto-refs-header {
  margin-bottom: 40px;
}

.nesto-refs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.nesto-ref-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  border: 1px solid #e6e2db; /* Border */
  text-decoration: none;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #ffffff; /* Weiß */
  gap: 12px;
}

.nesto-ref-item:hover {
  border-color: #0F69B4; /* Sekundär */
  box-shadow: 0 4px 16px rgba(15,105,180,0.08);
}

.nesto-ref-item img {
  width: 100%;
  max-width: 140px;
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%) !important;
  opacity: 0.7 !important;
  transition: filter 0.2s, opacity 0.2s;
}

.nesto-ref-item:hover img {
  filter: grayscale(0%) !important;
  opacity: 1 !important;
}

.nesto-ref-name {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #1E1E5A; /* Primär */
}

.nesto-ref-type {
  font-family: 'Space Mono', monospace;
  font-size: 11px !important;
  letter-spacing: 0.08em;
  color: #8a6b3a; /* Gold dunkler */
  text-transform: uppercase;
}

.nesto-refs-footer {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #e6e2db; /* Border */
}

/* ============================================================
   Blog-Teaser
   ============================================================ */

.nesto-blog {
  background: #f4f2ee; /* Beige */
  padding: 80px 40px;
  width: 100%;
}

.nesto-blog-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.nesto-blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.nesto-blog-h2 {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #1E1E5A; /* Primär */
  margin-top: 12px;
  margin-bottom: 0;
}

.nesto-blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.nesto-blog-card--featured {
  background: #ffffff; /* Weiß */
  border: 1px solid #e6e2db; /* Border */
}

.nesto-blog-card-image {
  position: relative;
  background: #1E1E5A; /* Primär */
  height: 220px;
  display: flex;
  align-items: flex-start;
  padding: 20px;
}

.nesto-blog-tag {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #0F69B4; /* Sekundär */
  color: #ffffff; /* Weiß */
  padding: 4px 10px;
}

.nesto-blog-card-content {
  padding: 28px 32px;
}

.nesto-blog-meta {
  font-family: 'Space Mono', monospace;
  font-size: 11px !important;
  letter-spacing: 0.08em;
  color: #8a6b3a; /* Gold dunkler */
  text-transform: uppercase;
  margin-bottom: 12px;
}

.nesto-blog-title {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #1E1E5A; /* Primär */
  line-height: 1.3;
  margin-bottom: 16px;
}

.nesto-blog-title--small {
  font-size: 16px;
  margin-bottom: 12px;
}

.nesto-blog-excerpt {
  font-family: 'Titillium Web', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #696969; /* Fließtextfarbe */
  margin-bottom: 20px;
}

.nesto-blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nesto-blog-card--small {
  background: #ffffff; /* Weiß */
  border: 1px solid #e6e2db; /* Border */
  transition: border-color 0.2s;
}

.nesto-blog-card--small:hover {
  border-color: #0F69B4; /* Sekundär */
}

.nesto-blog-card--small .nesto-blog-card-content {
  padding: 20px 24px;
}

/* ============================================================
   Pakete / Pricing
   ============================================================ */

.nesto-pakete {
  background: #ffffff; /* Weiß */
  padding: 80px 40px;
  width: 100%;
}

.nesto-pakete-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.nesto-pakete-header {
  text-align: center;
  margin-bottom: 60px;
}

.nesto-pakete-h2 {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #1E1E5A; /* Primär */
  margin: 12px 0 16px;
}

.nesto-pakete-sub {
  font-family: 'Titillium Web', sans-serif;
  font-size: 16px;
  color: #696969; /* Fließtextfarbe */
  margin: 0;
}

.nesto-pakete-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.nesto-paket {
  position: relative;
  border: 1px solid #e6e2db; /* Border */
  padding: 36px 32px;
  background: #ffffff; /* Weiß */
  transition: box-shadow 0.2s;
}

.nesto-paket:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.nesto-paket--featured {
  border: 2px solid #0F69B4; /* Sekundär */
  padding-top: 52px;
}

.nesto-paket-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: #0F69B4; /* Sekundär */
  color: #ffffff; /* Weiß */
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
}

.nesto-paket-nr {
  font-family: 'Space Mono', monospace;
  font-size: 11px !important;
  letter-spacing: 0.12em;
  color: #8a6b3a; /* Gold dunkler */
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.nesto-paket-name {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: #1E1E5A; /* Primär */
  margin-bottom: 8px;
}

.nesto-paket-desc {
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
  color: #696969; /* Fließtextfarbe */
  margin-bottom: 24px;
  line-height: 1.5;
}

.nesto-paket-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.nesto-paket-amount {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 48px;
  color: #1E1E5A; /* Primär */
  line-height: 1;
}

.nesto-paket--featured .nesto-paket-amount {
  color: #0F69B4; /* Sekundär */
}

.nesto-paket-currency {
  font-family: 'Titillium Web', sans-serif;
  font-size: 16px;
  color: #696969; /* Fließtextfarbe */
}

.nesto-paket-note {
  font-family: 'Space Mono', monospace;
  font-size: 11px !important;
  color: #8a6b3a; /* Gold dunkler */
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.nesto-paket .nesto-btn-primary {
  display: block;
  text-align: center;
  margin-bottom: 28px;
}

.nesto-paket-features {
  list-style: none !important;
  padding: 0;
  margin: 0;
  border-top: 1px solid #e6e2db; /* Border */
  padding-top: 24px;
}

.nesto-paket-features li {
  list-style: none !important;
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
  color: #696969; /* Fließtextfarbe */
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px solid #f4f2ee; /* Beige */
  line-height: 1.4;
}

.nesto-paket-features li::before {
  content: '\25C6';
  position: absolute;
  left: 0;
  color: #b8915f; /* Gold */
  font-size: 8px;
  top: 10px;
}

/* ============================================================
   Benefits — Sektion
   ============================================================ */

.nesto-benefits {
  background: #1E1E5A; /* Primär */
  padding: 80px 40px;
  width: 100%;
}

.nesto-benefits-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.nesto-benefits-header {
  margin-bottom: 60px;
}

.nesto-benefits-h2 {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 38px;
  color: #ffffff; /* Weiß */
  line-height: 1.1;
  margin-top: 12px;
}

.nesto-benefits-h2 span {
  font-weight: 400;
  color: rgba(255,255,255,0.6);
}

.nesto-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
}

.nesto-benefit-item {
  padding: 36px 32px;
  background: #1E1E5A; /* Primär */
  border-top: 2px solid rgba(255,255,255,0.08);
  transition: border-color 0.2s;
}

.nesto-benefit-item:hover {
  border-top-color: #b8915f; /* Gold */
}

.nesto-benefit-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px !important;
  letter-spacing: 0.15em;
  color: #c9a97a; /* Gold heller auf Navy */
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.nesto-benefit-title {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #ffffff; /* Weiß */
  margin-bottom: 12px;
}

.nesto-benefit-text {
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

/* ============================================================
   FAQ — Akkordeon
   ============================================================ */

.nesto-faq {
  background: #f4f2ee; /* Beige */
  padding: 80px 40px;
  width: 100%;
}

.nesto-faq-inner {
  max-width: 800px;
  margin: 0 auto;
}

.nesto-faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.nesto-faq-h2 {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #1E1E5A; /* Primär */
  margin-top: 12px;
}

.nesto-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nesto-faq-item {
  border-bottom: 1px solid #e6e2db; /* Border */
}

.nesto-faq-item:first-child {
  border-top: 1px solid #e6e2db; /* Border */
}

.nesto-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #1E1E5A; /* Primär */
  transition: color 0.2s;
}

.nesto-faq-question:hover,
.nesto-faq-question[aria-expanded="true"] {
  color: #0F69B4; /* Sekundär */
}

.nesto-faq-icon {
  font-family: 'Space Mono', monospace;
  font-size: 20px;
  color: #b8915f; /* Gold */
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}

.nesto-faq-question[aria-expanded="true"] .nesto-faq-icon {
  transform: rotate(45deg);
}

.nesto-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.nesto-faq-answer.nesto-faq-answer--open {
  max-height: 300px;
  padding-bottom: 22px;
}

.nesto-faq-answer p {
  font-family: 'Titillium Web', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #696969; /* Fließtextfarbe */
  margin: 0;
}

/* ============================================================
   Referenzprojekte — Browser Mockup Cards
   ============================================================ */

.nesto-projekte {
  background: #ffffff; /* Weiß */
  padding: 80px 40px;
  width: 100%;
}

.nesto-projekte-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.nesto-projekte-header {
  margin-bottom: 60px;
}

.nesto-projekte-h2 {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 38px;
  color: #1E1E5A; /* Primär */
  line-height: 1.1;
  margin-top: 12px;
}

.nesto-projekte-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.nesto-projekt-card {
  border: 1px solid #e6e2db; /* Border */
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.nesto-projekt-card:hover {
  border-color: #0F69B4; /* Sekundär */
  box-shadow: 0 8px 32px rgba(15,105,180,0.08);
}

.nesto-projekt-link {
  display: block;
  text-decoration: none;
}

.nesto-projekt-browser {
  border-bottom: 1px solid #e6e2db; /* Border */
  overflow: hidden;
}

.nesto-projekt-browser-bar {
  background: #f4f2ee; /* Beige */
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e6e2db; /* Border */
}

.nesto-projekt-dots {
  display: flex;
  gap: 4px;
}

.nesto-projekt-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e6e2db; /* Border */
  display: block;
}

.nesto-projekt-url {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: #696969; /* Fließtextfarbe */
  letter-spacing: 0.05em;
}

.nesto-projekt-screen {
  height: 200px;
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nesto-projekt-screen--sport { background: #1a1a4a; }
.nesto-projekt-screen--auction { background: #2a1a0a; }
.nesto-projekt-screen--ferien { background: #0a2a3a; }

.nesto-projekt-screen-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nesto-projekt-screen-logo {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
}

.nesto-projekt-screen-nav-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nesto-projekt-screen-nav-lines span {
  display: block;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

.nesto-projekt-screen-nav-lines span:nth-child(1) { width: 20px; }
.nesto-projekt-screen-nav-lines span:nth-child(2) { width: 14px; }
.nesto-projekt-screen-nav-lines span:nth-child(3) { width: 17px; }

.nesto-projekt-screen-content {
  flex: 1;
  padding: 12px 14px;
}

.nesto-projekt-screen-tag {
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: #b8915f; /* Gold */
  margin-bottom: 8px;
}

.nesto-projekt-screen-headline {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #ffffff; /* Weiß */
  line-height: 1.2;
  margin-bottom: 12px;
}

.nesto-projekt-screen-widget {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 10px;
  display: inline-block;
  min-width: 140px;
}

.nesto-projekt-widget-label {
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.nesto-projekt-widget-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nesto-projekt-widget-rows div {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 1px;
}

.nesto-projekt-widget-rows div:nth-child(1) { width: 100%; }
.nesto-projekt-widget-rows div:nth-child(2) { width: 75%; }
.nesto-projekt-widget-rows div:nth-child(3) { width: 88%; }

.nesto-projekt-widget-rows--calendar div.available { background: rgba(15,105,180,0.4); }
.nesto-projekt-widget-rows--calendar div.booked { background: rgba(184,145,95,0.4); }

.nesto-projekt-screen-coords {
  display: flex;
  justify-content: space-between;
  padding: 6px 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.nesto-projekt-screen-coords span {
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.08em;
}

.nesto-projekt-info {
  padding: 24px 28px;
}

.nesto-projekt-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.nesto-projekt-nr {
  font-family: 'Space Mono', monospace;
  font-size: 11px !important;
  letter-spacing: 0.12em;
  color: #8a6b3a; /* Gold dunkler */
}

.nesto-projekt-year {
  font-family: 'Space Mono', monospace;
  font-size: 11px !important;
  color: #696969; /* Fließtextfarbe */
  letter-spacing: 0.05em;
}

.nesto-projekt-title {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #1E1E5A; /* Primär */
  margin-bottom: 10px;
}

.nesto-projekt-desc {
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #696969; /* Fließtextfarbe */
  margin-bottom: 16px;
}

.nesto-projekt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nesto-projekt-tags span {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0F69B4; /* Sekundär */
  border: 1px solid #e6e2db; /* Border */
  padding: 3px 8px;
}

/* CTA Card */
.nesto-projekt-card--cta {
  background: #1E1E5A; /* Primär */
  border-color: #1E1E5A; /* Primär */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.nesto-projekt-card--cta:hover {
  border-color: #0F69B4; /* Sekundär */
}

.nesto-projekt-cta-inner {
  padding: 48px 40px;
  text-align: center;
}

.nesto-projekt-card--cta .nesto-kicker {
  color: #c9a97a; /* Gold heller auf Navy */
  margin-bottom: 20px;
}

.nesto-projekt-cta-title {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #ffffff; /* Weiß */
  line-height: 1.2;
  margin-bottom: 16px;
}

.nesto-projekt-cta-text {
  font-family: 'Titillium Web', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
}

/* CTA Ecken */
.nesto-cta-inner {
  position: relative;
}

.nesto-cta-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  display: block;
}

.nesto-cta-corner--tl {
  top: -20px;
  left: -20px;
  border-top: 1px solid rgba(255,255,255,0.3);
  border-left: 1px solid rgba(255,255,255,0.3);
}

.nesto-cta-corner--br {
  bottom: -20px;
  right: -20px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  border-right: 1px solid rgba(255,255,255,0.3);
}

/* ============================================================
   Webdesign Hero Screen
   ============================================================ */

.nesto-webdesign-screen {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}

.nesto-webdesign-screen-bar {
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 8px 12px;
  display: flex;
  gap: 5px;
}

.nesto-webdesign-screen-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: block;
}

.nesto-webdesign-screen-content {
  padding: 40px 20px;
  text-align: center;
}

.nesto-webdesign-code {
  margin-bottom: 20px;
}

.nesto-code-bracket {
  font-family: 'Space Mono', monospace;
  font-size: 48px;
  color: rgba(255,255,255,0.15);
  letter-spacing: -0.05em;
}

.nesto-webdesign-tags {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nesto-webdesign-tags span {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 3px 8px;
}

.nesto-webdesign-screen-footer {
  display: flex;
  justify-content: space-between;
  padding: 6px 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.nesto-webdesign-screen-footer span {
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.1em;
}

/* ============================================================
   Plattformen
   ============================================================ */

.nesto-plattformen {
  background: #ffffff; /* Weiß */
  padding: 80px 40px;
  width: 100%;
  border-top: 1px solid #e6e2db; /* Border */
}

.nesto-plattformen-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.nesto-plattformen-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.nesto-plattformen-h2 {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #1E1E5A; /* Primär */
  line-height: 1.1;
  margin-top: 12px;
}

.nesto-plattformen-intro-text {
  font-family: 'Titillium Web', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #696969; /* Fließtextfarbe */
  margin: 0;
}

.nesto-plattformen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid #e6e2db; /* Border */
}

.nesto-plattform-card {
  padding: 32px 28px;
  border-right: 1px solid #e6e2db; /* Border */
  transition: background 0.2s;
}

.nesto-plattform-card:last-child {
  border-right: none;
}

.nesto-plattform-card:hover {
  background: #f4f2ee; /* Beige */
}

.nesto-plattform-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.nesto-plattform-nr {
  font-family: 'Space Mono', monospace;
  font-size: 11px !important;
  letter-spacing: 0.12em;
  color: #8a6b3a; /* Gold dunkler */
  text-transform: uppercase;
}

.nesto-plattform-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0F69B4; /* Sekundär */
  display: block;
}

.nesto-plattform-name {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #1E1E5A; /* Primär */
  margin-bottom: 10px;
}

.nesto-plattform-text {
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #696969; /* Fließtextfarbe */
  margin: 0;
}

/* ============================================================
   Web-Benefits
   ============================================================ */

.nesto-webbenefits {
  background: #f4f2ee; /* Beige */
  padding: 80px 40px;
  width: 100%;
}

.nesto-webbenefits-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.nesto-webbenefits-header {
  margin-bottom: 48px;
}

.nesto-webbenefits-h2 {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #1E1E5A; /* Primär */
  line-height: 1.1;
  margin-top: 12px;
}

.nesto-webbenefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #e6e2db; /* Border */
}

.nesto-webbenefit-item {
  background: #f4f2ee; /* Beige */
  padding: 36px 32px;
  border-top: 2px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.nesto-webbenefit-item:hover {
  border-top-color: #0F69B4; /* Sekundär */
  background: #ffffff; /* Weiß */
}

.nesto-webbenefit-nr {
  font-family: 'Space Mono', monospace;
  font-size: 11px !important;
  letter-spacing: 0.12em;
  color: #8a6b3a; /* Gold dunkler */
  display: block;
  margin-bottom: 14px;
}

.nesto-webbenefit-title {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #1E1E5A; /* Primär */
  margin-bottom: 10px;
}

.nesto-webbenefit-text {
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #696969; /* Fließtextfarbe */
  margin: 0;
}

/* ============================================================
   Prozess
   ============================================================ */

.nesto-prozess {
  background: #ffffff; /* Weiß */
  padding: 80px 40px;
  width: 100%;
  border-top: 1px solid #e6e2db; /* Border */
}

.nesto-prozess-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.nesto-prozess-header {
  margin-bottom: 60px;
}

.nesto-prozess-h2 {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #1E1E5A; /* Primär */
  line-height: 1.1;
  margin-top: 12px;
}

.nesto-prozess-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.nesto-prozess-item {
  padding: 0 32px 0 0;
  position: relative;
}

.nesto-prozess-item--last {
  padding-right: 0;
}

.nesto-prozess-line {
  position: absolute;
  top: 6px;
  left: 6px;
  right: -32px;
  height: 1px;
  background: #e6e2db; /* Border */
  z-index: 0;
}

.nesto-prozess-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #0F69B4; /* Sekundär */
  border: 2px solid #ffffff; /* Weiß */
  outline: 1px solid #0F69B4; /* Sekundär */
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.nesto-prozess-nr {
  font-family: 'Space Mono', monospace;
  font-size: 11px !important;
  letter-spacing: 0.12em;
  color: #8a6b3a; /* Gold dunkler */
  display: block;
  margin-bottom: 10px;
}

.nesto-prozess-title {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #1E1E5A; /* Primär */
  margin-bottom: 10px;
}

.nesto-prozess-text {
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #696969; /* Fließtextfarbe */
  margin: 0;
}

/* ============================================================
   Drohnen Trust Bar
   ============================================================ */

.nesto-drohnen-trust {
  background: #f4f2ee; /* Beige */
  padding: 40px;
  width: 100%;
  border-bottom: 1px solid #e6e2db; /* Border */
}

.nesto-drohnen-trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.nesto-drohnen-trust-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 24px;
  border-left: 1px solid #e6e2db; /* Border */
}

.nesto-drohnen-trust-nr {
  font-family: 'Space Mono', monospace;
  font-size: 11px !important;
  letter-spacing: 0.12em;
  color: #7a5f2e; /* Gold dunkler für helle Hintergründe */
  flex-shrink: 0;
}

.nesto-drohnen-trust-title {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1E1E5A; /* Primär */
  display: block;
  margin-bottom: 2px;
}

.nesto-drohnen-trust-sub {
  font-family: 'Titillium Web', sans-serif;
  font-size: 13px;
  color: #696969; /* Fließtextfarbe */
}

/* ============================================================
   Einsatzbereiche
   ============================================================ */

.nesto-einsatz {
  background: #f4f2ee; /* Beige */
  padding: 80px 40px;
  width: 100%;
}

.nesto-einsatz-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.nesto-einsatz-header {
  margin-bottom: 48px;
}

.nesto-einsatz-h2 {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #1E1E5A; /* Primär */
  margin-top: 12px;
}

.nesto-einsatz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: #e6e2db; /* Border */
}

.nesto-einsatz-item {
  background: #f4f2ee; /* Beige */
  padding: 32px 28px;
  border-top: 2px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.nesto-einsatz-item:hover {
  border-top-color: #0F69B4; /* Sekundär */
  background: #ffffff; /* Weiß */
}

.nesto-einsatz-nr {
  font-family: 'Space Mono', monospace;
  font-size: 11px !important;
  letter-spacing: 0.12em;
  color: #8a6b3a; /* Gold dunkler */
  display: block;
  margin-bottom: 14px;
}

.nesto-einsatz-title {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #1E1E5A; /* Primär */
  margin-bottom: 10px;
  line-height: 1.3;
}

.nesto-einsatz-text {
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #696969; /* Fließtextfarbe */
  margin: 0;
}

/* ============================================================
   Galerie
   ============================================================ */

.nesto-galerie {
  background: #15152e; /* Footer */
  padding: 80px 40px;
  width: 100%;
}

.nesto-galerie-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.nesto-galerie-header {
  margin-bottom: 40px;
}

.nesto-galerie-h2 {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #ffffff; /* Weiß */
  margin-top: 12px;
}

.nesto-galerie-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 40px;
}

.nesto-galerie-tab {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: rgba(255,255,255,0.4);
  background: none;
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nesto-galerie-tab:hover {
  color: rgba(255,255,255,0.7);
}

.nesto-galerie-tab--active {
  color: #ffffff; /* Weiß */
  border-bottom-color: #0F69B4; /* Sekundär */
}

.nesto-tab-nr {
  font-family: 'Space Mono', monospace;
  font-size: 11px !important;
  letter-spacing: 0.1em;
  color: #c9a97a; /* Gold heller auf dunklem Hintergrund */
}

.nesto-galerie-panel {
  display: none;
}

.nesto-galerie-panel--active {
  display: block;
}

.nesto-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 8px;
  margin-bottom: 24px;
}

.nesto-masonry-item {
  position: relative;
  overflow: hidden;
}

.nesto-masonry-item--tall { grid-row: span 2; }
.nesto-masonry-item--wide { grid-column: span 2; }

.nesto-masonry-placeholder {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.02),
    rgba(255,255,255,0.02) 10px,
    rgba(255,255,255,0.04) 10px,
    rgba(255,255,255,0.04) 20px
  );
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.nesto-masonry-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(15,15,46,0.9), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.nesto-masonry-item:hover .nesto-masonry-overlay {
  opacity: 1;
}

.nesto-masonry-coords {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #c9a97a; /* Gold heller auf dunklem Hintergrund */
  display: block;
  margin-bottom: 3px;
}

.nesto-masonry-label {
  font-family: 'Titillium Web', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff; /* Weiß */
  display: block;
}

.nesto-video-placeholder {
  height: 400px;
  background: #0a0a1a;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  overflow: hidden;
}

.nesto-video-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,105,180,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,105,180,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.nesto-video-placeholder-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.nesto-video-icon { margin-bottom: 20px; }

.nesto-video-label {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.nesto-video-sub {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #c9a97a; /* Gold heller auf dunklem Hintergrund */
}

.nesto-panorama-placeholder {
  height: 400px;
  background: #0a0a1a;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.nesto-panorama-inner { text-align: center; }
.nesto-panorama-icon { margin-bottom: 20px; }

.nesto-panorama-label {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.nesto-panorama-sub {
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.nesto-panorama-tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nesto-panorama-tags span {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0F69B4; /* Sekundär */
  border: 1px solid rgba(15,105,180,0.3);
  padding: 3px 10px;
}

.nesto-galerie-hint {
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

.nesto-galerie-hint a {
  color: #0F69B4; /* Sekundär */
  text-decoration: none;
}

.nesto-galerie-hint a:hover {
  color: #ffffff; /* Weiß */
}

/* ============================================================
   Portrait Platzhalter
   ============================================================ */

.nesto-portrait-placeholder {
  background: rgba(255,255,255,0.03);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nesto-portrait-placeholder-inner { text-align: center; }

.nesto-portrait-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  margin-top: 16px;
  text-transform: uppercase;
}

/* ============================================================
   Story
   ============================================================ */

.nesto-story {
  background: #f4f2ee; /* Beige */
  padding: 80px 40px;
  width: 100%;
}

.nesto-story-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.nesto-story-h2 {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #1E1E5A; /* Primär */
  line-height: 1.1;
  margin-top: 12px;
}

.nesto-story-text {
  font-family: 'Titillium Web', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #696969; /* Fließtextfarbe */
  margin-bottom: 20px;
}

.nesto-story-text:last-child { margin-bottom: 0; }

/* ============================================================
   Timeline
   ============================================================ */

.nesto-timeline {
  background: #1E1E5A; /* Primär */
  padding: 80px 40px;
  width: 100%;
}

.nesto-timeline-inner {
  max-width: 800px;
  margin: 0 auto;
}

.nesto-timeline-list {
  margin-top: 48px;
  position: relative;
}

.nesto-timeline-list::before {
  content: '';
  position: absolute;
  left: 108px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.08);
}

.nesto-timeline-item {
  display: grid;
  grid-template-columns: 90px 24px 1fr;
  gap: 0 24px;
  align-items: start;
  margin-bottom: 40px;
}

.nesto-timeline-item:last-child { margin-bottom: 0; }

.nesto-timeline-year {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #c9a97a; /* Gold heller auf Navy */
  text-align: right;
  padding-top: 2px;
}

.nesto-timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid #1E1E5A; /* Primär */
  outline: 1px solid rgba(255,255,255,0.2);
  margin-top: 3px;
  position: relative;
  z-index: 1;
  justify-self: center;
}

.nesto-timeline-dot--accent {
  background: #0F69B4; /* Sekundär */
  outline-color: #0F69B4; /* Sekundär */
}

.nesto-timeline-dot--gold {
  background: #b8915f; /* Gold */
  outline-color: #b8915f; /* Gold */
}

.nesto-timeline-title {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #ffffff; /* Weiß */
  margin-bottom: 6px;
}

.nesto-timeline-text {
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* ============================================================
   Credentials
   ============================================================ */

.nesto-credentials {
  background: #ffffff; /* Weiß */
  padding: 80px 40px;
  width: 100%;
  border-top: 1px solid #e6e2db; /* Border */
}

.nesto-credentials-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.nesto-credentials-header { margin-bottom: 48px; }

.nesto-credentials-h2 {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #1E1E5A; /* Primär */
  margin-top: 12px;
}

.nesto-credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: #e6e2db; /* Border */
}

.nesto-credential-item {
  background: #ffffff; /* Weiß */
  padding: 32px 28px;
  border-top: 2px solid transparent;
  transition: border-color 0.2s;
}

.nesto-credential-item:hover {
  border-top-color: #b8915f; /* Gold */
}

.nesto-credential-nr {
  font-family: 'Space Mono', monospace;
  font-size: 11px !important;
  letter-spacing: 0.12em;
  color: #8a6b3a; /* Gold dunkler */
  display: block;
  margin-bottom: 14px;
}

.nesto-credential-title {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #1E1E5A; /* Primär */
  margin-bottom: 8px;
  line-height: 1.3;
}

.nesto-credential-org {
  font-family: 'Titillium Web', sans-serif;
  font-size: 13px;
  color: #0F69B4; /* Sekundär */
  margin-bottom: 4px;
}

.nesto-credential-detail {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #696969; /* Fließtextfarbe */
  margin: 0;
}

/* ============================================================
   Kontakt
   ============================================================ */

.nesto-kontakt {
  background: #f4f2ee; /* Beige */
  padding: 80px 40px;
  width: 100%;
}

.nesto-kontakt-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.nesto-kontakt-info-block {
  margin-bottom: 48px;
}

.nesto-kontakt-info-block:last-child { margin-bottom: 0; }

.nesto-kontakt-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.nesto-kontakt-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e6e2db; /* Border */
}

.nesto-kontakt-list li:first-child {
  border-top: 1px solid #e6e2db; /* Border */
}

.nesto-kontakt-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px !important;
  letter-spacing: 0.1em;
  color: #8a6b3a; /* Gold dunkler */
  text-transform: uppercase;
  padding-top: 2px;
}

.nesto-kontakt-value {
  font-family: 'Titillium Web', sans-serif;
  font-size: 15px;
  color: #1E1E5A; /* Primär */
  text-decoration: none;
  line-height: 1.5;
}

.nesto-kontakt-value:hover { color: #0F69B4; /* Sekundär */ }

.nesto-reaktion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #e6e2db; /* Border */
  margin-top: 16px;
}

.nesto-reaktion-item {
  background: #ffffff; /* Weiß */
  padding: 20px;
  text-align: center;
}

.nesto-reaktion-time {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #1E1E5A; /* Primär */
  display: block;
  margin-bottom: 4px;
}

.nesto-reaktion-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px !important;
  letter-spacing: 0.08em;
  color: #8a6b3a; /* Gold dunkler */
  text-transform: uppercase;
}

.nesto-kontakt-form-inner {
  background: #ffffff; /* Weiß */
  border: 1px solid #e6e2db; /* Border */
  padding: 40px;
}

/* CF7 Styling */
.nesto-cf7-wrapper .wpcf7-form { margin: 0; }

.nesto-cf7-row { margin-bottom: 20px; }
.nesto-cf7-row--hidden { display: none; }

.nesto-cf7-field label {
  font-family: 'Titillium Web', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1E1E5A; /* Primär */
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.nesto-cf7-optional {
  font-weight: 400;
  color: #696969; /* Fließtextfarbe */
}

.nesto-cf7-input,
.nesto-cf7-select,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select {
  width: 100% !important;
  font-family: 'Titillium Web', sans-serif !important;
  font-size: 15px !important;
  color: #1E1E5A !important;
  background: #f4f2ee !important;
  border: 1px solid #e6e2db !important;
  border-radius: 0 !important;
  padding: 10px 14px !important;
  transition: border-color 0.2s !important;
  outline: none !important;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus {
  border-color: #0F69B4 !important;
}

.nesto-cf7-textarea,
.wpcf7-form textarea {
  width: 100% !important;
  font-family: 'Titillium Web', sans-serif !important;
  font-size: 15px !important;
  color: #1E1E5A !important;
  background: #f4f2ee !important;
  border: 1px solid #e6e2db !important;
  border-radius: 0 !important;
  padding: 10px 14px !important;
  resize: vertical !important;
  outline: none !important;
  transition: border-color 0.2s !important;
}

.wpcf7-form textarea:focus {
  border-color: #0F69B4 !important;
}

.nesto-cf7-checkbox {
  font-family: 'Titillium Web', sans-serif;
  font-size: 13px;
  color: #696969;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.nesto-cf7-checkbox a { color: #0F69B4; }

.wpcf7-form .nesto-btn-primary {
  display: inline-block;
  width: 100%;
  text-align: center;
  cursor: pointer;
  font-size: 16px;
  border: none;
}

.wpcf7-response-output {
  font-family: 'Titillium Web', sans-serif !important;
  font-size: 14px !important;
  border-radius: 0 !important;
  margin-top: 16px !important;
  padding: 12px 16px !important;
}

.wpcf7-mail-sent-ok {
  border-color: #0F69B4 !important;
  color: #0F69B4 !important;
  background: rgba(15,105,180,0.05) !important;
}

.wpcf7-validation-errors {
  border-color: #b8915f !important;
  color: #b8915f !important;
  background: rgba(184,145,95,0.05) !important;
}

/* ============================================================
   Footer
   ============================================================ */

.nesto-footer {
  background: #15152e; /* Footer */
  padding: 80px 40px 0;
  width: 100%;
}

.nesto-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nesto-footer-col--brand .nesto-footer-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 20px;
  display: block;
}

.nesto-footer-desc {
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7); /* verbessert für WCAG AA */
  margin-bottom: 20px;
}

.nesto-footer-address {
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6); /* verbessert für WCAG AA */
  font-style: normal;
}

.nesto-footer-heading {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c9a97a; /* Gold heller auf dunklem Hintergrund */
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nesto-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nesto-footer-links li { margin-bottom: 10px; }

.nesto-footer-links a {
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.75); /* verbessert für WCAG AA */
  text-decoration: none;
  transition: color 0.2s;
}

.nesto-footer-links a:hover { color: #ffffff; }

.nesto-footer-links li:not(:has(a)) {
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.6); /* verbessert für WCAG AA */
}

.nesto-footer-hours {
  font-family: 'Space Mono', monospace !important;
  font-size: 11px !important;
  color: rgba(255,255,255,0.6) !important; /* verbessert für WCAG AA */
  letter-spacing: 0.05em;
  margin-top: 8px !important;
}

.nesto-footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: 20px 40px;
  margin: 0 -40px;
}

.nesto-footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.nesto-footer-copy,
.nesto-footer-tagline {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45); /* verbessert für WCAG AA */
  margin: 0;
  text-transform: uppercase;
}

.nesto-footer-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.nesto-footer-social a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.nesto-footer-social a:hover { color: #0F69B4; }

/* ============================================================
   Blog Archiv — Divi Blog Modul
   ============================================================ */

.et_pb_blog_posts.et_grid_module {
  background: #f4f2ee !important;
  padding: 60px 40px !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
}

.et_pb_blog_posts.et_grid_module .et_pb_post.clearfix {
  background: #ffffff !important;
  border: 1px solid #e6e2db !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  display: flex !important;
  flex-direction: column !important;
}

.et_pb_blog_posts.et_grid_module .et_pb_post.clearfix:hover {
  border-color: #0F69B4 !important;
  box-shadow: 0 4px 24px rgba(15,105,180,0.08) !important;
}

.et_pb_blog_posts.et_grid_module .et_pb_image_container {
  margin: 0 !important;
  overflow: hidden !important;
}

.et_pb_blog_posts.et_grid_module .et_pb_image_container img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.3s !important;
}

.et_pb_blog_posts.et_grid_module .et_pb_post.clearfix:hover .et_pb_image_container img {
  transform: scale(1.02) !important;
}

.et_pb_blog_posts.et_grid_module .et_overlay { display: none !important; }

.et_pb_blog_posts.et_grid_module .entry-title {
  font-family: 'Titillium Web', sans-serif !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
  margin: 0 0 10px !important;
  padding: 24px 24px 0 !important;
}

.et_pb_blog_posts.et_grid_module .entry-title a {
  color: #1E1E5A !important;
  text-decoration: none !important;
}

.et_pb_blog_posts.et_grid_module .entry-title a:hover {
  color: #0F69B4 !important;
}

.et_pb_blog_posts.et_grid_module .post-meta {
  font-family: 'Space Mono', monospace !important;
  font-size: 10px !important;
  letter-spacing: 0.1em !important;
  color: #8a6b3a !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  padding: 0 24px 12px !important;
  display: block !important;
}

.et_pb_blog_posts.et_grid_module .post-meta a {
  color: #8a6b3a !important;
  text-decoration: none !important;
}

.et_pb_blog_posts.et_grid_module .post-content {
  padding: 0 24px 24px !important;
  flex: 1 !important;
}

.et_pb_blog_posts.et_grid_module .post-content-inner p {
  font-family: 'Titillium Web', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: #696969 !important;
  margin-bottom: 16px !important;
}

.et_pb_blog_posts.et_grid_module .more-link {
  font-family: 'Titillium Web', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #0F69B4 !important;
  text-decoration: none !important;
}

.et_pb_blog_posts.et_grid_module .more-link:hover {
  color: #1E1E5A !important;
}

/* Pagination */
.et_pb_blog_posts.et_grid_module + .et_pb_postinfo,
.wp-pagenavi,
.et_pb_posts_pagination {
  background: #f4f2ee !important;
  padding: 0 40px 60px !important;
  text-align: center !important;
}

/* Kommentare & Sidebar */
#comments,
.comment-respond,
.comments-area {
  display: none !important;
}

#sidebar,
.et_pb_widget_area,
.et_right_sidebar,
.et_left_sidebar {
  display: none !important;
}

#left-area {
  width: 100% !important;
  float: none !important;
}

/* ============================================================
   Referenzen CPT — Archiv & Karten
   ============================================================ */

.nesto-referenzen-archiv {
  background: #f4f2ee;
  padding: 80px 40px;
  width: 100%;
}

.nesto-referenzen-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.nesto-referenz-card {
  background: #ffffff;
  border: 1px solid #e6e2db;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.nesto-referenz-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transform: translateY(-2px);
  border-color: var(--referenz-farbe, #0F69B4) !important;
}

/* Header — weißer Hintergrund, Akzentbalken unten */
.nesto-referenz-header {
  background: #ffffff !important;
  padding: 28px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 120px !important;
  position: relative !important;
  border-bottom: 4px solid var(--referenz-farbe, #1E1E5A) !important;
  overflow: hidden !important;
}

.nesto-referenz-header::before {
  display: none !important;
}

/* Logo */
.nesto-referenz-logo-img {
  max-width: 160px !important;
  max-height: 70px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  filter: none !important;
  opacity: 1 !important;
  transition: opacity 0.2s !important;
}

.nesto-referenz-card:hover .nesto-referenz-logo-img {
  opacity: 0.85 !important;
}

/* Optionales Foto */
.nesto-referenz-card--foto .nesto-referenz-header {
  padding: 0 !important;
  min-height: 180px !important;
}

.nesto-referenz-foto {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  display: block !important;
  filter: none !important;
  opacity: 1 !important;
  transition: transform 0.3s !important;
}

.nesto-referenz-card--foto:hover .nesto-referenz-foto {
  transform: scale(1.02);
}

/* Fallback ohne Bild */
.nesto-referenz-no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: rgba(255,255,255,0.6);
}

/* Body */
.nesto-referenz-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nesto-referenz-name {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #1E1E5A;
  margin-bottom: 12px;
  line-height: 1.3;
}

.nesto-referenz-name a {
  color: #1E1E5A;
  text-decoration: none;
  transition: color 0.2s;
}

.nesto-referenz-name a:hover {
  color: var(--referenz-farbe, #0F69B4);
}

.nesto-referenz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.nesto-referenz-tags span {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--referenz-farbe, #0F69B4) !important;
  border: 1px solid var(--referenz-farbe, #0F69B4) !important;
  padding: 3px 8px;
}

.nesto-referenz-meta {
  font-family: 'Titillium Web', sans-serif;
  font-size: 13px;
  color: #696969;
  margin-bottom: 6px;
}

.nesto-referenz-jahr {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #8a6b3a;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.nesto-referenz-desc {
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #696969;
  margin: 0;
  flex: 1;
}

.nesto-referenzen-empty {
  font-family: 'Titillium Web', sans-serif;
  font-size: 16px;
  color: #696969;
  text-align: center;
  padding: 60px;
}

/* Filter-Tabs */
.nesto-referenzen-filter {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nesto-referenzen-filter-btn {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #1E1E5A;
  background: #ffffff;
  border: 1px solid #e6e2db;
  padding: 8px 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  display: inline-block;
}

.nesto-referenzen-filter-btn:hover,
.nesto-referenzen-filter-btn--active {
  background: #1E1E5A;
  color: #ffffff;
  border-color: #1E1E5A;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .nesto-hero-h1 { white-space: normal; }
}

@media (max-width: 900px) {
  .nesto-services-intro,
  .nesto-plattformen-intro { grid-template-columns: 1fr; gap: 20px; }
  .nesto-services-grid { grid-template-columns: 1fr; }
  .nesto-refs-grid { grid-template-columns: repeat(2, 1fr); }
  .nesto-pakete-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .nesto-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .nesto-webbenefits-grid { grid-template-columns: repeat(2, 1fr); }
  .nesto-plattformen-grid { grid-template-columns: repeat(2, 1fr); }
  .nesto-plattform-card:nth-child(2) { border-right: none; }
  .nesto-plattform-card:nth-child(3) { border-right: 1px solid #e6e2db; border-top: 1px solid #e6e2db; }
  .nesto-plattform-card:nth-child(4) { border-right: none; border-top: 1px solid #e6e2db; }
  .nesto-einsatz-grid { grid-template-columns: repeat(2, 1fr); }
  .nesto-prozess-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .nesto-prozess-line { display: none; }
  .nesto-credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .nesto-story-inner { grid-template-columns: 1fr; gap: 40px; }
  .nesto-projekte-grid { grid-template-columns: 1fr; }
  .nesto-projekt-card--cta { min-height: 300px; }
  .nesto-referenzen-grid { grid-template-columns: repeat(2, 1fr); }
  .nesto-footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nesto-footer-col--brand { grid-column: 1 / -1; }
  .nesto-timeline-list::before { left: 78px; }
  .nesto-timeline-item { grid-template-columns: 60px 24px 1fr; }
}

@media (max-width: 768px) {
  .nesto-hero { padding: 60px 24px; }
  .nesto-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .nesto-hero-h1 { font-size: 36px; }
  .nesto-hero-h1--large { font-size: 36px; }
  .nesto-blog-grid { grid-template-columns: 1fr; }
  .nesto-blog-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .nesto-blog { padding: 60px 24px; }
  .nesto-services { padding: 60px 24px; }
  .nesto-faq { padding: 60px 24px; }
  .nesto-drohnen-trust-inner { grid-template-columns: 1fr; }
  .nesto-drohnen-trust { padding: 40px 24px; }
  .nesto-galerie { padding: 60px 24px; }
  .nesto-galerie-tab { padding: 12px 16px; font-size: 13px; }
  .nesto-masonry { grid-template-columns: repeat(2, 1fr); }
  .nesto-masonry-item--wide { grid-column: span 1; }
  .nesto-kontakt-inner { grid-template-columns: 1fr; gap: 48px; }
  .nesto-kontakt { padding: 60px 24px; }
  .nesto-kontakt-form-inner { padding: 28px 24px; }
  .et_pb_blog_posts.et_grid_module { grid-template-columns: 1fr !important; padding: 40px 24px !important; }
}

@media (max-width: 600px) {
  .nesto-footer-inner { grid-template-columns: 1fr; }
  .nesto-footer-bottom-inner { flex-direction: column; text-align: center; }
  .nesto-footer { padding: 60px 24px 0; }
  .nesto-footer-bottom { padding: 20px 24px; margin: 0 -24px; }
}

@media (max-width: 480px) {
  .nesto-refs-grid { grid-template-columns: 1fr; }
  .nesto-benefits-grid { grid-template-columns: 1fr; }
  .nesto-pakete { padding: 60px 24px; }
  .nesto-einsatz-grid { grid-template-columns: 1fr; }
  .nesto-einsatz { padding: 60px 24px; }
  .nesto-webbenefits-grid { grid-template-columns: 1fr; }
  .nesto-webbenefits { padding: 60px 24px; }
  .nesto-prozess-grid { grid-template-columns: 1fr; gap: 32px; }
  .nesto-prozess { padding: 60px 24px; }
  .nesto-credentials-grid { grid-template-columns: 1fr; }
  .nesto-story, .nesto-timeline, .nesto-credentials { padding: 60px 24px; }
  .nesto-referenzen-grid { grid-template-columns: 1fr; }
  .nesto-referenzen-archiv { padding: 60px 24px; }
  .nesto-projekte { padding: 60px 24px; }
  .nesto-plattformen-grid { grid-template-columns: 1fr; }
  .nesto-plattform-card { border-right: none; border-bottom: 1px solid #e6e2db; }
  .nesto-plattformen { padding: 60px 24px; }
}
/* ============================================================
   Referenz-Grid CTA-Karte
   ============================================================ */

.nesto-referenz-card--cta {
  background: #1E1E5A !important; /* Primär */
  border-color: #1E1E5A !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 280px !important;
  transform: none !important;
}

.nesto-referenz-card--cta:hover {
  border-color: #0F69B4 !important;
  transform: translateY(-2px) !important;
}

.nesto-referenz-cta-inner {
  padding: 36px 28px;
  text-align: center;
}

.nesto-referenz-card--cta .nesto-kicker {
  color: #c9a97a !important;
  margin-bottom: 16px;
}

.nesto-referenz-cta-titel {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.nesto-referenz-cta-text {
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}
/* Referenzen Grid — 2 Spalten Variante */
.nesto-referenzen-grid--2col {
  grid-template-columns: repeat(2, 1fr) !important;
}

@media (max-width: 768px) {
  .nesto-referenzen-grid--2col {
    grid-template-columns: 1fr !important;
  }
}