/* ------------------------------
   Global styles
---------------------------- */

@font-face {
  font-family: "LinotypeUniversRegular";
  src:
    url("../font/LinotypeUniversRegular-subset.woff") format("woff"),
    url("../font/LinotypeUniversRegular.ttf") format("truetype");
  font-display: optional;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 1.5px;
}

@font-face {
  font-family: "LinotypeUniversBold";
  src:
    url("../font/LinotypeUniversBold-subset.woff") format("woff"),
    url("../font/LinotypeUniversBold.ttf") format("truetype");
  font-display: optional;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 1.5px;
  /*font-weight: 300;*/
}

@font-face {
  font-family: "LinotypeUniversHeavy";
  src:
    url("../font/LinotypeUniversHeavy-subset.woff") format("woff"),
    url("../font/LinotypeUniversHeavy.ttf") format("truetype");
  font-display: optional;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 1.5px;
  /*font-weight: 700;*/
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  font-family: LinotypeUniversRegular, sans-serif;
  font-weight: 400;
  font-size: 20px;

  line-height: 25px;

  letter-spacing: 0;
  color: #000;
}

img {
  max-width: 100%;
  height: auto;
}

.img-home {
  max-width: 55%;
}

.img-rest {
  max-width: 30%;
}

a,
a:hover,
a:focus {
  cursor: pointer !important;
  outline: none;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #0e5daa;
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: LinotypeUniversRegular, sans-serif;
  font-weight: 400;
  color: #cf1f75;
  margin: 0;
  padding: 0;
}

ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

strong {
  font-weight: 700;
}

:root {
  --color-bg: #f7f7f7;
  --color-text: #444;
  --color-muted: #616161;
  --color-accent: #cf1f75;
  /* Pink-Ton */
}

/* --------------------------------

all style

-------------------------------- */

@media (min-width: 1200px) {
  .container {
    max-width: 1355px;
  }
}

.navbar-nav .nav-link {
  font-weight: 400;
  font-size: 18px;
  line-height: 23px;
  color: #000;
}

.subpage-brand {
  width: 110px;
  max-width: 110px;
  flex: 0 0 110px;
}

.subpage-brand img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 313 / 206;
  object-fit: contain;
}

@media (max-width: 991px) {
  .subpage-brand {
    width: 96px;
    max-width: 96px;
    flex-basis: 96px;
    margin: 0;
    padding: 0;
  }
}

@media (max-width: 599px) {
  .subpage-brand {
    width: 88px;
    max-width: 88px;
    flex-basis: 88px;
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 15px;
    padding-left: 15px;
  }
}

.navbar .btn {
  margin-left: 15px;
}

.btn {
  color: #fff;
  background: #0e5daa;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 13px 46px;
  font-weight: 600;
  font-size: 18px;
  line-height: 23px;
  border-radius: 0;
  transition: 0.3s all ease;
}

.btn:hover {
  background: transparent;
  color: #0e5daa;
  border-color: #0e5daa;
}

.social-icon li {
  display: inline-block;
  padding-left: 30px;
}

.social-icon li a {
  color: #333333;
}

/*banner*/

.banners-top-sec {
  width: 100%;
}

