/* ============================================
   Elektrotechnik Cukaci GmbH
   "Friendly Professional" Design System
   ============================================
   Font Pairing: Nunito (Headings) + Open Sans (Body)
   Accent Color: #33BDE4 (warm, friendly cyan)
   Aesthetic: Bright, clean, warm, approachable
   ============================================ */

/* ─── CSS Custom Properties ─── */
:root {
  /* Light, Warm Foundation */
  --bg-primary: #ffffff;
  --bg-secondary: #f7f9fc;
  --bg-warm: #fafafa;
  --bg-accent: rgba(51, 189, 228, 0.08);

  /* HDS Cyan — Warm, friendly accent */
  --cyan: #33BDE4;
  --cyan-dark: #2AA3C9;
  --cyan-light: #E8F6FC;
  --cyan-bg: rgba(51, 189, 228, 0.1);

  /* Text — Warm and Readable */
  --text-heading: #2d3436;
  --text-body: #555555;
  --text-muted: #888888;
  --text-on-cyan: #ffffff;

  /* Supporting */
  --border: #e8e8e8;
  --border-light: #f0f0f0;
  --success: #27ae60;
  --error: #e74c3c;

  /* Typography */
  --font-heading: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Layout */
  --container-max: 1140px;
  --nav-height: 72px;

  /* Border Radius — Soft & Rounded */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows — Soft & Subtle */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 24px rgba(51, 189, 228, 0.15);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 300ms var(--ease);
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
address { font-style: normal; }

a {
  color: var(--cyan-dark);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--cyan); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
}

/* ─── Skip Link ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 10000;
  transition: top var(--transition);
}
.skip-link:focus {
  top: var(--space-sm);
  color: white;
}

/* ─── Utilities ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--space-md); }
}

.section {
  padding: var(--space-xl) 0;
}
.section--white {
  background: var(--bg-primary);
}
.section--tinted {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan-dark);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--space-xs);
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--text-heading);
  margin-bottom: var(--space-sm);
  max-width: 650px;
}
.section-header .section-title {
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
}

.btn--primary {
  background: var(--cyan);
  color: var(--text-on-cyan);
  border-color: var(--cyan);
}
.btn--primary:hover {
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
  color: white;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.btn--outline {
  background: var(--bg-primary);
  color: var(--cyan-dark);
  border-color: var(--cyan);
}
.btn--outline:hover {
  background: var(--cyan-light);
  color: var(--cyan-dark);
  transform: translateY(-2px);
}

.btn--outline-subtle {
  background: transparent;
  color: var(--text-body);
  border: 1px solid var(--border);
}
.btn--outline-subtle:hover {
  background: var(--bg-secondary);
  color: var(--text-heading);
}

.btn--sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn--lg { padding: 0.85rem 1.75rem; font-size: 1rem; }
.btn--full { width: 100%; }

/* ─── Cookie Banner ─── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  padding: var(--space-sm) var(--space-md);
}
.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}
.cookie-banner__inner p {
  flex: 1;
  min-width: 250px;
  font-size: 0.9rem;
  color: var(--text-body);
}
.cookie-banner__inner a { color: var(--cyan-dark); text-decoration: underline; }
.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow var(--transition);
}

.nav--scrolled {
  box-shadow: var(--shadow-sm);
}

.nav__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-sm);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .nav__container { padding: 0 var(--space-md); }
}

.nav__logo img {
  height: 50px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
  .nav__logo img {
    height: 40px;
  }
}

.nav__menu {
  display: none;
}

.nav__list {
  display: flex;
  gap: var(--space-md);
}

.nav__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-heading);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
  transition: width var(--transition);
}
.nav__link:hover { color: var(--cyan-dark); }
.nav__link:hover::after { width: 100%; }

.nav__cta {
  display: none;
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.nav__hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 1px;
  transition: all var(--transition);
  transform-origin: center;
}

.nav__hamburger--active .nav__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger--active .nav__hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger--active .nav__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Slide-in Panel */
.nav__mobile {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: var(--bg-primary);
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  z-index: 999;
  padding: calc(var(--nav-height) + var(--space-md)) var(--space-md) var(--space-md);
  display: flex;
  flex-direction: column;
  transition: right 0.35s var(--ease);
}

.nav__mobile--open {
  right: 0;
}

.nav__mobile-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: var(--space-md);
}

.nav__mobile-link {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition);
}
.nav__mobile-link:hover { color: var(--cyan-dark); }

.nav__mobile-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

/* Backdrop */
.nav__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.2);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav__backdrop--visible {
  opacity: 1;
  visibility: visible;
}

