/* =====================================================
   VEDO CARE – Ambulanter Pflegedienst
   Main Stylesheet
   ===================================================== */
   
   
@font-face {
 font-family: 'CardiumRegular'; /* Gewünschter Name */
 src: url('../fonts/Cardium-A-Regular.otf') 
           format('opentype');
}
	
	@font-face {

	 font-family: 'Goodly'; /* Gewünschter Name */
 src: url('../fonts/Goodly-Semibold.otf') 
           format('opentype');
}

/*@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800&family=Nunito+Sans:wght@300;400;500;600;700&display=swap');*/

/* ── CSS Variables ── */
:root {
  --blue-primary: #0071bc;
  --blue-dark: #283583;
	  --blue-darkdark: #1b1a4f;
  --blue-light: #EAF4FC;
  --blue-mid: #1577B8;
  --gray-text: #9EA0A3;
  --gray-dark: #4A4A4A;
  --gray-light: #F4F6F9;
  --white: #FFFFFF;
  --text-dark: #283583;
  --text-body: #3D3D3D;
  --radius-sm: 30px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(27,142,214,0.08);
  --shadow-md: 0 6px 28px rgba(27,142,214,0.13);
  --shadow-lg: 0 16px 48px rgba(26,58,107,0.15);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 90px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'CardiumRegular', sans-serif;
 
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65rem;
  font-style: normal;

}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: 'Goodly', sans-serif;
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { font-size: 1.02rem; line-height: 1.75; }

.text-blue { color: var(--blue-primary); }
.text-dark-blue { color: var(--blue-dark); }
.text-gray { color: var(--gray-text); }
.text-muted { color: var(--gray-dark); }

/* ── Layout Utilities ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 90px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-blue {
  background: var(--blue-primary);
  color: var(--white);
}

.section-blue h1,
.section-blue h2,
.section-blue h3 {
  color: var(--white);
}

.section-dark-blue {
  background: var(--blue-dark);
  color: var(--white);
}

.section-gray { background: var(--gray-light); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 32px;
  border-radius: var(--radius-sm);
  font-family: 'CardiumRegular', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
	text-transform: uppercase;
}

.btn-primary {
  background: var(--blue-primary);
  color: var(--white);
  border-color: var(--blue-primary);
}

.btn-primary:hover {
  background: var(--blue-darkdark);
  border-color: var(--blue-darkdark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--blue-darkdark)
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue-primary);
  border-color: var(--blue-primary);
}

.btn-outline-blue:hover {
  background: var(--blue-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue-primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--blue-darkdark);
  border-color: var(--blue-darkdark);
	  color: var(--white);

  transform: translateY(-2px);
	}

.btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Section Labels ── */
.section-label {
  display: inline-block;
  font-family: 'CardiumRegular', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 14px;
}

.section-label-white {
  color: rgba(255,255,255,0.75);
}

/* ── HEADER / NAVIGATION ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27,142,214,0.1);
  transition: box-shadow var(--transition);
  height: var(--nav-height);
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 46px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-family: 'CardiumRegular', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-dark);
  padding: 8px 16px;
  border-radius: 20px;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--blue-primary);
  background: var(--blue-light);
}

.nav-links a.active {
  color: var(--blue-primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-phone {
  font-family: 'CardiumRegular', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue-darkdark);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  transition: var(--transition);
}

.nav-phone:hover {
  color: var(--blue-primary);
  background: var(--blue-light);
}

.nav-phone svg { flex-shrink: 0; fill: currentColor; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--blue-light);
  padding: 24px 28px 32px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  opacity: 0;
  transition: var(--transition);
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  display: block;
  font-family: 'CardiumRegular', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  padding: 13px 0;
  border-bottom: 1px solid var(--gray-light);
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--blue-primary); }

.mobile-menu-phone {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--white);
}

/* ── Telefonnummer-Button im mobilen Menü:
   .mobile-menu a überschreibt sonst color auf --text-dark.
   Hier stellen wir Farbe, Icon und Zentrierung korrekt her. ── */
