/* ============================= */
/* 🟩 Grundstruktur und Navigation */
/* ============================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #b6a027;
  background: #e7e5e0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.custom-nav {
  background: #003320;
  color: #d4af37;
  padding: 80px 0;
  text-align: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.nav-left, .nav-right {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-left li a, .nav-right li a {
  color: #d4af37;
  text-decoration: none;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 5px;
  transition: all 0.3s ease;
}

.nav-left li a::after, .nav-right li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #d4af37;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-left li a:hover,
.nav-right li a:hover {
  background-color: #002a1b;
}

.nav-left li a:hover::after, .nav-right li a:hover::after {
  transform: scaleX(1);
}

.nav-logo img {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  height: 100px;
  z-index: 3;
}


/* ============================= */
/* 🟩 Hero Section               */
/* ============================= */


.hero-text {
  padding: 30px 50px;
  border-radius: 16px;
  border: 0px solid #bfa046;
  display: flex;
  flex-direction: column;
  margin-top: 10px;

}

.hero-text img {
  height: 150px;
  margin-bottom: 20px;
}

.hero-text h1 {
  color: #d4af37;
  font-size: 36px;
  font-weight: 600;
  margin: 0;
}

.hero-text p {
  color: #816c3d;
  font-size: 18px;
  margin-top: 5px;

}

.hero {
  background: url('/Loewenstein-concept/iStock-905691618.jpg') center center no-repeat;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: flex-start;        /* <-- statt center */
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  padding-top: 50px;             /* <-- Abstand von oben */
}

.hero-text h1 {
  color: #d4af37;
  margin: 0;
  letter-spacing: 1.5px;
}

.hero-text {
  border-radius: 14px;
  display: inline-block;
  padding: 20px 40px 16px 40px;       /* Etwas mehr oben/unten, wirkt eleganter */
}



/* ============================= */
/* Elegant Info Section */        */
/* ============================= */

.info-section {
  text-align: center;
  color: #bfa046;
  background-color: #e7e5e0;
  padding: 50px 20px 80px;
  text-align: center;
  color: #bfa046;
  background-color: #e7e5e0;
  max-width: 1550px;
  text-align: center;
}

.info-section {
  padding: 50px 20px 80px;
  text-align: center;
  color: #bfa046;
  background-color: #e7e5e0;
  max-width: 1550px;
  text-align: center;
}

.sub {
  text-align: center;
  display: inline-block;
  margin-top: 28px;   /* Wert anpassen wie du willst */
}

.info-section .line {
  width: 70px;
  height: 5px;
  background: #bfa046;
  border-radius: 3px;
}

.line {
  margin: 0 auto 32px auto;  /* Linie zentriert + Abstand nach unten */
  }


.info-section h2 {
  font-size: 32px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  color: #bfa046;
  margin-right: 70px;
  margin-left: 70px;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 8px; /* Abstand zum Text, sieht eleganter aus */
  text-decoration-color: #bfa046; /* Goldener Unterstrich */
}

.info-section p {
  max-width: 1050px;
  font-size: 20px;
  line-height: 1.8;
  color: #bfa046;
  text-align:justify;
  margin-right: 100px;
  margin-left: 100px;
  font-size: 21px;
}

.info-section {
  padding: 50px 20px 80px;
  text-align: center;
  color: #bfa046;
  font-family: 'Didot', serif;
  background-color: #e7e5e0;
  max-width: 2050px;
}

/*Expose Bereich*/
.expose-section {
  background: #032e1e;
  padding: 100px 20px;
  text-align: center;
  color: #d4af37;
  font-family: 'Didot', serif;
  border-top: 2px solid #d4af37;
  border-bottom: 2px solid #d4af37;
}

.expose-wrapper {
  max-width: 800px;
  margin: auto;
}

.expose-wrapper h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #d4af37;
  text-decoration: underline;
  text-underline-offset: 8px; /* Abstand zum Text, sieht eleganter aus */
  text-decoration-color: #bfa046; /* Goldener Unterstrich */
}

.expose-wrapper p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f3ead5;
}

.expose-button {
  display: inline-block;
  padding: 12px 30px;
  background: #d4af37;
  color: #032e1e;
  border-radius: 6px;
  border: 2px solid #bfa046;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s;
}

