:root {
  --body-bg-color: #f8fafc;
  --body-bg-gradient1: #f8fafc;
  --body-bg-gradient2: #e2e8f0;
  --body-text-color: #222222;
  --heading-color: #222222;

  --footer-bg-color: #0d0d0d;
  --footer-bg-gradient1: #0d0d0d;
  --footer-bg-gradient2: #1f2937;
  --link-color: #2d57b3;
  --box-color: #dee8f7;
  --box-text-color: #1a1a1a;
  --header-bg-color: #F8FAFC;
  --font-family: 'Century Gothic', Arial, sans-serif;
  --nav-link-color: #141414;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffffff;
}
html {
  overflow-x: hidden;
}
body {
  background-color: var(--body-bg-color);
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1 {
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
}
h2 {
    font-size: clamp(1.6rem, 3vw, 2rem) !important;
}
h3 {
    font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}
  section {
  padding: 15px 0;
  scroll-margin-top: 70px;
}
h2, h3 {
  color: var(--heading-color);
}
.content-area a {
  color: var(--link-color);
  text-decoration: underline;
}
.content-area a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}
.content-area section {
  margin: 15px 0;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.main-section-style-centered-line {
  text-align: center;
}
.main-section-style-centered-line h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--link-color);
  margin: 0.5rem auto 0;
}
.main-section-style-h3-grid .main-section-h3-grid {
  margin-top: 1rem;
}
.main-section-style-h3-grid .box {
  height: 100%;
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--box-text-color, #ffffff) 18%, transparent);
  background: var(--box-color);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
.main-section-style-h3-grid .box,
.main-section-style-h3-grid .box :is(h2, h3, h4, h5, h6, p, li, span, strong, em, td, th, a) {
  color: var(--box-text-color, #ffffff) !important;
}
.main-section-style-h3-grid .box a {
  text-decoration: underline !important;
}
.main-section-style-h3-grid .box a:hover {
  color: var(--box-text-color, #ffffff) !important;
  opacity: 0.8;
}
.main-section-style-h3-grid .box :is(small, .text-muted) {
  color: color-mix(in srgb, var(--box-text-color, #ffffff) 72%, var(--box-color)) !important;
}
.main-section-style-h3-grid .box hr {
  border-color: color-mix(in srgb, var(--box-text-color, #ffffff) 25%, transparent);
  opacity: 1;
}
.main-section-style-soft {
  padding: 1.5rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--body-bg-color) 84%, #ffffff);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}
.main-section-style-contrast {
    padding: 1.75rem;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        #f4f8fd 0%,
        #dee8f7 55%,
        #e8f0fa 100%
    );
    border: 1px solid rgba(126, 157, 199, 0.22);
    box-shadow:
        0 8px 28px rgba(60, 91, 130, 0.08),
        0 2px 6px rgba(60, 91, 130, 0.04);
    color: #33445c;
}
.main-section-style-contrast,
.main-section-style-contrast :is(
    h2, h3, h4, h5, h6,
    p, li, span, strong, em,
    td, th, a
) {
    color: #33445c !important;
}
.main-section-style-contrast :is(h2, h3, h4, h5, h6) {
    color: #263b56 !important;
}
.main-section-style-contrast a {
    color: #456b9b !important;
    text-decoration: underline;
    text-decoration-color: rgba(69, 107, 155, 0.4);
    text-underline-offset: 3px;
    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}
.main-section-style-contrast a:hover {
    color: #294d7a !important;
    text-decoration-color: #294d7a;
}
.main-section-style-contrast :is(small, .text-muted) {
    color: #6f8199 !important;
}
.main-section-style-contrast hr {
    border: 0;
    border-top: 1px solid rgba(74, 105, 145, 0.18);
    opacity: 1;
}
.main-section-style-contrast :is(td, th) {
    border-color: rgba(74, 105, 145, 0.15) !important;
}
.main-section-style-contrast {
    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}
.main-section-style-contrast:hover {
    box-shadow:
        0 12px 36px rgba(60, 91, 130, 0.11),
        0 3px 8px rgba(60, 91, 130, 0.05);
}
.sidebar-search-box {
  width: 279px;
  margin-bottom: 15px;
}
.sidebar-search-box h3 {
  margin: 0 0 20px;
  font-weight: 700;
  color: var(--body-text-color) !important;
}
.sidebar-search-box form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-search-box input[type="search"],
.sidebar-search-box input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: #ffffff;
  color: #222222 !important;
  font-size: 0.95rem;
  font-family: var(--font-family);
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.sidebar-search-box input[type="search"]:focus,
.sidebar-search-box input[type="email"]:focus {
  border-color: var(--link-color);
  box-shadow: 0 0 0 4px rgba(176, 54, 54, 0.12);
}
.sidebar-search-box input[type="search"]::placeholder,
.sidebar-search-box input[type="email"]::placeholder {
  color: rgba(0, 0, 0, 0.45);
}
.sidebar-search-box button {
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--box-color);
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 6px 18px rgba(59, 104, 91, 0.25);
}
      .sidebar-links {
  width: 279px;
  margin-bottom: 15px;
}
.sidebar-links h3 {
  margin: 0 0 20px;
  font-weight: 700;
}
.sidebar-page-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-page-list li {
  list-style: none;
}
.sidebar-page-list a {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--body-text-color);
  background: transparent;
  font-size: 0.98rem;
  font-weight: 500;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}
.sidebar-page-list a:hover {
  background: rgba(176, 54, 54, 0.08);
  color: var(--link-color);
  transform: translateX(4px);
}
.sidebar-page-list a.active {
  background: var(--box-color);
  color: white;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(59, 104, 91, 0.25);
}
      .twitter-tweet {
  width: 279px !important;
}
.x {
  display: flex;
  justify-content: center;
}
.error_page {
  min-height: 70vh;
}
.footer {
  background:
    linear-gradient(
      135deg,
      #17365D 0%,
      #234E7D 55%,
      #2F628F 100%
    );
  color: #F7FAFF;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 -10px 35px rgba(20, 45, 80, 0.18);
}
.footer a {
  text-decoration: none;
  color: #DCE9F8 !important;
  transition: color 0.25s ease, opacity 0.25s ease;
}
.footer a:hover {
  color: #FFFFFF !important;
  opacity: 1;
}
.footer::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    rgba(222,232,247,0.18) 0%,
    rgba(222,232,247,0.06) 45%,
    transparent 72%
  );
  pointer-events: none;
}
 .navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: var(--header-bg-color) !important;
}
.hero-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow:
        0 18px 45px rgba(31, 55, 90, 0.18);
    isolation: isolate;
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(24, 48, 82, 0.72) 0%,
            rgba(42, 77, 120, 0.52) 45%,
            rgba(65, 105, 150, 0.28) 100%
        );
    z-index: -1;
}
.hero-section::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(
        circle,
        rgba(222, 232, 247, 0.28) 0%,
        rgba(222, 232, 247, 0.08) 45%,
        transparent 72%
    );
    filter: blur(18px);
    pointer-events: none;
    z-index: -1;
    animation: heroGlow 7s ease-in-out infinite alternate;
}
.hero-section h1 {
    color: #ffffff !important;
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.03em;
    max-width: 1150px;
    margin: 0 auto 22px;
    text-shadow:
        0 3px 18px rgba(0, 0, 0, 0.32),
        0 1px 3px rgba(0, 0, 0, 0.35);
    animation: heroTitleIn 0.9s cubic-bezier(.22,.61,.36,1) both;
}
.hero-section p {
    color: rgba(255, 255, 255, 0.94) !important;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.75;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.3);
    animation: heroTextIn 1s 0.18s cubic-bezier(.22,.61,.36,1) both;
}
.hero-section strong {
    color: #ffffff !important;
    font-weight: 700;
}
.hero-section .container,
.hero-section .inner-wrap {
    position: relative;
    z-index: 2;
}
@keyframes heroTitleIn {
    from {
        opacity: 0;
        transform: translateY(22px);
        filter: blur(7px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}
@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes heroGlow {
    from {
        transform: translateY(-50%) scale(0.92);
        opacity: 0.6;
    }
    to {
        transform: translateY(-50%) scale(1.08);
        opacity: 1;
    }
}
@media (max-width: 768px) {
    .hero-section {
        padding: 75px 20px;
    }
    .hero-section h1 {
        font-size: clamp(2rem, 9vw, 3rem);
        line-height: 1.12;
    }
    .hero-section p {
        font-size: 1rem;
        line-height: 1.65;
    }
}
.hero-section.with-bg {
  background-image: url('/images/anasthesie-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-section.with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.473));
  opacity: 0.5;
  z-index: 1;
}
.hero-section .container {
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }
}
.navbar-light .navbar-nav .nav-link {
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  padding: 0 1rem;
  transition: color 0.3s ease, transform 0.2s ease;
}
.navbar-light .navbar-nav .nav-link:hover {
  color: var(--link-color) !important;
  transform: translateY(-1px);
}
  .navbar-light .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: 600;
  border-bottom: 2px solid var(--link-color);
}
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 61px;
    left: 15px;
    right: 15px;
    background-color: color-mix(
      in srgb,
      var(--header-bg-color) 65%,
      transparent
    );
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
    margin: 0;
  }
  .navbar-nav {
    width: 100%;
  }
  .navbar-nav .nav-item {
    margin: 7px 0;
  }
  .navbar-nav .nav-item:hover {
    transform: translateY(-1px);
  }
  .navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0;
  }
  .navbar-toggler {
    z-index: 10000;
    position: relative;
    border: var(--bs-border-width) solid var(--nav-link-color, #141414) !important;
  }
}
.custom-dropdown {
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 65%,
    transparent
  ) !important;
  backdrop-filter: blur(12px);
}
.custom-dropdown .dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  border-radius: 0;
  text-wrap: wrap;
}
.dropdown-menu {
  display: none;
}
.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 95%,
    transparent
  ) !important;
}
.nav-item.dropdown > .nav-link {
  display: flex;
  align-items: center;
}
.nav-item.dropdown > .nav-link .arrow {
  position: relative;
  margin-left: auto;
  border: solid var(--nav-link-color, #141414);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.25s;
}
.dropdown.open .dropdown-menu {
  display: block;
}
@media (min-width: 1200px) {
  .nav-item.dropdown {
    position: relative;
  }
  .nav-item.dropdown > .nav-link .arrow {
    margin-left: 7px;
  }
  .custom-dropdown.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    z-index: 1000;
  }
  .nav-item.dropdown:hover > .nav-link .arrow {
    transform: rotate(-135deg);
  }
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
  }
}
@media (max-width: 1199px) {
  .nav-item.dropdown > .nav-link .arrow {
    padding: 4px;
  }
}
.newsletter-section {
  background: #ffffff;
  border: 1px solid #e3e7ed;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.newsletter-section h3 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 700;
  color: #111111;
}
.newsletter-section p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.5;
  color: #555555;
}
.newsletter-section .form-control {
  width: 100%;
  height: 50px;
  margin-bottom: 12px;
  padding: 0 14px;
  border: 1px solid #dcdfe4;
  border-radius: 10px;
  background: #ffffff;
  color: #222222;
  font-size: 14px;
  box-shadow: none;
}
.newsletter-section .form-control::placeholder {
  color: #9a9a9a;
}
.newsletter-section .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}
.newsletter-section .btn-newsletter {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 10px;
  background: #dbe7f7;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: not-allowed;
  opacity: 1;
}
.newsletter-section small {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: #8b8b8b;
}
.main-styled {
  position: relative;
  color: #2c3f56;
  font-size: 1.06rem;
  line-height: 1.9;
  letter-spacing: 0.002em;
}
.main-styled h2 {
  position: relative;
  margin: 0 0 2.4rem;
  padding: 0 0 1.15rem;
  color: #183d68;
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.8),
    0 8px 24px rgba(40, 78, 120, 0.08);
  animation: premiumTitleIn 0.8s ease both;
}
.main-styled h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 84px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      #9fbce0 0%,
      #4f78ab 50%,
      #b9cdea 100%
    );
  box-shadow:
    0 4px 12px rgba(62, 103, 151, 0.2);
}
.main-styled h2::before {
  content: "ANÄSTHESIE";
  display: block;
  margin-bottom: 0.7rem;
  color: #6d91bd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.main-styled h3 {
  position: relative;
  margin: 2.8rem 0 1rem;
  padding-left: 1.25rem;
  color: #234b77;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 550;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-wrap: balance;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}
.main-styled h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 4px;
  height: calc(100% - 0.3em);
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      #6d96c5,
      #b7cbe6
    );
  box-shadow:
    0 0 14px rgba(90, 130, 180, 0.2);
}
.main-styled h3:hover {
  color: #173f6d;
  transform: translateX(3px);
}
.main-styled p {
  position: relative;
  margin: 0 0 1.45rem;
  color: #3d5066;
  font-size: 1.03em;
  line-height: 1.9;
  text-wrap: pretty;
}
.main-styled h2 + img + p {
  color: #30475f;
  font-size: 1.1rem;
  line-height: 1.9;
  font-weight: 400;
}
.main-styled strong {
  color: #193f69;
  font-weight: 700;
  background:
    linear-gradient(
      transparent 65%,
      rgba(180, 205, 235, 0.38) 65%
    );
  padding: 0 0.08em;
}
.main-styled a {
  position: relative;
  color: #3569a3;
  font-weight: 600;
  text-decoration: none;
  background:
    linear-gradient(
      to right,
      rgba(184, 207, 235, 0.45),
      rgba(184, 207, 235, 0.45)
    )
    no-repeat 0 100% / 100% 1px;
  transition:
    color 0.25s ease,
    background-size 0.25s ease,
    background-color 0.25s ease;
}
.main-styled a:hover {
  color: #183f6f;
  background-size: 100% 100%;
  background-color: rgba(222, 232, 247, 0.35);
}
.main-styled h3 + p {
  padding-left: 1.25rem;
  border-left: 1px solid rgba(111, 148, 190, 0.18);
}
.main-styled p + h3 {
  padding-top: 0.3rem;
}
.main-styled p:nth-of-type(2n) {
  position: relative;
}
.main-styled ::selection {
  background: #dce8f7;
  color: #17395f;
}
@keyframes premiumTitleIn {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
.main-styled p,
.main-styled h3 {
  animation: premiumTextIn 0.65s ease both;
}
@keyframes premiumTextIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .main-styled {
    font-size: 1rem;
    line-height: 1.8;
  }
  .main-styled h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .main-styled h2::before {
    font-size: 0.66rem;
  }
  .main-styled h3 {
    margin-top: 2.2rem;
    font-size: 1.45rem;
  }
  .main-styled h3 + p {
    padding-left: 1rem;
  }
}