body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  color: #0d373d;
}

header {
  background: #0d373d;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 10;
}

header img {
  height: 55px;
  cursor: pointer;
}

nav ul li {
  display: inline-block;
  list-style: none;
  margin: 0 10px;
}

nav ul li a{
  color: #fbffff;
  text-decoration: none;
  margin-left: 25px;
  font-size: 18px;
  position: relative;
  font-weight: 500;
}

nav .fa-solid {
  display: none;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

.hero {
  background-image: url("source/header.jpg");
  background-size: cover;
  background-position: center;

  height: 30vh;
  color: #fbffff;
  padding: 100px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  max-width: 50%;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: #ff004d;
}

.hero h3{
  font-size: 26px;
}

.hero p {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 30px;
}

.btn-main {
  background: #ff004d;
  color: #fbffff;
  padding: 14px 28px;
  font-size: 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.hero-img {
  position: relative;
}

.hero-img img {
  position: absolute;
  top: -174px;
  left: -510px;
  width: 550px;
  z-index: 1;
}

.services {
  padding: 70px 5%;
  text-align: center;
}

h2 {
  font-size: 36px;
  margin-bottom: 50px;
  color: #0d373d;
  text-align: center;
}

a {
  text-decoration: none;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 30px;
}

.service-box {
  background: #fbffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.service-box i {
  font-size: 50px;
  margin-bottom: 30px;
}

.service-box h3 {
  color: #0d373d;
  margin-bottom: 15px;
  font-size: 24px;
}

.service-box p {
  color: #333;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
  height: 120px;
}

.service-box a {
  background: #0d373d;
  color: #fbffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  margin-top: 20px;
  display: inline-block;
}

.elementor-text-editor {
  margin-top: 1rem;
  display: flex;
  justify-content: end;
}
.elementor-text-editor a {
  color: #3e5152;
}

.hero-section {
  position: relative;
  background-image: url("source/Beitragsbild-KRANZ-44.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 65vh;
  overflow: hidden;
  color: #fbffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.hero-section .content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.btn {
  display: block;
  margin: auto;
  width: fit-content;
  background: #0d373d;
  padding: 14px 50px;
  border-radius: 6px;
  text-decoration: none;
  color: #fbffff;
  transition: background 0.5s;
}

#about {
  padding: 70px 5%;
  color: #333;
  font-size: 16px;
  line-height: 1.5;
}

.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-col-1 {
  flex-basis: 35%;
}

.about-col-1 img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

.about-col-2 {
  flex-basis: 60%;
}

.tab-titeles {
  display: flex;
  margin: 20px 0 40px;
}

.tab-links {
  margin-right: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.tab-links::after {
  content: "";
  width: 0;
  height: 3px;
  background: #ff004d;
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.5s;
}

.tab-links.active-link::after {
  width: 50%;
}

.tab-contents ul li {
  list-style: none;
  margin: 10px 0;
  padding-right: 30px;
}

.tab-contents-span {
  color: #ff004c98;
  font-size: 17px;
}

.tab-contents {
  display: none;
  padding-bottom: 20px;
}

.tab-contents.active-tab {
  display: block;
}

/* Outsourcing / Portfolio section */
.outsourcing {
  padding: 70px 5%;
  background: linear-gradient(
    180deg,
    rgba(13, 55, 61, 0.03),
    rgba(13, 55, 61, 0.02)
  );
  color: #0d373d;
  font-family: inherit;
}
.outsourcing .container {
  max-width: 1200px;
  margin: 0 auto;
}

.outsourcing .intro h2 {
  font-size: 36px;
  margin: 0 0 12px;
  color: #0d373d;
  font-weight: 700;
}
.outsourcing .intro p {
  padding-left: 5%;
  padding-right: 5%;
  color: #4a4a4a;
  line-height: 1.6;
  margin-bottom: 36px;
  text-align: center;
}

/* grid of benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}
.benefit {
  display: flex;
  gap: 18px;
  background: #ffffff;
  padding: 22px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(13, 55, 61, 0.06);
  align-items: center;
}
.benefit .icon {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: linear-gradient(180deg, #0d373d, #0f4b4f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  flex-shrink: 0;
}
.benefit .meta h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #0d373d;
}
.benefit .meta p {
  margin: 0;
  color: #555;
  line-height: 1.45;
}

/* CTA row */
.portfolio-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
  justify-content: center;
}
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.btn-primary {
  background: #0d373d; /* red accent */
  color: #fff;
  box-shadow: 0 6px 18px rgba(195, 0, 47, 0.15);
}
.btn-primary:hover {
  transform: translateY(-2px);
  transition: 0.18s ease;
}
.btn-secondary {
  background: transparent;
  border: 2px solid rgba(13, 55, 61, 0.12);
  color: #0d373d;
}

#card {
  padding: 70px 5%;
}
.card {
  background-color: #879b9b63;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.image-container {
  text-align: center;
}

.image-container img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}