.banners-top-sec .content {
  text-align: center;
  position: relative;
  background-image:
    linear-gradient(135deg, rgba(52, 184, 211, 0.92), rgba(236, 82, 158, 0.78)),
    linear-gradient(25deg, #ef5ba6, #a9a8ea);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.banners-top-sec .content img {
  display: block;
  margin: auto;
}

.banners-top-sec .content .texts {
  position: absolute;
  left: 0;
  bottom: -77px;
  z-index: 11;
  transform: rotate(-3.5deg);
  left: -20px;
}

.banners-top-sec .content .texts span {
  display: inline-block;
  float: left;
  clear: both;
  padding: 18px 34px;
  background-color: #0e5daa;
  font-family: LinotypeUniversBold, sans-serif;
  font-weight: 600;
  font-size: 3.25rem;
  line-height: 23px;
  color: #ffffff;
}

.banners-top-sec .content .texts span.line2 {
  background-color: #cf1f75;
  color: #fff;
  margin-top: -1px;
}

/*banner*/

/*about us*/
.about-us-sec {
  width: 100%;
  background-color: #f4f4f4;
  padding: 100px 0;
}

.content-left-about {
  padding-top: 38px;
}

.content-left-about h4 {
  font-family: LinotypeUniversRegular, sans-serif;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  max-width: 280px;
  padding-bottom: 21px;
}

h4 {
  font-weight: 700;
  font-size: 42px;
  line-height: 25px;
  color: #333333;
}

h2 {
  font-weight: 700;
  font-size: 80px;
  line-height: 101px;
  color: #cf1f75;
}

.content-left-about h2 {
  padding-top: 30px;
  text-align: center;
}

.aktuelles-sec {
  padding-bottom: 60px;
  padding-top: 100px;
}

.content-left-about p {
  padding-top: 30px;
  max-width: 880px;
  font-weight: 300;
  hyphens: auto;
  text-align: justify;
  margin: auto;
}

.content-left-about p.intro-continuation {
  padding-top: 0;
}

.content-center-about {
  margin: auto;
}

.content-center-about h2 {
  padding-top: 10px;
  text-align: center;
  font-weight: 700;
  font-size: 72px;
  padding-bottom: 30px;
}

.content-center-about h4 {
  font-family: LinotypeUniversRegular, sans-serif;
  text-align: center;
  padding-bottom: 21px;
}

.content-center-about h3 {
  font-family: LinotypeUniversRegular, sans-serif;
  padding-bottom: 5px;
  font-size: 20px;
  color: #333333;
  border-bottom: 0px;
  text-align: inherit;
}

.content-right-about .txt {
  background-color: #0e5daa;
  padding-top: 170px;
  padding-left: 122px;
  padding-bottom: 32px;
  color: #fff;
  font-weight: 700;
  font-size: 0px;
  line-height: 38px;
  font-family: LinotypeUniversRegular, sans-serif;

  position: relative;
  margin-top: -205px;
  max-width: 280px;
  margin-left: auto;
  right: -10%;
}

.content-right-about img {
  position: relative;
  z-index: 1;
}

.meine-politic-se {
  width: 100%;
  padding-top: 150px;
  padding-bottom: 150px;
}

.left-content-meine {
  border-right: 1px solid rgba(0, 0, 0, 0.3);
  padding: 35px 0;
}

.left-content-meine h3 {
  padding-left: 50px;
  font-weight: 600;
  font-size: 42px;
  line-height: 53px;
  font-family: LinotypeUniversRegular, sans-serif;
}

.right-content-meine {
  max-width: 645px;
  margin-left: auto;
}

.right-content-meine p {
  font-weight: 300;
}

/*about us*/

/*contact */

.contact-sec {
  width: 100%;
  position: relative;
  padding-bottom: 150px;
}

.contact-sec .gaps {
  width: 100%;
  height: 332px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #0e5daa;
}

.contact-sec .gaps img {
  max-width: 332px;
  height: auto;
  position: absolute;
}

.contact-left-txt {
}

.contact-left-txt h3 {
  padding-top: 30px;
  font-weight: bold;
  font-size: 42px;
  line-height: 53px;
  text-align: center;
}

.form-contact-right {
  max-width: 1000px;
  margin: auto;
  background-color: #f4f4f4;
  padding: 10px;
  margin-top: -50px;
  z-index: 11;
  position: relative;
}

.form-contact-right h4 {
  font-size: 30px;
  line-height: 38px;
  font-weight: 400;
  color: #333333;
  padding-bottom: 48px;
  text-align: center;
}

.form-contact-right .form-check {
  padding-bottom: 18px;
  padding-left: 0;
  margin-bottom: 0;
}

.form-contact-right .form-check-input {
  border: 1px solid #0e5daa;
  margin-left: 0;
}

.form-contact-right .form-check label {
  padding-left: 20px;
  font-weight: 300;
  font-size: 18px;
  line-height: 23px;
  color: #000000;
}

.form-contact-right .form-check-input:checked {
  background: #0e5daa;
  background-image: unset;
}

.form-contact-right .inpts {
  padding-top: 12px;
}

.form-contact-right .inpts .form-control {
  width: 100%;
  margin-bottom: 15px;
  background: #f9fafb;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  padding: 18px 28px;
  font-weight: 300;
  font-size: 18px;
  line-height: 23px;
  color: #888888;
}

.form-check .form-check-input:focus,
.form-control:focus {
  box-shadow: unset;
}

.form-contact-right .btn {
  margin-top: 15px;
  width: 100%;
  text-align: center;
}

/*contact */

/*testimonial sec*/

.testimonial {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  position: relative;
}

/* Linie nur so hoch wie der Textblock */
.testimonial__content {
  position: relative;
  padding-left: 2rem;
  /* Abstand zwischen Linie & Text */
}

.testimonial__content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  /* => Linie exakt Texthöhe */
  width: 1px;
  border-left: 1px dotted #c89bb6;
  /* Farbe anpassbar */
  opacity: 0.9;
}

