
/*
Theme Name: Bridge Child
Theme URI: http://bridgelanding.qodeinteractive.com/
Description: A child theme of Bridge Theme
Author: Qode Interactive
Author URI: https://qodeinteractive.com
Version: 1.0.0
Text Domain: bridge
Template: bridge
*/

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

/* ==========================================
   01. FTA DESIGN SYSTEM
   ========================================== */

:root {

  /* Farben */
  --fta-bg: #0b111c;
  --fta-bg-top: #0c1422;
  --fta-bg-glow: #2c3e54;
  --fta-bg-glow-bottom: #202f43;

  --fta-white: #f8fafc;
  --fta-blue: #76adfa;
  --fta-blue-dark: #2763ad;
  --fta-blue-hover: #367ed0;
  --fta-muted: #b7c5d9;

  --fta-line: rgba(255,255,255,.22);

  /* Schriften */
  --fta-font-body: 'DM Sans', Arial, sans-serif;
  --fta-font-heading: 'Outfit', Arial, sans-serif;

  --fta-title-size: clamp(42px, 4.6vw, 66px);
  --fta-title-weight: 800;
  --fta-text-size: clamp(16px, 1.35vw, 18px);

  /* Layout */
  --fta-content-width: 1400px;
  --fta-page-padding: 24px;
  --fta-hero-gap: 60px;
  --fta-section-space: 70px;
  --fta-nav-gap: 80px;

  /* Elemente */
  --fta-radius: 12px;
  --fta-transition: .25s ease;

  /* Animationen */
  --fta-float-speed: 5s;
  --fta-wave-speed: 4.5s;
  --fta-spin-speed: 80s;
}

/* ==========================================
   02. GLOBALER HINTERGRUND
   ========================================== */

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;

  background:
    radial-gradient(
      ellipse 56% 65% at 84% 46%,
      var(--fta-bg-glow) 0%,
      transparent 68%
    ),
    radial-gradient(
      ellipse 70% 90% at 0% 110%,
      var(--fta-bg-glow-bottom) 0%,
      transparent 75%
    ),
    linear-gradient(
      135deg,
      var(--fta-bg-top),
      var(--fta-bg) 74%
    ) !important;

  background-attachment: fixed !important;
}

/* ==========================================
   03. BRIDGE – TRANSPARENTE HINTERGRÜNDE
   ========================================== */

body .wrapper,
body .wrapper_inner,
body .content,
body .content_inner,
body .full_width,
body .full_width_inner,
body .container,
body .container_inner {
  background-color: transparent !important;
}

body header,
body .header_top_bottom_holder,
body .header_bottom,
body .header_bottom .container,
body .header_bottom .container_inner,
body .header_inner_left,
body .header_inner_right {
  background: transparent !important;
}

body header.sticky .header_bottom,
body header.scrolled .header_bottom {
  background: transparent !important;
}

body footer,
body .footer_inner,
body .footer_top_holder,
body .footer_bottom_holder {
  background: transparent !important;
}

/* ==========================================
   04. MITGLIEDERKARTE – LICHTSCHEIN
   ========================================== */

.bg .fta-directory {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.bg .fta-directory::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;

  top: 5%;
  left: -5%;
  width: 110%;
  height: 100%;

  background: radial-gradient(
    ellipse at center,
    rgba(95,156,235,.30) 0%,
    rgba(65,117,190,.15) 40%,
    transparent 75%
  );

  filter: blur(55px);
}

.bg .fta-layout {
  position: relative;

  box-shadow:
    0 25px 65px rgba(0,0,0,.25),
    0 0 55px rgba(95,156,235,.10);
}

/* ==========================================
   05. FTA STARTSEITE – BASIS
   ========================================== */

/*
  Eigene Breite, unabhängig vom
  eventuell schmaleren Bridge-Container.
*/

.fta-home {
  position: relative;
  left: 50%;
  transform: translateX(-50%);

  width: calc(100vw - 48px);
  max-width: var(--fta-content-width);

  margin: 0;

  color: var(--fta-white);
  font-family: var(--fta-font-body);
}

.fta-home,
.fta-home * {
  box-sizing: border-box;
}

.fta-home__content {
  min-width: 0;
}

/* ==========================================
   06. HERO – DESKTOP
   ========================================== */

.fta-home__hero {
  display: grid;

  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(0, .9fr);

  align-items: center;
  gap: var(--fta-hero-gap);
}

/* Eyebrow */

.fta-home__eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;

  margin: 0 0 23px;

  color: var(--fta-blue);
  font-family: var(--fta-font-body);

  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;

  text-transform: uppercase;
  letter-spacing: 3px;
}

