/* =========================================
   Basis / Farben & Typografie
========================================= */
:root {
  --bg: #fafafa;
  --fg: #333;
  --accent: #b79f8d;
  --muted: #666;
  --font-sans: 'Lato', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: #fff;
  background: #fff;
  line-height: 1.6;
}

a,
header a {
  color: #086D9A;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1 {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

h3 {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(0, 0, 0, 0.5);
}

    .social-icons {
      display: flex;
      gap: 15px; /* Abstand zwischen den Icons */
    }

    .social-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 120px;  /* für XING etwas breiter */
      height: 50px;
      border-radius: 10px;
      background-color: #026466; /* XING-Farbe */
      text-decoration: none;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      font-family: Arial, sans-serif;
      font-weight: bold;
      font-size: 18px;
      color: #fff; /* weiße Schrift */
    }

    .social-icon:hover {
      transform: scale(1.05);
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    .social-icon svg {
      width: 28px;
      height: 28px;
    }

    /* LinkedIn extra in Blau */
    .linkedin {
      width: 50px; 
      background-color: #fff;
    }

/* =========================================
   Header
========================================= */
.site-header {
  background: linear-gradient(279deg, #b0aeae 1%, #fff 36%, #fff 63%, #b0aeae 100%);
  box-shadow: -2px 10px 26px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem;
}

.logo {
  max-width: 180px;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

.site-nav ul li a {
  font-weight: bold;
  font-size: 110%;
}

/* =========================================
   Teaser
========================================= */
.teaser {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  height: 90vh;
  background: url("Arbeitssicherheit.jpg") center/cover no-repeat;
  color: #fff;
}

.teaser::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

@media (min-width: 900px) {
  .teaser-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1rem;
    margin-right: 10rem;
  }

  .teaser-content h3 {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: 0.5rem;
    margin-left: 15rem;
  }

  .teaser-content p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-left: 15rem;
  }

  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(279deg, #08516e 0%, #1c9fd4 50%, #08516e 100%);
    color: #fff;
    border-radius: 3px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 15rem;
  }
}

@media (max-width: 900px) {
  .teaser-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1rem;
    margin-right: 1rem;
  }

  .teaser-content h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .teaser-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(279deg, #08516e 0%, #1c9fd4 50%, #08516e 100%);
    color: #fff;
    border-radius: 3px;
    font-weight: bold;
    text-decoration: none;
  }
}

/* =========================================
   Zwischenteaser
========================================= */
.zwischenteaser,
.zwischenteaser2 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  height: 50vh;
  color: #fff;
  position: relative;
  z-index: 2;
}

.zwischenteaser {
  background: url("sifa-akademie_offenburg_ortanau_kehl_lahr_karlsruhe_freiburg (4).jpg") center/cover no-repeat;
}

.zwischenteaser2 {
  background: url("sifa-akademie_offenburg_ortanau_kehl_lahr_karlsruhe_freiburg (2).jpg") center/cover no-repeat;
}

.zwischenteaser::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

@media (min-width: 900px) {
  .zwischenteaser-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1rem;
    margin-right: 10rem;
  }

  .zwischenteaser-content h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }

  .zwischenteaser-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(279deg, #08516e 0%, #1c9fd4 50%, #08516e 100%);
    color: #fff;
    border-radius: 3px;
    font-weight: bold;
    text-decoration: none;
  }
}

@media (max-width: 900px) {
  .zwischenteaser-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1rem;
    margin-right: 1rem;
  }

  .zwischenteaser-content h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .zwischenteaser-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(279deg, #08516e 0%, #1c9fd4 50%, #08516e 100%);
    color: #fff;
    border-radius: 3px;
    font-weight: bold;
    text-decoration: none;
  }
}