/* Für Reverse-Variante → Linie rechts */
.testimonial--reverse .testimonial__content {
  padding-left: 0;
  padding-right: 2rem;
}

.testimonial--reverse .testimonial__content::before {
  left: auto;
  right: 0;
}

/* Versteckte Slides dürfen keine Klicks abfangen */
.testimonial-slide {
  pointer-events: none;
}

/* Nur das aktive Slide ist interaktiv */
.testimonial-slide--active {
  pointer-events: auto;
}

/* Dots/Navigation immer über dem Slide */
.testimonials__nav {
  position: relative;
  z-index: 10;
}

/* Mobile ausblenden */
@media (max-width: 768px) {
  .testimonial__content::before {
    display: none;
  }
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: #ffffff;
}

.testimonials {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 2rem 3rem;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 100px;
}

/* Carousel-Innenbereich */
/* Carousel darf wachsen */
.testimonials__carousel {
  position: relative;
  height: auto;
  touch-action: pan-y;
}

/* Slides standardmässig ausblenden */
.testimonial-slide {
  display: none;
  pointer-events: none;
}

/* Aktiver Slide bestimmt Höhe */
.testimonial-slide--active {
  display: block;
  pointer-events: auto;
}

.testimonial {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  width: 100%;
}

.testimonial--reverse {
  flex-direction: row-reverse;
}

.testimonial__image img {
  display: block;
  width: 220px;
  height: auto;
  object-fit: cover;
}

.testimonial__content {
  flex: 1;
}

.testimonial__quote {
  font-family: "Times New Roman", serif;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0 0 1.3rem;
}

.testimonial__source {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0 0 0.7rem;
}

.testimonial__name {
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 1.4rem;
  color: var(--color-accent);
  margin: 0.2rem 0 0.2rem;
}

.testimonials__nav-buttons {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  width: 100px; /* Platz für die beiden Buttons */
  z-index: 1;
}

.nav-btn {
  background-color: #333;
  color: white;
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  width: 30px; /* Kleiner Button */
  height: 30px; /* Kleiner Button */
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-btn:hover {
  background-color: #555;
}

.testimonial__role {
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin: 0;
  text-transform: none;
}

/* Navigation (Pfeile) */
.testimonials__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  gap: 1rem;
}

/* Dots */
.testimonials__dots {
  display: flex;
  gap: 0;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonials__dot {
  position: relative;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.testimonials__dot::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b8b8b8;
  inset: 8px;
}

.testimonials__dot--active::before {
  background: var(--color-accent);
}

/* Responsive */
@media (max-width: 768px) {
  .testimonials {
    padding: 1.8rem 1.2rem 2.3rem;
  }

  .testimonials__carousel {
    min-height: 0;
  }

  .testimonial-slide {
    position: relative;
  }

  .testimonial-slide--active {
    display: block;
  }

  .testimonial,
  .testimonial--reverse {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
  }

  .testimonial__image img {
    width: 150px;
  }

  .testimonial__quote {
    font-size: 1.2rem;
  }
}

.testimonial__content {
  position: relative;
  padding-left: 2rem;
}

.testimonial__content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0; /* nur so hoch wie Text */
  width: 1px;
  border-left: 1px dotted #d4b3c8;
  opacity: 0.9;
}