.content {
  padding: 20px;
}

.title {
  font-size: 30px;
  font-weight: bold;
  color: #0d373d;
  margin-bottom: 10px;
}

.toggle-btn {
  display: inline-block;
  margin-top: 15px;
  color: #0d373d;
  font-weight: bold;
  cursor: pointer;
}

.extra-content {
  display: none;
  margin-top: 15px;
  font-size: 15px;
}

.toggle-btn::before {
  content: "▸ ";
}

.toggle-btn.active::before {
  content: "▾ ";
}

.contact-section {
  padding: 70px 5%;
  background: linear-gradient(
    180deg,
    rgba(13, 55, 61, 0.03),
    rgba(13, 55, 61, 0.02)
  );
}

.contact-intro {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}
.contact-info li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #222;
}
.contact-info i {
  margin-right: 10px;
  color: #0d373d;
}
.contact-info a {
  color: #0d373d;
  text-decoration: none;
  font-weight: 600;
}

.contact-form-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 95%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0d373d;
  outline: none;
}

.btn1-main {
  background: #0d373d;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  transition: 0.3s;
  margin-top: 12px;
}

.btn1-main:hover {
  background: #13555f;
}

#about-datac {
  padding: 70px 5%;
}
.about-datac-col-1 {
  flex-basis: 50%;
}

.p-datac {
  padding-bottom: 30px;
  line-height: 1.3;
}

.about-datac-col-2 img {
  width: 100%;
  border-radius: 15px;
  margin-top: 2rem;
}
.about-datac-col-2 {
  flex-basis: 40%;
}

.footer {
  background: #0d373d;
  color: #fbffff;
  text-align: center;
  padding: 20px 5%;
}

.footer-links a {
  color: #fbffff;
  margin: 0 20px;
  text-decoration: none;
}

.social-icons{
    margin-bottom: 20px;
}
.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
} 
.social-icons a:hover{
    color: #ff004f;
    transform: translateY(-5px);
}

/* كوكي بانر */
#cookieBanner{
  position:fixed;
  left:20px;
  right:20px;
  bottom:20px;
  z-index:1200;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px;
  border-radius:12px;
  background:linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,250,0.98));
  box-shadow:0 10px 30px rgba(0,0,0,0.12);
}

#cookieBanner button{
  margin-left:8px;
}


/* responsive */
@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .outsourcing .intro h2 {
    font-size: 28px;
  }
  .benefit .icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  .portfolio-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary,
  .btn-secondary {
    width: 90%;
    text-align: center;
  }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-text {
    font-size: 20px;
  }
  .hero-text h1 {
    font-size: 35px;
  }
  .hero-text h3 {
    font-size: 20px;
  }
  h2{
    font-size: 38px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }

   nav .fa-solid {
    display: block;
    font-size: 25px;
    color: #fbffff;
  }
  nav ul {
    background: #3e5152;
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100vh;
    padding-top: 50px;
    z-index: 2;
    transition: right 0.5s;
  }
  nav ul li {
    display: block;
    margin: 25px;
  }
  nav ul .fa-solid {
    position: absolute;
    top: 25px;
    left: 25px;
    cursor: pointer;
  }
  .fa-solid:hover {
    color: #c0d0d0;
  }
  #open {
    margin-right: 2rem;
  }

  /* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    color: #0d373d;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 170px;
    height: 100%;
    background: #0d373d;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 10px;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li a {
    color: #fff;
    font-size: 1.2rem;
  }

  .menu-close {
    position: absolute;
    top: -25px;
    right: 55px;
    bottom: 50px;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
  }
}

    .about-col-1,
  .about-col-2 {
    flex-basis: 100%;
  }
  .about-col-1 {
    margin-bottom: 30px;
  }
  .about-col-2 {
    font-size: 14px;
  }
  .tab-links {
    font-size: 16px;
    margin-right: 20px;
  }
    .about-datac-col-2,
  .about-datac-col-1 {
    flex-basis: 100%;
  }
  .about-datac-col-1 {
    margin-top: 30px;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: center;
  }

  .footer-bottom p {
    margin: 0 15px;
  }

  @media (max-width:640px){
  #cookieBanner{
    flex-direction:column;
    align-items:stretch;
  }

}
}

/* other pages */
.leistungen{
  padding: 70px 5%;
  line-height: 1.3;
}

