@charset "UTF-8";

/* Grundlayout – bewusst nah an der bestehenden Seite */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  color: #333333;
  background-color: #ffffff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  background-color: #ffffff;
  border: 2px solid #4f76b9;
  padding: 0.4rem 0.8rem;
  z-index: 1000;
  color: #000000;
}

.skip-link:focus {
  left: 1rem;
}

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

a {
  color: #444444;
  text-decoration: underline;
}

a:hover,
a:focus {
  color: #4f76b9;
  text-decoration: none;
}

/* Telefonlinks im blauen Header oben */
.top a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.top a:hover,
.top a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid #4f76b9;
  outline-offset: 2px;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1 0 auto;
  padding: calc(1.5rem + 22px) 0 2.5rem;
  position: relative;
}

 .page-footer {
  flex-shrink: 0;
  background: linear-gradient(180deg, #f7f7f8 0%, #ffffff 40%, #eef0f5 100%);
  padding: 1.5rem 0 1.75rem;
  font-size: 0.9rem;
  color: #666666;
  position: relative;
  overflow: hidden;
}

.page-footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 22px;
  background: #4f76b9;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 40%);
  pointer-events: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Top-Leiste wie bisher */
.top {
  width: 100%;
  background-color: #4f76b9;
  color: #ffffff;
  font-size: 1rem;
}

.top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top span {
  line-height: 2;
  text-transform: uppercase;
}

/* Header / Logo / Navigation – angelehnt an style.css */
.page-header {
  background-color: #ffffff;
  border-bottom: 1px solid #dddddd;
}

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

.logo {
  float: left;
  padding: 0.75rem 0 0.5rem;
}

.header-meta {
  text-align: right;
  font-size: 0.9rem;
  color: #555555;
}

.header-meta strong {
  color: #333333;
}

.nav-toggle {
  display: none;
  margin-top: 0.25rem;
  padding: 0.4rem 0.6rem;
  border-radius: 0.4rem;
  border: 1px solid #cccccc;
  background-color: #ffffff;
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 2px solid #4f76b9;
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background-color: #4f76b9;
}

nav.main-nav {
  padding: 0.75rem 0 0.5rem;
}

nav.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

nav.main-nav li {
  flex: 1 1 auto;
  text-align: center;
  padding: 0.2rem 0.4rem;
  color: #4f76b9;
}

nav.main-nav a,
nav.main-nav a:visited,
nav.main-nav a:focus {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 0;
  display: inline-block;
  color: #4f76b9;
  text-decoration: none;
  transition: color 0.2s ease;
}

nav.main-nav a:hover {
  color: #496fc2;
}

nav.main-nav a:focus-visible {
  background-color: rgba(79, 118, 185, 0.08);
}

/* Hinweisbalken – nah an der aktuellen Laufschrift, aber ruhiger */
.notice-bar {
  background-color: #4f76b9;
  color: #ffffff;
  font-size: 1rem;
  padding: 0.4em 0;
  margin: 0;
}

.notice-bar-inner {
  overflow: hidden;
  white-space: nowrap;
}

.notice-bar-text {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 20s linear infinite;
}

.notice-bar:hover .notice-bar-text {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .notice-bar-text {
    animation: none;
    transform: translateX(0);
  }
}

/* Intro-Bereich angelehnt an .intro */
.intro {
  color: #ffffff;
  text-align: center;
  padding: 6em 0;
  background-image: url("hoecker-bielefeld-slider-highres.png");
  background-repeat: no-repeat;
  background-position: 20% 60%;
  background-attachment: fixed;
  background-size: cover;
}

.intro h2 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.intro h3 {
  font-size: 1.05rem;
  font-weight: 400;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.hero-cta {
  margin-top: 1.5rem;
}

.hero-btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid #4f76b9;
  background-color: #4f76b9;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-btn:hover,
.hero-btn:focus-visible {
  background-color: #3f61a0;
  color: #ffffff;
  border-color: #3f61a0;
  text-decoration: none;
}

/* Dreispaltiger Bereich wie Startseite */
.section {
  margin-top: 2rem;
  padding: 2rem 0 0;
}

.section-header {
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: 1.6rem;
  color: #4f76b9;
  margin-bottom: 0.3rem;
}

.section-intro {
  font-size: 1rem;
  color: #666666;
}

.section-header--lead {
  padding: 1.5rem 1.75rem 1.6rem;
}

.section-header--lead .section-title {
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.section-header--lead .section-intro {
  max-width: 48rem;
  font-size: 1.02rem;
  color: #374151;
}

/* Ein gemeinsamer Card-Stil für alle Kartenbereiche – jetzt mit mehr Blau */
.section-header--lead,
.cta-inner,
.tile {
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 45%, #e2e5ec 100%);
  box-shadow: 0 4px 14px -12px rgba(15, 23, 42, 0.45);
}

.section.cta {
  margin-top: 3rem;
  padding: 2.5rem 0 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 2rem;
  padding: 1.5rem 1.75rem 1.6rem;
}

.cta-title {
  font-size: 1.7rem;
  color: #4f76b9;
  margin-bottom: 0.75rem;
}

.cta-times p {
  font-size: 1rem;
  color: #333333;
}

.cta-times strong {
  color: #111827;
}

.cta-text p {
  margin-bottom: 0.75rem;
}

.cta-phone {
  font-size: 1.1rem;
  font-weight: 600;
}

.cta-phone a {
  font-weight: 700;
  text-decoration: none;
  color: #4f76b9;
}

.cta-phone a:hover,
.cta-phone a:focus-visible {
  text-decoration: underline;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 3rem;
}

/* Vertikaler Abstand zwischen eigenständigen Cards im Content (z.B. Ladenlokal) */
.section > .tile {
  margin: 1.75rem 0;
}

.grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.grid--about {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: flex-start;
}

.grid-about-left {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.grid-about-right {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.tile {
  font-size: 1rem;
  color: #666666;
  padding: 1.5rem 1.75rem 1.6rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.tile h3 {
  font-size: 1.6rem;
  color: #4f76b9;
  margin-bottom: 0.4rem;
}

.tile p {
  margin: 0 0 0.75rem;
}

.tile a {
  font-weight: 600;
}

.tile .einbild {
  display: block;
  margin: 0.4rem 0 0.9rem;
  border-radius: 0;
  overflow: visible;
}

.tile .einbild img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.tile--about .about-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 1rem;
  align-items: flex-start;
}

.tile--about .about-row-media .einbild {
  margin: 0;
}

.tile--about .about-row-media img,
.grid-about-right .einbild img {
  width: 100%;
  max-width: 210px;
  aspect-ratio: 21 / 16;
  height: auto;
  object-fit: cover;
}

.tile--about .about-row-text h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  color: #4f76b9;
}

.tile--about .about-row-text p {
  margin: 0;
}

.tile--history ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tile--history li {
  position: relative;
  padding-left: 0;
  margin-bottom: 0.4rem;
}

.history-year {
  font-weight: 700;
  color: #4f76b9;
  display: inline-block;
  min-width: 4.2rem;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.footer-links a:hover {
  text-decoration: underline;
}

.footer-inner strong {
  font-size: 1rem;
  color: #4f76b9;
}

.footer-inner div {
  line-height: 1.5;
}

/* Telefonlinks im Footer immer gut lesbar */
.page-footer .footer-inner a[href^="tel:"] {
  color: #4f76b9;
  font-weight: 600;
  text-decoration: none;
}

.page-footer .footer-inner a[href^="tel:"]:hover,
.page-footer .footer-inner a[href^="tel:"]:focus-visible {
  color: #3f61a0;
  text-decoration: underline;
}

/* Blaue Form am Übergang vom Hero in den Content (wie im Footer, aber oben) */
.page-main::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 23px;
  background: #4f76b9;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 40%);
  pointer-events: none;
}

/* Viewport-Anpassungen */
@media (max-width: 1200px) {
  .top {
    display: none;
  }
}

/* Responsiveness */
@media (max-width: 960px) {
  .header-meta {
    text-align: left;
    display: none;
  }

  nav.main-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  nav.main-nav li {
    text-align: left;
  }

  .top .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
  }

  .top span {
    text-transform: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  body.has-js nav.main-nav ul {
    display: none;
  }

  body.has-js nav.main-nav.main-nav--open ul {
    display: flex;
  }

  .logo {
    float: none;
  }

  .nav-toggle {
    margin-left: auto;
  }

  .intro {
    padding: 4em 1em;
    background-attachment: scroll;
  }

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

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

  .tile--about {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

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

  .tile--about .about-row {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .notice-bar-text {
    animation-duration: 26s;
  }

  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

