:root{
  --green:#79b82a;
  --green-dark:#558a19;
  --green-light:#edf6df;
  --ink:#202522;
  --muted:#66706a;
  --line:#e3e8e1;
  --soft:#f6f8f4;
  --dark:#252925;
  --white:#fff;
  --max:1180px;
  --radius:22px;
  --shadow:0 18px 50px rgba(24,35,23,.11);
}


/* ========================================
   GRUNDLAGEN
======================================== */

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
  line-height:1.65;
  background:#fff;
}

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

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

button,
input,
textarea,
select{
  font:inherit;
}

.container{
  width:min(var(--max),calc(100% - 40px));
  margin-inline:auto;
}


/* ========================================
   HEADER / TOPBAR
======================================== */

.topbar{
  background:var(--dark);
  color:#fff;
  font-size:.82rem;
}

.topbar .container{
  min-height:34px;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:18px;
}

.topbar a{
  font-weight:800;
  color:#fff;
}


.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.97);
  border-bottom:4px solid var(--green);
}

.nav{
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.logo{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  line-height:0;
}

.logo img{
  width:205px;
  max-width:205px;
  height:auto;
  object-fit:contain;
}


/* ========================================
   HAUPTNAVIGATION
======================================== */

.main-nav{
  margin-left:auto;
   transform:translateY(20px) translateX(-25px);
  font-family:Arial, Helvetica, sans-serif;
}

.main-nav > ul{
  display:flex;
  align-items:center;
  gap:24px;
  list-style:none;
  margin:0;
  padding:0;
}

.main-nav > ul > li{
  position:relative;
}

.main-nav a{
  display:block;
  padding:26px 0 24px;
  font-family:Arial, Helvetica, sans-serif;
  font-size:.98rem;
  line-height:1.2;
  font-weight:700;
  letter-spacing:0;
  color:var(--ink);
  white-space:nowrap;
}

.main-nav a:hover,
.main-nav a.active{
  color:var(--green-dark);
  margin-bottom:10px;
}

.main-nav a.active{
  box-shadow:inset 0 -3px 0 var(--green);
}


/* Dropdown */

.main-nav .has-sub > a::after{
  content:"⌄";
  margin-left:6px;
  color:var(--green-dark);
  margin-bottom:10px;
  font-size:.72rem;
}

.main-nav .dropdown{
  position:absolute;
  left:-14px;
  top:100%;
  z-index:1001;
  min-width:235px;
  margin:0;
  padding:10px 0;
  list-style:none;
  background:#fff;
  border:1px solid var(--line);
  border-radius:0 0 14px 14px;
  box-shadow:0 18px 35px rgba(0,0,0,.12);
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:
    opacity .18s ease,
    transform .18s ease,
    visibility .18s ease;
}

.main-nav .has-sub:hover > .dropdown,
.main-nav .has-sub:focus-within > .dropdown{
  opacity:1;
  visibility:visible;
  transform:none;
}

.main-nav .dropdown li{
  margin:0;
  padding:0;
}

.main-nav .dropdown a{
  padding:10px 17px;
  font-size:.82rem;
  font-weight:700;
  line-height:1.3;
}

.main-nav .dropdown a:hover{
  background:var(--green-light);
  color:var(--green-dark);
  margin-bottom:10px;
}


/* CTA */

.cta-link{
  background:var(--green);
  color:#fff!important;
  padding:11px 17px!important;
  border-radius:999px;
  box-shadow:none!important;
}

.cta-link:hover{
  background:var(--green-dark)!important;
}


/* Mobile Navigation Button */

.mobile-toggle{
  display:none;
  margin-left:auto;
  padding:8px;
  border:0;
  background:none;
  color:var(--ink);
  font-size:28px;
  line-height:1;
  cursor:pointer;
}


/* ========================================
   BUTTONS
======================================== */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:11px 20px;
  border:1px solid transparent;
  border-radius:7px;
  font-weight:800;
  transition:.18s ease;
}

.btn-green,
.btn-primary{
  background:var(--green);
  color:#fff;
}

.btn-green:hover,
.btn-primary:hover{
  background:var(--green-dark);
}

.btn-light{
  background:#fff;
  color:var(--ink);
}

.btn-light:hover{
  background:var(--green-light);
}

.btn-outline{
  background:#fff;
  border-color:#cbd4c9;
}

.btn-outline:hover{
  border-color:var(--green);
  color:var(--green-dark);
  margin-bottom:10px;
}

.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}


/* ========================================
   FOOTER
   EINHEITLICHE DEFINITION
======================================== */

footer{
  background:var(--dark);
  color:#d8ddd8;
  padding:52px 0 24px;
}


/* Drei gleich große Spalten */

.footer-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  column-gap:70px;
  align-items:start;
}


/* Alle Footer-Überschriften */

footer h3,
footer h4{
  color:#fff;
  margin-top:0;
  font-size:18px;
  font-weight:400;
}

.footer-grid h4{
  margin:0 0 20px;
  color:#fff;
  font-size:18px;
  font-weight:400;
  line-height:1.35;
}

/* Alle Footer-Links */

footer a{
  color:#fff;
  text-decoration:none;
}

footer a:hover{
  color:var(--green);
}


/* ========================================
   FOOTER – LINKS
   LOGO + LEISTUNGEN + ADRESSE
======================================== */

.footer-brand{
  min-width:0;
  padding-right:10px;
}

.footer-logo{
  display:inline-block;
  margin:0 0 20px;
}

.footer-logo img{
  display:block;
  width:205px;
  max-width:100%;
  height:auto;
  object-fit:contain;
}

.footer-brand h4{
  margin:0 0 20px;
  line-height:1.45;
  font-size:18px;
  font-weight:400;
  color:#fff;
}

.footer-brand p{
  margin:0;
  color:#fff;
  line-height:1.6;
}


/* Falls <address> verwendet wird */