/* Desktop nav */
@media (min-width: 1024px) {
  .nav__menu { display: block; }
  .nav__cta { display: inline-flex; }
  .nav__hamburger { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Decorative Background */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
}

.hero__shape--1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(51, 189, 228, 0.12), transparent 70%);
  top: -100px;
  right: -100px;
}
.hero__shape--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(51, 189, 228, 0.08), transparent 70%);
  bottom: -50px;
  left: -50px;
}
.hero__shape--3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(51, 189, 228, 0.06), transparent 70%);
  top: 40%;
  left: 40%;
}

.hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(51, 189, 228, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Hero Container */
.hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-sm);
}

@media (min-width: 768px) {
  .hero__container { padding: var(--space-xl) var(--space-md); }
}

.hero__content {
  max-width: 700px;
  text-align: center;
  margin: 0 auto var(--space-lg);
}

@media (min-width: 768px) {
  .hero__content { text-align: left; margin: 0 0 var(--space-lg); }
}

.hero__title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
  color: var(--text-heading);
}

.hero__title--accent {
  color: var(--cyan-dark);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-body);
  max-width: 550px;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
  .hero__subtitle { margin-bottom: var(--space-md); }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

@media (min-width: 768px) {
  .hero__actions { justify-content: flex-start; }
}

/* Trust Cards */
.hero__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 640px) {
  .hero__cards { grid-template-columns: repeat(3, 1fr); }
}

.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--bg-primary);
  padding: var(--space-sm) 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.trust-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.trust-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--cyan-light);
  border-radius: var(--radius-sm);
  margin-top: 2px;
}

.trust-card__title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.trust-card__text {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  text-align: center;
}

.about .section-title {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.about__text {
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto var(--space-md);
  color: var(--text-body);
  line-height: 1.8;
}

.about__quote {
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  padding: var(--space-md);
  background: var(--cyan-light);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-heading);
  text-align: left;
  line-height: 1.7;
}

.about__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  max-width: 500px;
  margin: 0 auto;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text-heading);
  padding: 0.75rem 1rem;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.about__feature-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--cyan-light);
  border-radius: var(--radius-sm);
}

@media (max-width: 480px) {
  .about__features { grid-template-columns: 1fr; }
}

/* ============================================
   SERVICES (Clean Cards)
   ============================================ */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--cyan-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.service-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-heading);
}

.service-card__desc {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  background: var(--cyan-light);
  color: var(--cyan-dark);
  border-radius: var(--radius-full);
}

/* ============================================
   PROJECTS (Instagram Feed + Fallback)
   ============================================ */
.instagram-widget {
  min-height: 100px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.instagram-widget:empty {
  display: none;
}

.projects__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 640px) {
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .projects__grid { grid-template-columns: repeat(3, 1fr); }
}

.project-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  min-height: 180px;
}

.project-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.project-tile__icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: var(--space-sm);
}

.project-tile__label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-heading);
}

.project-tile--cta {
  background: var(--cyan-light);
  border-color: rgba(51, 189, 228, 0.2);
}
.project-tile--cta .project-tile__label {
  color: var(--cyan-dark);
}

/* ============================================
   CONTACT
   ============================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-info__item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.contact-info__icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-info__item strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.15rem;
  font-size: 0.9rem;
}

.contact-info__item a,
.contact-info__item span {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
}

.contact-info__item a:hover { color: var(--cyan); }

.contact__route-btn {
  align-self: flex-start;
  margin-top: var(--space-xs);
}

/* Contact Form */
.contact__form-wrap {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.required { color: var(--error); }
.optional { color: var(--text-muted); font-weight: 400; }

.form-group {
  margin-bottom: var(--space-sm);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-heading);
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 44px;
}

.form-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(51, 189, 228, 0.15);
  outline: none;
}

.form-input.error {
  border-color: var(--error);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23888' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-error {
  display: block;
  font-size: 0.8rem;
  color: var(--error);
  margin-top: 0.25rem;
  min-height: 1.2em;
}

/* Custom Checkbox */
.form-group--checkbox { margin-top: var(--space-sm); }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.5;
}

.form-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-checkbox__mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 4px;
  margin-top: 0.15rem;
  position: relative;
  transition: all var(--transition);
  background: var(--bg-primary);
}

.form-checkbox input:checked + .form-checkbox__mark {
  background: var(--cyan);
  border-color: var(--cyan);
}