.expose-button:hover {
  background: #bfa046;
  color: white;
}


/* Rechner 3 */

.kalkulator-section {
  background: #fff;
  padding: 100px 0 100px 0;
  display: flex;
  justify-content: center;
}

.kalkulator-container {
  background: #fff;
  border: 3px solid #bfa046;
  border-radius: 18px;
  max-width: 820px;
  width: 100%;
  padding: 48px 48px 32px;
  color: #bfa046;
  margin: auto;
}

.kalkulator-header {
  text-align: center;
  margin-bottom: 34px;
}

.kalkulator-header h2 {
  color: #bfa046;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-family: 'Didot', serif;
  letter-spacing: 1px;
  text-decoration: underline;
  text-underline-offset: 8px; /* Abstand zum Text, sieht eleganter aus */
  text-decoration-color: #bfa046; /* Goldener Unterstrich */
}

.kalkulator-header p {
  color: #8b7b35;
  font-size: 1.1rem;
}

.kalkulator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px 30px;
  margin-bottom: 38px;
}

.kalkulator-grid label {
  display: block;
  font-size: 0.97rem;
  color: #000000;
  margin-bottom: 5px;
  font-family: 'Didot', serif;
}

.kalkulator-grid input {
  width: 100%;
  padding: 11px;
  font-size: 1rem;
  border: 1.5px solid #bfa046;
  border-radius: 6px;
  font-family: 'Didot', serif;
  outline: none;
  transition: border 0.2s;
}

.kalkulator-grid input:focus {
  border: 2px solid #bfa046;
}

.kalkulator-container button[type="submit"] {
  display: block;
  width: 100%;
  padding: 16px;
  background: #bfa046;
  color: #fff;
  border: none;
  font-size: 1.18rem;
  letter-spacing: 1.2px;
  border-radius: 7px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}

.kalkulator-container button[type="submit"]:hover {
  background: #8b7b35;
  color: #fff;
}

.kalkulator-ergebnis {
  color: #032e1e;
  padding: 26px 22px 16px;
  margin-top: 28px;
  font-size: 1.12rem;
}

.kalkulator-ergebnis .kontakt-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 13px 34px;
  font-size: 1.13rem;
  color: #fff;
  background: #bfa046;
  border: none;
  border-radius: 7px;
  text-decoration: none;
  letter-spacing: 1px;
  font-weight: bold;
  transition: background 0.2s;
  box-shadow: 0 2px 12px #bfa04622;
}

.kalkulator-ergebnis .kontakt-btn:hover {
  background: #032e1e;
  color: #bfa046;
}




/* Service Section */
.service-section {
  background: #e7e5e0;
  padding: 100px 40px;
  font-family: 'Didot', serif;
  text-align: center;
  color: #003320;
}

.service-section h2 {
  font-size: 40px;
  margin-bottom: 60px;
  color: #bfa046;
  position: relative;
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 8px; /* Abstand zum Text, sieht eleganter aus */
  text-decoration-color: #bfa046; /* Goldener Unterstrich */
}

.service-section h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #e7e5e0;
  margin: 14px auto 0 auto;
  border-radius: 2px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  background: #032e1e;
  border-radius: 24px;
  padding: 60px 30px;
  color: #d4af37;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #bfa046;
  display: inline-block;
  padding-bottom: 10px;
}

.service-card p {
  font-size: 17px;
  line-height: 1.6;
  color: #f3ead5;
}


/* Timeline Section Grid Style */
.timeline-section {
  background: #003320;
  padding: 100px 40px;
  font-family: 'Didot', serif;
  color: #bfa046;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.timeline-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.timeline-block.reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.timeline-block.reverse .timeline-text {
  direction: ltr;
}

.timeline-text {
  padding: 20px;
}

.services-list {
  margin: 28px 0 28px 0;         /* Abstand oben/unten zur Liste */
  padding-left: 52px;             /* weiter rechts einrücken */
  text-align: left;               /* keine Blocksätze, kein justified! */
  list-style-position: inside;    /* Bullet etwas weiter rein, optional */
}

.services-list li {
  font-size: 23px;
  color: #bfa046;
  margin-bottom: 14px;            /* mehr Abstand zw. den Punkten */
  font-family: inherit;
  letter-spacing: 0.1px;
}
.services-list li::marker {
  color: #bfa046;
  font-size: 1.2em;
}


