/* Font Face Declarations */

@font-face {
  font-display: swap; 
  font-family: 'Kumbh Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/kumbh-sans-v26-latin-regular.woff2') format('woff2'); 
}

@font-face {
  font-display: swap;
  font-family: 'Kumbh Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/kumbh-sans-v26-latin-700.woff2') format('woff2'); 
}


@font-face {
  font-display: swap; 
  font-family: 'Zain';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/zain-v3-latin-regular.woff2') format('woff2'); 
}

@font-face {
  font-display: swap; 
  font-family: 'Zain';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/zain-v3-latin-800.woff2') format('woff2'); 
}

@font-face {
  font-family: FAsolid;
  src: url('fonts/fa-solid-900.woff2')  format('woff2'),
       url('fonts/fa-solid-900.woff') format('woff');
}

@font-face {
  font-family: FAreg;
  src: url('fonts/fa-regular-400.woff2')  format('woff2'),
       url('fonts/fa-regular-400.woff') format('woff');
}

@font-face {
  font-family: FAbrands;
  src: url('fonts/fa-brands-400.woff2')  format('woff2'),
       url('fonts/fa-brands-400.woff') format('woff');
}

/* CSS Variables */
:root {
  --brand-yellow: #feec00;
  --brand-red: #e3000f;
  --brand-black: #000000;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --bg: #f5f6f7;
  --white: #ffffff;

  /* Typography */
  --font-primary: "Kumbh Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-accent: "Zain", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Spacing */
  --container-padding: 1rem;
  --section-padding: 4rem 0;

  /* Shadows */
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);

  /* Border Radius */
  --radius: 30px;
  --radius-pill: 999px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#main {   flex: 1;}

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

a {color: var(--brand-red); text-decoration: none;}

h1 {font-size: 2.5rem; }
h1, h2 {font-family: var(--font-accent);     line-height: initial;}
h3 { margin-bottom: 20px;     line-height: initial;}

ul, ol { margin-left: 30px;}

.clear { clear: both; }

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--brand-yellow);
  color: var(--brand-black);
  padding: 8px;
  text-decoration: none;
  border-radius: var(--radius);
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: 6px;
}

/* Container */
.container {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
  padding: 1rem 0;
  height: 150px;
  background: url(img/bg_nav.png) bottom center repeat-x;
  min-height: 150px;
}

.header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-light);
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header__logo img {
  height: 87px;
  width: auto;
}


.header .nav-link {color: var(--white); }

.header .btn--primary.header__cta {   
  gap: 1rem;
  text-align: left;
  line-height: initial;
  padding: 4px 20px 4px 20px;
}

.header .btn--primary.header__cta:hover {
  background: rgba(255,255,255,0.5);
}

.header .btn--primary.header__cta:before, .hero__actions .btn--primary:before {
  content: '\f073';
  font-family: 'FAsolid';  
}


.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.nav-list li {padding-top: 10px; }

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand-red);
}

.nav-link:focus {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
  border-radius: 4px;
}

.header__cta {
  display: none;  
}



