@font-face {
  font-family: "InterLocal";
  src: url("/assets/fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "InterLocal";
  src: url("/assets/fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #ffffff;
  --text: #111111;
  --accent: #ff6a00;
  --muted: #6b7280;
  --container: 1200px;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  font-family: InterLocal, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  padding: 0.5rem;
  background: #000;
  color: #fff;
  z-index: 9999;
}
header {
  border-bottom: 1px solid #eee;
  background: linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 1rem;
}
.brand img {
  height: 56px;
  width: auto;
}
nav {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.nav-links {
  display: flex;
  gap: 0.5rem;
}
.btn {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid transparent;
}

.hero {
  position: relative;
  height: 60vh; /* feste Höhe, z.B. 70% vom Viewport – kannst du auch fix in px setzen */
  min-height: 600px; /* optional: Mindesthöhe für große Screens */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* <-- sorgt dafür, dass das Bild an den Seiten beschnitten wird */
  object-position: center; /* Bild bleibt zentriert, egal ob links oder rechts abgeschnitten */
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* dunkler Overlay für Lesbarkeit */
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
}

.hero h1 .highlight {
  color: #f97316; /* Orange Akzent */
}

.hero .lead {
  font-size: 1.2rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.hero .contactinfos {
  font-size: 1.2rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.hero .contactinfos a,
.hero .contactinfos a:link,
.hero .contactinfos a:visited,
.hero .contactinfos a:hover,
.hero .contactinfos a:active {
  text-decoration: none;
  color: #fff;
}

.hero .rating {
  color: #fbbf24; /* Goldgelb */
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.btn-primary {
  background: #f97316;
  color: #fff;
}

.btn-primary:hover {
  background: #ea580c;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #f8d038;
  color: #1a1a1a;
}

.btn-secondary:hover {
  background: #f8d038;
  transform: translateY(-2px);
}

.lead {
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: #f8d038;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}
.card-image {
  position: relative;
  overflow: hidden;
  color: #fff;
}
.card-image .card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
.card-image .card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  border-radius: 10px;
}
.card-image h3,
.card-image p,
.card-image a {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.card-image a {
  text-decoration: underline;
}
.card-split {
  background: lightgrey;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-split .card-media {
  position: relative;
}

.card-split .card-media img {
  display: block;
  width: 100%;
  height: auto;
}

.card-split .badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #f97316; /* Orange */
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.card-split .card-body {
  padding: 1rem;
}

.card-split h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.card-split .muted {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.card-split .card-link {
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}

.card-split .card-link:hover {
  text-decoration: underline;
}

.cta-strip {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 12px;
  background: #fff;
  margin: 1rem 0;
}
.footer {
  padding: 2rem 0;
  border-top: 1px solid #eee;
  color: var(--muted);
  font-size: 0.95rem;
}
form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
input,
textarea,
select {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ddd;
  border-radius: 8px;
}
input:focus,
textarea:focus {
  outline: 3px solid rgba(255, 106, 0, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-left: 1rem;
}
.mobile-only {
  display: none;
}
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
  nav .nav-links {
    display: none;
  }
  .mobile-only {
    display: block;
  }
}

.mailstatus {
  border-radius: 12px; /* runde Ecken */
  padding: 15px 20px; /* Innenabstand */
  margin: 10px 0; /* Abstand nach außen */
  color: #036; /* dunkler Text */
  font-weight: 500; /* moderates Gewicht */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* leichter Schatten */
  transition: transform 0.2s; /* kleine Animation beim Hover */
}

.mailstatus.error {
  background-color: rgb(247, 113, 3);
  color: #fff;
}

.mailstatus.success {
  background-color: #bcee68;
  color: #000;
}

.mailstatus ul {
  margin: 0;
  padding-left: 20px;
}

.mailstatus li {
  margin-bottom: 5px;
}

/* Optional: leichte Hover-Effekt */
.mailstatus:hover {
  transform: translateY(-2px);
}