.mobile-menu-phone a.btn {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-menu-phone a.btn:hover,
.mobile-menu-phone a.btn:focus,
.mobile-menu-phone a.btn:active {
  color: var(--white);
}

/* Weißes Telefon-Icon als SVG-Data-URI vor der Telefonnummer */
.mobile-menu-phone a.btn::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 109.25 111.48'%3E%3Cpath fill='%23ffffff' d='M1.95%2C46.42C-3.48%2C24.51%2C2.69%2C9.72%2C16.94%2C1.92c5.93-3.23%2C10.43-2.54%2C13.98%2C3.3%2C1.17%2C1.92%2C2.44%2C3.76%2C3.64%2C5.66%2C9.28%2C14.57%2C9.38%2C14.65-2.17%2C27.46-3.43%2C3.8-3.68%2C7.44-1.2%2C11.53%2C7.1%2C11.7%2C16.52%2C21.23%2C27.73%2C29%2C4.71%2C3.27%2C9.29%2C3.02%2C13.34-1.56%2C1.82-2.05%2C3.88-3.89%2C5.98-5.66%2C3.43-2.87%2C7.16-3.41%2C11.02-.8%2C5.38%2C3.63%2C10.76%2C7.29%2C16.08%2C11%2C4.49%2C3.14%2C4.88%2C7.17%2C2.35%2C11.78-6.64%2C12.07-16.85%2C18.1-30.61%2C17.84-3.44-.06-7.12-.39-10.3-1.64C34.42%2C97.15%2C13.48%2C73.32%2C1.96%2C46.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* ── PAGE HEADER (Inner Pages) ── */
.page-header {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 100%);
	padding: 120px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
   content: '';
  position: absolute;
  right: -80px;
  top: 60%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  background: url('../images/herz-weiss.png') center / contain no-repeat;
  opacity: 0.06;
}

.page-header .section-label { color: var(--blue-darkdark); }
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 580px; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  padding-top: var(--nav-height);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 80px 28px;
  max-width: 580px;
  margin-left: auto;
  padding-right: 64px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  color: var(--blue-primary);
  font-family: 'CardiumRegular', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
  width: fit-content;
}

.hero-content h1 {
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero-content h1 span {
  color: var(--blue-primary);
}

.hero-subline {
  font-size: 1.08rem;
  color: var(--gray-dark);
  margin-bottom: 36px;
  max-width: 460px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 45px;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 2px solid var(--gray-light);
}

.hero-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-text);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.hero-stat strong {
  display: block;
  font-family: 'CardiumRegular', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue-primary);
}

.hero-visual {
  position: relative;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0.7;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
180deg, #ffffff00 43%, #0071bc 70%, #283583 88%, #1b1a4f 380%);
  z-index: 1;
  opacity: 0.85;
}

.hero-visual-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 48px 48px 56px;
}

.hero-visual-content .slogan {
  font-family: 'Goodly', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-visual-content .slogan em {
  font-style: normal;
  color: #bcd6f7;
margin-left: -0.8rem;
}

.hero-visual-content p {
  color: rgba(255,255,255);
  font-size: 0.97rem;
  max-width: 380px;
}

.hero-pattern {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 280px;
  height: 280px;
  background: url('../images/herz-weiss.png') center / contain no-repeat;
  opacity: 0.35
	 ;
  z-index: 2;
}

/* ── INTRO STRIP ── */
.intro-strip {
  background: var(--blue-darkdark);
  padding: 36px 0;
}

.intro-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.intro-strip p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  font-weight: 400;
  font-family: 'CardiumRegular', sans-serif;
}

.intro-strip p strong {
  color: var(--white);
  font-weight: 700;
}

/* ── FEATURES / PILLARS ── */
.pillar-card {
  background: var(--white);
  border: 1px solid rgba(27,142,214,0.1);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--blue-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.pillar-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pillar-card:hover::after {
  transform: scaleX(1);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue-primary);
}

.pillar-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.pillar-card p {
  font-size: 0.93rem;
  color: var(--gray-dark);
  line-height: 1.65;
}

/* ── SERVICE CARDS ── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid rgba(27,142,214,0.1);
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(27,142,214,0.25);
  transform: translateY(-3px);
}

.service-card-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--blue-dark);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray-dark);
  line-height: 1.65;
}

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--blue-primary);
}

/* ── INFOBOX ── */
.infobox {
  background: var(--blue-light);
  /*border: 1px solid rgba(27,142,214,0.2);
  border-left: 4px solid var(--blue-primary);*/
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.infobox-icon {
  flex-shrink: 0;
  color: var(--blue-primary);
  margin-top: 2px;
}

.infobox h4 {
  color: var(--blue-dark);
  margin-bottom: 6px;
}

.infobox p {
  font-size: 0.93rem;
  color: var(--gray-dark);
}

/* ── SPLIT SECTION ── */
.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 520px;
  position: relative;
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.split-content h2 { margin-bottom: 4px; }

/* ── CONTACT SECTION ── */
.contact-block {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-light);
}

.contact-item:last-child { border-bottom: none; }

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 3px;
}

.contact-value {
  font-family: 'CardiumRegular', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-dark);
}

.contact-value a {
  color: var(--blue-dark);
  transition: var(--transition);
}

.contact-value a:hover { color: var(--blue-primary); }

/* ── MAP PLACEHOLDER ── */
.map-placeholder {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 320px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--gray-text);
  border: 2px dashed rgba(27,142,214,0.2);
  font-size: 0.9rem;
  font-weight: 600;
}

.map-placeholder svg { opacity: 0.4; }

/* ── CEO / TEAM ── */
.ceo-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.ceo-img {
  height: 100%;
  overflow: hidden;
  background: var(--blue-light);
}

