/* Tailwind CSS via CDN - wird im Template geladen */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

:root {
  --background: #ffffff;
  --foreground: #171717;
}

html {
  background-color: #ffffff;
  color: #171717;
  color-scheme: light;
  overflow-x: hidden;
}

body {
  background-color: #ffffff;
  color: #171717;
  font-family: 'Source Sans Pro', sans-serif;
  overflow-x: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Sticky Footer Layout */
html {
  height: 100%;
}

body > div {
  display: flex;
  flex-direction: column;
}

/* Globale H2-Styles mit roter Linie */
h2 {
  position: relative;
  margin: 0 0 20px 0;
  font-size: 40px;
  color: #2a2f43;
  font-weight: bold;
  text-align: left;
  width: 100%;
  max-width: 1200px;
  padding: 0;
  box-sizing: border-box;
}

/* Spezielle Behandlung für TextImageContainer */
.textContent h2,
.onlyTextContent h2 {
  margin: 0 0 20px 0 !important;
  max-width: 1200px !important;
  padding: 0 !important;
  width: 100% !important;
}

h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 2px;
  background-color: #E30A1D;
  z-index: -1;
}

