

/* -------------
   1) Variablen
   ------------- */
:root{
  /* Farben (einfach anpassbar) */
  --color-dark: #132B45;
  --color-primary: #f2a600;
  --color-beige: #8B806E;
  --color-text: #132B45;
  --color-text-muted: #50606E;
  --color-white: #ffffff;
  --color-grau: #e8e6e0;

  /* Container / Spacing */
  --container: 77.5rem;
  --gutter: 1.25rem;

  /* Typografie */
  --font-Montse: 'Montserrat', Arial, sans-serif;
  --font-Lato: 'Lato-Regular', Arial, sans-serif;
  --font-Lato-Light: 'Lato-Light', sans-serif;
  --font-Momo: 'Momo-Signature', cursive;
  --font-weight-regular: 300;  /* leichter Fließtext */
  --font-weight-medium: 600;   /* semi-bold für Sektionen */
  --font-weight-bold: 800;     /* Headlines */


}

@font-face{
    font-family: "Montserrat";
    src: url(../assets/font/Montserrat/static/Montserrat-SemiBold.ttf) format("opentype");
  }

@font-face{
    font-family: "Lato-Regular";
    src: url(../assets/font/Lato/Lato-Regular.ttf) format("opentype");
}

@font-face{
    font-family: "Lato-Light";
    src: url(../assets/font/Lato/Lato-Light.ttf) format("opentype");
}

@font-face{
    font-family: "Momo-Signature";
    src: url(../assets/font/Momo_Signature/MomoSignature-Regular.ttf) format("opentype");
}

/* -------------------------
   2) Global Reset / Basis
   ------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  font-family: var(--font-Lato);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  }

/*h1 {
  font-family: var(--font-Montse);
  font-size: clamp(1.6rem, 2.4rem + 1.2vw, 3rem);
  line-height:1.05;
  margin:0 0 0.75rem 0;
  color:var(--color-text);
  }*/
p {
  margin:0 0 1.25rem 0;
  color:var(--color-text-muted);
  font-weight:var(--font-weight-regular);
  }
h2 {
  font-weight: var(--font-weight-medium);
  font-size: clamp(1.25rem, 1.6rem + 0.6vw, 2rem);
  margin:0 0 1.25rem 0;
  color:var(--color-text);
  /*text-align:center;*/
  }
h3 {
  font-weight:600;
  font-size:1.05rem;
  margin:0 0 0.5rem 0;
  }


/* Accessibility skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus {
  position: static;
  width:auto;
  height:auto;
  padding:8px;
  background:#000;
  color:#fff;
  z-index:9999;
}

/* Small utility */
.hidden {
  display:none
  !important;
  }
.text-center {
  text-align:center;
  }

/* Paragraphs */


/* Buttons */
.btn {
  display:inline-flex;
  align-items:center; 
  justify-content:center; 
  gap:8px;
  padding: 12px 18px;
  border-radius: 8px;
  cursor:pointer;
  text-decoration:none;
  font-weight:700;
  letter-spacing:0.4px;
  text-transform:uppercase;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
  -webkit-tap-highlight-color: transparent;
  }
.btn:active {
  transform: translateY(1px);
  }
.btn.primary, .btn--primary, .footer-phone-btn {
  background: var(--color-primary);
  color: var(--color-dark);
  box-shadow: 0 6px 18px rgba(18,43,69,0.08);
  }
.btn.primary:hover {
  opacity: 0.95;
}
.btn.secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  }
.btn.secondary:hover {
  background: var(--color-white);
  color: var(--color-dark);
  }

/* Focus states (wichtig für a11y) */
:focus { outline: none; }
a:focus, button:focus, input:focus, textarea:focus {
  box-shadow: 0 0 0 4px rgba(242,166,0,0.12);
  outline: none;
}

/* -------------------------
   4) Header / Navigation
   ------------------------- */
.site-header {
  background: var(--color-dark);
  color: var(--color-beige);
  position: sticky;
  top: 0;
  z-index: 3000;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  }
.header-inner {
  display: flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 14px 0;
  }

/* Logo */
.logo img {
  height: 80px;
  display:block;
  filter: drop-shadow(0 8px 16px rgba(255, 255, 255, 0.73));
}

/*.logo img {
  height: 80px;
  display: block;
  background: var(--color-grau);
  border-radius: 7px;
  padding: 6px;
}*/

/* Main Nav */
.main-nav {
  display: flex;
  gap: var(--gutter);
  align-items: center;
}

