:root {
  --bg: #f6f4f1;
  --bg-soft: #fcfbf9;
  --text: #1b1f2a;
  --text-soft: #61697a;
  --line: rgba(27, 31, 42, 0.10);

  /* Farben der serbischen Flagge, modern interpretiert */
  --primary: #0c2d83;
  --primary-dark: #081f5c;
  --accent: #c6363c;
  --accent-dark: #97262b;
  --white: #ffffff;

  --shadow: 0 18px 60px rgba(17, 23, 35, 0.10);
  --radius: 18px;
}

html,
body {
  background: var(--bg);
  color: var(--text);
}

body,
input,
select,
textarea,
li,
p {
  color: var(--text);
}

a {
  color: var(--primary);
}

a:hover {
  color: var(--accent);
}

/* =========================
   HEADER
========================= */

.wrapper.style1 {
  background: #0b1428;
}

#header {
  background: rgba(11, 20, 40, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  min-height: 88px;
}

#logo {
  white-space: nowrap;
  margin-right: 1.5rem;
  color: #fff !important;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#nav {
  margin-left: auto;
}

#nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

#nav ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}

#nav ul li a {
  white-space: nowrap;
  display: inline-block;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

#nav ul li a:hover,
#nav ul li a.nav-active,
#nav ul li.active a {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* =========================
   HERO / BANNER
========================= */

#banner {
  min-height: 72vh;
  position: relative;
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}

#banner:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7, 12, 24, 0.86) 0%,
      rgba(7, 12, 24, 0.66) 34%,
      rgba(7, 12, 24, 0.26) 60%,
      rgba(7, 12, 24, 0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 12, 24, 0.18) 0%,
      rgba(7, 12, 24, 0.44) 100%
    );
}

#banner .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
}

#banner .center-vh {
  left: 0;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  width: min(92vw, 700px);
  text-align: left !important;
  padding: 1.5rem 1.5rem 1.3rem;
  background: rgba(7, 12, 24, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  backdrop-filter: blur(6px);
}

#banner .center-vh > * {
  max-width: 500px;
}

#banner .container h2,
#banner .center-vh h2 {
  background: none !important;
  color: #fff;
  display: block !important;
  font-size: clamp(1.9rem, 4vw, 3.35rem);
  line-height: 1.16 !important;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  padding: 0 !important;
  text-transform: none;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
  max-width: 500px;
}

#banner .container .follower,
#banner .container .blurb,
#banner .center-vh .follower,
#banner .center-vh .blurb {
  display: block !important;
  background: none !important;
  color: rgba(255, 255, 255, 0.90);
  font-size: 1.03rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  margin: 0 0 0.9rem;
  padding: 0 !important;
  text-transform: none;
  max-width: 500px;
}

#banner .container .blurb,
#banner .center-vh .blurb {
  color: rgba(255, 255, 255, 0.82);
}

/* =========================
   GLOBAL CONTENT
========================= */

#main {
  padding-top: 0;
}

#content .container,
.wrapper .container {
  max-width: 1200px;
}

header.major {
  text-align: center;
  margin-bottom: 2.5rem;
}

header.major h1,
header.major h2 {
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-transform: none;
}

header.major .byline,
.byline {
  color: var(--text-soft);
  font-size: 1.12rem;
  line-height: 1.75;
}

.wrapper.callout,
.wrapper.portals,
.wrapper.hooks,
.wrapper.style4.plain,
.socials {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.wrapper.callout {
  background: var(--bg-soft);
}

.wrapper.callout .container {
  max-width: 920px;
  text-align: center;
}

.wrapper.callout p {
  color: var(--text-soft);
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 860px;
}

/* =========================
   HOOKS / USP BOXEN
========================= */

.wrapper.hooks {
  background: var(--white);
  overflow: hidden;
}

.wrapper.hooks .container {
  overflow: visible;
}

.hooks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.hook-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  min-width: 0;
  overflow: hidden;
}