.custom-list {
  padding-left: 2em;
  margin-bottom: 1em;
  margin-top: 1em;
}

.custom-list li {
  margin-bottom: 1em;
  padding-left: 1em;
}

#angebot{
  margin: 0 5%;
  padding: 70px 5%;
  width: 80%;
  background-color: #3e5152; 
  color: #fbffff;
}

.schnell{
  padding: 70px 5%;
  background: #3e5152;
  color: #fbffff;
}


#ueber-datac-content {
  padding: 70px 5%;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(13, 55, 61, 0.03),
    rgba(13, 55, 61, 0.02)
  );
}

#ueber-datac-content h1{
  margin-bottom: 50px;
}


.Vorteile {
padding: 70px 5%;
max-width: 1200px;
margin: auto;
  background: linear-gradient(
    180deg,
    rgba(13, 55, 61, 0.03),
    rgba(13, 55, 61, 0.02)
  );
}
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  column-gap: 30px;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  line-height: 1.5;
}
.benefit-item .icon {
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #2e3a45;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: #2e3a45;
  margin-top: 20px;
}




/* YT area */
.yt-container{
  width:70%;
  max-width:980px
  ;margin:40px auto
}
.yt-placeholder{
  width:100%;
  padding-top:56.25%;
  background:#000;
  position:relative;
  color:#fff;
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer
}
.yt-msg{
  position:absolute;
  text-align:center;
  max-width:80%;
  margin-bottom: 50%;
}
.yt-btn{
  margin-top:14px;
  background:#0d373d;
  color:#fbffff;
  border:none;
  padding:10px 22px;
  border-radius:28px;
  cursor:pointer
}
#video-frame iframe{
  width:100%;
  height:420px;
  border:0;
  border-radius:6px;
}

  /* backdrop + modal */
  #consent-backdrop{position:fixed;inset:0;background:rgba(0,0,0,0.6);display:none;align-items:center;justify-content:center;z-index:2000}
  #consent-popup{width:650px;max-width:92%;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,0.35)}
  #consent-header{background:#0d373d;color:#fff;padding:18px 22px;font-size:20px;text-align:center}
  #consent-content{padding:20px;max-height:420px;overflow:auto}
  .consent-block{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #eee}
  .consent-info{max-width:75%}
  .consent-info h3{margin:0 0 6px;font-size:16px}
  .consent-info p{margin:0;color:#555;font-size:14px;line-height:1.35}

  /* simple toggle switch */
  .switch{position:relative;display:inline-block;width:46px;height:24px}
  .switch input{display:none}
  .slider{position:absolute;inset:0;background:#d7d7d7;border-radius:30px;transition:.28s}
  .slider:before{content:'';position:absolute;left:3px;top:3px;width:18px;height:18px;background:#fff;border-radius:50%;transition:.28s}
  input:checked + .slider{background:#0d373d}
  input:checked + .slider:before{transform:translateX(22px)}

  /* footer buttons */
  #consent-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px;background:#fafafa}
  .btn{padding:10px 18px;border-radius:8px;border:0;cursor:pointer;font-size:14px}
  .btn-cancel{background:#e6e6e6}
  .btn-save{background:#0d373d;color:#fff}

/* floating privacy button bottom-left */
.privacy-floating-btn{
  position:fixed;
  left:18px;
  bottom:18px;
  z-index:3000;
  background:#0d373d;
  color:#fff;
  border:0;
  padding:12px 14px;
  border-radius:100%;
  box-shadow:0 8px 20px rgba(0,0,0,0.5);
  cursor:pointer;
  font-size:25px;
}
.privacy-floating-btn:hover{opacity:.95}

  /* responsive */
@media (max-width:720px){
  #video-frame iframe{height:220px}
  .privacy-floating-btn{left:12px;bottom:12px;padding:10px 12px}
}



.widget {
  padding: 30px 5%;  
  line-height: 1.3;
}
.widget p a {
  text-decoration: none;
  color: #333;
}
.widget p a:hover {
  color: #0d373d;
  transition: all 0.2s linear;
}
.widget strong {
  font-size: 25px;
  font-weight: bold;
  margin-top: 3em;
}

.gesetz-box {
  background-color: #e6f1f7;
  padding: 1em 2em;
  border-left: 4px solid #0078a0;
  font-style: italic;
  margin-top: 2.5em;
  font-weight: normal;
}

@media (max-width: 768px) {
  .widget {
    padding: 1rem;
    font-size: 16px;
  }
  .widget h2 {
    margin-bottom: 1rem;
    font-size: 26px;
  }
}