/* =========================================
   Uli-Section / Über mich
========================================= */
.uli-section {
  background: linear-gradient(279deg, #08516e 0%, #1c9fd4 50%, #08516e 100%);
  color: white;
  padding: 0;
  box-shadow: -2px 10px 26px rgba(0, 0, 0, 0.75);
  position: relative;
  z-index: 1000;
}

.uli-bg {
  background: linear-gradient(279deg, #08516e 0%, #1c9fd4 50%, #08516e 100%);
  padding: 4rem 0;
}

.uli-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

@media (min-width: 700px) {
  .uli-container {
    background-size: 27rem;
    background-repeat: no-repeat;
    background-position: 90%;
  }
}

@media (max-width: 700px) {
  .uli-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .uli-container img {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .uli-text {
    flex: 1 1 100%;
    text-align: center;
  }

  .uli-image {
    flex: 1 1 100%;
  }
}

.uli-text {
  flex: 1 1 50%;
}

.uli-image {
  flex: 1 1 40%;
}

.uli-image img {
  width: 75%;
  border-radius: 8px;
}

.uli-container p {
  margin-bottom: 1rem;
}

/* =========================================
   Info-Section
========================================= */
.info-section {
  background: linear-gradient(279deg, #08516e 0%, #1c9fd4 50%, #08516e 100%);
  color: #fff;
  position: relative;
  z-index: 50;
  box-shadow: -2px 10px 26px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

.section-bg {
  background: linear-gradient(279deg, #08516e 0%, #1c9fd4 50%, #08516e 100%);
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.info-text {
  flex: 1 1 50%;
}

.info-image {
  flex: 1 1 40%;
  align-self: flex-end;
}

.info-image img {
  display: block;
  width: 120%;
  height: auto;
  border-radius: 0;
  margin-bottom: -2px;
}

@media (min-width: 700px) {
  .info-container {
    background-size: 27rem;
    background-repeat: no-repeat;
    background-position: 90%;
  }

	@media(min-width: 700px)
		{
			.info-container h1{
	padding-top: 2rem;}}
	
  .info-text {
    padding-right: 3rem;
	  padding-top: 2rem;  
  }
}

@media (max-width: 700px) {
  .info-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .info-text {
    flex: 1 1 100%;
    text-align: center;
    padding-right: 0;
  }

  .info-image {
    flex: 1 1 100%;
    align-self: center;
  }
}

/* Awards */
.awards-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 16px;
  justify-content: center;
}

.awards-grid img {
  width: 90px;
  height: auto;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.awards-grid img:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.awards {
  margin-top: 18px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.awards img {
  width: 180px;
  height: auto;
  padding: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (max-width: 520px) {
  .awards {
    justify-content: center;
  }
}

/* =========================================
   Iconboxen
========================================= */
.icon-boxes {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  text-align: center;
  margin: 1px;
  width: 100%;
  flex-wrap: nowrap;
}

.icon-box {
  flex: 1 1 25%;
  background: linear-gradient(279deg, #08516e 0%, #1c9fd4 50%, #08516e 100%);
  padding: 4rem;
  font-size: 2rem;
  border-right: 1px solid #ccc;
  min-width: 0;
}

.icon-box:last-child {
  border-right: none;
}

.icon-box p {
  font-size: 1rem;
  margin-top: 0.8rem;
}

/* =========================================
   Slider
========================================= */
.slider {
  position: relative;
  max-width: 600px;
  margin: 3rem auto;
  overflow: hidden;
}

.slider input {
  display: none;
}

.slides {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease;
}

.slide {
  width: 100%;
  flex-shrink: 0;
  position: relative;
}

.slide img {
  width: 100%;
  display: block;
}

.caption {
  position: absolute;
  bottom: 20%;
  left: 10%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 1rem;
  border-radius: 3px;
}

.controls {
  text-align: center;
  margin-top: 0.5rem;
}

.controls label {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  margin: 0 0.3rem;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

#s1:checked ~ .slides {
  transform: translateX(0%);
}

#s2:checked ~ .slides {
  transform: translateX(-100%);
}

#s3:checked ~ .slides {
  transform: translateX(-200%);
}

#s1:checked ~ .controls label[for="s1"],
#s2:checked ~ .controls label[for="s2"],
#s3:checked ~ .controls label[for="s3"] {
  background: var(--accent, #b79f8d);
}

/* =========================================
   Galerie & Lightbox
========================================= */
#img1,
#img2,
#img3,
#img4 {
  position: fixed;
  z-index: 1000;
}

.gallery {
  max-width: 1920px;
  margin: 1rem auto;
  padding: 2rem;
  background: #fff;
  text-align: center;
}

.gallery h2 {
  display: none;
}

.thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.thumbs a {
  flex: 1 1 calc(25% - 1.5rem);
  max-width: 350;
  transition: transform 0.3s;
}

.thumbs a img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.thumbs a img:hover {
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .thumbs a {
    flex: 1 1 calc(90% - 1rem);
  }
}

@media (max-width: 600px) {
  .thumbs a {
    flex: 2 2 calc(80% - 1rem);
  }
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.lightbox:target {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border: 5px solid #fff;
  border-radius: 3px;
}

.lightbox .close {
  position: absolute;
  top: 2%;
  right: 2%;
  width: 2rem;
  height: 2rem;
  background: white;
  mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M18 6L6 18M6 6l12 12" stroke="black" stroke-width="2" stroke-linecap="round"/></svg>') no-repeat center;
}

/* =========================================
   Footer
========================================= */
.site-footer {
  background: linear-gradient(279deg, #08516e 0%, #1c9fd4 50%, #08516e 100%);
  margin-top: auto;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 100;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media (min-width: 700px) {
  .site-footer .container {
    background-image: url("iconweiß.png");
    background-size: 24rem;
    background-repeat: no-repeat;
    background-position: 90%;
  }
}



@media (max-width: 700px) {
  .footer-colweg {
    display:none;
  }
}

@media (min-width: 701px) {
  .footer-colweg {
    display:flex;
  }
}


.site-footer .footer-col {
  flex: 1 1 200px;
  margin: 0.5rem;
  padding: 2rem;
}

.site-footer h3 {
  font-family: var(--font-serif);
  margin-bottom: 0.5rem;
  color: white;
}

.site-footer p,
.site-footer ul {
  color: #fff;
  font-size: 0.9rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer ul li {
  margin-bottom: 0.5rem;
}



/* =========================================
   Bottom-Bar
========================================= */
.bottom-bar {
  background: linear-gradient(279deg, #b0aeae 1%, #fff 36%, #fff 63%, #b0aeae 100%);
  text-align: center;
  padding: 0.5rem;
  font-size: 0.8rem;
  box-shadow: -3px -5px 19px rgba(0, 0, 0, 0.75);
  color: #fff;
  font-weight: bold;
}

.bottom-bar a {
  color: #000;
  margin: 0 0.5rem;
}

/* =========================================
   Responsive / Navigation
========================================= */
@media (max-width: 600px) {
  .teaser-content h1 {
    font-size: 1.8rem;
  }

  .caption {
    bottom: 10%;
    left: 5%;
    font-size: 0.9rem;
  }

  .thumbs a img {
    width: calc(80% - 1rem);
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }

  .info-container {
    flex-direction: column;
  }

  .icon-boxes {
    flex-direction: column;
  }

  .icon-box {
    border-right: none;
    border-bottom: 1px solid #ccc;
  }

  .icon-box:last-child {
    border-bottom: none;
  }
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  position: absolute;
  top: 3rem;
  right: 1.5rem;
  width: 30px;
  height: 25px;
  z-index: 1001;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: linear-gradient(279deg, #08516e 0%, #1c9fd4 50%, #08516e 100%);
  height: 3px;
  width: 100%;
  border-radius: 3px;
  position: absolute;
  transition: all 0.3s ease;
}

.nav-toggle-label span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle-label span::before {
  content: '';
  top: -8px;
}

.nav-toggle-label span::after {
  content: '';
  top: 8px;
}

@media (max-width: 900px) {
  .site-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 1rem;
    background: white;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    width: 200px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

  .nav-toggle-label {
    display: block;
  }

  .nav-toggle:checked ~ .site-nav ul {
    display: flex;
  }
}

/* Lato Regular */
@font-face {
  font-family: 'Lato';
  src: url('/fonts/lato/lato-regular.woff2') format('woff2'),
       url('/fonts/lato/lato-regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Lato Italic */
@font-face {
  font-family: 'Lato';
  src: url('/fonts/lato/lato-italic.woff2') format('woff2'),
       url('/fonts/lato/lato-italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Lato Bold */
@font-face {
  font-family: 'Lato';
  src: url('/fonts/lato/lato-bold.woff2') format('woff2'),
       url('/fonts/lato/lato-bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Lato Bold Italic */
@font-face {
  font-family: 'Lato';
  src: url('/fonts/lato/lato-bolditalic.woff2') format('woff2'),
       url('/fonts/lato/lato-bolditalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