.hook-card .major {
  margin: 0 0 1rem 0 !important;
  padding: 0 !important;
  text-align: left;
}

.hook-card .major h2 {
  font-size: 1.25rem;
  text-align: left !important;
  margin: 0 0 0.85rem 0 !important;
  padding: 0 !important;
}

.hook-card .major .byline {
  display: block !important;
  text-align: left;
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0 !important;
  padding: 0 !important;
}

.hook-card-actions {
  margin-top: 1.25rem;
  text-align: left;
}

/* =========================
   LEISTUNGEN GRID
========================= */

.wrapper.style4.plain {
  background: var(--bg);
}

.special-icons.grid-default {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.special-icons.grid-default li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: left;
}

.special-icons.grid-default li .fa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 999px;
  background: rgba(12, 45, 131, 0.08);
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.special-icons.grid-default h3 {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  text-transform: none;
}

.special-icons.grid-default p {
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* =========================
   TEAM
========================= */

.wrapper.portals {
  background: linear-gradient(180deg, #0c2d83 0%, #091f57 100%);
  color: rgba(255, 255, 255, 0.92);
}

.wrapper.portals header.major {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.wrapper.portals header.major h2,
.wrapper.portals header.major .byline {
  color: rgba(255, 255, 255, 0.95);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.team-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 2rem 1.4rem;
  text-align: center;
  backdrop-filter: blur(6px);
  min-height: 100%;
}

.team-card .image {
  display: inline-block;
  margin-bottom: 1rem;
}

.team-card .image img {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 999px;
  border: 5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.10);
}

.team-name {
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.2;
  margin: 0.4rem 0 0.85rem;
  letter-spacing: -0.02em;
  word-break: normal;
  overflow-wrap: normal;
}

.team-role {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
  word-break: normal;
  overflow-wrap: break-word;
}

/* =========================
   BUTTONS
========================= */

.button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 999px;
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 1rem 1.45rem;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* =========================
   FOOTER
========================= */

.socials {
  background: #081225;
  color: rgba(255, 255, 255, 0.9);
}

.socials .major h2,
.socials .major .byline {
  color: rgba(255, 255, 255, 0.92);
}

.socials .icons li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.socials .icons li a .fa,
.socials .icons li a:before,
.socials .icons li a:after {
  color: rgba(255, 255, 255, 0.92) !important;
  opacity: 1 !important;
}

.socials .icons li a:hover,
.socials .icons li a:focus,
.socials .icons li a:active {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(198, 54, 60, 0.22);
}

.socials .icons li a:hover .fa,
.socials .icons li a:focus .fa,
.socials .icons li a:active .fa,
.socials .icons li a:hover:before,
.socials .icons li a:focus:before,
.socials .icons li a:active:before {
  color: #ffffff !important;
}

.socials-links,
.socials ul.menu {
  opacity: 1;
}

.socials-links a,
.socials ul.menu a {
  color: rgba(255, 255, 255, 0.84);
}

.socials-links a:hover,
.socials ul.menu a:hover {
  color: #fff;
}

.footer-legal {
  background: #050d1b;
  color: rgba(255, 255, 255, 0.68);
  padding: 1rem 0 1.5rem;
  font-size: 0.92rem;
}

.footer-legal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal-company {
  color: rgba(255, 255, 255, 0.72);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.footer-legal-links a:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
  .hooks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .special-icons.grid-default,
  .wrapper.hooks .row.double {
    grid-template-columns: 1fr 1fr;
  }

  #banner .center-vh {
    width: min(94vw, 620px);
    padding: 1.3rem 1.2rem 1.1rem;
  }

  #banner .center-vh > * {
    max-width: 440px;
  }

  #banner .container h2,
  #banner .center-vh h2 {
    font-size: clamp(1.7rem, 4.8vw, 2.7rem);
    line-height: 1.16 !important;
    max-width: 440px;
  }

  #banner .container .follower,
  #banner .container .blurb,
  #banner .center-vh .follower,
  #banner .center-vh .blurb {
    max-width: 440px;
    font-size: 0.98rem;
  }

  .special-icons.grid-default {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 736px) {
  #banner {
    min-height: 62vh;
  }

  #banner .center-vh {
    width: calc(100% - 2rem);
    max-width: none;
    padding: 1.05rem 0.95rem 0.95rem;
  }

  #banner .center-vh > * {
    max-width: 100%;
  }

  #banner .container h2,
  #banner .center-vh h2 {
    font-size: 1.52rem;
    line-height: 1.18 !important;
    letter-spacing: -0.02em;
    max-width: 100%;
  }

  #banner .container .follower,
  #banner .container .blurb,
  #banner .center-vh .follower,
  #banner .center-vh .blurb {
    font-size: 0.96rem;
    line-height: 1.6;
    max-width: 100%;
  }

  .hooks-grid,
  .special-icons.grid-default,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .wrapper.callout,
  .wrapper.portals,
  .wrapper.hooks,
  .wrapper.style4.plain,
  .socials {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .team-name {
    font-size: 1.45rem;
  }

  .footer-legal-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* =========================
   GLOBAL BUTTON CONSISTENCY
   Einheitlicher Hover: ROT
========================= */

.button,
.button.alt,
input[type="button"],
input[type="reset"],
input[type="submit"],
button,
.actions .button,
input.button {
  background: var(--primary) !important;
  border: 1px solid var(--primary) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease !important;
}

/* auch Links, Icons und Text im Button immer weiß */
.button *,
.button.alt *,
.actions .button *,
input.button * {
  color: #ffffff !important;
}

/* Hover / Focus / Active überall gleich rot */
.button:hover,
.button:focus,
.button:active,
.button.alt:hover,
.button.alt:focus,
.button.alt:active,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="button"]:active,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="reset"]:active,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="submit"]:active,
button:hover,
button:focus,
button:active,
.actions .button:hover,
.actions .button:focus,
.actions .button:active,
input.button:hover,
input.button:focus,
input.button:active {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(198, 54, 60, 0.18) !important;
  transform: translateY(-1px);
}