.testimonial--reverse .testimonial__content {
  padding-left: 0;
  padding-right: 2rem;
}
.testimonial--reverse .testimonial__content::before {
  left: auto;
  right: 0;
}

/* ===========================
   MOBILE OPTIMIERUNG
   =========================== */
@media (max-width: 768px) {
  .testimonials {
    padding: 1.4rem 1rem 1.8rem;
    border-radius: 12px;
  }

  .testimonials__heading {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  /* Slide nicht mehr absolute, damit Höhe natürlich ist */
  .testimonials__carousel {
    min-height: 0;
  }

  .testimonial-slide {
    position: relative;
    inset: auto;
  }

  .testimonial-slide--active {
    display: block;
  }

  /* Stacking: Bild oben, Text unten */
  .testimonial,
  .testimonial--reverse {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: left;
  }

  .testimonial__image img {
    width: 140px;
    border-radius: 10px;
  }

  /* Vertikale Trennlinie deaktivieren */
  .testimonial__content {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  .testimonial__content::before {
    display: none;
  }

  /* Optional: kleine horizontale Linie statt vertikal */
  .testimonial__content::after {
    content: "";
    display: block;
    width: 80px;
    height: 1px;
    margin: 0.8rem 0 0.9rem;
    border-bottom: 1px dotted #d4b3c8;
    opacity: 0.9;
  }

  .testimonial__quote {
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 0.6rem;
  }

  .testimonial__name {
    font-size: 1.3rem;
  }

  .testimonial__role,
  .testimonial__source {
    font-size: 0.78rem;
  }

  /* Navigation: Buttons & Dots gut touchbar */
  .testimonials__nav {
    margin-top: 1.2rem;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .testimonials__buttons {
    width: 100%;
    justify-content: center;
  }

  .testimonials__btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .testimonials__dots {
    margin-left: 0;
    justify-content: center;
    width: 100%;
    gap: 0;
  }

  .testimonials__dot {
    width: 24px;
    height: 24px;
  }
}

/*footer*/
.footers {
  width: 100%;
  background-color: #ececec;
  padding: 42px;
}

.left-footer p {
  font-weight: 300;
  font-size: 18px;
  line-height: 23px;
  color: #333333;
}

.left-footer a {
  color: #333333;
  text-decoration: underline;
}

.footers .social-icon {
  text-align: right;
}

.left-footer {
  padding-left: 50px;
}

.social-right-footer {
  padding-right: 50px;
}

/*QR code part*/
.qr-code-div {
  background-color: #0e5daa;
  box-shadow: 0px 30px 30px -6px rgb(14 93 170 / 35%);
  padding: 4rem;
}

.qr-code-div h3,
.qr-code-div p {
  color: #ffffff;
  padding: 0;
}

.qr-code-div h3 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 100;
  padding: 0;
}

.white-line {
  margin: 2rem 0;
  height: 1px;
  background: #ffffff;
}

.qr-img {
  width: 200px;
  margin-top: 15px;
  padding: 0;
}

h3.titles {
  font-family: LinotypeUniversHeavy, sans-serif;
  font-size: 24px;
}

.table-div {
  overflow-y: auto;
}

.downloads-lower span {
  line-height: 2rem;
}

/* my code */
/* downloads */
.down-color {
  color: rgb(14, 93, 170);
}

#downloads {
  padding: 0 80px;
}

.fs-4r {
  font-size: 3rem;
}

.fs-2r {
  font-size: 2rem;
}

.dowonload-links a {
  display: block;
  line-height: 2;
  font-weight: 400;
  font-size: 18px;
  color: #3c52a5;
  font-family: initial;
  border-bottom: 1px solid rgba(178, 196, 213, 0.45);
  transition: 0.1s ease-in-out;
  font-family: LinotypeUniversRegular, sans-serif;
}

.dowonload-links a:hover {
  color: #00aeef;
}

.dowonload-links a:last-child {
  border-bottom: none;
}

/* for Meine_Themenbereiche */
#Meine_Themenbereiche {
  min-height: 600px;
  background-image: conic-gradient(
    from 45deg,
    rgb(235, 238, 239),
    rgb(236, 231, 238),
    rgb(235, 238, 239),
    rgb(235, 238, 239),
    rgb(236, 231, 238),
    rgb(235, 238, 239)
  );
}

