/* ============================
   PHYSIOTherapie Strerath & Mika
   Clean Medical Elegance
   ============================ */

:root {
  --green: #A2C617;
  --green-dark: #8BAE10;
  --green-light: #c5e04a;
  --green-glow: rgba(162, 198, 23, 0.15);
  --green-glass: rgba(162, 198, 23, 0.08);
  --dark: #2D2D2D;
  --dark-soft: #4A4A4A;
  --gray: #6B6B6B;
  --gray-light: #A0A0A0;
  --silver: #E8E8E8;
  --off-white: #F7F7F5;
  --white: #FFFFFF;
  --font-body: 'Nunito', -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --nav-h: 72px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-green: 0 4px 24px rgba(162, 198, 23, 0.3);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--dark-soft);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); cursor: pointer; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- SKIP LINK ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-green);
}
.btn--primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(162, 198, 23, 0.4);
}
.btn--primary:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 3px;
}
.btn--ghost {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.25);
  border-color: var(--white);
}
.btn--full { width: 100%; justify-content: center; }

/* ---- SECTION HEADERS ---- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green);
  background: var(--green-glass);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-header__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--dark);
  line-height: 1.2;
}
.section-header__sub {
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}
.section-header__sub--dark {
  color: var(--gray);
}
.section-header--light .section-header__tag {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.section-header--light .section-header__title {
  color: var(--white);
}

/* Contact form hint */
.contact__form-hint {
  font-size: 0.88rem;
  color: var(--gray-light);
  margin-bottom: 20px;
  margin-top: -12px;
}

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition);
}
.nav--scrolled {
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__logo img {
  height: 42px;
  width: auto;
}
.nav__links {
  display: flex;
  gap: 8px;
}
.nav__link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-soft);
  border-radius: 50px;
  transition: all var(--transition);
  cursor: pointer;
}
.nav__link:hover,
.nav__link.active {
  color: var(--green-dark);
  background: var(--green-glass);
}
.nav__link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--green);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-green);
  transition: all var(--transition);
  cursor: pointer;
}
.nav__cta:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}
.nav__cta:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 3px;
}
.nav__link--phone {
  display: none;
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(160deg, rgba(45,45,45,0.9) 0%, rgba(45,45,45,0.65) 50%, rgba(45,45,45,0.5) 100%);
}
.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
  max-width: 720px;
}
.hero__badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--green-light);
  background: rgba(162,198,23,0.12);
  backdrop-filter: blur(4px);
  padding: 8px 24px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(162,198,23,0.2);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.5);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============ TRUST BAR ============ */
.trust {
  background: var(--off-white);
  padding: 40px 0;
  border-bottom: 1px solid var(--silver);
}
.trust__grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-soft);
  line-height: 1.3;
}
.trust__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-glass);
  border-radius: 12px;
  color: var(--green-dark);
  flex-shrink: 0;
}

/* ============ ABOUT ============ */
.about {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.about__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.about__lead {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 16px;
}
.about__text p {
  color: var(--gray);
  margin-bottom: 12px;
  max-width: 540px;
}
.about__image-wrap {
  position: relative;
}
.about__image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---- Team Cards (Redesigned) ---- */
.team__heading {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--dark);
  text-align: center;
  margin-bottom: 40px;
}
.team__grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.team__card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 20px;
  max-width: 420px;
  width: 100%;
  border: 1px solid var(--silver);
  transition: all var(--transition);
}
.team__card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(162, 198, 23, 0.3);
}
.team__photo-wrap {
  width: 120px;
  height: 150px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.team__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.team__info {
  flex: 1;
}
.team__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 10px;
}
.team__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.team__role {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-glass);
  padding: 4px 10px;
  border-radius: 50px;
}

/* ============ SERVICES ============ */
.services {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.services__bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.services__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.services__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, rgba(45,45,45,0.94) 0%, rgba(45,45,45,0.88) 100%);
}
.services .container {
  position: relative;
  z-index: 2;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.service-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
  cursor: default;
}
.service-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(162,198,23,0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(162,198,23,0.15);
  border-radius: 10px;
  color: var(--green-light);
  margin-bottom: 16px;
}
.service-card__title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.service-card__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.services__note {
  text-align: center;
  color: var(--green-light);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

/* ============ GALLERY ============ */
.gallery {
  padding: 80px 0;
  background: var(--off-white);
}
.gallery__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}
.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery__item:hover img {
  transform: scale(1.05);
}
.gallery__label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 50px;
}