.timeline-text h3 {
  font-size: 24px;
  color: #bfa046;
  margin-bottom: 10px;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 8px; /* Abstand zum Text, sieht eleganter aus */
  text-decoration-color: #bfa046; /* Goldener Unterstrich */
}

.timeline-text p {
  font-size: 23px;
  line-height: 1.6;
  color: #bfa046;
}

.timeline-text li {
  font-size: 23px;
}

.timeline-image img {
  width: 500px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.timeline-image {
  display: flex;
  align-items: center;     /* vertikal mittig */
  justify-content: center; /* horizontal mittig */
  height: 100%;            /* nimmt volle Höhe des Grid-Blocks */
}

.timeline-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;  /* wichtig für das Overlay */
}

.timeline-image img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(104, 98, 98, 0.1);
  display: block;
}

.logo-overlay {
  position: absolute;
  top: 31%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Optional für Schatten/Glanz-Effekt: */
  border-radius: 50%;
  /* Beispielgröße – Logo selbst steuert finale Größe! */
  padding: 12px;
}

.logo-overlay img {
  width: 140px;      /* Logo-Größe anpassen! */
  height: auto;
  filter: drop-shadow(0 2px 14px #003320c0);
}

.timeline-section {
  position: relative;
}

.timeline-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: #bfa046;
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-text,
.timeline-text li,
.timeline-text h3 {
  text-shadow: 0 1px 6px #002a18a0;
}

/* Team */

.team-section {
  background: #fff;
  padding: 70px 20px;
  text-decoration: underline;
  text-underline-offset: 8px; /* Abstand zum Text, sieht eleganter aus */
  text-decoration-color: #bfa046; /* Goldener Unterstrich */
}

.team-heading {
  color: #bfa046;
  text-align: center;
  font-size: 2.3rem;
  font-family: 'Didot', serif;
  letter-spacing: 1px;
  margin-bottom: 46px;
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: 0 2px 18px #00000011;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px 38px;
  max-width: 1250px;
  margin: 0 auto;
}

.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 24px #00332018;
  background: #e7e5e0;
  transition: box-shadow 0.2s;
  cursor: pointer;
  outline: none;
}

.team-card img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  display: block;
  border-radius: 16px 16px 0 0;
  transition: filter 0.3s;
}

.team-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(33,33,33, 0.85);
  color: #fff;
  padding: 16px 16px 8px 16px;
  font-size: 1.1rem;
}

.team-name {
  font-weight: 500;
  text-transform: uppercase;
  font-family: 'Didot', serif;
  font-size: 1.08em;
  letter-spacing: 0.7px;
}

.team-hover {
  position: absolute;
  inset: 0;
  background: rgba(33,33,33, 0.89);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
  text-align: center;
  z-index: 5;
}

.team-card:hover .team-hover,
.team-card:focus-within .team-hover {
  opacity: 1;
  pointer-events: all;
}

.team-card:hover img,
.team-card:focus-within img {
  filter: brightness(0.6);
}

.team-name-hover {
  font-size: 1.16em;
  color: #bfa046;
  margin-bottom: 8px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-family: 'Didot', serif;
}

.team-role {
  margin-bottom: 12px;
  font-size: 1em;
  color: #fff;
}

.team-hover a {
  color: #bfa046;
  text-decoration: underline;
  font-size: 1em;
  letter-spacing: 0.4px;
  word-break: break-all;
}

/*Social Media*/

.social-media {
  padding: 60px 0;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
}

.social-icons img {
  width: 36px;
  height: 36px;
  transition: all 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.2);
}

.social-icons img {
  width: 120px;
  height: auto; /* oder z. B. height: 140px */
  object-fit: contain; /* hält Proportionen */
  margin: 10px;
}


/* Kontaktbereich Visitenkarten-Stil */
section.kontakt-section {
  background: #032e1e;
  padding: 100px 0;
  color: #d4af37;
  font-family: 'Cormorant Garamond', serif;
}

#kontakt {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 40px;
  background: #032e1e;
  border: 2px solid #d4af37;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  align-items: flex-start;
}

.kontakt-links {
  flex: 0.4;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  border-right: 2px solid #d4af37;
  padding-right: 20px;
}