#Meine_Themenbereiche .upper_text {
  font-size: 80px;
  font-family: LinotypeUniversRegular, sans-serif;
  text-align: center;
  font-weight: 700;
  color: #cf1f75;
}

#Meine_Themenbereiche .box-text {
  font-size: 1.7rem;
  font-family: LinotypeUniversRegular, sans-serif;
  text-align: center;
  font-weight: 800;
  color: rgb(14, 93, 170);
  line-height: 2rem;
}

#Meine_Themenbereiche .inner_boxes a > div {
  width: 100%;
  margin: auto;
}

#Meine_Themenbereiche .inner_boxes {
  transition: background 0.3s;
  display: flex;
  border-radius: 10px;
  justify-content: center; /* Zentriert horizontal */
  align-items: center; /* Zentriert vertikal */
}

#Meine_Themenbereiche .inner_boxes:hover {
  background: #ffffff;
  border-radius: 10px;
  cursor: pointer;
}

#Meine_Themenbereiche .inner_boxes:hover svg path {
  fill: #00aeef !important;
}

#Meine_Themenbereiche .meiene_lower_link {
  margin-left: 50px;
  overflow-wrap: break-word;
  /* font-family: LinotypeUniversRegular, sans-serif; */
}

#Meine_Themenbereiche .meiene_lower_link a {
  font-size: 1.9rem;
  font-family: LinotypeUniversRegular, sans-serif;
  color: #656565;
}

/* new page added on */
.npersonlich-text {
  font-family: sans-serif;
  text-align: center;
  padding: 100px 10px;
}

.npersonlich-text span {
  font-size: 3.5rem;
  font-family: LinotypeUniversRegular, sans-serif;
  text-align: center;
  font-weight: 800;
  color: #cf1f75;
  line-height: 4rem;
  transition: 0.3s ease-out;
  animation: animate;
  opacity: 0;
  animation: fade-in 0.8s ease-in 0.3s forwards;
}

.npersonlich-text p {
  width: 75%;
  margin: auto;
  overflow-wrap: break-word;
  transition: 0.3s ease-out;
  animation: animate;
  opacity: 0;
  animation: fade-in 0.8s ease-in 0.3s forwards;
  hyphens: auto;
  text-align: justify;
}

/* for personlich animation */
@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* first section */
.first-section .first-sec-img {
  width: 50%;
  height: 700px;
  background: url(../img/family.jpg);
  background-size: cover;
  background-attachment: scroll;
}

/* first section */
.first-section .third-sec-img {
  width: 50%;
  height: 700px;
  background: url(../img/wankdorf.jpg);
  background-size: cover;
  background-attachment: scroll;
}