.footer-brand address{
  margin:0;
  color:#fff;
  font-style:normal;
  line-height:1.6;
}


/* ========================================
   FOOTER – MITTE
   KONTAKT
======================================== */

.footer-contact{
  min-width:0;
  padding-left:20px;
}

.footer-contact h4{
  margin-bottom:22px;
}

.footer-contact p{
  margin:0 0 16px;
  line-height:1.45;
}

.footer-contact p:last-child{
  margin-bottom:0;
}

.footer-contact a{
  display:inline-block;
}


/* ========================================
   FOOTER – RECHTS
   NAVIGATION
======================================== */

.footer-navigation{
  min-width:0;
  padding-left:20px;
}

.footer-navigation h4{
  margin-bottom:15px;
}


/* Hauptnavigation */

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

.footer-nav > li{
  margin:0;
  padding:0;
}

.footer-nav > li > a{
  display:block;
  padding:3px 0;
  line-height:1.35;
}


/* Untermenü – bewusst enger */

.footer-subnav{
  list-style:none;
  margin:1px 0 4px 16px;
  padding:0;
}

.footer-subnav li{
  margin:0;
  padding:0;
}

.footer-subnav a{
  display:block;
  padding:2px 0;
  font-size:.9rem;
  line-height:1.3;
  color:#d8ddd8;
}

.footer-subnav a:hover{
  color:var(--green);
}


/* ========================================
   FOOTER – COPYRIGHT
======================================== */

.copyright{
  margin-top:42px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:.8rem;
  line-height:1.5;
  color:#aeb5ae;
}

.copyright a{
  color:#fff;
}

.copyright a:hover{
  color:var(--green);
}


/* ========================================
   COOKIE NOTICE
======================================== */

.cookie-banner{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:2000;
  background:#fff;
  color:var(--ink);
  border-top:1px solid var(--line);
  box-shadow:0 -12px 35px rgba(0,0,0,.12);
  padding:18px 0;
}

.cookie-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.cookie-text{
  max-width:820px;
  font-size:.9rem;
}

.cookie-text strong{
  display:block;
  margin-bottom:3px;
}

.cookie-text a{
  text-decoration:underline;
  color:var(--green-dark);
  margin-bottom:10px;
}

.cookie-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  flex:none;
}

.cookie-banner[hidden]{
  display:none;
}


/* ========================================
   STARTSEITE
======================================== */

.eyebrow{
  font-size:.78rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:800;
  color:var(--green-dark);
  margin-bottom:10px;
  padding-top:28px;
}

/* GLOBALE ÜBERSCHRIFTEN */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Arial, Helvetica, sans-serif !important;
  color: var(--ink);
  letter-spacing: -0.035em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 18px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 18px;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 18px;
}

h4 {
  font-size: 1.15rem;
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 14px;
}

h5 {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 12px;
}

h6 {
  font-size: .9rem;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 10px;
}

h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span{
  color:var(--green-dark);
  margin-bottom:10px;
}

body.page-home p{
  color:var(--muted);
  margin:0 0 18px;
}

body.page-home .hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(
    135deg,
    #f5f8f2,
    #fff 58%,
    #edf5e6
  );
  padding:80px 0 85px;
}

body.page-home .hero-grid{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  align-items:center;
  gap:70px;
}

body.page-home .hero h1{
  max-width:780px;
}

body.page-home .hero h1 span{
  color:var(--green-dark);
  margin-bottom:10px;
}

body.page-home .lead{
  font-size:1.16rem;
  max-width:690px;
}

body.page-home .hero-image{
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow);
  background:#fff;
}

body.page-home .hero-image img{
  width:100%;
  height:440px;
  object-fit:cover;
}

body.page-home .hero-caption{
  padding:14px 18px;
  background:#fff;
  font-size:.85rem;
  color:var(--muted);
}

body.page-home .trust{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  font-size:.86rem;
  font-weight:700;
  color:#4f5b53;
}

body.page-home .trust span::before{
  content:"✓";
  color:var(--green);
  margin-right:7px;
}

body.page-home .proof{
  background:var(--dark);
  color:#fff;
}

body.page-home .proof-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  padding:25px 0;
}

body.page-home .proof strong{
  display:block;
  font-size:1.55rem;
}

body.page-home .proof span{
  font-size:.86rem;
  color:#b9c2bb;
}

body.page-home section{
  padding:90px 0;
}



body.page-home #leistungen{
  padding-top:130px;
}

body.page-home .section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:40px;
}

body.page-home .intro{
  max-width:740px;
}

body.page-home .service-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:17px;
}

body.page-home .service{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  min-height:275px;
  transition:.2s;
}

body.page-home .service:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow);
  border-color:#cfe0c4;
}

body.page-home .service .num{
  width:46px;
  height:46px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:var(--green-light);
  color:var(--green-dark);
  margin-bottom:10px;
  font-weight:900;
  margin-bottom:24px;
}

body.page-home .service p{
  font-size:.94rem;
}

body.page-home .service a{
  font-weight:800;
}

body.page-home .service a:hover{
  color:var(--green-dark);
  margin-bottom:10px;
}

body.page-home .dark-section{
  background:var(--dark);
  color:#fff;
}

body.page-home .dark-section h2{
  color:#fff;
}

body.page-home .dark-section p{
  color:#c3cbc4;
}

body.page-home .dark-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:65px;
  align-items:center;
}

body.page-home .dark-image{
  border-radius:var(--radius);
  overflow:hidden;
}

body.page-home .dark-image img{
  width:100%;
  height:410px;
  object-fit:cover;
}

body.page-home .references{
  background:var(--soft);
}

body.page-home .ref-grid{
  display:grid;
  grid-template-columns:1fr 1.4fr;
  gap:60px;
}

body.page-home .ref-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}

body.page-home .ref-list a{
  display:block;
  background:#fff;
  border:1px solid var(--line);
  padding:12px 14px;
  border-radius:10px;
  font-size:.9rem;
}