.main-nav a {
  color: var(--color-beige);
  font-family: var(--font-Lato);
  text-decoration: none;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 8px 6px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  }

.main-nav a:hover {
  color: var(--color-primary);
  background: rgba(255,255,255,0.08);
  }

/* header CTA */
.header-cta .phone-pill {
  display:inline-flex;
  align-items: center;
  gap: 0.5rem;
  background:var(--color-primary);
  color:var(--color-dark);
  padding:10px 16px;
  border-radius:999px;
  font-family: var(--font-Montse);
  text-decoration:none;
  transition: background 0.3s ease;
  }

.header-cta .phone-pill:hover {
  background: var(--color-grau);
}

.phone-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  object-fit: contain;
}

/* ---------
   5) HERO
   --------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
   linear-gradient(rgba(255, 255, 255, 0.289), rgba(255, 255, 255, 0.204)), /* helle Schattierung */
   linear-gradient(rgba(19, 52, 59, 0.7), rgba(19, 52, 59, 0.7)),
   url('../assets/image/HeroBack.jpg') center/cover no-repeat;
  padding: 60px 0;
  min-height: 500px;
  display: flex;
  align-items: center;
}

/* inner grid: left fixed column, right flexible */
.hero .hero-inner {
  display: grid;
  grid-template-columns: minmax(260px, 600px);
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-text {
  margin-right: 250px;
  padding: 18px 22px;
  /*background: linear-gradient(180deg, (für Text hervorstechen etc.)
  rgba(165, 195, 248, 0.26),
  rgba(165, 237, 250, 0.134));*/
  border-radius: 8px;
  }

.hero-text h1 {
  font-family: var(--font-Montse);
  font-size: clamp(1.6rem, 2.4rem + 1.2vw, 3rem);
  line-height:1.05;
  margin:0 0 0.75rem 0;
  color:var(--color-text);
  }

.hero-text p {
  font-family: var(--font-Lato);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  margin-bottom: 0.5rem;
  font-size: 1.5em;
  }

.hero-actions {
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  margin-top: 30px;
  }

/* hero badges */
.hero-badges {
  list-style:none;
  display:flex;
  gap: 24px;
  margin: 20px 0 0 0;
  padding: 0;
  font-weight: var(--font-weight-medium);
  font-family: var(--font-Lato);
  color:var(--color-dark);
  }

  .hero-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.778);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
  
  .hero-badges .badge-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  object-fit: contain;
  }

/* design Schattierung */
/*.hero::before {
  content: "";
  position:absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19,43,69,0.65) 0%, rgba(19,43,69,0.35) 36%, rgba(255,255,255,0) 60%);
  pointer-events: none;
  z-index:6;
}*/

/* ---------------------------------------------
   6) Services / Gallery / Team / CTA / Values
   --------------------------------------------- */

/* Services Section */
.services {
  padding: 80px 0;
}

.section-title {
  font-family: var(--font-Montse);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-dark);
  margin-bottom: 40px;
  text-align: left;
}

/*.service-grid { (für 3 Services)
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
}*/

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  gap: 4.35rem;
  max-width: 50rem;
  margin: 0 auto;
}

.service-card {
  background: var(--color-beige);
  padding: 0;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 320px;
  /*border: 8px solid #ffffff;*/
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.service-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 32px 24px 24px 24px;
  background: var(--color-beige);
  padding-bottom: 16px;
  border-bottom: none;
  min-height: 177px;
}

.service-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.service-card h3 {
  font-family: var(--font-Montse);
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-dark);
  margin: 0;
}

.service-list {
  list-style: none;
  padding: 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--color-dark);
  font-family: var(--font-Lato-Light);
  font-size: 0.9rem;
  line-height: 1.5;
  background: var(--color-grau);
  flex-grow: 1;
}

.service-list li {
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.5;
}

.service-list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: 0;
  line-height: 1.5;
  font-size: 0.9em;
  color: var(--color-dark);
}

/* Gallery Section */
.gallery {
  padding: 80px 0;
}

.gallery .section-title {
  text-align: left;
  margin-bottom: 40px;
  font-family: var(--font-Montse);
}

.gallery-main {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}

.gallery-image-wrapper {
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  position: relative;
}

.gallery-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}

