@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.services {
  display: flex;
  flex-direction: column;
  gap: 4rem;       /* Abstand zwischen den Cards beibehalten */
  width: 100%;
  padding: 6rem 0 0 0;  /* oben 6rem, unten nur 2rem */
}

.info {
  display: flex;
  flex-direction: column;
  gap: 4rem;       /* Abstand zwischen den Cards beibehalten */
  width: 100%;
  padding: 6rem 0 0 0;  /* oben 6rem, unten nur 2rem */
}

.service-card {
  width: 65%;
  padding: 2.5rem 3rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.info-card {
  width: 100%;
  padding: 2.5rem 3rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.info-card:hover {
  background-color: rgba(199, 199, 199, 0.2);
  transform: scale(1.01);
}

.info-card h3 {
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}


.service-card:hover {
  background-color: rgba(199, 199, 199, 0.2);
  transform: scale(1.01);
}

.service-card:nth-child(odd) {
  align-self: flex-start;
}

.service-card:nth-child(even) {
  align-self: flex-end;
}

.service-card h3 {
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}

/* === SUBLINE === */
.service-card .service-tag {
  font-size: 0.9rem;
  opacity: 0.6;
  margin: 0;
}

.info-card .info-tag {
  font-size: 0.9rem;
  opacity: 0.6;
  margin: 0;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.85;
  margin: 0;
}

.service-card .cta {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  width: fit-content;
  color: currentColor;
  position: relative;
}

.service-card .cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.service-card .cta:hover::after {
  opacity: 0.9;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .service-card {
    width: 100%;
    align-self: stretch;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 0.6em 0;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.03em;
}

h3 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 600;
}

h4 {
  font-size: 1.3rem;
  font-weight: 600;
}

h5 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h6 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

body {
	font-family: "Montserrat", sans-serif;
	font-size: 1.2em;
  color: #ffffff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
a {
  transition: all 0.3s ease;
  color: rgb(216, 161, 106);
}

a:hover,
a:focus {
  text-decoration: none;
  color: rgb(188, 128, 67);
}

a:focus {
  outline: none;
}

.text-block {
  margin: 0 auto;
  text-align: center; 
  text-justify: inter-word;
}

.btn {
  padding: 8px 32px;
}

.btn:hover {
  background-color: #ced4da;
}

blockquote {
  font-size: 0.86em;
  line-height: 1.8em;
}

.tm-section-pad-top {
  padding-top: 80px;
  padding-bottom: 40px;
}

.tm-content-box {
  padding-top: 20px;
  padding-bottom: 40px;
}

.tm-text-primary {
  color: #37A;
}

.tm-font-big {
  font-size: 1.25rem;
}

.tm-btn-primary {
  color: white;
  background-color: #369; /* Basisfarbe */
  padding: 14px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4.5px);
  -webkit-backdrop-filter: blur(4.5px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(172, 72, 29, 0.292); 
  transition: all 0.3s ease; /* für sanfte Übergänge */
}

.tm-btn-primary:hover,
.tm-btn-primary:focus {
  color: white;
  background-color: rgba(199, 199, 199, 0.2); 
  transform: scale(1.05); 
}

.glass-card {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: 
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


.bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -10;
}

.bg-wrapper img {
  position: absolute;
  bottom: -20%;
  width: 100%;
  height: 120%;
  object-fit: cover;
  animation: bgMoveUp 80s linear infinite;
}

/* Navbar */

.tm-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;

  background-color: rgba(255, 255, 255, 0); /* leicht transparent */
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}



.navbar-brand {
  color: rgb(250, 250, 250);
  font-size: 1.4rem;
  font-weight: bold;
}

.navbar-brand:hover,
.tm-navbar.scroll .navbar-brand:hover {
  color: rgb(211, 240, 211);
  transform: scale(1.02);
}

.nav-item {
  list-style: none;
}

.tm-nav-link {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 12px;
  color: white;
  text-decoration: none;
  backdrop-filter: blur(4.5px);
  -webkit-backdrop-filter: blur(4.5px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(212, 199, 195, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin: 0.4rem;
}

.tm-nav-link:hover,
.tm-nav-link.current,
.tm-nav-link:hover {
  color: #ffffff;
  background-color: rgba(153, 153, 153, 0.4);
  transform: scale(1.01);
}

.navbar-toggler {
  border: 1px solid white;
  padding-left: 10px;
  padding-right: 10px;
    margin-left: auto; /* schiebt Button nach rechts */
}

.navbar-toggler-icon {
  color: rgb(255, 255, 255);
  padding-top: 6px;
}

.timeline {
  position: relative;
  margin: 80px auto;
  max-width: 1600px;
}

.timeline-slogan {
    width: 100%; 
    margin: 0 auto;
    text-align: justify;
    text-justify: inter-word;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-50%);
}

.timeline-item {
  color: white;
  position: relative;
  width: 50%;
  padding: 30px 40px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 40px;
  width: 14px;
  height: 14px;
  background: lightgray;
  border-radius: 50%;
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -7px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -7px;
}

.timeline-content {
  padding: 30px;
  position: relative;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: scale(1.03);
  background: rgba(255, 255, 255, 0.32);
}

.timeline-step {
  display: block;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 47px;
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
}

.timeline-item:nth-child(odd)::after {
  right: -80px;
}

.timeline-item:nth-child(even)::after {
  left: -40px;
}

/* Hero */

#infinite {
	background-color: #222;
  background-image: url(../img/infinite-loop-01.jpg);
  background-repeat: no-repeat;
  height: 100vh;
  min-height: 375px;
  position: relative;
}

@media (min-height: 600px) and (min-width: 1920px) {
  #infinite {
    background-size: cover;
  }
}

@media (min-height: 830px) {
  #infinite {
    background-position: center -210px;
  }
}