body.page-home .ref-list a:hover{
  border-color:var(--green);
  color:var(--green-dark);
  margin-bottom:10px;
}

body.page-home .small-note{
  font-size:.9rem;
}

body.page-home .cta{
  background:var(--green);
  color:#fff;
}

body.page-home .cta .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

body.page-home .cta h2{
  color:#fff;
}

body.page-home .cta p{
  color:#f1f6ed;
}

body.page-home .cta .btn{
  background:#fff;
  color:var(--dark);
}


/* ========================================
   LEISTUNGSSEITE
======================================== */

body.page-leistungen .kicker{
  color:var(--green);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:14px;
}

body.page-leistungen .hero{
  display:grid;
  grid-template-columns:1.16fr .84fr;
  background:var(--green-light);
  align-items:stretch;
}

body.page-leistungen .hero-image{
  width:100%;
  min-width:0;
  aspect-ratio:16 / 9;
  background:url("pointfeng-leistung-hero-hq.png")
    center center / 100% auto no-repeat;
  background-color:#eef3e9;
}

body.page-leistungen .hero-copy{
  background:var(--green-light);
  color:var(--ink);
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:70px clamp(35px,5vw,70px);
}

body.page-leistungen .hero h1{
  margin:0 0 20px;
}

body.page-leistungen .hero h1 span{
  color:var(--green);
}

body.page-leistungen .hero p{
  font-size:1.08rem;
  max-width:560px;
  color:var(--ink);
  margin:0 0 27px;
}

body.page-leistungen .check{
  list-style:none;
  padding:0;
  margin:0 0 28px;
}

body.page-leistungen .check li{
  position:relative;
  padding:5px 0 5px 27px;
}

body.page-leistungen .check li::before{
  content:"✓";
  position:absolute;
  left:0;
  color:var(--green);
  font-weight:900;
}

body.page-leistungen .section{
  padding:84px 0;
}

body.page-leistungen .section-head{
  text-align:center;
  max-width:820px;
  margin:0 auto 48px;
}

body.page-leistungen .section-head .kicker{
  margin-bottom:10px;
}

body.page-leistungen .section-head h2{
  margin:0;
}

body.page-leistungen .section-head h2 span{
  color:var(--green);
}

body.page-leistungen .lead{
  font-size:1.08rem;
  color:var(--muted);
  margin:17px auto 0;
  max-width:720px;
}

body.page-leistungen .intro{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:65px;
  align-items:center;
}

body.page-leistungen .photo{
  overflow:hidden;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

body.page-leistungen .photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  aspect-ratio:1.12/1;
}

body.page-leistungen .copy h2{
  margin:0 0 22px;
}

body.page-leistungen .copy h2 span{
  color:var(--green);
}

body.page-leistungen .copy p{
  font-size:1.02rem;
  color:var(--muted);
  margin:0 0 17px;
}

body.page-leistungen .quote{
  margin-top:24px;
  padding:18px 20px;
  border-left:4px solid var(--green);
  background:var(--green-light);
  border-radius:0 12px 12px 0;
  font-weight:800;
  color:var(--ink);
}

body.page-leistungen .soft{
  background:var(--soft);
}

body.page-leistungen .services{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

body.page-leistungen .service{
  padding:34px 26px 32px;
  text-align:center;
  border-right:1px solid var(--line);
}

body.page-leistungen .service:last-child{
  border-right:0;
}

body.page-leistungen .icon{
  width:48px;
  height:48px;
  border:2px solid var(--green);
  border-radius:12px;
  display:grid;
  place-items:center;
  margin:0 auto 18px;
  color:var(--green-dark);
  margin-bottom:10px;
  font-weight:900;
}

body.page-leistungen .service h3{
  font-size:1.02rem;
  margin:0 0 9px;
}

body.page-leistungen .service p{
  font-size:.92rem;
  color:var(--muted);
  margin:0 0 17px;
}

body.page-leistungen .more{
  font-size:.88rem;
  font-weight:900;
  color:var(--green-dark);
  margin-bottom:10px;
}

body.page-leistungen .more:hover{
  text-decoration:underline;
}

body.page-leistungen .feature{
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:470px;
}

body.page-leistungen .feature-image{
  min-height:470px;
  background:#eaf0e6;
}

body.page-leistungen .feature-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

body.page-leistungen .feature-copy{
  background:var(--dark);
  color:#fff;
  padding:65px clamp(35px,6vw,75px);
  display:flex;
  flex-direction:column;
  justify-content:center;
}

body.page-leistungen .feature-copy h2{
  color:#fff;
  margin:0 0 20px;
}

body.page-leistungen .feature-copy h2 span{
  color:var(--green);
}

body.page-leistungen .feature-copy p{
  color:#dfe4df;
  margin:0 0 20px;
}

body.page-leistungen .feature-copy .check{
  margin-bottom:25px;
}

body.page-leistungen .final-copy{
  text-align:center;
  max-width:820px;
  margin:auto;
}

body.page-leistungen .final-copy h2{
  margin:0 0 15px;
}

body.page-leistungen .final-copy h2 span{
  color:var(--green);
}

body.page-leistungen .final-copy p{
  color:var(--muted);
  font-size:1.05rem;
}

body.page-leistungen .cta{
  background:var(--green);
  color:#fff;
  padding:65px 0;
}

body.page-leistungen .cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:35px;
}

body.page-leistungen .cta h2{
  margin:0 0 7px;
}

body.page-leistungen .cta p{
  margin:0;
  color:#f4f9ee;
}

body.page-leistungen .cta .btn-light{
  margin-left:8px;
}


/* ========================================
   TYPO3 RTE TEXT ALIGNMENT
======================================== */

.text-start{
  text-align:left;
}

.text-center{
  text-align:center;
}

.text-end{
  text-align:right;
}

.text-justify{
  text-align:justify;
}