/* Gallery Arrows */
.gallery-arrow {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.gallery-arrow:hover {
  background: var(--color-primary);
  transform: scale(1.1);
}

.gallery-arrow:hover svg {
  stroke: white;
}

.gallery-arrow svg {
  stroke: var(--color-dark);
  transition: stroke 0.3s ease;
}

/* Thumbnails */
.thumbnails {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.thumb {
  width: 100px;
  height: 75px;
  border: 3px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: none;
  padding: 0;
  opacity: 0.6;
}

.thumb:hover {
  opacity: 1;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.thumb.active {
  opacity: 1;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Team Section */
.team {
  padding: 80px 0 30px 0;
}

.team-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--color-dark);
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.team-content {
  padding: 50px 60px;
  color: var(--color-white);
}

.team-subtitle {
  font-family: var(--font-Lato);
  color: var(--color-grau);
  font-size: 0.95rem;
  margin-bottom: 16px;
  opacity: 0.9;
}

.team-content h2 {
  font-family: var(--font-Montse);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.team-description {
  font-family: var(--font-Lato-Light);
  color: var(--color-grau);
  line-height: 1.4;
  margin-bottom: 28px;
  opacity: 0.95;
}

.team-image {
  height: 100%;
  min-height: 300px;
  max-height: 350px;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Service CTA Banner */
.service-cta {
  padding: 30px 0 80px 0;
}

.cta-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--color-dark);
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.cta-content {
  padding: 50px 60px;
  color: var(--color-white);
}

.cta-subtitle {
  font-family: var(--font-Lato);
  color: var(--color-grau);
  font-size: 0.95rem;
  margin-bottom: 16px;
  opacity: 0.9;
}

.cta-content h2 {
  font-family: var(--font-Montse);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-description {
  font-family: var(--font-Lato-Light);
  color: var(--color-grau);
  line-height: 1.4;
  margin-bottom: 28px;
  opacity: 0.95;
}

.cta-image {
  height: 100%;
  min-height: 300px;
  max-height: 350px;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Banner-Logo als Hintergrund */
.team-banner::before,
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/logo/Logo\ SANTECH\ DEVEY\ X\ HAUS.svg')
  center center / contain no-repeat;
  opacity: 0.1;
  z-index: 1;
  pointer-events: none;
}

/* Damit der Inhalt immer über dem BG liegt */
/*.team-banner > *,
.cta-banner > * {
  position: relative;
  z-index: 2;
}*/

/* Values Section */
.values {
  padding: 80px 0;
  background: var(--color-beige);
  text-align: center;
}

.values-title {
  font-family: var(--font-Montse);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-dark);
  margin-bottom: 24px;
  line-height: 1.2;
}

.values-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-dark);
  max-width: 900px;
  margin: 0 auto 60px auto;
  opacity: 0.9;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.value-item {
  background: transparent;
  text-align: center;
  padding: 0;
}

.value-icon svg {
  stroke: var(--color-primary);
}

.value-item h3 {
  font-family: var(--font-Montse);
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.value-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-dark);
  opacity: 0.85;
  margin: 0;
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px auto;
  background: var(--color-grau);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.value-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /*filter: brightness(1.2)
          saturate(100%)
          invert(70%)
          sepia(28%)
          saturate(1000%)
          hue-rotate(200deg);*/
}
/*.value-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
} wenn png die icons sind*/

/* Hover-Effekt (optional) */
.value-item:hover .value-icon { 
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.value-item:hover .value-icon img {
  filter: brightness(0) saturate(100%) invert(100%);
}

/* Partner Section */
.partners {
  padding: 0.5rem 0;
  margin-top: 4rem;
}

.partners-title {
  font-family: var(--font-Montse);
  font-size: 1.9em;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 Partner Logos */
  gap: 2.5rem;
  max-width: 68.75rem;
  margin: 0 auto;
  align-items: center;
}

.partner-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.2rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.partner-logo:hover {
  opacity: 1;
}

.partner-logo img {
  max-width: 100%;
  width: 7rem;
  height: 6rem;
  object-fit: contain;
  filter: grayscale(80%);
  transition: filter 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0%);
}


/* -------------------------
   7) Kontaktformular
   ------------------------- */

/* Kontakt Section */
.contact {
  padding: 80px 0;
}

.contact-lead {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 40px;
  color: #626c71;
}

.contact-form {
  max-width: 720px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 20px;
}

label span {
  display: block;
  margin-bottom: 8px;
  font-weight: var(--font-weight-bold);
  font-size: 0.95rem;
  color: var(--color-text);
}

input,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-dark);
  border-radius: 7px;
  font-size: 1rem;
  font-family: var(--font-Lato);
  background: var(--color-grau);
  color: var(--color-text);
  transition: border-color 0.2s ease;
}

