
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 26px;
  background: #f5f5f5;
  color: #222;
  line-height: 1.6;
}

a {
  color: #0d47a1;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Landing page */

.landing-body {
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  flex-direction: column;
}

.landing {
  text-align: center;
  padding: 2rem 1.5rem;
}

.landing-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.landing-subtitle {
  color: #555;
  margin-bottom: 2rem;
  font-size: 0.85em;
}

.choice-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.choice-box {
  width: 320px;
  height: 230px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: 0.3s;
  background-color: #ffffff;
}

.choice-box:hover {
  transform: scale(1.05);
}

.choice-box.haus {
  background-image: url('hausservice_logo.jpeg');
}

.choice-box.auto {
  background-image: url('autopoint_logo.png');
}

.banner {
  width: 100%;
  background: rgba(0,0,0,0.75);
  padding: 0.4rem 0.6rem;
  text-align: center;
  font-weight: bold;
  border-radius: 12px 12px 0 0;
  font-size: 0.8em;
}

/* Shared layout */

.ap-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.ap-header {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.ap-header-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  gap: 1rem;
}

.ap-logo-title {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.ap-logo {
  height: 90px;
  width: auto;
}

.ap-tagline {
  margin: 0.1rem 0 0;
  font-weight: 700;
  color: #0d47a1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8em;
}

.ap-header-contact p {
  margin: 0.1rem 0;
  font-size: 0.8em;
}

/* Hero */

.ap-hero {
  background: #0d47a1;
  color: #ffffff;
}

.ap-hero-media {
  max-height: 380px;
  overflow: hidden;
}

.ap-hero-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.ap-hero-text {
  padding: 1.5rem 1.5rem 2rem;
}

.ap-hero-text h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* Layout main */

.ap-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.ap-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ap-block {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  padding: 1rem 1rem 1.2rem;
}

.ap-block h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.ap-block-inner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.ap-block-inner--reverse {
  flex-direction: row-reverse;
}

.ap-block-media {
  flex: 0 0 40%;
  margin: 0;
}

.ap-block-img {
  width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.ap-list {
  flex: 1;
  padding-left: 1.1rem;
  margin: 0.25rem 0;
  font-size: 0.8em;
}

.ap-list li {
  margin-bottom: 0.25rem;
}

/* Sidebar */

.ap-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ap-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  padding: 1rem 1.25rem;
  font-size: 0.8em;
}

.ap-card h2,
.ap-card h3 {
  margin-top: 0;
}

/* Button */

.ap-button {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.5rem 1.2rem;
  background: #0d47a1;
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.8em;
  font-weight: 600;
  text-decoration: none;
}

.ap-button:hover {
  background: #08306d;
}

/* Gallery */

.ap-gallery-wrap {
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  padding: 2rem 0 2.5rem;
}

.ap-gallery-wrap h2 {
  margin-top: 0;
  margin-bottom: 1.2rem;
}

.ap-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.ap-gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.07);
}

.ap-gallery-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Video */

.ap-video {
  margin-top: 2rem;
}

.ap-video-player {
  width: 100%;
  max-height: 360px;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}

/* Footer */

.ap-footer {
  background: #111827;
  color: #e5e7eb;
  padding: 1rem 0;
  font-size: 0.8em;
  text-align: center;
}

/* Responsive */

@media (max-width: 900px) {
  .ap-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 750px) {
  .ap-block-inner,
  .ap-block-inner--reverse {
    flex-direction: column;
  }
  .ap-block-media {
    flex-basis: auto;
  }
}

@media (max-width: 600px) {
  .landing-title {
    font-size: 1.1em;
  }
  .choice-box {
    width: 280px;
    height: 210px;
  }
}


/* Boden-Slider */
.slider {
  position: relative;
  width: 100%;
  max-width: 700px;
  overflow: hidden;
  margin: 1.5rem auto;
}
.slides {
  display: flex;
  animation: bodenSlide 8s infinite;
}
.slides img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 10px;
}
@keyframes bodenSlide {
  0%   { transform: translateX(0); }
  45%  { transform: translateX(0); }
  55%  { transform: translateX(-100%); }
  95%  { transform: translateX(-100%); }
 100%  { transform: translateX(0); }
}
