/* ============================================
   Hemmersbach Consulting - Modern Redesign
   ============================================ */

/* --- Self-hosted Fonts (WOFF2) --- */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/playfairdisplay-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/playfairdisplay-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/playfairdisplay-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Variables --- */
:root {
  --primary: #2d4a5e;
  --primary-dark: #1e3547;
  --secondary: #3a7a90;
  --accent: #c8a961;
  --bg-white: #ffffff;
  --bg-light: #f8fafb;
  --bg-section: #f1f5f7;
  --text-dark: #1a2332;
  --text-body: #4a5568;
  --text-muted: #4a5568;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Focus styles */
:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-dark);
  line-height: 1.3;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 600; }

p { margin-bottom: 1rem; }

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section-header p {
  max-width: 650px;
  margin: 1.5rem auto 0;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

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

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
  border-radius: 2px;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--secondary) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero-logo-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.hero-logo {
  width: 100px;
  height: 100px;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255,255,255,0.95);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-weight: 300;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(200,169,97,0.3);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,169,97,0.4);
  background: #d4b872;
}

/* Secondary CTA */
.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.4);
}

.hero-cta-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.hero-scroll-indicator svg {
  width: 30px;
  height: 30px;
  stroke: rgba(255,255,255,0.5);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* --- Services Section --- */
.services {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* --- About Section --- */
.about-intro {
  background: var(--bg-section);
}

.team-grid {
  display: grid;
  gap: 4rem;
}

.team-member {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.team-member:nth-child(even) {
  direction: rtl;
}

.team-member:nth-child(even) > * {
  direction: ltr;
}

.team-photo-wrapper {
  position: relative;
}

.team-photo {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.team-member:nth-child(even) .team-photo {
  margin-left: auto;
}

.team-info h3 {
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--secondary);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  display: block;
}

.team-info p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.team-modules {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.team-modules p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.team-modules strong {
  color: var(--text-dark);
}

/* --- Industries Section --- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.industry-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.industry-image {
  height: 200px;
  overflow: hidden;
}

.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.industry-content {
  padding: 2rem;
}

.industry-content h3 {
  margin-bottom: 1rem;
}

.industry-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* --- Process Timeline (Vertical) --- */
.process-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
}

.process-section h2 {
  color: white;
  text-align: center;
  margin-bottom: 4rem;
}

.timeline-vertical {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 1rem 0;
}

.timeline-vertical::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 2.5rem);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 2.5rem);
}

.timeline-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-dark);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition);
}

.timeline-item:hover .timeline-icon {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateX(-50%) scale(1.1);
}

.timeline-icon svg {
  width: 24px;
  height: 24px;
  stroke: rgba(255, 255, 255, 0.85);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-item:hover .timeline-icon svg {
  stroke: var(--primary-dark);
}

.timeline-content {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  transition: var(--transition);
}

.timeline-item:hover .timeline-content {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- References Section --- */
.references {
  background: var(--bg-light);
}

.reference-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.reference-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3rem 3rem 2rem;
}

.reference-logo {
  flex-shrink: 0;
}

.reference-logo img {
  height: 60px;
  width: auto;
}

.reference-header-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.reference-body {
  padding: 0 3rem 3rem;
}

.reference-body p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 1rem;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--bg-section);
  text-align: center;
}

.cta-content h2 {
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: var(--transition);
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
  color: white;
}

/* --- Impressum / Datenschutz Pages --- */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 10rem 0 4rem;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: 0.5rem;
}

.page-content {
  max-width: 800px;
  margin: -2rem auto 4rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.page-content h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p, .page-content li {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.page-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 960px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
}

@media (max-width: 1024px) {
  .services-grid,
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .team-member {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .services-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .team-member,
  .team-member:nth-child(even) {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .team-photo {
    max-width: 280px;
    margin: 0 auto;
  }

  .team-member:nth-child(even) .team-photo {
    margin-left: auto;
    margin-right: auto;
  }

  .timeline-vertical::before {
    left: 28px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: row !important;
    padding-left: 5rem !important;
    padding-right: 0 !important;
  }

  .timeline-icon {
    left: 28px !important;
    transform: translateX(-50%) !important;
  }

  .timeline-item:hover .timeline-icon {
    transform: translateX(-50%) scale(1.1) !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .reference-header {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .reference-body {
    padding: 0 2rem 2rem;
  }

  .page-content {
    margin: -1rem 1rem 3rem;
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .service-card {
    padding: 2rem 1.5rem;
  }
}

/* --- Floating CTA Button --- */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: opacity 0.35s ease, transform 0.35s ease, width 0.4s cubic-bezier(0.4, 0, 0.2, 1), height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  overflow: visible;
}

.floating-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(200,169,97,0.35);
  z-index: -1;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Icon */
.floating-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.floating-cta-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.floating-cta:hover .floating-cta-icon svg {
  transform: scale(1.1);
}

/* Text — hidden by default */
.floating-cta-text {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-cta:hover .floating-cta-text,
.floating-cta:focus .floating-cta-text {
  max-width: 300px;
  opacity: 1;
}

/* Hover: background becomes pill shape */
.floating-cta:hover::before,
.floating-cta:focus::before {
  border-radius: 50px;
  background: #d4b872;
  box-shadow: 0 8px 30px rgba(200,169,97,0.45);
}

.floating-cta:hover,
.floating-cta:focus {
  width: auto;
  height: auto;
  padding: 0.9rem 1.5rem;
  gap: 0.75rem;
  border-radius: 50px;
  transform: translateY(-2px) scale(1);
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.75rem 1rem 0.75rem 0.85rem;
  }
}

/* --- Cookie Banner --- */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 10000;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

#cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.cookie-banner-content {
  max-width: 720px;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.cookie-banner-title {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.cookie-banner-text {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.cookie-btn {
  padding: 0.6rem 1.1rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn-accept {
  background: var(--primary);
  color: #fff;
}

.cookie-btn-accept:hover,
.cookie-btn-accept:focus {
  background: var(--primary-dark);
}

.cookie-btn-decline {
  background: var(--bg-light);
  color: var(--text-body);
  border: 1px solid var(--border-light);
}

.cookie-btn-decline:hover,
.cookie-btn-decline:focus {
  background: var(--border-light);
}

.cookie-link {
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--secondary);
  text-decoration: underline;
}

.cookie-link:hover,
.cookie-link:focus {
  color: var(--primary);
}

@media (max-width: 600px) {
  #cookie-banner {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }

  .cookie-banner-content {
    padding: 1rem;
  }

  .cookie-link {
    margin-left: 0;
    width: 100%;
  }
}

/* --- Contact Form --- */
.contact-section {
  background: var(--bg-section);
  padding: 6rem 0;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(58, 122, 144, 0.15);
  outline: none;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #c0392b;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.form-consent input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.25rem;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.form-consent label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-body);
}

.form-consent label a {
  color: var(--secondary);
  text-decoration: underline;
}

.form-consent label a:hover,
.form-consent label a:focus {
  color: var(--primary);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-status {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  display: none;
}

.form-status.visible {
  display: block;
}

.form-status.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-status.error {
  background: #ffebee;
  color: #c0392b;
  border: 1px solid #ef9a9a;
}

.contact-form .cta-button {
  width: 100%;
  justify-content: center;
}

.contact-form .cta-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .contact-form {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}