.kontakt-links img {
  max-width: 160px;
  margin-bottom: 10px;
}

.kontakt-links address {
  font-style: normal;
  color: #d4af37;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
  font-size: 16px;
}

.kontakt-links iframe {
  width: 100%;
  max-width: 280px;
  height: 200px;
  border: 1px solid #d4af37;
  border-radius: 6px;
}

.kontakt-rechts {
  flex: 0.6;
}

.kontakt-rechts h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #d4af37;
  text-transform: uppercase;
  border-bottom: 2px solid #d4af37;
  padding-bottom: 10px;
  text-align: center;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #d4af37;
  color: #000000;
  font-family: 'Cormorant Garamond', serif;
  border-radius: 4px;
  width: 100%;
}

.contact-form textarea {
  grid-column: span 2;
  resize: vertical;
  height: 220px;
}

.contact-form button {
  grid-column: span 2;
  padding: 12px;
  background: #d4af37;
  color: #003320;
  border: none;
  font-size: 16px;
  letter-spacing: 2px;
  cursor: pointer;
  text-transform: uppercase;
  width: 100%;
  border-radius: 4px;
}

.contact-form button:hover {
  background: #bfa046;
  color: #fff;
}


/* FOOTER BEREICH */
.site-footer {
  background: #003320;
  color: white;
  text-align: center;
  padding: 30px 0;
  margin-top: 40px;
}

.site-footer a {
  color: #bfa046;
  text-decoration: none;
  margin: 0 10px;
}



.daten {
  margin-top: 100px;
}


/* DATENSCHUTZ IMPRESSUM BUTTON */

.back-btn {
  display: inline-block;
  padding: 13px 34px 13px 24px;
  background: #e7e5e0;
  color: #bfa046;
  border: 2px solid #bfa046;
  border-radius: 30px;
  font-size: 1.18rem;
  font-family: 'Didot', serif;
  font-weight: bold;
  letter-spacing: 1.2px;
  cursor: pointer;
  margin: 36px 0 24px 0;
  transition: all 0.18s;
  box-shadow: 0 2px 12px #bfa04622;
  position: relative;
}
.back-btn:hover, .back-btn:focus {
  background: #bfa046;
  color: #fff;
  outline: none;
}
.back-btn::before {
  content: '';
  display: none;
}


