/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Reset padding and margins for all elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navbar */
.navbar {
    background-color: #A9F5A9;
    border: none;
    margin-bottom: 0;
}

/* Navigation Links */
.navbar ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

.navbar ul li {
    display: inline-block;
    margin-right: 10px;
}

.navbar ul li a {
    text-decoration: none;
    color: #000;
    padding: 10px;
}

/* Verhindere Abstände um den #slides-Container */
#slides {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100%;
  overflow: hidden;
}

/* Entferne Abstände in der slides-container */
#slides .slides-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
}

/* Standardbildgröße für alle Geräte */
img {
    max-width: 50%;      /* Standardmäßig auf 50% des Containers begrenzen */
    height: auto;
    display: block;
    margin: 0 auto;
}


/* Tablet-spezifische Anpassungen */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    img {
        max-width: 75%;  /* Auf Tablets auf 75% der Containerbreite begrenzen */
    }
}

/* Scrollable */
#slides .scrollable {
  position: relative;
  top: 0;
  left: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  height: 100%;
}

/* Clearfix für scrollable */
#slides .scrollable:after {
  content: "";
  display: table;
  clear: both;
}

/* Navigation */
.slides-navigation {
  margin: 0 auto;
  position: absolute;
  z-index: 3;
  top: 46%;
  width: 100%;
}

.slides-navigation a {
  position: absolute;
  display: block;
}

.slides-navigation a.prev {
  left: 0;
}

.slides-navigation a.next {
  right: 0;
}

/* Pagination */
.slides-pagination {
  position: absolute;
  z-index: 3;
  bottom: 10px;
  text-align: center;
  width: 100%;
}

.slides-pagination a {
  border: 2px solid #222;
  border-radius: 15px;
  width: 10px;
  height: 10px;
  display: inline-block;
  vertical-align: middle;
  margin: 2px;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGP6zwAAAgcBApocMXEAAAAASUVORK5CYII=");
  overflow: hidden;
  text-indent: -100%;
}

.slides-pagination a.current {
  background: #222;
}

	


/* Footer */
footer {
    text-align: center;
    background-color: #A9F5A9;
    padding: 15px;
    margin-top: 20px;
}

/* Footer Links */
footer a {
    color: #000;
    text-decoration: none;
}

footer a:hover {
    color: #333;
    text-decoration: underline;
}


/* ===== MOBILE OPTIMIERUNG ===== */

@media (max-width: 768px) {

.container {
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

body {
    font-size: 18px;
    line-height: 1.6;
}

h1, h2, h3 {
    font-size: 24px !important;
}

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

video {
    width: 100% !important;
    height: auto !important;
}

}

/* =========================
   MOBILE PRO OPTIMIERUNG
========================= */

@media (max-width:768px){

body{
    font-size:18px;
    line-height:1.7;
    padding-top:0;

}

.navbar{
margin-bottom:0 !important;
}

/* Überschriften moderner */
h1,h2{
    font-size:26px !important;
    margin-bottom:20px;
}

/* Menü schöner */
.navbar-nav li a{
    padding:14px 15px;
    font-size:18px;
}

/* Boxen untereinander */
.col-sm-4{
    width:100%;
    margin-bottom:25px;
}

/* Bilder perfekt skalieren */
img{
    max-width:100%;
    height:auto;
    border-radius:8px;
}

/* Videos mobil */
video{
    width:100%!important;
    height:auto!important;
}

/* Tabellen mobil scrollbar */
table{
    display:block;
    overflow-x:auto;
}

/* Mehr Luft */
.container{
    padding-left:18px;
    padding-right:18px;
}

/* Buttons moderner */
button,
.btn{
    padding:12px 18px;
    font-size:18px;
    border-radius:8px;
}

}

.hero-header{
padding-top:100px;
padding-bottom:80px;
}

.hero-header h1{
font-size:32px;
}

.hero-header img{
width:180px;
max-width:70%;
margin-bottom:20px;
}

.hero-text h1{
font-size:34px;
font-weight:600;
margin-bottom:5px;
color:#444;
}

.hero-text h2{
font-size:20px;
font-weight:400;
color:#444;
line-height:1.4;
}

/* Mobile */
@media(max-width:768px){

.hero-header{
padding-top:20px;
}

.hero-text h1{
font-size:26px;
}

.hero-text h2{
font-size:18px;
}

}

/* ===== LEVEL 7 NAVBAR UPGRADE ===== */

.navbar{
box-shadow:0 2px 10px rgba(0,0,0,0.08);
border:none;
}

.navbar-nav li a{
font-size:16px;
font-weight:500;
transition:0.3s;
}

.navbar-nav li a:hover{
background:rgba(255,255,255,0.4);
border-radius:6px;
}

section{
padding-top:60px;
padding-bottom:60px;
}

/* ===== LEVEL 9 CALL BUTTON ===== */

/* ===== FIX CALL BUTTON ===== */

.call-button{
position: fixed;
bottom: 20px;
right: 20px;

background: #28a745;
color: #fff;
padding: 14px 22px;

border-radius: 50px;
font-size: 18px;
text-decoration: none;

z-index: 9999999;

/* DAS IST DER WICHTIGE TEIL */
width: auto;
display: inline-block;
}

html, body {
overflow-x: hidden;
}


.call-button{
position:fixed;
bottom:20px;
right:20px;

background:#28a745;
color:#fff;
padding:14px 22px;
border-radius:50px;
font-size:18px;
text-decoration:none;

z-index:2147483647;

/* DER WICHTIGE FIX */
isolation:isolate;
transform:translateZ(0);
}



.trust-line{
text-align:center;
font-size:17px;
padding:10px;
background:#f7f7f7;
color:#333;
}

.hero-action{
text-align:center;
margin-top:20px;
}

.hero-button{
background:#2f7a1f;
color:white;
padding:16px 26px;
border-radius:10px;
font-weight:600;
font-size:18px;
box-shadow:0 4px 12px rgba(0,0,0,0.15);
}

.hero-button:hover{
background:#23913c;
}

.hero-subtext{
font-size:18px;
color:#333;
margin-top:10px;
line-height:1.5;
text-align:center;
}

#Start{
margin-top:-30px;
}

.hero-phone{
text-align:center;
margin-top:15px;
font-size:18px;
color:#2f7a1f;
}


.seo-location{
text-align:center;
font-size:16px;
color:#555;
margin-top:10px;
}


/* ===== HERO LINK FIX ===== */

.hero-header h1 a{
color:black !important;
text-decoration:none;
}

.hero-header h1{
text-align:center;
}

/* ===== Ausbildung Tabelle modern ===== */

#bildung table {
  width: 100%;
  border-collapse: collapse;
}

#bildung td {
  padding: 18px 0;
  vertical-align: top;
  border: none;
}

#bildung td:first-child {
  width: 110px;
  font-weight: 600;
  color: #7a7a7a;
  padding-right: 30px;
  white-space: nowrap;
}

#bildung td:last-child {
  line-height: 1.6;
}

#bildung tr:not(:last-child) td {
  padding-bottom: 22px;
}

.hero-text{
max-width:600px;
margin:0 auto;
text-align:center;
}

.hero-text h1{
font-size:28px;
line-height:1.3;
margin-bottom:12px;
}

.trust-line{
font-size:16px;
opacity:0.85;
margin-bottom:25px;
}

section{
padding:70px 20px;
}