/* ============ JOB TEASER ============ */
.job-teaser {
  padding: 0;
}
.job-teaser__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 56px;
  background: var(--dark);
  border-radius: var(--radius-lg);
  margin: -40px auto 0;
  position: relative;
  z-index: 2;
}
.job-teaser__tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green-light);
  margin-bottom: 8px;
}
.job-teaser__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}
.job-teaser__desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 560px;
}
.job-teaser .btn {
  flex-shrink: 0;
}

/* ============ CONTACT ============ */
.contact {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact__card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.contact__detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 0;
}
.contact__detail + .contact__detail {
  border-top: 1px solid var(--silver);
}
.contact__detail-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-glass);
  border-radius: 10px;
  color: var(--green-dark);
  flex-shrink: 0;
}
.contact__detail strong {
  display: block;
  font-size: 0.85rem;
  color: var(--dark);
  margin-bottom: 2px;
}
.contact__detail p {
  font-size: 0.9rem;
  color: var(--gray);
}
.contact__detail a {
  cursor: pointer;
  overflow-wrap: break-word;
  word-break: break-word;
}
.contact__detail a:hover {
  color: var(--green-dark);
}

.contact__anfahrt h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 16px;
}
.contact__anfahrt-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 10px;
}
.contact__anfahrt-item svg {
  flex-shrink: 0;
  color: var(--green-dark);
  margin-top: 2px;
}

/* Map */
.contact__map {
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Form */
.contact__form {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact__form h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 24px;
}
.form__group {
  position: relative;
  margin-bottom: 20px;
}
.form__group input,
.form__group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  border: 2px solid var(--silver);
  border-radius: var(--radius);
  outline: none;
  transition: all var(--transition);
  resize: vertical;
}
.form__group label {
  position: absolute;
  left: 16px;
  top: 14px;
  font-size: 0.95rem;
  color: var(--gray-light);
  pointer-events: none;
  transition: all var(--transition);
  background: transparent;
}
.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}
.form__group input:focus + label,
.form__group input:not(:placeholder-shown) + label,
.form__group textarea:focus + label,
.form__group textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--off-white);
  padding: 0 6px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--white);
  color: var(--gray);
  padding: 64px 0 0;
  border-top: 1px solid var(--silver);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--silver);
}
.footer__logo {
  height: 44px;
  width: auto;
  margin-bottom: 12px;
}
.footer__tagline {
  font-size: 0.9rem;
  color: var(--gray);
}
.footer__col h4 {
  color: var(--dark);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer__col p,
.footer__col a {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--gray);
  transition: color var(--transition);
  cursor: pointer;
}
.footer__col a:hover {
  color: var(--green-dark);
}
.footer__bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-light);
}

/* ============ LEGAL PAGES ============ */
.legal {
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 80px;
  min-height: 80vh;
}
.legal__header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--silver);
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 20px;
  transition: all var(--transition);
  cursor: pointer;
}
.legal__back:hover {
  gap: 10px;
  color: var(--green);
}
.legal__header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 8px;
}
.legal__meta {
  font-size: 0.9rem;
  color: var(--gray-light);
}
.legal__body {
  max-width: 800px;
}
.legal__body section {
  margin-bottom: 40px;
}
.legal__body h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--silver);
}
.legal__body section:first-child h2 {
  border-top: none;
  padding-top: 0;
}
.legal__body h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-soft);
  margin-top: 20px;
  margin-bottom: 8px;
}
.legal__body p {
  margin-bottom: 12px;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.75;
}
.legal__body ul {
  margin-bottom: 12px;
  padding-left: 24px;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.75;
}
.legal__body li {
  margin-bottom: 6px;
}
.legal__body a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal__body a:hover {
  color: var(--green);
}
.legal__body .btn {
  color: var(--white);
  text-decoration: none;
}
.legal__body .btn:hover {
  color: var(--white);
}
.legal__body strong {
  color: var(--dark-soft);
}
.legal__body em {
  font-style: normal;
  word-break: break-all;
  color: var(--gray-light);
  font-size: 0.88rem;
}