/* ========================================
   TYPO3 TEXT & IMAGES RESPONSIVE
======================================== */

@media (max-width:820px){

  .ce-textpic.ce-intext .ce-gallery{
    float:none!important;
    width:100%!important;
    margin:0 0 24px;
  }

  .ce-textpic.ce-intext .ce-bodytext{
    width:100%!important;
  }

  .ce-textpic.ce-intext img{
    max-width:100%;
    height:auto;
  }

}


/* ========================================
   ABSTAND UNTER GRÜNER NAVIGATIONSLINIE
======================================== */

.site-header + main{
  padding-top:30px;
}


/* ========================================
   RTE – GRÜNER TEXT
======================================== */

.text-green{
  color:#79b82a;
}


/* ========================================
   RESPONSIVE – 1050 PX
======================================== */

@media(max-width:1050px){

  .main-nav > ul{
    gap:15px;
  }

  .main-nav a{
    font-size:.78rem;
  }

  body.page-leistungen .services{
    grid-template-columns:repeat(2,1fr);
  }

  body.page-leistungen .service:nth-child(2){
    border-right:0;
  }

  body.page-leistungen .service:nth-child(-n+2){
    border-bottom:1px solid var(--line);
  }

}


/* ========================================
   RESPONSIVE – 980 PX
======================================== */

@media(max-width:980px){

  body.page-home .hero-grid,
  body.page-home .dark-grid,
  body.page-home .ref-grid{
    grid-template-columns:1fr;
  }

  body.page-home .service-grid{
    grid-template-columns:repeat(2,1fr);
  }

  body.page-home .proof-grid{
    grid-template-columns:repeat(2,1fr);
  }

}


/* ========================================
   RESPONSIVE – 820 PX
======================================== */

@media(max-width:820px){

  /* Mobile Navigation */

  .mobile-toggle{
    display:block;
  }

  .main-nav{
    display:none;
    width:100%;
    order:3;
  }

  .main-nav.open{
    display:block;
  }

  .nav{
    flex-wrap:wrap;
    padding:8px 0 10px;
  }

  .main-nav > ul{
    flex-direction:column;
    align-items:stretch;
    gap:0;
  }

  .main-nav a{
    padding:10px 0;
  }

  .main-nav .cta-link{
    display:inline-flex;
    width:max-content;
  }

  .main-nav .dropdown{
    position:static;
    display:block;
    opacity:1;
    visibility:visible;
    transform:none;
    box-shadow:none;
    border:0;
    border-left:2px solid var(--green);
    border-radius:0;
    margin:0 0 5px;
    padding:0 0 0 12px;
  }

  .main-nav .dropdown a{
    padding:6px 0;
    font-size:.8rem;
  }

  .main-nav .has-sub > a::after{
    display:none;
  }

  .main-nav .has-sub > .dropdown{
    display:none;
  }

  .main-nav .has-sub.open > .dropdown{
    display:block;
  }


  /* Leistungsseite */

  body.page-leistungen .hero{
    grid-template-columns:1fr;
  }

  body.page-leistungen .hero-image{
    min-height:0;
    order:1;
    aspect-ratio:16 / 9;
  }

  body.page-leistungen .hero-copy{
    order:2;
    padding:52px 28px;
  }

  body.page-leistungen .intro,
  body.page-leistungen .feature{
    grid-template-columns:1fr;
  }

  body.page-leistungen .feature-image{
    min-height:360px;
  }

  body.page-leistungen .cta-inner{
    display:block;
  }

  body.page-leistungen .cta .actions{
    margin-top:24px;
  }


  /* ========================================
     FOOTER – TABLET / MOBILE
  ======================================== */

  .footer-grid{
    grid-template-columns:1fr;
    row-gap:36px;
  }

  .footer-brand,
  .footer-contact,
  .footer-navigation{
    padding-left:0;
    padding-right:0;
  }

  .footer-contact,
  .footer-navigation{
    border-top:1px solid rgba(255,255,255,.12);
    padding-top:30px;
  }

  .footer-navigation{
    text-align:left;
  }


  /* Cookie */

  .cookie-inner{
    display:block;
  }

  .cookie-actions{
    margin-top:12px;
  }

}


/* ========================================
   RESPONSIVE – 600 PX
======================================== */

@media(max-width:600px){

  h1{
    font-size:2.75rem;
    line-height:1.02;
  }

  h2{
    font-size:2.2rem;
    line-height:1.08;
  }

  h3{
    font-size:1.8rem;
    line-height:1.10;
  }

  h4{
    font-size:1.4rem;
  }

  .container{
    width:calc(100% - 28px);
  }

  .topbar .container{
    justify-content:center;
  }

  .topbar{
    display:none;
  }

  .logo img{
    width:180px;
  }


  /* Startseite */

  body.page-home .hero{
    padding:55px 0 60px;
  }


  body.page-home .lead{
    font-size:1.02rem;
  }

  body.page-home section{
    padding:65px 0;
  }

  body.page-home #leistungen{
    padding-top:100px;
  }

  body.page-home .service-grid,
  body.page-home .proof-grid,
  body.page-home .ref-list{
    grid-template-columns:1fr;
  }




  body.page-home .section-head{
    display:block;
  }

  body.page-home .cta .container{
    display:block;
  }

  body.page-home .cta .btn{
    margin-top:8px;
  }


  /* Leistungsseite */

  body.page-leistungen .hero-image{
    min-height:0;
    aspect-ratio:16 / 9;
  }

  body.page-leistungen .section{
    padding:60px 0;
  }

  body.page-leistungen .services{
    grid-template-columns:1fr;
  }

  body.page-leistungen .service,
  body.page-leistungen .service:nth-child(2){
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  body.page-leistungen .service:last-child{
    border-bottom:0;
  }


  /* Footer */

  footer{
    padding:42px 0 22px;
  }

  .footer-grid{
    row-gap:32px;
  }

  .footer-logo{
    margin-bottom:18px;
  }

  .footer-logo img{
    width:190px;
  }

  .footer-grid h4{
    margin-bottom:16px;
  }

  .copyright{
    margin-top:35px;
    padding-top:17px;
  }

}

