:root {
  --color-red: #e91922;
  --color-red-muted: #e77373;
  --font-family-body: 'Open Sans', sans-serif;
  --font-family-display: 'Bebas Neue', cursive;
}

/** Basis **/
*,
::before,
::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-family-body);
  background-color: black;
  color: white;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}

/** Hintergrundbild **/
.background-image {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/campo.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

/** Inhalt **/
.main-content {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 2rem;
  z-index: 1;
}

.hero-title {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 3.5rem;
  font-family: var(--font-family-display);
  padding-top: 6rem;
  margin-bottom: 4rem;
  line-height: 1.1;
}
.hero-title .white { color: white; }
.hero-title .red { color: #e91922; }

.title-desktop { display: inline; }
.title-mobile { display: none; }

/** Struktur **/
.grid-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
}

.row-boxes {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.row-boxes .team-section.wide { flex: 2; }
.row-boxes .team-section { flex: 1; }

/** Sektionen **/
.team-section {
  margin-bottom: 2rem;
}
.team-section h2 {
  font-size: 1.7rem;
  color: white;
  margin-bottom: 0.5rem;
  background-color: var(--color-red);
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
}

/** Boxen **/
.widget-box {
  background-color: white;
  padding: 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}

/** Formular **/
.fs-form {
  display: grid;
  row-gap: 1.5rem;
}

.fs-field {
  display: flex;
  flex-direction: column;
  row-gap: 0.375rem;
}

.fs-label {
  font-family: var(--font-family-display);
  color: var(--color-red);
  font-size: 1.2rem;
  line-height: 1.2;
}

.fs-input,
.fs-select,
.fs-textarea {
  font-family: var(--font-family-body);
  font-size: 1rem;
  color: var(--color-red);
  background-color: white;
  border: 1px solid var(--color-red);
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  outline: none;
  box-shadow: none;
}

.fs-textarea[name="message"] {
  min-height: 8rem;
}

.fs-input::placeholder,
.fs-textarea::placeholder {
  font-family: 'Bebas Neue', cursive; /* neu: Bebas Neue */
  font-size: 0.9rem;
  color: var(--color-red-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.fs-input:focus-visible,
.fs-select:focus-visible,
.fs-textarea:focus-visible {
  border: 2px solid var(--color-red);
  box-shadow: 0 0 0 2px rgba(233, 25, 34, 0.3);
  outline: none;
}

/** Button **/
.fs-button {
  background-color: var(--color-red);
  border-radius: 0.375rem;
  color: white;
  cursor: pointer;
  font-size: 1.2rem;
  font-family: var(--font-family-display);
  font-weight: 500;
  line-height: 1rem;
  padding: 1rem 2rem;
  transition: opacity 200ms ease;
}

.fs-button:hover {
  opacity: 0.7;
}

.fs-button:focus-visible {
  outline: 3px solid var(--color-red-muted);
}

.fs-button-group {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

/** Campi-Sektion **/
.campi-gallery {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.campi-row {
  display: flex;
  align-items: flex-start; /* ← sorgt dafür, dass Bild und Text obenbündig sind */
  gap: 2rem;
}
.campi-row.reverse {
  flex-direction: row;
}

.campi-row img {
  width: 50%;
  height: auto;
  border-radius: 8px;
  border: 2px solid #ccc;
}
.campi-box {
  margin-bottom: 0.5rem;
}
.campi-text {
  width: 50%;
  color: black;
  font-family: var(--font-family-body);
}

.campi-text a {
  display: block;
  margin: 0.35rem 0;
  color: var(--color-red);
  text-decoration: underline;
}

.campi-text h3 {
  font-family: var(--font-family-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-red);
  margin-top: 0.2rem;
}

.campi-text p {
  font-size: 1rem;
  line-height: 1.5;
  color: black;
}

.campi-text a:hover {
  opacity: 0.8;
}

.honeypot {
  display: none;
}

@media (max-width: 768px) {
 .main-content {
  padding-left: 16px;
  padding-right: 16px;
}

  .grid-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .row-boxes {
    flex-direction: column;
    width: 100%;
    gap: 2rem;
  }

 .team-section {
  width: 100%;
  box-sizing: border-box;
}

  .team-section h2 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    border-radius: 4px;
    padding: 0.2rem 0.6rem;
    display: inline-block;
  }

  .widget-box {
    width: 100%;
	height: auto;
	margin: 0;
    border-radius: 12px;
    box-sizing: border-box;
    overflow: hidden;
  }
.widget-box.campi-box {
margin-bottom: 1rem;
  }

  .fs-form {
    row-gap: 1.2rem;
  }

  .fs-button-group {
    justify-content: center;
  }

  .campi-gallery {
    gap: 2.5rem;
  }

  .campi-row {
    flex-direction: column-reverse !important;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .campi-row.reverse {
  flex-direction: column !important;
}
  .campi-row img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #ccc;
  }

  .campi-text {
    width: 100%;
    color: black;
    font-family: 'Open Sans', sans-serif;
  }

  .campi-text h3 {
    font-size: 1.6rem;
    color: #e91922;
    margin: 0.2rem 0 0.4rem;
  }

  .campi-text p {
    font-size: 1rem;
    margin: 0.2rem 0;
  }

  .campi-text a {
    display: block;
    margin: 0.5rem 0;
    color: #e91922;
    text-decoration: underline;
  }
}