@media (min-width: 768px) {
  .about {
    flex-direction: row;
    justify-content: space-between;
  }
  .about p {
    max-width: 600px;
  }
 }
  /*navbar*/

  @media (max-width: 768px) {
  .nav-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    height: 190px; /* Höhe nach Logo richten */
    padding-top: 20px;
  }

  .nav-logo {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 180px;
    pointer-events: none; /* Logo bleibt mittig, klicks gehen nicht drauf */
  }
  .nav-logo img {
    width: 120px;  /* Passe ggf. an */
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .nav-left,
  .nav-right {
    display: flex;
    flex-direction: column;
    gap: 120px;
    margin: 0;
    padding: 0 10px;
    list-style: none;
    position: relative;
    z-index: 3;
  }
  .nav-left {
    align-items: flex-start;
    position: absolute;
    left: 0;
    top: 0;
  }
  .nav-right {
    align-items: flex-end;
    position: absolute;
    right: 0;
    top: 0;
  }

  .custom-nav ul li a {
    color: #d4af37;
    text-decoration: none;
    font-family: 'Georgia', serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 5px 2px;
    display: block;
    background: none;
    border-radius: 0;
  }

  /* hero text */

.hero-text-overlay {
  background: rgba(255, 255, 255, 0.6); /* Gold/Grün semi-transparent */
  border-radius: 20px;
  padding: 18px 8px;
  display: inline-block;
}

  /* info section */
    .info-section {
    padding: 22px 0 38px 0;
    max-width: 100vw;
  }
  .info-section .container {
    padding: 0 6vw;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .info-section .line {
    margin: 0 auto 18px auto;
    width: 52px;
    height: 4px;
  }
  .info-section h2,
  .info-section .infoh2 {
    font-size: 1.13rem;
    margin: 0 0 14px 0;
    text-align: center;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
    padding: 0;
  }
  .info-section .sub,
  .info-section strong.sub {
    display: block;
    font-size: 1rem;
    margin: 14px auto 18px auto;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.1px;
    max-width: 98vw;
    padding: 0;
  }
  .info-section p {
    font-size: 0.97rem;
    max-width: 99vw;
    margin: 0 0 18px 0;
    padding: 0;
    line-height: 1.7;
    color: #bfa046;
    text-align: center !important;
  }
  .info-section strong {
    font-size: 1.03rem;
    display: block;
    margin-bottom: 8px;
  }
  .info-section ul, .info-section .vorteile-list {
    padding-left: 22px;
    font-size: 0.98rem;
    margin-bottom: 14px;
  }
  .info-section li {
    margin-bottom: 9px;
    text-align: left;
    line-height: 1.5;
  }

  /* kalkulator */

    .kalkulator-section {
    padding: 36px 0 40px 0;
  }
  .kalkulator-container {
    padding: 20px 4vw 20px 4vw;
    border-width: 2px;
    border-radius: 12px;
    max-width: 97vw;
    min-width: unset;
  }
  .kalkulator-header {
    margin-bottom: 22px;
  }
  .kalkulator-header h2 {
    font-size: 1.2rem;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    margin-bottom: 6px;
  }
  .kalkulator-header p {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.45;
    padding: 0 2vw;
  }
  .kalkulator-grid {
    grid-template-columns: 1fr;
    gap: 16px 0;
    margin-bottom: 24px;
  }
  .kalkulator-grid label {
    font-size: 1rem;
    margin-bottom: 2.5px;
  }
  .kalkulator-grid input {
    font-size: 1rem;
    padding: 10px 9px;
    border-radius: 6px;
  }
  .kalkulator-container button[type="submit"] {
    font-size: 1.03rem;
    padding: 13px;
    border-radius: 6px;
    margin-top: 8px;
  }
  .kalkulator-ergebnis {
    font-size: 1rem;
    padding: 18px 2vw 10px 2vw;
    margin-top: 14px;
  }
  .kalkulator-ergebnis .kontakt-btn {
    font-size: 1.05rem;
    padding: 12px 19vw;
    border-radius: 6px;
    margin-top: 12px;
    width: 100%;
    text-align: center;
  }


  /* TIME LINE */
    .timeline-section {
    padding: 34px 0 34px 0;
    gap: 38px;
  }

  .timeline-block,
  .timeline-block.reverse {
    display: flex;
    flex-direction: column;
    gap: 20px;
    direction: ltr !important;
  }

  .timeline-text {
    padding: 13px 7vw 4px 7vw;
    text-align: left;
  }

  .timeline-image {
    margin-bottom: 18px;
    width: 100vw;
    min-width: 0;
    height: auto;
    justify-content: center;
    align-items: center;
    min-height: unset;
    order: 2;
  }

  .timeline-image img {
    width: 84vw;
    max-width: 94vw;
    min-width: 0;
    height: auto;
    border-radius: 12px;
    margin: 0 auto;
  }
  .logo-overlay {
    top: 29%;
    left: 50%;
    padding: 7px;
    border-radius: 50%;
  }
  .logo-overlay img {
    width: 86px;
  }

  .timeline-text h3 {
    font-size: 1.17rem;
    text-align: left;
    text-underline-offset: 6px;
    margin-bottom: 8px;
    margin-top: 4px;
  }
  .timeline-text p,
  .timeline-text li {
    font-size: 1.02rem;
    line-height: 1.53;
    text-align: left;
  }
  .services-list {
    margin: 18px 0 18px 0;
    padding-left: 23px;
  }
  .timeline-section::before {
    display: none !important;
  }

  /* TEAM */
    .team-grid {
    grid-template-columns: 1fr;
    gap: 24px 0;
  }
  .team-card img {
    height: 180px;
  }
  .team-section {
    padding: 34px 3vw;
  }
  .team-heading {
    font-size: 1.25rem;
    margin-bottom: 18px;
  }
  .team-info, .team-hover {
    font-size: 1rem;
    padding: 12px;
  }

  .team-card:first-child img {
    object-position: center 25%;
}

  /* Social Media */

    .social-media {
    padding: 38px 0 30px 0;
  }
  .social-icons {
    gap: 19px;
    flex-wrap: wrap;
  }
  .social-icons img {
    width: 56px;
    height: 56px;
    margin: 7px;
  }


  /* Kontaktbereich */

    #kontakt {
    flex-direction: column;
    padding: 22px 6vw;
    gap: 24px;
  }
  .kontakt-links {
    border-right: none;
    border-bottom: 2px solid #d4af37;
    padding-right: 0;
    padding-bottom: 16px;
    margin-bottom: 22px;
    width: 100%;
  }
  .kontakt-links img {
    max-width: 110px;
    margin-bottom: 8px;
  }
  .kontakt-links iframe {
    max-width: 100%;
    height: 130px;
    margin-top: 5px;
  }
  .kontakt-links address {
    font-size: 15px;
  }
  .kontakt-rechts {
    width: 100%;
    margin-top: 0;
  }
  .kontakt-rechts h2 {
    font-size: 25px;
    padding-bottom: 7px;
    margin-bottom: 14px;
  }
  .contact-form {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .contact-form textarea,
  .contact-form button {
    grid-column: span 1;
  }
  .contact-form textarea {
    height: 100px;
  }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
}


/* p und h tags */

}