.first-sec-content {
  padding: 30px;
  background-color: #3c52a5;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

.footer-fast {
  margin-top: 110px;
}
.first-bg {
  background-color: #3c52a5;
}

.first-section .first-sec-content .text-div {
  width: 60%;
  margin-left: 200px;
  font-family: inter, sans-serif;
  position: absolute;
  color: white;
  scroll-behavior: smooth;
  overflow-wrap: break-word;
  background-color: #3c52a5;
  padding: 30px;
}

.first-sec-content .text-div h1 {
  color: white;
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 800;
}

.first-sec-content .text-div p {
  font-family: inter, sans-serif;
  color: white;
  font-size: 16px;
  hyphens: auto;
  text-align: justify;
}

.first-sec-content .text-div h2 {
  font-family: inter, sans-serif;
  color: white;
  font-size: 2rem;
  font-weight: 800;
}

/* right side */
.second-sec-content {
  width: 50%;
  position: relative;
}

.second-sec-content .second-text-div {
  width: 70%;
  padding: 30px;
  position: absolute;
  bottom: 0;
  background-color: #0e5daa;
  overflow: hidden;
  overflow-wrap: break-word;
  right: -30px;
  margin-right: 200px;
}

.second-sec-content .second-text-div h1 {
  color: white;
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 800;
}

.second-sec-content .second-text-div h2 {
  color: white;
  font-size: 2rem;
  font-weight: 800;
}

.second-sec-content .second-text-div p {
  font-family: inter, sans-serif;
  color: white;
  overflow-wrap: break-word;
  font-size: 16px;
  hyphens: auto;
  text-align: justify;
}

.second-sec-img {
  width: 40%;
  height: 900px;
  background: url(../img/berufserfahrung.jpg);
  background-size: cover;
  background-attachment: scroll;
  background-repeat: no-repeat;
}

.fourth-sec-img {
  width: 50%;
  height: 500px;
  background: url(../img/bildung.jpg);
  background-size: cover;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: center;
}

/*responsive*/
@media (max-width: 1300px) {
  .about-us-sec {
    overflow: hidden;
  }

  .content-right-about .txt {
    right: 0;
  }
}

@media (max-width: 1200px) {
  .content-right-about .txt {
    right: -40px;
  }

  .testimonial-slick-slider h3 {
    padding-left: 40px;
  }

  .mobile-show {
    position: absolute;
    left: 0;
    color: #fff;
  }
}

@media (max-width: 991px) {
  .navbar-toggler {
    display: block !important;
    position: absolute;
    top: 50%;
    right: 15px;
    z-index: 2;
    margin-left: auto;
    color: #333;
    transform: translateY(-50%);
  }

  .navbar-toggler-icon {
    height: auto;
    border: 0;
    outline: 0;
  }

  .navbar-toggler:focus {
    box-shadow: unset;
  }

  .navbar .btn {
    margin-left: 0;
  }

  .navbar-nav {
    padding-top: 30px;
    padding-bottom: 0px;
  }

  .navbar {
  }

  .navbar .social-icon {
    padding-bottom: 30px;
  }

  .navbar .social-icon li {
    padding-left: 0;
    padding-top: 30px;
    padding-right: 30px;
  }

  h2 {
    font-size: 60px;
    line-height: 80px;
  }

  .right-content-meine {
    max-width: 100%;
    padding-top: 30px;
  }

  .form-contact-right {
    padding: 10px;
    margin-top: 100px;
    max-width: 100%;
  }

  .contact-left-txt {
    padding-top: 0;
    padding-bottom: 50px;
  }

  .contact-sec .gaps {
    top: 200px;
    background: none;
  }

  .contact-sec .gaps img {
    max-width: 0px;
    height: auto;
  }

  .testimonial-slick-slider h3 {
    font-size: 33px;
    line-height: 46px;
  }

  .slider-wrapper-testi {
    padding-left: 40px;
    padding-right: 40px;
  }

  .testimonial-slick-slider {
    padding-bottom: 80px;
  }

  .left-content-meine {
    border-right: 0;
    padding-bottom: 0;
  }

  /* for new add page styling */
  .first-section {
    flex-direction: column;
  }

  .first-section .first-sec-img {
    width: 100%;
    height: 400px;
    background-position-y: bottom;
    background-size: cover !important;
    background-repeat: no-repeat;
  }

  .first-section .third-sec-img {
    width: 100%;
    height: 400px;
    background-position-y: bottom;
    background-size: cover !important;
    background-repeat: no-repeat;
  }

  .first-section .first-sec-content {
    width: 100%;
    height: 400px;
    margin: 0;
    overflow: visible;
  }

  .first-section .first-sec-content .text-div {
    width: 98%;
    position: relative;
    margin: auto;
  }

  .second-section {
    flex-direction: column;
  }

  .second-sec-img {
    width: 100%;
    height: 400px;
    order: 1 !important;
  }

  .fourth-sec-img {
    width: 100%;
    height: 400px;
    order: 1 !important;
  }

  .second-sec-content {
    width: 100%;
    position: relative;
    order: 2 !important;
  }

  .second-sec-content .second-text-div {
    position: relative;
    width: 98%;
    margin: auto;
    right: 0;
  }
}

@media (max-width: 767px) {
  .banners-top-sec .content .texts {
    bottom: 50px;
  }

  .about-us-sec {
    padding: 75px 0;
  }

  h2 {
    font-size: 52px;
    line-height: 66px;
  }

  .banners-top-sec .content .texts {
    transform: rotate(0);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
  }

  .banners-top-sec .content .texts span {
    font-size: 14px;
    line-height: 18px;
  }

  .banners-top-sec .content .texts span {
    width: 100%;
  }

  .content-right-about {
    padding-top: 30px;
  }

  .testimonial-slick-slider .slick-slide .d-flex {
    display: inline-block !important;
  }

  .testimonial-slick-slider h3 {
    padding-left: 0;
    padding-top: 20px;
  }

  .left-footer {
    padding-left: 0;
  }

  .left-footer p {
    text-align: center;
  }

  .social-right-footer {
    padding-right: 0;
    padding-top: 30px;
  }

  .footers .social-icon {
    text-align: center;
  }

  .footers .social-icon li {
    padding-left: 10px;
    padding-right: 10px;
  }

  .form-contact-right {
    padding: 40px 20px;
    z-index: 0;
  }

  .left-content-meine h3 {
    padding-left: 30px;
    font-size: 36px;
    line-height: 42px;
  }

  .left-content-meine img {
    max-width: 100%;
  }

  .meine-politic-se {
    padding: 100px 0;
  }

  .left-content-meine {
    padding-top: 0;
  }

  .contact-sec {
    padding-bottom: 100px;
  }

  .slider-wrapper-testi {
    padding-left: 10px;
    padding-right: 10px;
  }

  .testimonial-slick-slider h3 {
    font-size: 25px;
    line-height: 36px;
  }

  .content-left-about {
    padding-top: 0;
  }

  .contact-sec .gaps {
    background: none;
  }

  .contact-sec .gaps img {
    max-width: 0px;
    height: auto;
  }

  .footers {
    margin-bottom: 30px;
  }

  .mobile-show {
    position: absolute;
    left: 0;
    color: #fff;
  }

  #footable-res2 {
    padding: 0;
  }

  .fs-4r {
    font-size: 2.4em;
    overflow-wrap: break-word;
  }

  .fs-2r {
    font-size: 1.4em;
    overflow-wrap: break-word;
  }

  h3.titles {
    padding: 0;
  }

  #Meine_Themenbereiche .meiene_lower_link {
    margin-left: 20px;
  }
}