/* =========================================================
   POINTFENG BLOG
   Ausschließlich Blog – Homepage bleibt unangetastet
========================================================= */

.pointfeng-blog {
  padding: 70px 0 90px;
  background: #fff;
}

.pointfeng-blog .container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}


/* Blog Intro */

.pointfeng-blog .blog-header {
  max-width: 760px;
  margin: 0 0 34px;
}

.pointfeng-blog .blog-header h1 {
  margin: 0 0 12px;
  color: #202522;
}

.pointfeng-blog .blog-header p {
  margin: 0;
  color: #66706a;
  font-size: 1.05rem;
  line-height: 1.65;
}


/* =========================================================
   KATEGORIEN
========================================================= */

.pointfeng-blog .blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 42px;
}

.pointfeng-blog .blog-filter {
  appearance: none;
  border: 1px solid #cbd4c9;
  border-radius: 999px;
  background: #fff;
  color: #202522;
  padding: 10px 19px;
  min-height: 42px;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition:
    background .18s ease,
    color .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.pointfeng-blog .blog-filter:hover {
  border-color: #79b82a;
  color: #558a19;
  transform: translateY(-1px);
}

.pointfeng-blog .blog-filter.active {
  background: #79b82a;
  border-color: #79b82a;
  color: #fff;
}


/* =========================================================
   BLOG GRID
========================================================= */

.pointfeng-blog .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}


/* =========================================================
   BLOG CARD
========================================================= */

.pointfeng-blog .blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3e8e1;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(24,35,23,.09);
  transition:
    transform .22s ease,
    box-shadow .22s ease;
}

.pointfeng-blog .blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(24,35,23,.14);
}


/* Bild */

.pointfeng-blog .blog-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f6f8f4;
}

.pointfeng-blog .blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.pointfeng-blog .blog-card:hover .blog-card-image img {
  transform: scale(1.035);
}


/* Karteninhalt */

.pointfeng-blog .blog-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 25px 26px 27px;
}


/* Kategorie */

.pointfeng-blog .blog-card-category {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #edf6df;
  color: #558a19;
  font-size: .74rem;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}


/* Titel */
.pointfeng-blog .blog-card h2 {
  margin: 0 0 12px;
  color: #202522;
  font-size: 2.6rem;
  line-height: 1.05;
}


/* Teaser */

.pointfeng-blog .blog-card-content > p {
  margin: 0 0 22px;
  color: #66706a;
  font-size: .95rem;
  line-height: 1.65;
}


/* Weiterlesen */
.pointfeng-blog .blog-card-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: 18px;
  margin-left: 20px;
  color: #558a19;
  font-size: .88rem;
  font-weight: 800;
}

.pointfeng-blog .blog-card-link::after {
  content: "";
  font-size: 1rem;
  transition: transform .18s ease;
}

.pointfeng-blog .blog-card-link:hover {
  color: #79b82a;
}

.pointfeng-blog .blog-card-link:hover::after {
  transform: translateX(4px);
}


/* =========================================================
   BLOG DETAIL
========================================================= */

.pointfeng-blog-single {
  padding: 70px 0 90px;
  background: #fff;
}

.pointfeng-blog-single .container {
  width: min(920px, calc(100% - 40px));
  margin-inline: auto;
}

.pointfeng-blog-single .blog-single-header {
  margin-bottom: 40px;
}

.pointfeng-blog-single .blog-single-header h1 {
  margin: 0 0 16px;
  color: #202522;
}

.pointfeng-blog-single .blog-single-date {
  margin: 0 0 18px;
  color: #66706a;
  font-size: .88rem;
}

.pointfeng-blog-single .blog-single-teaser {
  max-width: 760px;
  margin: 0;
  color: #66706a;
  font-size: 1.12rem;
  line-height: 1.7;
}

.pointfeng-blog-single .blog-single-image {
  margin: 0 0 42px;
  overflow: hidden;
  border-radius: 22px;
}

.pointfeng-blog-single .blog-single-image img {
  width: 100%;
  height: auto;
}

.pointfeng-blog-single .blog-single-content {
  color: #202522;
  font-size: 1.05rem;
  line-height: 1.8;
}

.pointfeng-blog-single .blog-single-content h2,
.pointfeng-blog-single .blog-single-content h3 {
  margin-top: 42px;
  color: #202522;
}

.pointfeng-blog-single .blog-single-content a {
  color: #558a19;
  font-weight: 700;
}

.pointfeng-blog-single .blog-single-author {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e3e8e1;
  color: #66706a;
  font-size: .9rem;
}

.pointfeng-blog-single .blog-single-back {
  margin-top: 35px;
}

.pointfeng-blog-single .blog-single-back a {
  color: #558a19;
  font-weight: 800;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

  .pointfeng-blog .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 640px) {

  .pointfeng-blog,
  .pointfeng-blog-single {
    padding: 45px 0 65px;
  }

  .pointfeng-blog .container,
  .pointfeng-blog-single .container {
    width: min(100% - 28px, 1180px);
  }

  .pointfeng-blog .blog-header {
    margin-bottom: 26px;
  }

  .pointfeng-blog .blog-categories {
    margin-bottom: 30px;
  }

  .pointfeng-blog .blog-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pointfeng-blog .blog-card-content {
    padding: 22px;
  }

}

/* BLOG CTA – nur Blog Detailseite */
.blog-single-cta {
    margin: 55px 0 40px;
    padding: 42px 35px;
    text-align: center;
    background: #f2f4f2;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.blog-single-cta h2 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 1.65rem;
    line-height: 1.3;
}

.blog-single-cta p {
    max-width: 650px;
    margin: 0 auto 24px;
    color: var(--muted);
}