.char-count {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  font-family: var(--font-Lato-Light);
  text-align: right;
}


input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(33, 128, 141, 0.4);
}

textarea {
  resize: none;
  min-height: 140px;
}

.form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.form-actions img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

#form-message {
  font-size: 0.95em;
  color: #32808d;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#form-message.show {
  opacity: 1;
}

#form-message.error {
  color: #c0152f;
}


/* -----------
   8) Footer
   ----------- */

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 60px 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding-bottom: 40px;
}

/* Links: Logo + Kontakt */
.footer-left img {
  height: 12rem;
  width: auto;
  display: block;
  margin-bottom: 1.25rem;
}

.footer-headline {
  font-family: var(--font-Montse);
  font-size: 1.5em;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-company,
.footer-contact {
  font-size: 1em;
  line-height: 1.6;
  color: var(--color-white);
  margin: 8px 0;
}

/* Rechts: Text + Button + Links */
.footer-right {
  text-align: right;
}

.footer-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-dark);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: var(--font-weight-bold);
  font-size: 0.95rem;
  text-decoration: none;
  margin-bottom: 24px;
  transition: background 0.3s ease;
}

.footer-phone-btn:hover {
  background: var(--color-grau);
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  margin-top: 80px;
}

.footer-links a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-primary);
}