.form-checkbox input:checked + .form-checkbox__mark::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-checkbox input:focus-visible + .form-checkbox__mark {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.form-checkbox__text a {
  color: var(--cyan-dark);
  text-decoration: underline;
}

/* Form Feedback */
.form-feedback {
  margin-top: var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  text-align: center;
}

.form-feedback--success {
  background: rgba(39, 174, 96, 0.1);
  color: var(--success);
  border: 1px solid rgba(39, 174, 96, 0.2);
}

.form-feedback--error {
  background: rgba(231, 76, 60, 0.1);
  color: var(--error);
  border: 1px solid rgba(231, 76, 60, 0.2);
}

/* Map */
.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.map {
  width: 100%;
  height: 350px;
  background: var(--bg-secondary);
}

@media (min-width: 768px) {
  .map { height: 400px; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer__top {
  text-align: center;
  margin-bottom: var(--space-md);
}

.footer__logo {
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.footer__logo img {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
}

.footer__tagline {
  font-size: 0.95rem;
  color: var(--text-body);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.footer__nav a {
  font-size: 0.9rem;
  color: var(--text-body);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--cyan-dark); }

.footer__bottom {
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   RESPONSIVE REFINEMENTS
   ============================================ */
@media (max-width: 480px) {
  .hero__title { font-size: 1.6rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

@media (min-width: 1440px) {
  :root { font-size: 17px; }
  .container { max-width: 1200px; }
}

/* ============================================
   ✨ MODERN UPGRADE — Cyan Depth & Effects
   (angehängt — überschreibt nichts, ergänzt nur)
   ============================================ */

/* ─── Weiche Cyan-Verläufe statt flachem Weiß ─── */
.section--white {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(51,189,228,0.06), transparent 60%),
    radial-gradient(900px 450px at 0% 110%, rgba(51,189,228,0.05), transparent 55%),
    var(--bg-primary);
}

.section--tinted {
  background:
    radial-gradient(1000px 500px at 10% -10%, rgba(51,189,228,0.08), transparent 60%),
    linear-gradient(180deg, #f4fafd 0%, var(--bg-secondary) 100%);
  position: relative;
}

/* Feine Trennlinie zwischen Sektionen — dezenter Cyan-Schimmer */
.section + .section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(51,189,228,0.25), transparent);
}
.section { position: relative; }

/* ─── Dezentes Punkteraster im Hintergrund der getönten Sektionen ─── */
.section--tinted::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(51,189,228,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 75%);
}
.section--tinted .container { position: relative; z-index: 1; }

/* ─── Service-Karten: mehr Tiefe & edler Hover ─── */
.service-card {
  position: relative;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow:
    0 1px 2px rgba(45,52,54,0.04),
    0 8px 24px rgba(45,52,54,0.06);
  overflow: hidden;
}

/* Akzentlinie oben, die beim Hover erscheint */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 2px 4px rgba(45,52,54,0.05),
    0 18px 40px rgba(51,189,228,0.18);
}

/* Icon-Fläche mit sanftem Verlauf + Zoom beim Hover */
.service-card__icon {
  background: linear-gradient(135deg, var(--cyan-light), rgba(51,189,228,0.18));
  transition: transform 400ms var(--ease);
}
.service-card:hover .service-card__icon {
  transform: scale(1.08) rotate(-3deg);
}

/* ─── Trust-Karten (Hero): Glaseffekt & feiner Rand ─── */
.trust-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow:
    0 1px 2px rgba(45,52,54,0.04),
    0 10px 30px rgba(51,189,228,0.10);
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 2px 4px rgba(45,52,54,0.05),
    0 16px 36px rgba(51,189,228,0.16);
}

/* ─── Hero: langsam schwebende Formen (lebendiger) ─── */
.hero__shape--1 { animation: float-slow 18s ease-in-out infinite; }
.hero__shape--2 { animation: float-slow 22s ease-in-out infinite reverse; }
.hero__shape--3 { animation: float-slow 26s ease-in-out infinite; }

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(20px, -25px); }
}

/* ─── Buttons: edler Glanz beim Hover ─── */
.btn--primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  box-shadow: 0 4px 14px rgba(51,189,228,0.28);
}
.btn--primary:hover {
  box-shadow: 0 8px 24px rgba(51,189,228,0.40);
}

/* ─── About-Zitat: etwas mehr Präsenz ─── */
.about__quote {
  background: linear-gradient(135deg, var(--cyan-light), rgba(51,189,228,0.06));
  box-shadow: 0 8px 24px rgba(51,189,228,0.08);
}

/* ─── Section-Label: kleiner Cyan-Punkt davor ─── */
.section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  margin-right: 8px;
  vertical-align: middle;
}

/* ─── Instagram-Widget: eingebettet mit weichem Rahmen ─── */
.instagram-widget {
  box-shadow: 0 8px 32px rgba(45,52,54,0.06);
  background: rgba(255,255,255,0.5);
  padding: 6px;
}

/* ─── Karte: feiner Cyan-Rand ─── */
.contact__map {
  box-shadow:
    0 8px 32px rgba(51,189,228,0.10),
    0 2px 8px rgba(45,52,54,0.05);
}

/* ─── Footer: dezenter Cyan-Verlauf oben ─── */
.footer {
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(51,189,228,0.06), transparent 60%),
    var(--bg-secondary);
}

/* Bewegungsreduzierung respektieren */
@media (prefers-reduced-motion: reduce) {
  .hero__shape--1,
  .hero__shape--2,
  .hero__shape--3 { animation: none !important; }
}