.blog-single-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 24px;
    background: var(--green);
    color: #fff !important;
    border-radius: 7px;
    font-weight: 800;
    transition: background .18s ease;
}

.blog-single-cta-button:hover {
    background: var(--green-dark);
}

@media (max-width: 600px) {
    .blog-single-cta {
        padding: 30px 20px;
    }

    .blog-single-cta h2 {
        font-size: 1.35rem;
    }
}


/* BLOG – Abstand Strich zum Autor verkleinern */
.pointfeng-blog-single .blog-single-author {
    margin-top: 12px;
}


/* BLOG – Autor direkt unter dem Strich */
.pointfeng-blog-single .blog-single-author {
    margin-top: 2px;
}


/* BLOG DETAIL – kompakter Bereich unter dem Artikel */
.pointfeng-blog-single .blog-single-author {
    margin-top: 2px;
    margin-bottom: 12px;
}

.pointfeng-blog-single .blog-single-cta {
    margin-top: 0;
}


/* HEADER – Logo etwas weiter vom schwarzen Balken nach unten */
header .logo,
.site-header .logo,
.header-logo {
    margin-top: 12px;
}


/* HEADER – mehr Abstand um das Logo */
header .logo,
header .site-logo {
    padding-top: 14px;
    padding-bottom: 14px;
}


/* =========================================================
   INDIVIDUELLER BILDABSTAND
   TYPO3-Klasse: bild-abstand
   ========================================================= */

.bild-abstand {
  margin-top: 70px;
  margin-right: 60px;
}

@media (max-width: 1050px) {
  .bild-abstand {
    margin-top: 50px;
    margin-right: 35px;
  }
}

@media (max-width: 820px) {
  .bild-abstand {
    margin-top: 30px;
    margin-right: 0;
  }
}


/* Startseite – Bild klassische Werbung */
body.page-home .frame-type-textpic .ce-gallery {
  margin-top: 55px;
  margin-left: 0;
}

@media (max-width: 1000px) {
  body.page-home .frame-type-textpic .ce-gallery {
    margin-top: 35px;
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  body.page-home .frame-type-textpic .ce-gallery {
    margin-top: 20px;
    margin-left: 0;
  }
}



/* =========================================================
   THEMENBOXEN
   ========================================================= */

/* Boxen sauber als eigene Reihe */
.inner-page .container > .themen-box {
  width: auto;
  min-height: 274px;
  margin: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid #e2e7df;
  border-radius: 19px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
}

.inner-page .container {
  padding-bottom: 40px;
}


/* =========================================================
   THEMENBOX-LAYOUT
   ========================================================= */

/*
   Die Boxen werden über Flex angeordnet.
   4 Boxen + 3 x 24px Abstand.
*/

.inner-page .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}


/* Jede Box bekommt exakt 1/4 der verfügbaren Breite */
.inner-page .container > .themen-box {
  flex: 0 0 calc((100% - 72px) / 4);
}


/* =========================================================
   NUMMER
   ========================================================= */

.inner-page .container > .themen-box .themen-box-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  margin-bottom: 20px;

  background: #eef7df;
  border-radius: 11px;

  color: #5d9f20;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}


/* =========================================================
   ÜBERSCHRIFT
   ========================================================= */

.inner-page .container > .themen-box .themen-box-header {
  margin: 0 0 14px;

  color: #171b19;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}


/* =========================================================
   BESCHREIBUNG
   ========================================================= */

.inner-page .container > .themen-box .themen-box-description {
  margin: 0;

  color: #68706b;
  font-size: 14px;
  line-height: 1.65;
}


/* =========================================================
   LINK
   ========================================================= */

.inner-page .container > .themen-box .themen-box-link {
  display: inline-block;

  margin-top: auto;
  padding-top: 20px;

  color: #171b19;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.inner-page .container > .themen-box .themen-box-link::after {
  content: " →";
  color: #5d9f20;
}

.inner-page .container > .themen-box .themen-box-link:hover {
  color: #5d9f20;
}


/* =========================================================
   TABLET – 2 SPALTEN
   ========================================================= */

@media (max-width: 1050px) {

  .inner-page .container > .themen-box {
    flex: 0 0 calc((100% - 24px) / 2);
  }

}


/* =========================================================
   MOBILE – 1 SPALTE
   ========================================================= */

@media (max-width: 700px) {

  .inner-page .container {
    gap: 16px;
  }

  .inner-page .container > .themen-box {
    flex: 0 0 100%;
    min-height: 0;
    padding: 22px;
    border-radius: 16px;
  }

}

/* =========================================================
    Statistik-Balken wirklich über die gesamte Breite 
   ========================================================= */

#c20 {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    box-sizing: border-box !important;
}

/* ========================================
   FOOTER – ADRESSE + KONTAKT-ICONS WEISS
======================================== */

/* Adresse links */
footer .footer-brand address,
footer .footer-brand address *,
footer .footer-brand p {
  color:#fff !important;
  opacity:1 !important;
}

/* Kontakttexte */
footer .footer-contact p,
footer .footer-contact p *,
footer .footer-contact a {
  color:#fff !important;
  opacity:1 !important;
}

/* Kontakt-Icons */
footer .footer-contact i,
footer .footer-contact svg,
footer .footer-contact .fa,
footer .footer-contact .fas,
footer .footer-contact .far,
footer .footer-contact .fab,
footer .footer-contact span {
  color:#fff !important;
  fill:#fff !important;
  opacity:1 !important;
}

/* ========================================
   SEO – DUNKLER BEREICH
======================================== */

.seo-section {
  width: 100%;
  background: #202522;
  color: #fff;
  padding: 78px 0;
}

.seo-section > .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}


/* Zwei Spalten: Bild + Text */

.seo-section .seo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}


/* Bild */

.seo-section .seo-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 0 18px 18px;
}


/* Rechte Seite */