.ceo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.ceo-content {
  padding: 40px 48px 40px 0;
}

.ceo-name {
  font-family: 'Goodly', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 4px;
}

.ceo-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 28px;
}

/* ── LANGUAGE TAGS ── */
.lang-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.lang-tag {
  background: var(--blue-light);
  color: var(--blue-dark);
  font-family: 'CardiumRegular', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(27,142,214,0.15);
}

/* ── VALUE LIST ── */
.value-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
  color: var(--gray-dark);
}

.value-check {
  width: 22px;
  height: 22px;
  background: var(--blue-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  background: url('../images/herz-weiss.png') center / contain no-repeat;
  opacity: 0.06;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255); font-size: 1.02rem; }

/* ── FOOTER ── */
footer {
  background: var(--blue-darkdark);
  color: var(--white);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
}

.footer-logo img {
  height: 6rem;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 22px;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-contact a:hover { color: var(--white); }

.footer-heading {
  font-family: 'CardiumRegular', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}

.footer-nav a {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.93rem;
  font-weight: 500;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-nav a:hover { color: var(--white); padding-left: 4px; }

.footer-info {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--white); }

/* ── Legal Pages ── */
.legal-content {
  padding: 110px 0 80px;
}

.legal-content h1 {
  margin-bottom: 12px;
}

.legal-section {
  margin-top: 48px;
}

.legal-section h2 {
  font-size: 1.2rem;
  color: var(--blue-dark);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-light);
}

.legal-section p,
.legal-section address {
  font-size: 0.97rem;
  color: var(--gray-dark);
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  /* ── Navigation: einzeilig auf Tablet ── */
  .nav-inner {
    gap: 0;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    font-size: 0.79rem;
    padding: 7px 8px;
    white-space: nowrap;
  }

  .nav-cta {
    gap: 6px;
  }

  .nav-phone {
    font-size: 0.79rem;
    padding: 7px 8px;
    gap: 4px;
    white-space: nowrap;
  }

  /* Button „Beratung anfragen" auf Tablet kompakter */
  .nav-cta .btn {
    padding: 7px 12px;
    font-size: 0.79rem;
    white-space: nowrap;
  }

  /* Logo etwas kleiner damit mehr Platz bleibt */
  .nav-logo img {
    height: 36px;
  }

  /* ── Hero: auf Tablet 2-spaltig aber Höhe richtet sich nach Inhalt ── */
  .hero {
    min-height: 0;
    height: auto;
    align-items: stretch;
  }

  /* Bildspalte füllt die durch den Textinhalt bestimmte Höhe vollständig aus */
  .hero-visual {
    height: auto;
    min-height: 0;
  }

  .hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ── Hero bleibt auf Tablet 2-spaltig (Desktop-Grid 1fr 1fr wird nicht überschrieben) ── */

  /* CEO-Karte: auf Tablet 2-spaltig mit schmalerer Bildspalte */
  .ceo-card {
    grid-template-columns: 280px 1fr;
    gap: 40px;
  }

  .ceo-img {
    height: 100%;
  }

  .ceo-content {
    padding: 36px 36px 36px 0;
  }

  /* Buttons in der CEO-Karte dürfen umbrechen */
  .ceo-content .btn-group {
    flex-wrap: wrap;
  }

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

  /* grid-2 bleibt auf Tablet 2-spaltig – Umbruch erst bei ≤640px */
  /* grid-2 hier NICHT überschreiben */

  /* grid-3: auf Tablet (768–1024px) weiterhin 3 Spalten,
     nur mit etwas kleinerem Gap und Padding */
  .grid-3 {
    gap: 18px;
  }

  .pillar-card {
    padding: 28px 22px;
  }

  .cta-band-inner {
    flex-direction: column;
    text-align: center;
  }

  .intro-strip-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root { --nav-height: 66px; }

  .section { padding: 64px 0; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }

  .hero-content h1 { font-size: 1.9rem; }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-header {
    padding: 96px 0 52px;
  }

  .split-img { height: 280px; }
}

/* ── Smartphone: einspaltige Layouts erst ab ≤640px ── */
@media (max-width: 640px) {
  /* Hero: erst auf Smartphone 1-spaltig, Bild zuerst */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    order: -1;
    height: 300px;
  }

  .hero-content {
    order: 0;
    padding: 40px 20px 48px;
    max-width: 100%;
    margin: 0;
  }

  /* CEO-Karte: erst auf Smartphone 1-spaltig */
  .ceo-card {
    grid-template-columns: 1fr;
  }

  .ceo-img {
    height: 320px;
  }

  .ceo-content {
    padding: 28px 24px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .btn { padding: 12px 22px; font-size: 0.9rem; }
  .btn-group { gap: 10px; }
  .contact-block { padding: 28px 22px; }
  .ceo-content { padding: 28px 24px; }
}
