:root {
  --csn-tuerkis: #00c7b7;
  --csn-anthrazit: #333333;
  --csn-hellgrau: #f8f9fa;
  --csn-weiss: #ffffff;
}
/* ========== Allgemein ========== */
html {
  scroll-behavior: smooth;
}
body {
    font-family: 'Bahnschrift', sans-serif;
    scroll-behavior: smooth;
    scroll-padding-top: 75px; /* Höhe der fixen Navigation ausgleichen */
    line-height: 1.6;
  }
  
  section {
    padding: 60px 0;
  }
  .text-primary {
    color: var(--csn-tuerkis);
  }

  .btn.btn-primary {
    background-color: var(--csn-tuerkis) !important;
    border-color: var(--csn-tuerkis) !important;
    color: var(--csn-weiss) !important;
  }
  
  .btn-primary:hover, 
  .btn-primary:focus {
    background-color: #009b94; /* etwas dunkler */
    border-color: #009b94;
    color: var(--csn-weiss);
  }
  .btn.btn-outline-primary {
    border-color: var(--csn-tuerkis) !important;
    color: var(--csn-tuerkis) !important;
  }

  .btn-outline-primary:hover{
    background-color: var(--csn-tuerkis);
    color: var(--csn-weiss);
  }
  a {
    color: var(--csn-tuerkis);
    text-decoration: none;
  }
  
  a:hover,
  a:focus {
    color: #007f79;
    text-decoration: underline;
  }
  :focus-visible {
    outline: 3px dashed var(--csn-tuerkis);
    outline-offset: 3px;
  }
  
  .fullscreen-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 15px;
  }
  .btn-close {
    z-index: 5;
    opacity: 0.8;
    color: red;
    border: 1px solid black;
    border-radius: 10000px;
    padding: 5px;
  }
  
  .btn-close:hover {
    opacity: 1;
  }
  
  
  /* ========== Hero-Bereich ========== */
  #hero {
    position: relative;
    height: 100vh;
    background: url('../img/hero_1.png') no-repeat center center;
    background-size: cover;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
  }
  
  #hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(30, 30, 30, 0.4); /* halbtransparenter Schleier */
    backdrop-filter: blur(2px);              /* Weichzeichnung */
    z-index: -1;
  }

  #ueber {
    position: relative;
    height: 80%;
    background: url('../img/CSN.png') no-repeat center center;
    background-size: cover;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
  }

  #ueber::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: auto; height: 80vh;
    background-color: rgba(30, 30, 30, 0.6); /* halbtransparenter Schleier */
    backdrop-filter: blur(20px);              /* Weichzeichnung */
    z-index: -1;
  }
  .ueberMich {
    background-color: rgba(220, 220, 220, 0.8);
    color: rgb(30, 30, 30);
    padding: 20px 10px;
    border-radius: 10px;
  }
  #leistungen, #auftrag-slider, #kontakt {
    position: relative;
    height: 100vh;
    /*background: url('../img/hero_1.png') no-repeat center center;
    background-size: cover;*/
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
  }
  
  #leistungen::before, #auftrag-slider::before, #kontakt::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(220, 220, 220, 0.4); /* halbtransparenter Schleier */
    backdrop-filter: blur(2px);              /* Weichzeichnung */
    z-index: -1;
  }
  #leistungen {
    height: 100%;
    padding-top: 10px;
    padding-bottom: 20px;
    overflow: hidden;
    z-index: 1;
  }
  
  .card {
    height: 100%;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }
  
  #cardFeed {
    margin-left: 40%;
    margin-right: 40%;
    box-shadow: 0 4px 4px 4px 12px rgba(0,0,0,0.5);
  }
  
  .slider-img {
    max-height: 80vh;         /* nie mehr als 60 % der Höhe */
    width: 100%;              /* volle Breite */
    object-fit: cover;        /* beschneiden, damit es immer passt */
    object-position: center;  /* zentriert anzeigen */
    border-radius: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  /* ========== Navigation ========== */
  .navbar {
    background-color: var(--csn-anthrazit);
  }
  
  .navbar .nav-link {
    color: var(--csn-weiss);
  }
  
  .navbar .nav-link:hover,
  .navbar .nav-link.active {
    color: var(--csn-tuerkis);
  }
  
  /* ========== Buttons ========== */
  .btn-outline-light {
    border-color: white;
    color: white;
  }
  
  .btn-outline-light:hover {
    background-color: white;
    color: #222;
  }
  
  /* ========== Footer ========== */
  footer {
    font-size: 0.9rem;
  }  
  .strongFooter {
    color: rgb(58, 144, 55);
  }
  @media (max-width: 768px) {
    #leistungen {
      padding-top: 100px;
      padding-bottom: 120px;
    }
  
    .card {
      margin-bottom: 30px;
    }
  }