@media (min-width: 768px) {
  .header__cta {
    display: inline-flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 2rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  justify-content: center;
}

.btn:focus {
  /*outline: 2px solid var(--brand-red);
  outline-offset: 2px;*/
}

.btn--primary {
  background: var(--brand-yellow);
  color: var(--brand-black);
}

.header .btn--primary {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn--primary:hover {
  background: #e6d400;
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--brand-black);
  /*border: 2px solid var(--white);*/
}

.btn--secondary:hover {
  background: var(--white);
  color: var(--brand-black);
  transform: translateY(-1px);
}

.btn__icon .tel{
  font-size: 1.2em;
  background: var(--brand-yellow);
  border-radius: 50%;
  padding: 8px 11px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.sub .hero { min-height: 400px; } 
.sub .hero__background img {  object-position: 80% 44%;}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: url(img/bg-main.jpg) top center no-repeat;
  background-size: cover;
}

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 23%;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.hero__content {
  color: var(--brand-black);
  text-align: left;
  max-width: 600px;
  padding-top: 6rem;
}

.hero__title {
  position: relative;
  font-family: var(--font-accent);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 20px;
}

.hero__title:after {
  content: "";
  width: 443px;
  height: 18px;
  background: url(img/curveline_gelb.png) bottom center no-repeat;
  bottom: -10px;
  left: 0;
  position: absolute;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.hero__actions {
  display: inline;
  /*display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;*/
}

.hero__actions .btn--primary {
  text-align: left;
  line-height: initial;
  padding: 6px 20px 6px 20px; 
  color: var(--brand-red);
  margin-right: 35px; 
}

.hero__actions .btn--secondary {padding-left: 0px; }

.hero__actions .btn--secondary:hover {
  background: transparent;
}


.hero__actions .btn.btn--secondary .tel:before {
margin-left: -49px;
color: var(--brand-red);
background-color: #dbdbdb;
padding: 15px 15px;
border-radius: 50%;
position: initial;
box-sizing: border-box;
margin-right: 10px;
font-size: 1.5rem;
}


@media (min-width: 576px) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* Claim Card */
.claim-card {
  margin-top: -140px;
}

.claim-card__content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-light);
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.claim-card__icon {
  margin-top: -120px;
}

.claim-card__icon img {
  width: 450px; 
  height: 139px;
}

.claim-card__text {
  font-family: var(--font-accent);
  font-size: 2rem;
  color: var(--text);
  line-height: 1.4;
}

/* Section Titles */
.section-title {
  font-family: var(--font-accent);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 35px;
  text-align: center;
  margin-bottom: 35px;
}

/* News Section */
.news {
  padding: var(--section-padding);
  background: var(--bg);
  margin-top: -40px;
}

.news__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .news__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.news__item {
  /*background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease;*/
}

.news__item:hover {
  /*transform: translateY(-4px);*/
}

.news__image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

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

.news__content {
  padding: 1.5rem;
}

.news__date {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.news__title {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0.5rem 0 1rem;
  line-height: 1.3;
}

.news__excerpt {
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.news__link {
  color: var(--brand-red);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.news__link:hover {
  color: var(--brand-black);
}

.articletitle { text-decoration: none; color: #000;}


/* Services Section */
.services {
  padding: var(--section-padding);
  background: var(--white);
}

.services__content {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 768px) {
  .services__content {
    grid-template-columns: 1fr 1fr;
  }
}

.services__images {
  /*display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;*/
}

@media (min-width: 576px) {
  .services__images {
    grid-template-columns: 1fr 1fr;
  }
}

.services__images img {
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services__images img.services__image2 { 
  margin-top: -200px;
  margin-right: 20px;
  display: block;
  width: 70%;
  float: right;
  position: relative;
  border: 4px solid #fff;
}

.services__description {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.services__note {
  background: rgba(254, 236, 0, 0.1);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  border-left: 4px solid var(--brand-yellow);
}

.services__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill {
  background: #e9ecef;
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

/*.pill:hover {
  border-color: var(--brand-red);
  background: #fff;
}*/

/* Phone Callout */
.phone-callout {
  padding: 3rem 0;
  background: var(--brand-yellow);
}

.phone-callout__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  text-align: center;
}

.phone-callout__text { 
  text-align: center;
  margin-top: 30px;
}

.phone-callout__number .tel:before {
  margin-left: -66px;
  color: var(--brand-red);
  background-color: #dbdbdb;
  padding: 3px 12px;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .phone-callout__content {
    text-align: left;
  }
}

.phone-callout__title {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--brand-black);
}

.phone-callout__number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-black);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.phone-callout__number:hover {
  opacity: 0.8;
}

.phone-callout__image {
  display: none;
}

@media (min-width: 768px) {
  .phone-callout__image {
    display: block;
  }
}

/* Team Section */
.team {
  padding: var(--section-padding);
  background: var(--white);
  padding-bottom: 0;
}

.team__header {
  text-align: center;
}

.team__label {
  color: var(--brand-red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}

.team__title {
  font-family: var(--font-accent);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  margin-top: 0.5rem;
}

.team__image {
 /* border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);*/
}

.team__image img {
  width: 100%;
  /*height: auto;*/
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: 50% 23%;
  height: 700px;
}

@media (max-width: 990px) { .team__image img { height: auto; } }

.team .container {
  width: 100%; 
  max-width: 100%;
  padding: 0;
}

/* Jobs Section */
.jobs {
  position: relative;
  padding: 30px;
  background: var(--brand-yellow);
  text-align: center;
  margin-top: -10px; 
}

.jobs__title {
  font-family: var(--font-accent);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--brand-black);
}

.jobs__icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.jobs__listings {
  max-width: 600px;
  margin: 1rem auto 40px auto;
  position: relative;
  z-index: 1;
}

.jobs__item {
  display: flex;
  align-items: center;
  text-decoration: none;
  justify-content: space-between;
  padding: 0.7rem 1.5rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  gap: 1rem;
}

.jobs__position {
  font-weight: 600;
  color: var(--brand-black);
  flex: 1;
  text-align: left;
}

.jobs__link {
  color: var(--brand-black);
  text-decoration: none;
  font-style: italic;
  transition: opacity 0.3s ease;
}

.jobs__link:hover {
  opacity: 0.7;
}

.jobs__icons img { position: absolute; top: 0; transform: scale(0.9); }

.icon1 {
  left: 0;
}

.icon2 {
  left: 65%;
}

.icon3 {
  right: 0;
}

.jobs__cta { 
  background-color: var(--white);
}

@media (max-width: 1300px) {
  .jobs__icons img { transform: scale(0.5); }
}

@media (max-width: 1024px) {
  .jobs__icons img { display: none; }
}

/* Contact Section */
.contact {
  padding: var(--section-padding);
}
.jobs__cta:hover {
  opacity: 0.7;
}

.contact__content {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .contact__content {
    grid-template-columns: 1fr 2fr;
  }
}

.contact__logo {
  margin-bottom: 2rem;
}

.contact__address {
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact__address a {
  text-decoration: none;
  color: var(--brand-black);
}

.contact__address a:hover {
  text-decoration: underline;
}

.contact__social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: translateY(-2px);
}

.contact__form-wrapper {
  position: relative;
}

.contact__form {
  padding: 2rem;
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 990px) {
  .contact__form {
    padding: 0;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  color: var(--text);
}

.form-label--checkbox {
  margin-bottom: 0;
  font-weight: 400;
  line-height: 1.4;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e9ecef;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-red);
}

.form-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.form-link {
  color: var(--brand-red);
  text-decoration: none;
}

.form-link:hover {
  text-decoration: underline;
}

.form-submit {
  width: 100%;
}

.contact__decoration {
  display: none;
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  opacity: 0.7;
}

.mail, .tel, .facebook {padding-left: 30px;}

.contact__icon {  
  
}

.mail:before {
  content: '\f0e0';
  position: absolute;
  font-family: 'FAsolid';
  margin-left: -30px;
}

.tel:before {
  content: '\f879';
  position: absolute;
  font-family: 'FAsolid';
  margin-left: -30px;
}

.facebook:before {
  content: '\f39e';
  font-family: 'FAbrands';
  position: absolute;
  margin-left: -30px;
}

@media (min-width: 1200px) {
  .contact__decoration {
    display: block;
  }
}

/* Footer */
.footer {
  background: var(--brand-red);
  padding: 1.5rem 0;
  border-top-right-radius: 24px 22px;
  border-top-left-radius: 24px 22px;
  margin-top: 80px;
}

.footer__content {
  display: flex;
  justify-content: right;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__link {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.footer__link:hover {
  opacity: 0.8;
}

.footer img {float: left;}

@media (max-width: 990px) {
  .footer img {float: none; margin: 0 auto; display: block; }

  .footer__content { display: block; text-align: center; }
  .footer__content a {display: block;  }
}



/* Accessibility & Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus Styles */
*:focus {
  /*outline: 2px solid var(--brand-red);
  outline-offset: 2px;*/
}

/* Print Styles */
@media print {
  .header,
  .footer {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero__background,
  .hero__overlay {
    display: none;
  }

  .hero__content {
    color: var(--text);
  }
}

.laufleiste {
  background: #cfcfcf;
  padding: 8px 0;
  width: 100%;
  color: #aaabaf;
  box-sizing: border-box;
  font-size: 3rem;
}

.laufleiste h2 span { margin: 0 70px; }

.allnewsrow {margin-bottom: 35px;}

.error {
  color: var(--brand-red);
  font-style: italic;
}

@media screen and (min-width: 1025px) {
  .mobilemenu, .mlogo, .mbreak { display: none;}
  .articletitle:hover { color: var(--brand-red); transition: color 0.3s ease;}
}

@media screen and (max-width: 1024px) {  
  .header__nav { display: none; }
  .mobilemenu, .mbreak { display: block;}
  .sidenav { height: 100%; width: 0; position: fixed; z-index: 1001; top: 0; left: 0; background-color: var(--brand-red); overflow-x: hidden; transition: 0.5s; padding-top: 60px; text-align: center; }
  .sidenav ul { margin-left: 0px; padding-top: 30px;   }
  .sidenav a { text-decoration: none;  font-size: 25px; color: #fff; margin-bottom: 15px; display: block;}
  .sidenav .closebtn { position: absolute; top: 19px; right: 18px; font-size: 36px; margin-left: 50px; }
  .news__title { font-size: 1.6rem; }
  .hero__background { background-image: url(img/bg-main2.jpg); }
  .hero__content {padding-top: 9rem;  }
  .claim-card { margin-top: -50px; }
  .phone-callout__number {font-size: 1.5rem; }
  .laufleiste { font-size: 2rem; }
}

@media screen and (max-width: 768px) {
  .jobs__item, .jobs__link { display: block; }
  .hero__actions .btn--primary { margin-bottom: 25px; }
  .claim-card__content {padding: 15px; }
  .claim-card__text { line-height: 35px; }
  .hero__actions .btn--secondary { padding-left: 18px; }
}