/* ============ JOB LISTING ============ */
.job-highlight {
  margin-bottom: 40px;
}
.job-highlight__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.job-highlight__item {
  background: var(--green-glass);
  border: 1px solid rgba(162, 198, 23, 0.15);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.job-highlight__item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-dark);
  margin-bottom: 4px;
}
.job-highlight__item span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}
.job-contact {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 20px;
}
.job-contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--gray);
}
.job-contact__item svg {
  color: var(--green-dark);
  flex-shrink: 0;
}
.job-contact__item a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.job-contact__item a:hover {
  color: var(--green);
}

/* ============ UTILITY ============ */
.btn--mt { margin-top: 24px; }
.btn--success { background: #4CAF50; box-shadow: 0 4px 24px rgba(76, 175, 80, 0.3); }

/* ============ FORM SPINNER ============ */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.spinner {
  animation: spin 1s linear infinite;
}

/* ============ HONEYPOT (anti-spam) ============ */
.form__honey {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* ============ MAP CONSENT ============ */
.map-consent {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--silver);
  text-align: center;
  padding: 32px;
}
.map-consent__inner {
  max-width: 320px;
}
.map-consent__inner svg {
  color: var(--gray-light);
  margin-bottom: 12px;
}
.map-consent__inner p {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 12px;
  line-height: 1.5;
}
.map-consent__inner a {
  color: var(--green-dark);
  text-decoration: underline;
}
.map-consent__inner .btn {
  margin-top: 4px;
}
.map-iframe {
  border: 0;
  border-radius: 12px;
}

/* ============ ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.trust__grid .trust__item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.trust__grid.visible .trust__item {
  opacity: 1;
  transform: translateY(0);
}
.trust__grid.visible .trust__item:nth-child(1) { transition-delay: 0.05s; }
.trust__grid.visible .trust__item:nth-child(2) { transition-delay: 0.1s; }
.trust__grid.visible .trust__item:nth-child(3) { transition-delay: 0.15s; }
.trust__grid.visible .trust__item:nth-child(4) { transition-delay: 0.2s; }
.trust__grid.visible .trust__item:nth-child(5) { transition-delay: 0.25s; }

.services__grid.visible .service-card {
  opacity: 1;
  transform: translateY(0);
}
.services__grid .service-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.services__grid.visible .service-card:nth-child(1) { transition-delay: 0.02s; }
.services__grid.visible .service-card:nth-child(2) { transition-delay: 0.06s; }
.services__grid.visible .service-card:nth-child(3) { transition-delay: 0.1s; }
.services__grid.visible .service-card:nth-child(4) { transition-delay: 0.14s; }
.services__grid.visible .service-card:nth-child(5) { transition-delay: 0.18s; }
.services__grid.visible .service-card:nth-child(6) { transition-delay: 0.22s; }
.services__grid.visible .service-card:nth-child(7) { transition-delay: 0.26s; }
.services__grid.visible .service-card:nth-child(8) { transition-delay: 0.3s; }
.services__grid.visible .service-card:nth-child(9) { transition-delay: 0.34s; }
.services__grid.visible .service-card:nth-child(10) { transition-delay: 0.38s; }
.services__grid.visible .service-card:nth-child(11) { transition-delay: 0.42s; }
.services__grid.visible .service-card:nth-child(12) { transition-delay: 0.46s; }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .trust__grid .trust__item,
  .services__grid .service-card {
    opacity: 1;
    transform: none;
  }
  .hero__scroll {
    animation: none;
  }
}

/* ============ FOCUS VISIBLE ============ */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* ============ RESPONSIVE ============ */

/* -- Tablet (max 900px) -- */
@media (max-width: 900px) {
  /* Nav: show burger, keep phone CTA as icon-only */
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__cta {
    padding: 11px;
    font-size: 0;
    gap: 0;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }
  .nav__cta svg { width: 22px; height: 22px; }

  /* Mobile menu */
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    padding: 16px 24px 24px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--silver);
    gap: 4px;
    z-index: 999;
  }
  .nav__links.open .nav__link {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius);
  }
  .nav__links.open .nav__link--phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--green-dark);
    font-weight: 700;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--silver);
  }

  .nav__burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__burger.open span:nth-child(2) {
    opacity: 0;
  }
  .nav__burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Section padding reduction */
  .about { padding: 72px 0 60px; }
  .services { padding: 72px 0; }
  .contact { padding: 72px 0 60px; }
  .gallery { padding: 60px 0; }

  /* Section headers */
  .section-header { margin-bottom: 40px; }
  .section-header__title br { display: none; }

  /* Hero */
  .hero__title { font-size: clamp(2.4rem, 8vw, 3.6rem); }
  .hero__subtitle { font-size: 1.05rem; }

  /* About */
  .about__intro {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 56px;
  }
  .about__text p { max-width: none; }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: 1fr;
  }

  /* Job teaser */
  .job-teaser__inner {
    flex-direction: column;
    text-align: center;
    padding: 36px 28px;
    margin-top: -24px;
  }
  .job-teaser__desc { max-width: none; }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }

  /* Trust bar */
  .trust__grid { gap: 24px; }

  /* Team */
  .team__card { max-width: 100%; }

  /* Job listing page */
  .job-highlight__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Legal pages */
  .legal { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 60px; }
  .legal__header { margin-bottom: 36px; padding-bottom: 24px; }
}

