/* GLOBAL RESET */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;

  width: 100%;
  overflow-x: hidden;
}

/* Bilder */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {

  width: 100%;

  max-width: 1200px;

  margin-left: auto;
  margin-right: auto;

  padding-left: 1rem;
  padding-right: 1rem;

  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Header */
.header .container {
  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 1rem;

  flex-wrap: wrap;
}

:root {
  --primary: #1f2937;
  --accent: #2563eb;
  --light: #f9fafb;
  --text: #111827;
  --muted: #6b7280;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: var(--light);
  color: var(--text);
}

/* Layout */

/* Header */
.header {
  background: white;
  border-bottom: 1px solid #eee;
}

.header .container {

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 1rem;

  flex-wrap: wrap;
}

.logo {

  height: auto;

  max-height: 60px;

  width: auto;

  max-width: 100%;
}

.nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--text);
}

.nav a.active,
.nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero img,
.hero-small img {
  width: 100%;

  height: auto;

  max-height: 300px;

  object-fit: cover;
}

/* Text */
.intro {
  text-align: center;
  padding: 4rem 1rem;
}

.intro h1 {
  font-size: 2.5rem;
}

.intro p {
  max-width: 700px;
  margin: 0.5rem auto;
  color: var(--muted);
}

/* Button */
.button {
  background: var(--accent);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
}

.cta {
  text-align: center;
  margin-bottom: 3rem;
}

/* Footer */
.footer {
  background: var(--primary);
  color: white;

  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;

  grid-template-columns: 1fr 1fr 1fr;

  gap: 2rem;

  align-items: start;
}

.footer a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-left {
  text-align: left;
}

.footer-center {
  text-align: center;
}

.footer-right {
  text-align: right;
}

.partners {
  display: flex;

  justify-content: center;

  gap: 1rem;

  flex-wrap: wrap;
}

.partners img {
  height: 50px;

  background: white;

  padding: 5px;

  border-radius: 6px;
}

/* MOBILE */
@media (max-width: 768px) {

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center;
  }

}

.partners img {
  height: 50px;
  margin: 5px;
  background: white;
  padding: 5px;
  border-radius: 5px;
}

@media (min-width: 768px) {
  .footer .container {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* =========================
   GALERIE
========================= */
.gallery {
  width: 100%;
  max-width: 100%;
}
.gallery {

  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 1rem;

  width: 100%;
}

/* KACHELN */
.gallery a {

  display: block;

  overflow: hidden;

  border-radius: 12px;

  background: #f3f4f6;
}

/* BILDER */
.gallery img {

  width: 100%;

  aspect-ratio: 1 / 1;

  object-fit: cover;

  display: block;

  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* DESKTOP → TABLET */
@media (max-width: 1100px) {

  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

/* TABLET */
@media (max-width: 768px) {

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

/* SMARTPHONE */
@media (max-width: 480px) {

  .gallery {
    grid-template-columns: 1fr;
  }

}
.contact-card h1 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.contact-card p {
  margin-bottom: 1rem;
}

.contact-info {
  margin-top: 2rem;
}

.contact-info a {
  color: var(--accent);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}
.about-section {
  padding: 4rem 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-image img {
  width: 100%;
  border-radius: 16px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.about-list {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.about-list li {
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {

 @media (max-width: 900px) {

  .header .container {

    display: flex;

    flex-direction: row;

    justify-content: space-between;

    align-items: center;

    gap: 0.5rem;
  }

  .logo {

    max-height: 55px;

    width: auto;
  }

  .nav {

    display: flex;

    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 0.6rem;
  }

  .nav a {

    margin-left: 0;

    font-size: 0.85rem;
  }

}
@media (max-width: 768px) {

  h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  .header .container {
    flex-direction: column;
  }

  .nav {
    justify-content: center;
  }

  .bad-intro,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}
