html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.inner { max-width: 1200px; margin: 0 auto; width: 100%; }
a { color: inherit; }

nav {
  position: sticky; top: 0; z-index: 90;
  background: var(--blue-deep);
  padding: 0 40px;
}
nav .inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 68px;
}
.nav-logo {
  font-family: var(--serif); font-size: 17px; color: var(--bg-light);
  letter-spacing: 0.01em; text-decoration: none;
}
.nav-logo span {
  font-size: 10px; font-family: var(--sans); font-weight: 400;
  color: var(--blue-pale); display: block;
  letter-spacing: 0.14em; text-transform: uppercase; margin-top: 2px;
}
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 13px; color: var(--blue-pale); text-decoration: none;
  letter-spacing: 0.03em; transition: color 0.2s;
}
.nav-links a:hover { color: var(--bg-light); }
.nav-links .cta-nav {
  background: var(--accent); color: var(--white);
  padding: 9px 18px; border-radius: 4px; font-weight: 500;
}
.nav-links .cta-nav:hover { background: var(--accent-deep); color: var(--white); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--blue-pale); transition: all 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

section { padding: 110px 40px; }
.section-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  /* color: var(--blue-mid); margin-bottom: 18px; */
  color: var(--accent); margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
  /* .section-label::before { content: ''; display: block; width: 20px; height: 1px; background: var(--accent); } */
.section-label-light { color: var(--blue-pale); }
h2 {
  font-family: var(--serif); font-weight: 400; font-size: 44px;
  line-height: 1.15; color: var(--blue-deep);
  margin-bottom: 28px; letter-spacing: -0.01em;
}
h2.light { color: var(--bg-light); }
h2 em { font-style: italic; color: var(--blue-mid); }
h2.light em { color: var(--blue-pale); }
h3 {
  font-family: var(--serif); font-weight: 400; font-size: 24px;
  color: var(--blue-deep); margin-bottom: 12px; line-height: 1.2;
}

.btn-primary {
  background: var(--accent); color: var(--white);
  padding: 15px 28px; border-radius: 4px; font-size: 14px; font-weight: 500;
  text-decoration: none; letter-spacing: 0.03em; transition: background 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent-deep); }

.btn-ghost {
  font-size: 14px; text-decoration: none;
  border-bottom: 1px solid; padding-bottom: 3px;
  letter-spacing: 0.03em; transition: color 0.2s, border-color 0.2s;
  display: inline-block;
}

footer { background: var(--footer-bg); padding: 32px 40px; }
footer .inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 12px; color: rgba(147,184,196,0.6); font-weight: 300; }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 12px; color: rgba(147,184,196,0.6); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue-pale); }

.notfall-sticky {
  position: fixed; right: 24px; bottom: 24px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--white);
  border: none; cursor: pointer;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  padding: 13px 20px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(7,31,48,0.25);
  transition: background 0.2s, transform 0.2s;
}
.notfall-sticky:hover { background: var(--accent-deep); transform: translateY(-1px); }
.notfall-sticky-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--white);
  box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
  animation: notfallPulse 1.8s infinite;
}
@keyframes notfallPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.notfall-sticky-panel {
  position: fixed; right: 24px; bottom: 80px; z-index: 80;
  width: 300px; max-width: calc(100vw - 48px);
  background: var(--white); border-radius: 10px; padding: 20px 22px;
  box-shadow: 0 16px 40px rgba(7,31,48,0.22);
  border: 0.5px solid var(--border);
  transform-origin: bottom right;
  transition: opacity 0.2s, transform 0.2s;
}
.notfall-sticky-panel[data-open="false"] { opacity: 0; transform: scale(0.95) translateY(8px); pointer-events: none; }
.notfall-sticky-panel[data-open="true"]  { opacity: 1; transform: scale(1) translateY(0); }
.notfall-sticky-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
}
.notfall-sticky-panel h4 {
  font-family: var(--serif); font-size: 18px; color: var(--blue-deep);
  font-weight: 400;
}
.notfall-sticky-close {
  background: none; border: none; cursor: pointer; padding: 2px;
  color: var(--text-muted); font-size: 18px; line-height: 1;
  transition: color 0.2s;
}
.notfall-sticky-close:hover { color: var(--accent-deep); }
.notfall-sticky-panel ul { list-style: none; }
.notfall-sticky-panel li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 0.5px solid var(--border); font-size: 13px;
}
.notfall-sticky-panel li:last-child { border-bottom: none; }
.notfall-sticky-panel li b { font-weight: 500; color: var(--text); }
.notfall-sticky-panel li span { color: var(--accent-deep); font-weight: 600; }

@media (max-width: 1024px) {
  nav { padding: 0 24px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 12px; }
  section { padding: 80px 32px; }
  h2 { font-size: 36px; }
}

@media (max-width: 767px) {
  nav { padding: 0 20px; }
  nav .inner { height: 60px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--blue-deep); padding: 8px 0 16px;
    border-top: 0.5px solid rgba(147,184,196,0.15);
    z-index: 89;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 24px; font-size: 14px; }
  .nav-links .cta-nav { margin: 8px 24px 0; display: block; text-align: center; border-radius: 4px; }
  section { padding: 64px 20px; }
  h2 { font-size: 30px; }
  footer { padding: 24px 20px; }
  footer .inner { flex-direction: column; gap: 14px; text-align: center; }
  .notfall-sticky { right: 16px; bottom: 16px; padding: 10px 14px 10px 12px; font-size: 12px; }
  .notfall-sticky-panel { right: 16px; bottom: 64px; width: calc(100vw - 32px); max-width: 320px; }
}