@media (max-width: 600px) {
  #Meine_Themenbereiche .upper_text {
    font-size: 2rem;
    line-height: 2rem;
    overflow-wrap: break-word;
  }
  .npersonlich-text {
    padding: 40px;
  }
  .npersonlich-text span {
    font-size: 2.5rem;
    line-height: 1;
    overflow-wrap: break-word;
  }

  .npersonlich-text p {
    overflow-wrap: break-word;
  }
}

.instagram-logo {
  position: relative;
  display: inline-flex;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor;
  border-radius: 6px;
}

.instagram-logo::before,
.instagram-logo::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.instagram-logo::before {
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
}

.instagram-logo::after {
  top: 3px;
  right: 3px;
  width: 3px;
  height: 3px;
  background: currentColor;
}

.instagram-logo--small {
  width: 16px;
  height: 16px;
  border-width: 1.5px;
  border-radius: 5px;
}

.instagram-logo--small::before {
  width: 6px;
  height: 6px;
  border-width: 1.5px;
}

.instagram-logo--small::after {
  top: 2px;
  right: 2px;
  width: 2.5px;
  height: 2.5px;
}

.instagram-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.instagram-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(14, 93, 170, 0.13);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(21, 46, 77, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.instagram-card:hover {
  border-color: rgba(207, 31, 117, 0.36);
  box-shadow: 0 24px 54px rgba(21, 46, 77, 0.15);
  transform: translateY(-5px);
}

.instagram-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
}

.instagram-card__link:focus-visible {
  outline: 3px solid #0e5daa;
  outline-offset: -3px;
}

.instagram-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #e8edf4;
}

.instagram-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.instagram-card:hover .instagram-card__image {
  transform: scale(1.035);
}

