@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/titillium-web-v15-latin-200.woff2') format('woff2'),
       url('../fonts/titillium-web-v15-latin-200.woff') format('woff');
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/titillium-web-v15-latin-300.woff2') format('woff2'),
       url('../fonts/titillium-web-v15-latin-300.woff') format('woff');
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/titillium-web-v15-latin-regular.woff2') format('woff2'),
       url('../fonts/titillium-web-v15-latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/titillium-web-v15-latin-600.woff2') format('woff2'),
       url('../fonts/titillium-web-v15-latin-600.woff') format('woff');
}




body {
  background-color: #000;
}

.split-home-wrapper {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.split {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
  transition: transform 0.3s ease;
}

.split.left {
  background-image: url('/files/garten-begeistert/01-img-split/garten-start-01.webp');
}

.split.right {
  background-image: url('/files/garten-begeistert/01-img-split/floristik-start-01.webp');
}

.split .overlay {
  background-color: rgba(0,0,0,0.4);
  padding: 2rem;
  text-align: center;
  transition: background-color 0.3s ease;
}

.split:hover .overlay {
  background-color: rgba(0,0,0,0.6);
}

.split h2 {
  font-size: 2rem;
  margin: 0;
}

/* Farbflächen */
/* Grundstruktur bleibt */
.split .overlay.box-content {
  background-color: rgba(161, 32, 34, 0.85); /* Default: Rot, halbtransparent */
  text-align: center;
  font-family: 'Titillium Web', sans-serif;
  padding: 2rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 90%;
  border-radius: 15px;
}

/* Grün für Floristik */
.split.right .overlay.box-content {
  background-color: rgba(158, 222, 29, 0.85);
}


.split-logo {
  max-width: 250px;
  margin-bottom: 1.5rem;
}

.split-address,
.split-opening {
  font-size: 1rem;
  margin: 0.5rem 0;
}

.split-button {
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.15);
  border: 2px solid #fff;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a.split:hover .split-button {
  background-color: #fff;
  color: #a12022; /* für Gärtnerei – beim Hover */
}

.right:hover .split-button {
  color: #9ede1d; /* für Floristik – beim Hover */
}

@media (max-width: 768px) {
  .split-home-wrapper {
    flex-direction: column;
  }
	.split .overlay.box-content {
  max-width: 60%;
}
}