/* -- Phone (max 600px) -- */
@media (max-width: 600px) {
  /* Tighter container padding */
  .container { padding: 0 20px; }

  /* More padding reduction */
  .about { padding: 56px 0 48px; }
  .services { padding: 56px 0; }
  .contact { padding: 56px 0 48px; }
  .gallery { padding: 48px 0; }

  /* Section headers */
  .section-header { margin-bottom: 32px; }

  /* Hero */
  .hero__title { font-size: clamp(2rem, 9vw, 3rem); }
  .hero__subtitle { font-size: 1rem; margin-bottom: 28px; }
  .hero__badge { font-size: 0.7rem; padding: 6px 16px; }
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__content { padding: 0 16px; }
  .hero__scroll { bottom: 20px; }

  /* Trust bar */
  .trust { padding: 28px 0; }
  .trust__grid {
    gap: 16px;
    justify-content: flex-start;
  }
  .trust__item {
    flex: 0 0 calc(50% - 8px);
    font-size: 0.8rem;
  }
  .trust__icon { width: 40px; height: 40px; }
  .trust__icon svg { width: 22px; height: 22px; }

  /* About */
  .about__intro { margin-bottom: 40px; gap: 24px; }
  .about__lead { font-size: 1.25rem; }
  .team__heading { font-size: 1.3rem; margin-bottom: 28px; }
  .team__grid { gap: 16px; }
  .team__card { gap: 16px; padding: 16px; }
  .team__photo-wrap { width: 90px; height: 110px; }
  .team__name { font-size: 1.05rem; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px 20px; }

  /* Gallery */
  .gallery__item { aspect-ratio: 16 / 9; }

  /* Job teaser */
  .job-teaser__inner {
    padding: 28px 24px;
    margin-top: -16px;
  }
  .job-teaser__title { font-size: 1.35rem; }
  .job-teaser__desc { font-size: 0.85rem; }

  /* Contact */
  .contact__card { padding: 24px; }
  .contact__form { padding: 24px; }
  .contact__form h3 { margin-bottom: 16px; }
  .contact__anfahrt h3 { margin-bottom: 12px; }

  /* Footer */
  .footer { padding: 48px 0 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__brand { grid-column: auto; }
  .footer__col h4 { margin-bottom: 10px; }

  /* Legal pages */
  .legal { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 48px; }
  .legal__header h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .legal__header { margin-bottom: 28px; padding-bottom: 20px; }

  /* Job listing page */
  .job-highlight__grid { grid-template-columns: 1fr 1fr; }
  .job-highlight__item { padding: 16px 12px; }
  .job-highlight__item span { font-size: 0.9rem; }
  .job-contact { padding: 20px 16px; }
  .job-contact__item { font-size: 0.88rem; }
}