.seo-section .seo-text {
  color: #fff;
}

.seo-section .seo-text h2 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.seo-section .seo-text p {
  margin: 0 0 18px;
  color: #fff;
  line-height: 1.6;
}


/* Kleine grüne Überschrift */

.seo-section .seo-kicker {
  margin-bottom: 10px;
  color: var(--green);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}


/* Button */

.seo-section .seo-button {
  display: inline-block;
  margin-top: 8px;
  padding: 13px 20px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
}


/* Mobil */

@media (max-width: 768px) {

  .seo-section {
    padding: 50px 0;
  }

  .seo-section > .container {
    padding: 0 20px;
  }

  .seo-section .seo-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .seo-section .seo-text h2 {
    font-size: 2.2rem;
  }

}
/* SEO Dark Section: Hintergrund über die gesamte Browserbreite */
body.page-home .dark-section{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

body.page-home .dark-section > .dark-grid{
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}


/* Bilder einheitlich: keine runden Ecken */
body.page-home .dark-image,
body.page-home .dark-image img{
  border-radius: 0 !important;
}


/* ========================================
   SEO – HELLER BEREICH
======================================== */

.light-section {
  width: 100%;
  background: #fff;
  color: #222;
  padding: 78px 0;
}

.light-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.light-section .seo-text {
  color: #222;
}

.light-section .seo-text h2 {
  margin: 0 0 22px;
  color: #222;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.light-section .seo-description {
  margin: 0 0 18px;
  color: #222;
  line-height: 1.6;
}

.light-section .eyebrow {
  margin-bottom: 10px;
  color: var(--green);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.light-section .dark-image img,
.light-section .light-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 0 18px 18px;
}

@media (max-width: 768px) {

  .light-section {
    padding: 50px 0;
  }

  .light-grid {
    padding: 0 20px;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .light-section .seo-text h2 {
    font-size: 2.2rem;
  }

}


/* ========================================
   SEO LIGHT – BILDAUSRICHTUNG
======================================== */

.light-image {
  display: flex;
  width: 100%;
}

.light-image--left {
  justify-content: flex-start;
}

.light-image--center {
  justify-content: center;
}

.light-image--right {
  justify-content: flex-end;
}

.light-image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 0 0 18px 18px;
}

/* =========================================================
   BLOG DETAIL – SOLLZUSTAND
   Ausrichtung wie im gewünschten Layout:
   Zurück-Link -> Trennlinie/Autor -> CTA
========================================================= */

/* Der globale .inner-page .container wird an dieser Stelle
   nicht als Flex-Container verwendet. */
.pointfeng-blog-single .container{
  width:min(1060px, calc(100% - 40px));
  max-width:1060px;
  display:flex;
  flex-direction:column;
  gap:0;
  margin-inline:auto;
}

/* Reihenfolge auf der Detailseite */
.pointfeng-blog-single .blog-single-header{
  order:1;
}

.pointfeng-blog-single .blog-single-image{
  order:2;
}

.pointfeng-blog-single .blog-single-content{
  order:3;
}

.pointfeng-blog-single .blog-single-back{
  order:4;
  margin-top:0;
  margin-bottom:28px;
}

.pointfeng-blog-single .blog-single-author{
  order:5;
  display:flex;
  align-items:center;
  gap:16px;
  width:100%;
  min-height:58px;
  margin-top:0;
  margin-bottom:0;
  padding-top:28px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:.9rem;
}

/* Kleines Autorenbild – ohne Änderung am TYPO3-Template */
/* V1.2 AUSKOMMENTIERT – Nicht mehr benötigter künstlicher Autoren-Platzhalter.
.pointfeng-blog-single .blog-single-author::before{
  content:"";
  flex:0 0 56px;
  width:56px;
  height:56px;
  border-radius:50%;
  background-color:#edf2e9;
  background-image:
    radial-gradient(
      circle at 50% 37%,
      #7b9d60 0 7px,
      transparent 7.5px
    ),
    radial-gradient(
      ellipse at 50% 78%,
      #7b9d60 0 14px,
      transparent 14.5px
    );
  background-repeat:no-repeat;
}
*/

/* CTA direkt unter dem Autorenbereich */
.pointfeng-blog-single .blog-single-cta{
  order:6;
  width:100%;
  margin:24px 0 40px;
  padding:42px 35px;
  text-align:center;
  background:#f2f4f2;
  border:1px solid var(--line);
  border-radius:18px;
}

.pointfeng-blog-single .blog-single-cta h2{
  margin:0 0 12px;
  font-size:1.65rem;
  line-height:1.3;
}

.pointfeng-blog-single .blog-single-cta p{
  max-width:650px;
  margin:0 auto 24px;
  color:var(--muted);
}

.pointfeng-blog-single .blog-single-cta-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:12px 24px;
  background:var(--green);
  color:#fff !important;
  border-radius:7px;
  font-weight:800;
}

/* Mobile */
@media (max-width:640px){
  .pointfeng-blog-single .container{
    width:calc(100% - 28px);
  }

  .pointfeng-blog-single .blog-single-author{
    gap:12px;
    padding-top:16px;
  }

/* V1.2 AUSKOMMENTIERT – Mobile-Größen des deaktivierten Autoren-Platzhalters.
  .pointfeng-blog-single .blog-single-author::before{
    flex-basis:48px;
    width:48px;
    height:48px;
  }
*/

  .pointfeng-blog-single .blog-single-cta{
    padding:30px 20px;
  }
}


/* Autorenbild – Platzhalter entfernen */
.pointfeng-blog-single .blog-single-author::before {
    display:none !important;
    content:none !important;
}

.pointfeng-blog-single .blog-single-author {
    display:flex;
    align-items:center;
    gap:14px;
}

.pointfeng-blog-single .blog-author-image {
    width:48px;
    height:48px;
    object-fit:cover;
    border-radius:50%;
    flex:0 0 48px;
}