.instagram-card__badge,
.instagram-card__video {
  position: absolute;
  top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  color: #0e5daa;
  backdrop-filter: blur(8px);
}

.instagram-card__badge {
  left: 14px;
  gap: 7px;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: "LinotypeUniversBold", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
}

.instagram-card__video {
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.75rem;
}

.instagram-card__body {
  display: flex;
  min-height: 180px;
  flex: 1;
  flex-direction: column;
  padding: 20px 21px 18px;
}

.instagram-card__caption {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #303640;
  font-size: 0.9rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.instagram-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #e7ebf0;
  color: #616161;
  font-size: 0.76rem;
}

.instagram-card__action {
  margin-left: auto;
  color: #cf1f75;
  font-family: "LinotypeUniversBold", sans-serif;
  font-weight: 700;
}

.instagram-feed__skeleton {
  min-height: 500px;
  border: 1px solid #e5eaf0;
  border-radius: 18px;
  background: linear-gradient(110deg, #e9edf2 8%, #f7f9fb 18%, #e9edf2 33%);
  background-size: 200% 100%;
  animation: instagram-skeleton 1.4s linear infinite;
}

.instagram-feed__message {
  grid-column: 1 / -1;
  padding: 42px 24px;
  border: 1px dashed rgba(14, 93, 170, 0.35);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  color: #444;
  text-align: center;
}

.instagram-feed__message p {
  margin-bottom: 10px;
}

.instagram-feed__message a {
  color: #0e5daa;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes instagram-skeleton {
  to {
    background-position-x: -200%;
  }
}

@media (max-width: 991px) {
  .instagram-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .instagram-feed {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .instagram-card__body {
    min-height: 165px;
  }

  .instagram-feed__skeleton {
    min-height: 470px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .instagram-card,
  .instagram-card__image {
    transition: none;
  }

  .instagram-feed__skeleton {
    animation: none;
  }
}

.signature {
  width: 300px; /* Die gewünschte Breite der Unterschrift */
  margin: 0px auto 0;
  display: block;
}

.form-contact-right {
  padding: 40px;
}

/* *****For Mobile Devices ****** */
@media screen and (max-width: 767px) {
  .about-us-sec {
    padding-top: 20px;
    padding-bottom: 55px;
  }

  h2 {
    font-size: 45px;
    line-height: 52px;
  }

  .content-center-about h2 {
    font-size: 42px;
  }

  .aktuelles-sec {
    padding-bottom: 0px;
    padding-top: 40px;
  }

  .form-contact-right {
    margin-top: 30px;
  }

  #contact {
    padding-bottom: 0 !important;
  }

  .form-contact-right {
    padding: 20px;
  }

  #downloads {
    padding: 0 0px;
  }

  .down-color {
    padding-bottom: 0 !important;
  }

  .npersonlich-text {
    padding: 40px 0px;
  }

  .npersonlich-text p {
    width: 100%;
    font-size: 15px;
  }

  .first-section .first-sec-content .text-div {
    width: 100%;
    position: static;
  }

  .footer-fast {
    margin-top: 50px;
  }

  .first-sec-content {
    padding: 15px;
  }
}

.fs-2r {
  font-size: 20px;
}

@media (max-width: 1350px) {
  .first-sec-content .text-div h1 {
    font-size: 2.5rem;
  }

  .first-sec-content .text-div p {
    font-size: 15px;
  }
}

@media (max-width: 1277px) {
  .npersonlich-text span {
    font-size: 2.5rem;
  }

  .npersonlich-text p {
    font-size: 17px;
  }

  .first-sec-content .text-div h1 {
    font-size: 2rem;
  }

  .first-sec-content .text-div p {
    font-size: 14px;
  }
}

@media (max-width: 1217px) {
  .first-sec-content .text-div h1 {
    font-size: 1.5rem;
  }

  .first-sec-content .text-div p {
    font-size: 14px;
  }
}

@media (max-width: 1199px) {
  .first-sec-content .text-div h1 {
    font-size: 1.5rem;
  }

  .first-sec-content .text-div p {
    font-size: 13px;
  }
}
