/* instat Corporate Design Styles */

:root {
  --instat-gray: #354248;
  --instat-red: #D62632;
  --font-headline: 'Bebas Neue', sans-serif;
  --font-body: 'Fira Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--instat-gray);
  background: white;
  line-height: 1.6;
  font-size: 1.2rem;
}


header {
  background: white;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header img {
  height: 40px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: var(--instat-gray);
  font-weight: bold;
}

nav a:hover {
  color: var(--instat-red);
}

.hero {
  padding: 4rem 2rem;
  background: var(--instat-gray);
  color: white;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-headline);
  font-size: 3rem;
  letter-spacing: 1px;
}

.hero p {
  margin-top: 1rem;
  font-size: 1.2rem;
}

.hero-leistungen {
  background: url('strand_grau.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
}

.hero-leistungen::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Optional: dunkler Overlay */
  z-index: 1;
}

.hero-leistungen h1 {
  position: relative;
  z-index: 2;
  font-family: var(--font-headline);
  font-size: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.3;
}
.hero-usecases {
  background: url('berge_grau.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
}

.hero-usecases::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* dunkler Overlay für bessere Lesbarkeit */
  z-index: 1;
}

.hero-usecases h1 {
  position: relative;
  z-index: 2;
  font-family: var(--font-headline);
  font-size: 3rem;
  letter-spacing: 1px;
}

.hero-team {
  background: url('steine_grau.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
}

.hero-team::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* dunkler Overlay für bessere Lesbarkeit */
  z-index: 1;
}

.hero-team h1 {
  position: relative;
  z-index: 2;
  font-family: var(--font-headline);
  font-size: 3rem;
  letter-spacing: 1px;
}

.content {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.content h2 {
  font-family: var(--font-headline);
  font-size: 2.2rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.content ul {
  margin-left: 1rem;
  list-style: disc;
}

.content strong {
  color: var(--instat-red);
}

.anwendungsfaelle {
  padding: 4rem 2rem;
  background: #f8f8f8;
}

.anwendungsfaelle h2 {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.2;
}

.card-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: auto;
}

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.card-content h3 {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.card-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.card-content a {
  background: var(--instat-red);
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

footer {
  background: #f5f5f5;
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

footer p {
  margin: 0.5rem 0;
}

footer a {
  color: var(--instat-gray);
  text-decoration: underline;
}

.signe-baer {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 100px;
  opacity: 0.5;
  z-index: 999;
  pointer-events: none;
}

@media (max-width: 600px) {
  .signe-baer {
    width: 60px;
    bottom: 0.5rem;
    right: 0.5rem;
    opacity: 0.4;
  }
}
.case-split {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin: 3rem 0;
}

.case-split img {
  max-width: 40%;
  height: auto;
  border-radius: 8px;
}

.case-split > div {
  flex: 1;
}
@media (max-width: 768px) {
  .case-split {
    flex-direction: column;
  }

  .case-split img {
    max-width: 100%;
  }
}
img.inline-graphic {
  display: block;
  margin: 2rem auto;
  max-width: 80%;
  height: auto;
  border-radius: 4px;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.menu-toggle span {
  height: 3px;
  width: 25px;
  background: var(--instat-gray);
  margin: 4px 0;
  transition: 0.3s;
}
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  nav ul {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 100%;
    right: 0;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 10;
  }
  nav ul.active {
    display: flex;
  }
}
/* Flexible Textgrößen */
.text-xs { font-size: 0.85rem; }
.text-sm { font-size: 1rem; }
.text-md { font-size: 1.1rem; }
.text-lg { font-size: 1.25rem; }
.text-xl { font-size: 1.5rem; }
.text-xxl { font-size: 2rem; }

.font-light { font-weight: 300; }
.font-regular { font-weight: 400; }
.font-bold { font-weight: 700; }
.highlight-quote {
  background: #f8f8f8;
  padding: 6rem 2rem;
  text-align: center;
}

.highlight-quote h2 {
  font-family: var(--font-headline);
  font-size: 3rem;
  line-height: 1.3;
  color: var(--instat-red);
  margin-bottom: 1rem;
}

.highlight-quote p {
  font-size: 1.2rem;
  color: var(--instat-gray);
}
@media (max-width: 768px) {
  .highlight-quote h2 {
    font-size: 2rem;
  }
  .highlight-quote p {
    font-size: 1rem;
  }
}
.highlighted-intro {
  background: #f8f8f8;
  padding: 3rem 2rem;
  margin: 4rem auto;
  max-width: 900px;
  border-left: 6px solid var(--instat-red);
  border-radius: 8px;
  font-size: 1.2rem;
  line-height: 1.8;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.highlighted-intro p {
  margin-bottom: 1.5rem;
  text-align: left;
}
.highlighted-intro .quote-style {
  position: relative;
  font-size: 1.8rem;
  color: #555;
  margin-bottom: 2rem;
  padding-left: 2.5rem;
  line-height: 1.5;
}

.highlighted-intro .quote-style::before {
  content: "“";
  font-size: 4rem;
  color: #ccc;
  position: absolute;
  left: 0;
  top: -0.4rem;
  line-height: 1;
}
.highlighted-intro {
  background: #f8f8f8;
  padding: 3rem 2rem;
  margin: 4rem auto;
  max-width: 900px;
  border-left: 6px solid var(--instat-red);
  border-radius: 8px;
  font-size: 1.2rem;
  line-height: 1.8;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.highlighted-intro p {
  margin-bottom: 1.5rem;
  text-align: left;
}

.quote-style {
  position: relative;
  font-size: 1.8rem;
  color: #555;
  margin-bottom: 2rem;
  padding-left: 2.5rem;
  line-height: 1.5;
}

.quote-style::before {
  content: "“";
  font-size: 4rem;
  color: #ccc;
  position: absolute;
  left: 0;
  top: -0.4rem;
  line-height: 1;
}
.quote-style p {
  font-weight: 700;
}
.cta-button {
  text-align: center;
  margin-top: 2rem;
}

.cta-button a {
  display: inline-block;
  background: var(--instat-red);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.3s ease;
}

.cta-button a:hover {
  background: #a91e29; /* dunkleres Rot beim Hover */
}
.conference-note {
  background: #fff8f6;
  border: 2px solid var(--instat-red);
  border-radius: 10px;
  padding: 2rem;
  margin: 4rem auto;
  max-width: 800px;
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--instat-gray);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.conference-note a {
  color: var(--instat-red);
  font-weight: bold;
  text-decoration: none;
  font-size: 1.2rem;
}

.conference-note a:hover {
  text-decoration: underline;
}
.decision-intro {
  background: #f8f8f8;
  border-left: 6px solid var(--instat-gray);
  padding: 2rem;
  margin: 4rem auto;
  max-width: 800px;
  font-size: 2rem;
  line-height: 1.6;
}
.decision-intro .icon {
  font-size: 2rem;
  margin-right: 0.5rem;
  color: var(--instat-red);
}
.content-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin: 4rem auto;
  padding: 0 2rem;
  max-width: 1100px;
  flex-wrap: wrap;
}

.content-split .text {
  flex: 1;
  min-width: 280px;
}

.content-split .image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.content-split img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.image-centered-wide {
  width: 130%;
  max-width: none;
  margin: 2rem 0;
  margin-left: -15%;
  display: block;
  border-radius: 8px;
}