/* auch bei Hover alles weiß halten */
.button:hover *,
.button:focus *,
.button:active *,
.button.alt:hover *,
.button.alt:focus *,
.button.alt:active *,
.actions .button:hover *,
.actions .button:focus *,
.actions .button:active * {
  color: #ffffff !important;
}

/* Outline-/Alt-Varianten neutralisieren */
.button.alt,
.actions .button.alt,
input.button.alt {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
}

/* In dunklen Bereichen ebenfalls gleich behandeln */
.socials .button,
.socials .button.alt,
.leistungen-page .button,
.leistungen-page .button.alt,
.referenzen-page .button,
.referenzen-page .button.alt,
.partner-page .button,
.partner-page .button.alt,
.contact-page .button,
.contact-page .button.alt {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
}

.socials .button:hover,
.socials .button:focus,
.socials .button:active,
.socials .button.alt:hover,
.socials .button.alt:focus,
.socials .button.alt:active,
.leistungen-page .button:hover,
.leistungen-page .button:focus,
.leistungen-page .button:active,
.leistungen-page .button.alt:hover,
.leistungen-page .button.alt:focus,
.leistungen-page .button.alt:active,
.referenzen-page .button:hover,
.referenzen-page .button:focus,
.referenzen-page .button:active,
.referenzen-page .button.alt:hover,
.referenzen-page .button.alt:focus,
.referenzen-page .button.alt:active,
.partner-page .button:hover,
.partner-page .button:focus,
.partner-page .button:active,
.partner-page .button.alt:hover,
.partner-page .button.alt:focus,
.partner-page .button.alt:active,
.contact-page .button:hover,
.contact-page .button:focus,
.contact-page .button:active,
.contact-page .button.alt:hover,
.contact-page .button.alt:focus,
.contact-page .button.alt:active {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #ffffff !important;
}

/* disabled sauber halten */
.button.disabled,
.button[disabled],
input[disabled],
button[disabled] {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}