.fta-home__eyebrow::before {
  content: "";
  display: block;

  width: 35px;
  height: 2px;

  flex: 0 0 35px;
  background: var(--fta-blue);
}

/* ==========================================
   07. HEADLINE
   ========================================== */

.fta-home h1 {
  margin: 0 0 24px;

  color: var(--fta-white);
  font-family: var(--fta-font-heading);

  font-size: var(--fta-title-size);
  font-weight: var(--fta-title-weight);
  line-height: 1.10;
  letter-spacing: -.05em;
}

.fta-home__title-line {
  display: block;
  font-weight: inherit;
  font-style: normal;
  white-space: nowrap;
}

.fta-home .fta-home__title-blue {
  color: var(--fta-blue);
  font-weight: inherit;
  font-style: normal;
}

/* ==========================================
   08. BESCHREIBUNG
   ========================================== */

.fta-home__intro {
  max-width: 620px;
  margin: 0 0 30px;

  color: var(--fta-muted);
  font-family: var(--fta-font-body);

  font-size: var(--fta-text-size);
  font-weight: 400;
  line-height: 1.75;
}

/* ==========================================
   09. MITGLIEDERSUCHE
   ========================================== */

.fta-home__search {
  width: 100%;
  max-width: 525px;
  min-height: 58px;

  display: flex;
  align-items: center;

  margin: 0;
  padding: 0;

  border: 1px solid #cdd9e9;
  border-radius: var(--fta-radius);

  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.13);

  overflow: hidden;
}

.fta-home__search svg {
  width: 19px;
  height: 19px;

  margin-left: 18px;
  flex: 0 0 19px;

  color: #6584a9;
  stroke: currentColor;
}

.fta-home__search input {
  flex: 1;
  min-width: 0;

  width: 100%;
  height: auto !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 16px 12px !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  outline: none;
  color: #15283f !important;

  font-family: var(--fta-font-body) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

.fta-home__search input::placeholder {
  color: #71849c;
}

.fta-home__search button {
  flex: 0 0 auto;

  min-height: 46px;
  margin: 5px;
  padding: 11px 16px;

  border: 0;
  border-radius: 8px;

  background: var(--fta-blue-dark);
  color: #fff;

  font-family: var(--fta-font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;

  white-space: nowrap;
  cursor: pointer;

  transition: background var(--fta-transition);
}

.fta-home__search button:hover,
.fta-home__search button:focus-visible {
  background: var(--fta-blue-hover);
}

/* ==========================================
   10. ANIMIERTER BAUTROCKNER
   ========================================== */

.fta-home__art {
  position: relative;

  width: 100%;
  max-width: 495px;
  aspect-ratio: 1 / 1;

  justify-self: center;

  display: grid;
  place-items: center;
}

.fta-home__art::before {
  content: "";
  position: absolute;
  inset: 3%;

  border-radius: 50%;
  border: 1px solid rgba(220,229,240,.07);
}

.fta-home__art::after {
  content: "";
  position: absolute;
  inset: 15%;

  border-radius: 50%;
  border: 1px dashed rgba(118,173,250,.25);

  animation:
    fta-spin var(--fta-spin-speed) linear infinite;
}

.fta-home__art .art-circle {
  position: absolute;
  inset: 10%;
  border-radius: 50%;

  background: radial-gradient(
    circle at 50% 54%,
    rgba(37,52,72,.8),
    transparent 70%
  );
}

.fta-home__art svg {
  position: relative;
  z-index: 2;

  display: block;
  width: 100%;
  overflow: visible;

  filter: drop-shadow(
    0 30px 35px rgba(0,0,0,.25)
  );
}

.fta-home__art .float {
  animation:
    fta-float var(--fta-float-speed)
    ease-in-out infinite;

  transform-origin: center;
}

.fta-home__art .wave {
  animation:
    fta-wave var(--fta-wave-speed)
    ease-in-out infinite;

  transform-origin: center;
}

.fta-home__art .wave.second {
  animation-delay: -1.2s;
}

@keyframes fta-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes fta-wave {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(7px);
  }
}

@keyframes fta-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================
   11. SCHNELLNAVIGATION – DESKTOP
   ========================================== */

.fta-home__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;

  gap: var(--fta-nav-gap);

  margin-top: var(--fta-section-space);
  padding: 0;

  border: 0;
}

.fta-home__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;

  width: auto;
  gap: 30px;

  margin: 0;
  padding: 0 0 14px;

  background: transparent !important;

  border: 0;
  border-bottom: 1px solid var(--fta-line);

  color: var(--fta-white);
  text-decoration: none !important;

  transition:
    color var(--fta-transition),
    border-color var(--fta-transition);
}

.fta-home__nav a > span:first-child {
  font-family: var(--fta-font-heading);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;

  letter-spacing: -.02em;
  white-space: nowrap;
}