/* Copyright-Zeile */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom small {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.back-to-top:hover {
  background: #c78802;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top:focus {
  outline: none;
  background: var(--color-primary) !important;
}

.back-to-top:active {
  transform: scale(0.95);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 2.2rem;
  height: 2.2rem;
}


/* ---------------------------
   Legal Pages - Content Only
   --------------------------- */

/* Main Content Bereich */
.legal-page {
  padding: 3.78rem 0 5rem 0;
  background: var(--color-white);
  min-height: 60vh;
}

.legal-page .container {
  max-width: 56.25rem;
}

/* Hauptüberschrift */
.legal-page h1 {
  font-family: var(--font-Montse);
  font-size: clamp(2em, 4vw, 3em);
  color: var(--color-dark);
  margin-bottom: 3rem;
  text-align: center;
  letter-spacing: -0.02em;
}

/* Abschnitte */
.legal-section {
  margin-bottom: 2.5rem;
}

/* Zwischenüberschriften */
.legal-section h2 {
  font-family: var(--font-Montse);
  font-size: 1.5em;
  font-weight: var(--font-weight-bold);
  color: var(--color-dark);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

/* Text-Absätze */
.legal-section p {
  font-family: var(--font-Lato);
  font-size: 1em;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}



/* --------------
   9) Mobile 📲
   -------------- */

/* 768px/16px=48rem */
@media (max-width: 48rem) {

  /* Button */
  .btn,
  .btn.btn--primary,
  .btn.primary,
  .phone-pill,
  .footer-phone-btn,
  .btn--primary,
  .btn--seconary {
    margin: 0 auto;
    text-align: center;
    padding: 0.35rem;
    font-size: 0.8em; 
  }
  
  .btn svg {
    width: 0.8rem;
    height: 0.8rem;
  }

  /* Nav Back Button */
  .back-to-top {
    width: 2.5rem;
    height: 2.5rem;
    bottom: 1.2rem;
    right: 1.2rem;
  }
  
  .back-to-top svg {
    width: 1.2rem;
    height: 1.2rem;
  }

  .back-to-top:hover {
    background: var(--color-primary);
    transform: translateY(0);
    box-shadow: 0 0.25rem 0.6rem rgba(0, 0, 0, 0.15);
  }

  /* Header */
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5ren;
    padding: 0.65rem 0;
  }
  .main-nav {
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  .logo img {
    height: 4rem; 
    margin: 0 auto;
  }
  .header-cta {
    display: flex;
    justify-content: center;
  }

  /* Hero */
  .hero {
    min-height: 7.5rem;
    padding: 3.75rem 0;
    background-position: center center;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-text {
    padding: 1.3rem 1.1rem;
    max-width: 100%;
    margin-right: 0;
  }
  
  .hero-text h1 {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 1rem;
  }
  
  .hero-text p {
    font-size: 1em;
    margin-bottom: 0.5rem;
  }
  
  .hero-actions {
    gap: 0.6rem;
    margin-bottom: 0.7rem;
  }
  
  .hero-badges {
    flex-direction: column;
    gap: 0.7rem;
    font-size: 0.85em;
    margin: 16px 0 0 0;
  }
  
  .hero-badges .badge-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  .hero-badges li {
    padding: 0.5rem 0.6rem;
    border-radius: 0.4rem;
  }

  /* Service */
    .services {
    padding: 2rem 0;
  }
  
  .section-title {
    margin-bottom: 1.5rem;
    font-size: 1.5em;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .service-card {
    gap: 0.8rem;
    min-height: auto;
  }
  
  .service-icon {
    width: 3rem;
    height: 3rem;
  }
  
  .service-card h3 {
    font-size: 1.2em;
  }
  
  .service-list {
    font-size: 0.9em;
    gap: 0.6rem;
  }

  /* Gallery */
    .gallery {
    padding: 4rem 0;
  }
  
  .gallery .section-title {
    font-size: 1.5em;
    margin-bottom: 1.5rem;
  }
  
  .gallery-main {
    gap: 0.75rem;
  }
  
  .gallery-arrow {
    width: 1.2rem;
    height: 1.2rem;
  }
  
  .gallery-arrow svg {
    width: 1.25rem;
    height: 1.25rem;
  }
  
  .thumbnails {
    gap: 0.5rem;
  }
  
  .thumb {
    width: 4.3rem;
    height: 3.25rem;
  }

  /* Team, CTA */
    .team {
    padding: 3.7rem 0;
  }
  
  .service-cta {
    padding: 3.7rem 0;
  }
  
  .team-content,
  .cta-content {
    padding: 2rem 1.5rem;
  }
  
  .team-subtitle,
  .cta-subtitle {
    font-size: 0.9em;
  }
  
  .team-content h2,
  .cta-content h2 {
    font-size: 1.5em;
    margin-bottom: 1rem;
  }

  .team-content p,
  .cta-content p {
    font-size: 0.9em;
  }

  .team-content .btn,
  .cta-content .btn {
    display: block;
    margin: 1.2rem auto 0 auto;
    width: fit-content;
 
  }
  
  .team-description,
  .cta-description {
    font-size: 0.9em;
    margin-bottom: 1rem;
  }
  
  .team-image,
  .cta-image {
    min-height: 15rem;
    order: 1;
  }

  .team-banner,
  .cta-banner {
    grid-template-columns: 1fr;
    gap: 0;
  }


  /* Values */
    .values {
    padding: 3.1rem 0;
  }
  
  .values-title {
    font-size: 1.75rem;
    margin-bottom: 1.2rem;
  }
  
  .values-lead {
    font-size: 0.9rem;
    margin-bottom: 2.2rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  
  .value-icon {
    width: 4.4rem;
    height: 4.4rem;
    margin-bottom: 1.2rem;

  }
  
  .value-item h3 {
    font-size: 1.2em;
    margin-bottom: 0.7rem;
  }
  
  .value-item p {
    font-size: 0.9em;
  }
  
  /* Partner */
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  
  .partner-logo img {
    max-height: 6rem;
  }


  /* Kontakt */
    .contact {
    padding: 3.7rem 0;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-form {
    padding: 0 1.2rem;
  }

  .contact-lead {
    font-size: 0.9em;
  }

  .contact-form input, 
  .contact-form textarea {
    font-size: 0.9em;
    font-family: var(--font-Lato);
  }

  .form-actions {
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .char-count {
    font-size: 0.8em;
  }

  .contact-form button {
    font-family: var(--font-Lato);
    font-size: 0.9em;
  }

  .form-message {
    text-align: center;
    margin-top: 0.8rem;
  }

  /* Footer */
    .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-left img {
    margin: 0 auto 1rem auto;
  }

  .footer-right {
    text-align: center;
  }

  .footer-left {
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-links {
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.95em;
  }

}


/* Legal Pages - Mobile */
@media (max-width: 48rem) {
  .legal-page {
    padding: 2.5rem 0 3.7rem 0;
  }

  .legal-page h1 {
    font-size: 1.5em;
    margin-bottom: 2rem;
  }

  .legal-section {
    margin-bottom: 2rem;
  }

  .legal-section h2 {
    font-size: 1.25em;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
  }

  .legal-section p {
    font-size: 0.95em;
    line-height: 1.6;
  }
}