/* Einheitliche Überschriftentypografie */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Arial, Helvetica, sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em;
}


/* RTE Textfarben */
.text-white {
  color: #ffffff !important;
}

.text-light-gray {
  color: #d6d6d6 !important;
}





@media (max-width: 767px) {
  body.page-home .dark-section + .frame {
    margin-top: 50px;
  }
}

@media (max-width: 767px) {
  body.page-home .dark-section {
    margin-top: 50px;
  }
}


/* Mehr Abstand zwischen SEO-Bereich und Klassische Werbung */
body.page-home #leistungen {
  padding-top: 150px;
}

@media (max-width: 767px) {
  body.page-home #leistungen {
    padding-top: 100px;
  }
}


/* Abstand NACH dem schwarzen SEO-Bereich – Inhalt des schwarzen Bereichs bleibt unverändert */
body.page-home .dark-section {
  margin-bottom: 80px;
}

@media (max-width: 767px) {
  body.page-home .dark-section {
    margin-bottom: 50px;
  }
}


/* =========================================================
   CTA-Balken - nur neues Element
   ========================================================= */

.pointfeng-cta-balken {
    width: 100%;
    margin: 60px 0;
    padding: 0;
    background: #6f9f3d;
}

.pointfeng-cta-balken__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 45px 40px;
    display: flex;
    align-items: center;
    gap: 35px;
}

.pointfeng-cta-balken h2 {
    margin: 0;
    color: #fff;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

.pointfeng-cta-balken__description {
    flex: 1;
    color: #fff;
    font-size: 17px;
    line-height: 1.5;
}

.pointfeng-cta-balken__button {
    display: inline-block;
    flex-shrink: 0;
    padding: 14px 28px;
    background: #fff;
    color: #6f9f3d;
    text-decoration: none;
    font-weight: 700;
    border-radius: 3px;
    transition: opacity 0.2s ease;
}

.pointfeng-cta-balken__button:hover {
    opacity: 0.85;
}

@media (max-width: 767px) {
    .pointfeng-cta-balken {
        margin: 40px 0;
    }

    .pointfeng-cta-balken__content {
        padding: 35px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .pointfeng-cta-balken h2 {
        font-size: 26px;
    }

    .pointfeng-cta-balken__description {
        font-size: 16px;
    }
}


/* =========================================================
   CTA-BALKEN – Full Width + korrekte Anordnung
   ========================================================= */

.pointfeng-cta-balken {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #6f9f3d;
}

.pointfeng-cta-balken__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 45px 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 50px;
    row-gap: 10px;
    align-items: center;
}

.pointfeng-cta-balken h2 {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    color: #fff;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

.pointfeng-cta-balken__description {
    grid-column: 1;
    grid-row: 2;
    color: #fff;
    font-size: 17px;
    line-height: 1.5;
}

.pointfeng-cta-balken__button {
    grid-column: 2;
    grid-row: 1 / 3;
    display: inline-block;
    padding: 14px 28px;
    background: #fff;
    color: #6f9f3d;
    text-decoration: none;
    font-weight: 700;
    border-radius: 3px;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.pointfeng-cta-balken__button:hover {
    opacity: 0.85;
}

@media (max-width: 767px) {
    .pointfeng-cta-balken {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .pointfeng-cta-balken__content {
        padding: 35px 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .pointfeng-cta-balken h2 {
        font-size: 26px;
    }

    .pointfeng-cta-balken__description {
        font-size: 16px;
    }
}


/* CTA direkt an den Footer anschließen */
.pointfeng-cta-balken {
    margin-bottom: 0 !important;
}

.pointfeng-cta-balken + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Typischer TYPO3-Container direkt nach dem CTA */
.pointfeng-cta-balken + .frame {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* CTA ohne weißen Abstand direkt mit dem Footer verbinden */
main.inner-page:has(.pointfeng-cta-balken) {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

main.inner-page:has(.pointfeng-cta-balken) > .container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.pointfeng-cta-balken {
    margin-bottom: 0 !important;
}

footer {
    margin-top: 0 !important;
}

/* Wrapper für Themen-Boxen */
.box-wrapper {
    margin-top: 40px;
    margin-bottom: 60px;
}

/* =========================================================
   THEMENBOXEN – FINAL
   ========================================================= */

/* Der normale Seitencontainer darf NICHT zum Flex-Container
   für alle Seitenelemente werden. */
main.inner-page > .container {
    display: block;
}

/* Abstand des Themenbox-Wrappers */
.box-wrapper {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 60px;
    box-sizing: border-box;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* Einzelne Themenbox */
.box-wrapper .themen-box {
    min-height: 274px;
    margin: 0;
    padding: 24px;

    background: #fff;
    border: 1px solid #e2e7df;
    border-radius: 19px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
}

/* Nummer */
.box-wrapper .themen-box .themen-box-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    margin-bottom: 20px;

    background: #eef7df;
    border-radius: 11px;

    color: #5d9f20;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

/* Überschrift */
.box-wrapper .themen-box .themen-box-header {
    margin: 0 0 14px;

    color: #171b19;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

/* Beschreibung */
.box-wrapper .themen-box .themen-box-description {
    margin: 0;

    color: #68706b;
    font-size: 14px;
    line-height: 1.65;
}

/* Link */
.box-wrapper .themen-box .themen-box-link {
    display: inline-block;

    margin-top: auto;
    padding-top: 20px;

    color: #171b19;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.box-wrapper .themen-box .themen-box-link::after {
    content: " →";
    color: #5d9f20;
}

.box-wrapper .themen-box .themen-box-link:hover {
    color: #5d9f20;
}

/* Tablet – 2 Spalten */
@media (max-width: 1050px) {
    .box-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile – 1 Spalte */
@media (max-width: 700px) {
    .box-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .box-wrapper .themen-box {
        min-height: 0;
        padding: 22px;
        border-radius: 16px;
    }
}