@media (min-height: 680px) and (max-height: 829px) {
  #infinite {
    background-position: center -300px;
  }
}

@media (min-height: 500px) and (max-height: 679px) {
  #infinite {
    background-position: center -400px;
  }
}

@media (max-height: 499px) {
  #infinite {
    background-position: center -450px;
  }
}

.tm-hero-text-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.tm-hero-text-container-inner {
  margin-top: -140px;
}

.tm-hero-title {
  padding-top: 6%;
  font-size: 5.5rem;
  font-weight: 800;
}

.tm-hero-subtitle {
  font-weight: 500;
}

.tm-intro-next {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
}

@media (max-height: 480px) {
  .tm-hero-text-container-inner {
    margin-top: -40px;
  }

  .tm-intro-next {
    bottom: 20px;
  }
}

@media (max-width: 768px) {
  .tm-hero-title {
    font-size: 3rem;
  }

  .tm-hero-subtitle {
    font-size: 1rem;
  }

  .tm-hero-text-container-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.tm-down-arrow-link {
  display: block;
  margin-top: 18%;
}

.tm-down-arrow {
  	color: #FFF;
    cursor: pointer;
    background: #357;
    padding: 15px 40px;
    transition: all 0.3s ease;
}

.tm-down-arrow:hover,
.tm-down-arrow:focus {
  color: #FFF;
  background: #37A;
  padding: 20px 50px;
}

/* Introduction */

#introduction {
  padding-bottom: 100px;
}

.tm-section-title {
  font-size: 2.6rem;
  font-weight: normal;
}

.tm-intro-text {
  font-size: 1.2rem;
}

.tm-icon {
  display: block;
  color: #37A;
}

.tm-continue {
  padding: 20px 0 30px 0;
  display: inline-block;
  transition: transform 0.3s ease; 
}

.tm-continue:hover {
  transform: scale(1.03);
}

/* Testimonials */
#testimonials {
  color: white;
  background-image: url(../img/infinite-loop-02.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-size: 100%;
  position: relative;
}

@media (max-width: 991px) {
  #testimonials {
    background-image: url(../img/infinite-loop-02-mobile.jpg);
  }
}

.tm-testimonials-content {
  position: relative;
  z-index: 100;
}

