:root {
  --bg: #f8f9fa;
  --fg: #222;
  --accent: #4f8cff;
  --shadow: 0 2px 8px rgba(0,0,0,0.04);
  --accent-hover: #1a6be6;
  --popup-overlay: rgba(30,40,60,0.32);
  --popup-shadow: 0 8px 32px rgba(0,0,0,0.10);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #181a1b;
    --fg: #f1f1f1;
    --accent: #7ab8ff;
    --shadow: 0 2px 8px rgba(0,0,0,0.2);
    --accent-hover: #1a6be6;
    --popup-overlay: rgba(30,40,60,0.32);
    --popup-shadow: 0 8px 32px rgba(0,0,0,0.10);
  }
}
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 16px 0 16px;
}
header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.subkop {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--fg);
  opacity: 0.85;
}
.info-links-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: nowrap; /* Prevent wrapping until mobile */
  gap: 1.2rem; /* Slightly smaller gap for more room */
  margin-bottom: 2.5rem;
}
.contact-info, .contact-info-right {
  flex: 1 1 0;
  min-width: 0;
}
@media (max-width: 800px) {
  .info-links-row {
    gap: 0.5rem;
  }
}
@media (max-width: 350px) {
  .container { padding: 16px 4px 0 4px; }
  .kop { font-size: 2rem; }
  .subkop { font-size: 1rem; }
  .info-links-row {
    flex-direction: column;
    gap: 1.2rem;
    flex-wrap: wrap;
  }
  .contact-info-right { align-items: flex-start; text-align: left; }
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 1.05rem;
}
.contact-info-right {
  align-items: flex-end;
  text-align: right;
}
a,
a:visited,
a:active,
a:focus {
  color: var(--accent);
  text-decoration: none !important;
  font-weight: 500;
  outline: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover {
  color: var(--accent-hover);
  text-decoration: none !important;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.2em;
}
.icon {
  display: flex;
  align-items: center;
  color: var(--accent);
  min-width: 20px;
}
.info-item-right {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.2em;
}
.icon-right {
  display: flex;
  align-items: center;
  color: var(--accent);
  min-width: 18px;
}
.popup-modal {
  position: fixed;
  z-index: 1000;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background 0.2s;
}
.popup-modal.open {
  pointer-events: auto;
}
.popup-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--popup-overlay);
  backdrop-filter: blur(2px);
  transition: opacity 0.2s;
  opacity: 0;
}
.popup-modal.open .popup-overlay {
  opacity: 1;
}
.popup-content {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  border-radius: 1.2rem;
  box-shadow: var(--shadow), var(--popup-shadow);
  min-width: 320px;
  max-width: 95vw;
  width: 400px;
  padding: 2.2rem 1.7rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.25s cubic-bezier(.4,1.4,.6,1), transform 0.25s cubic-bezier(.4,1.4,.6,1);
  pointer-events: auto;
}
.popup-modal.open .popup-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.popup-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.popup-icon {
  color: var(--accent);
}
.popup-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.popup-body {
  font-size: 1.08rem;
  color: var(--fg);
  opacity: 0.92;
  margin-bottom: 0.5rem;
  min-height: 60px;
}
.popup-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--accent);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s;
  z-index: 2;
}
.popup-close:hover { opacity: 1; }
@media (max-width: 500px) {
  .popup-content { width: 90vw; min-width: 0; padding: 1.2rem 0.5rem 1.2rem 0.5rem; }
  .popup-title { font-size: 1.1rem; }
}
.flex-link {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