/* --- iPad & Tablet Layout: Landscape und Portrait (700px–1050px) --- */
@media (min-width: 700px) and (max-width: 1050px) {
  .timeline-section {
    padding: 48px 0 48px 0;
    gap: 54px;
  }
  .timeline-block,
  .timeline-block.reverse {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
    direction: ltr !important;
  }
  .timeline-block.reverse {
    grid-template-columns: 1fr 1fr;
    /* Bild auf die linke Seite bei reverse */
  }
  .timeline-text {
    padding: 28px 4vw 12px 4vw;
    text-align: left;
  }
  .timeline-image {
    margin-bottom: 0;
    width: 100%;
    min-width: 0;
    min-height: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
    order: unset;
  }
  .timeline-image img {
    width: 94%;
    max-width: 340px;
    min-width: 180px;
    border-radius: 13px;
    margin: 0 auto;
  }
  .logo-overlay {
    top: 34%;
    left: 50%;
    padding: 10px;
    border-radius: 50%;
  }
  .logo-overlay img {
    width: 64px;
  }
  .timeline-text h3 {
    font-size: 1.37rem;
    text-align: left;
    text-underline-offset: 8px;
    margin-bottom: 11px;
    margin-top: 5px;
  }
  .timeline-text p,
  .timeline-text li {
    font-size: 1.12rem;
    line-height: 1.54;
    text-align: left;
  }
  .services-list {
    margin: 18px 0 18px 0;
    padding-left: 28px;
  }
  .timeline-section::before {
    display: none !important;
  }
}



@media (min-width: 768px) and (max-width: 1200px) {
 .timeline-section {
    padding: 48px 2vw 48px 2vw;
    gap: 38px;
  }
  .timeline-block, .timeline-block.reverse {
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: center;
    direction: ltr !important;
  }
  .timeline-block.reverse {
    flex-direction: row-reverse;
  }
  .timeline-text {
    flex: 1 1 0;
    padding: 8vw 4vw 8vw 0;
    text-align: left;
  }
  .timeline-block.reverse .timeline-text {
    padding: 8vw 0 8vw 4vw;
  }
  .timeline-image {
    flex: 1 1 0;
    margin: 0;
    width: 50vw;
    max-width: 410px;
    min-width: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    order: unset;
  }
  .timeline-image img {
    width: 100%;
    max-width: 390px;
    min-width: 0;
    height: auto;
    border-radius: 12px;
    margin: 0;
  }
  .logo-overlay {
    top: 31%;
    left: 50%;
    padding: 8px;
    border-radius: 50%;
  }
  .logo-overlay img {
    width: 85px;
  }
}



/* Schrift Fonts */

@media only screen and (max-width: 600px) {
  /* iPhone & mobile: Headlines und Fließtext */
  h1, h2, h3, .infoh2, .team-heading, .timeline-text h3, ul, li {
    font-family: "SF Pro Display", "Segoe UI", Arial, sans-serif !important;
    letter-spacing: 0.5px;
    font-weight: 700;
  }

  p, .timeline-text p, .info-section p, .expose-section p, .service-card p, .kalkulator-header p {
    font-family: "SF Pro Display", "Segoe UI", Arial, sans-serif !important;
    font-weight: 400;
    letter-spacing: 0.02em;
    font-size: 1.01em;
  }
}