.tm-bg-overlay {
  width: 100%;
  height: 100%;
  background: rgba(20, 70, 80, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.tm-testimonials-carousel {
  max-width: 1050px;
  margin: 0 auto;
}

.tm-testimonial-item {
  max-width: 290px;
  margin-left: 35px;
  margin-right: 35px;
}

.tm-testimonial-item img {
  border-radius: 50%;
  margin-bottom: 35px;
}

.tm-testimonial-item figcaption {
  text-align: right;
  font-style: italic;
  font-size: 1.1rem;
}

/* Work */



.tm-section-desc {
  max-width: 650px;
  width: 100%;
  font-size: 0.9rem;
}

.tm-gallery-container {
  padding-top: 70px;
  padding-bottom: 120px;
}

.tm-gallery-item {
  margin: 0 15px;
}

.slick-dots {
  bottom: -65px;
}

.slick-dots li {
  margin: 0 13px;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before,
.slick-dots li.slick-active button:before {
  opacity: 1;
  color: #3ba0dd;
}

.tm-testimonials-carousel .slick-dots li button:before {
  color: white;
  opacity: 0.5;
}

.tm-testimonials-carousel .slick-dots li button:hover:before,
.tm-testimonials-carousel .slick-dots li button:focus:before,
.tm-testimonials-carousel .slick-dots li.slick-active button:before {
  color: white;
  opacity: 1;
}

.slick-dots li button:before {
  font-size: 18px;
}

/* Hover Effect */
/* Common style */
.grid figure {
  position: relative;
  float: left;
  overflow: hidden;
  background: #3085a3;
  text-align: center;
  cursor: pointer;
}

.grid figure img {
  position: relative;
  display: block;
  min-height: 100%;
  max-width: 100%;
  opacity: 0.8;
}

.grid figure figcaption {
  padding: 2em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
  pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

.grid figure h2 {
  word-spacing: -0.15em;
  font-size: 0.9em;
  font-weight: 300;
}

.grid figure h2 span {
  font-weight: 600;
}

.grid figure h2,
.grid figure p {
  margin: 0;
}

.grid figure p {
  letter-spacing: 1px;
  font-size: 68.5%;
}

/*---------------*/
/***** Honey *****/
/*---------------*/

figure.effect-honey {
  background: #4a3753;
  max-width: 220px;
}

figure.effect-honey img {
  opacity: 1;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}

figure.effect-honey:hover img {
  opacity: 0.4;
}

figure.effect-honey figcaption::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: #38C;
  content: "";
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
}

figure.effect-honey h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1em 1.5em;
  width: 100%;
  text-align: left;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey h2 i {
  font-style: normal;
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey figcaption::before,
figure.effect-honey h2 {
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
}

figure.effect-honey:hover figcaption::before,
figure.effect-honey:hover h2,
figure.effect-honey:hover h2 i {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.tm-container-gallery {
	padding-top: 30px;
	}

/* Contact */

#contact {
  color: white;
  background-color: #001828;
  background-image: url(../img/infinite-loop-03.jpg);
  background-position: center;
  background-repeat: no-repeat;
  min-height: 980px;
  position: relative;
  padding-bottom: 50px;
  padding-top: 100px;
}

.contact-item {
  margin-left: 20px;
  margin-bottom: 50px;
}

.item-link {
  display: flex;
  align-items: center;
}

.item-link i,
.item-link span {
  color: white;
  transition: all 0.3s ease;
}

.item-link:hover i,
.item-link:hover span {
  color: #3496d8;
}

.tm-input {
	margin: 0 0 20px 0;
	width: 90%;
  padding: 8px 20px;
  border-radius: 6px;
  border: 1px solid white;
  background: transparent;
  color: white;
}

.tm-btn-submit {
	font-size: 0.9em;
	color: #fff;
	background-color: #369;
	width: 50%;
	margin-bottom: 60px;
}

.tm-btn-submit:hover {
	color: #fff;
	background-color: #38B;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: white;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: white;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: white;
}

.tm-footer {
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 15px;
}

.tm-footer a {
	color: #fff;
}

.tm-footer a:hover {
	/*color: rgba(226, 205, 87, 0.7);*/
  color: #cf8672b3;
}

.tm-footer-link {
  color: white;
}

.tm-footer-link:hover,
.tm-footer-link:focus {
  color: #38B;
  text-decoration: none;
}

.footer-relative .tm-footer {
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
}




p {
  line-height: 1.9;
}

.animation-wobble {
  position: relative;
  display: inline-block;
  color: #fff; 
  background: rgba(255, 255, 255, 0.2);
  animation: wobbleTransform 3s ease infinite;
  overflow: hidden;
  z-index: 0;
}

.animation-wobble::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(42, 122, 78, 0.35);
  opacity: 0;
  z-index: -1;
  animation: wobbleColor 3s ease infinite;
}

@keyframes wobbleColor {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  30%  { opacity: 1; }
  40%  { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes wobbleTransform {
  0%   { transform: scale(1); }
  7%   { transform: scale(1.03); }
  14%  { transform: rotate(-2deg) scale(1.03); }
  21%  { transform: rotate(2deg) scale(1.03); }
  28%  { transform: rotate(0deg) scale(1.03); }
  35%  { transform: scale(1); }
  100% { transform: scale(1); }
}

@media (min-width: 768px) {
  .tm-intro-text-container {
    padding-left: 0px;
  }

  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1275px;
  }

  .tm-container-gallery {
    max-width: 1290px;
  }

  .tm-container-contact {
    max-width: 1063px;
  }
}

@media (max-width: 991px) {
  .tm-intro-text-container {
    padding-left: 15px;
    padding-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-intro-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-btn-submit {
    margin-left: 0;
    margin-top: 20px;
  }
}

@media (max-width: 767px) {

  .navbar-nav {
    max-width: 200px;
    text-align: right;
  }

  .navbar-collapse {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 15px;
    transition: 
      background 0.3s ease,
      transform 0.3s ease,
      box-shadow 0.3s ease;
  }

  .navbar-nav {
    max-width: 200px; 
    margin: 0 auto;       
    flex-direction: column; 
    text-align: center;   
  }

  .navbar-collapse .nav-link {
    color: #be5757;
    display: block;      
    padding: 10px 0;    
    text-align: center;   
    transition: color 0.3s ease;
  }

  .navbar-collapse .nav-link:hover {
    color: rgb(223, 104, 104);
  }
}

@media (max-width: 480px) {
  .tm-gallery-container {
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-gallery-container-2 {
    max-width: 350px;
  }

  .slick-dots li {
    margin: 0 8px;
  }

  .tm-gallery-item {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
    text-align: left;
  }

  .timeline-item:nth-child(even),
  .timeline-item:nth-child(odd) {
    left: 0;
  }

  .timeline-dot {
    left: 13px !important;
  }
}

@keyframes bgMoveUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-20%);
  }
}