.fta-home__nav .arrow {
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;

  color: var(--fta-blue);

  transition: transform var(--fta-transition);
}

.fta-home__nav a:hover,
.fta-home__nav a:focus-visible {
  color: var(--fta-blue);
  border-bottom-color: var(--fta-blue);
}

.fta-home__nav a:hover .arrow {
  transform: translate(3px, -3px);
}

/* ==========================================
   12. TABLET – BIS 1024 PX
   ========================================== */

@media (max-width: 1024px) {

  :root {
    --fta-hero-gap: 30px;
    --fta-nav-gap: 45px;
    --fta-section-space: 48px;
  }

  .fta-home h1 {
    font-size: clamp(38px, 5vw, 54px);
  }

  .fta-home__nav a > span:first-child {
    font-size: 23px;
  }
}

/* ==========================================
   13. TABLET / MOBIL – BIS 820 PX
   ========================================== */

@media (max-width: 820px) {

  :root {
    --fta-hero-gap: 0px;
    --fta-section-space: 30px;
    --fta-nav-gap: 0px;
  }

  .fta-home {
    width: calc(100vw - 32px);
    max-width: none;
  }

  .fta-home__hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .fta-home__content {
    width: 100%;
    min-width: 0;
  }

  .fta-home__art {
    width: min(100%, 355px);
    max-width: 355px;
    margin: 14px auto 0;
  }

  .fta-home__nav {
    margin-top: 26px;
  }
}

/* ==========================================
   14. SMARTPHONE – BIS 600 PX
   ========================================== */

@media (max-width: 600px) {

  :root {
    --fta-title-size: clamp(38px, 9.5vw, 48px);
    --fta-title-weight: 800;
    --fta-text-size: 17px;
  }

  /*
   Volle verfügbare Breite mit
   16 px Abstand auf beiden Seiten.
  */

  .fta-home {
    width: calc(100vw - 32px);
    max-width: none;
  }

  /* Eyebrow */

  .fta-home__eyebrow {
    align-items: flex-start;
    gap: 12px;

    margin: 0 0 22px;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 1.8px;
  }

  .fta-home__eyebrow::before {
    width: 26px;
    flex: 0 0 26px;
    margin-top: 8px;
  }

  /* Headline */

  .fta-home h1 {
    font-size: var(--fta-title-size);
    font-weight: var(--fta-title-weight);
    line-height: 1.09;
    letter-spacing: -.05em;

    margin: 0 0 25px;
  }

  .fta-home__title-line {
    display: block;
    white-space: normal;
  }

  /* Beschreibung */

  .fta-home__intro {
    max-width: 100%;

    margin: 0 0 27px;

    font-size: var(--fta-text-size);
    line-height: 1.7;
  }

  /* Suche */

  .fta-home__search {
    width: 100%;
    max-width: none;
    min-height: 58px;
  }

  .fta-home__search svg {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
    margin-left: 14px;
  }

  .fta-home__search input {
    min-width: 0;
    padding: 13px 10px !important;
    font-size: 15px !important;
  }

  .fta-home__search button {
    min-height: 46px;

    padding: 12px 13px;
    margin: 5px;

    font-size: 13px;
  }

  /* Bautrockner */

  .fta-home__art {
    width: min(100%, 335px);
    max-width: 335px;

    margin: 12px auto 0;
  }

  /* Schnellnavigation */

  .fta-home__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 0;
    width: 100%;

    margin-top: 22px;
  }

  .fta-home__nav a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;

    width: auto;
    max-width: 100%;
    gap: 30px;

    margin: 0;
    padding: 17px 0;

    border-bottom: 1px solid var(--fta-line);
  }

  .fta-home__nav a > span:first-child {
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
  }

  .fta-home__nav .arrow {
    font-size: 24px;
  }
}

/* ==========================================
   15. KLEINE SMARTPHONES – BIS 390 PX
   ========================================== */

@media (max-width: 390px) {

  :root {
    --fta-title-size: clamp(34px, 9.5vw, 39px);
    --fta-text-size: 16px;
  }

  .fta-home__eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .fta-home__search input {
    font-size: 14px !important;
  }

  .fta-home__search button {
    padding: 11px 10px;
    font-size: 12px;
  }

  .fta-home__art {
    max-width: 310px;
  }

  .fta-home__nav a > span:first-child {
    font-size: 23px;
  }
}

/* ==========================================
   16. ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {

  .fta-home__art .float,
  .fta-home__art .wave,
  .fta-home__art::after {
    animation: none !important;
  }

  .fta-home__nav a,
  .fta-home__nav .arrow {
    transition: none;
  }
}

/* ==========================================
   ENDE FTA STYLES
   ========================================== */
