/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #1A1A1A;
  background-color: #FAFAFA;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */
header, main, footer {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  padding-top: 40px;
  padding-bottom: 40px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  color: #1A1A1A;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  font-size: 16px;
  color: #1A1A1A;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.15s ease;
}

nav a:hover {
  opacity: 0.7;
}

/* Sections */
section {
  padding: 80px 0;
}

#hero {
  padding-top: 120px;
  padding-bottom: 120px;
}

h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

h2 {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  color: #1A1A1A;
  opacity: 0.6;
}

h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 8px;
}

.tagline {
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 32px;
}

.cta {
  display: inline-block;
  font-size: 16px;
  color: #1A1A1A;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.15s ease;
}

.cta:hover {
  opacity: 0.7;
}

/* Brand Card */
.brand-card {
  padding: 32px 0;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.brand-card p {
  margin-bottom: 12px;
  opacity: 0.8;
}

.brand-card a {
  font-size: 16px;
  color: #1A1A1A;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.15s ease;
}

.brand-card a:hover {
  opacity: 0.7;
}

/* Om */
#om p {
  margin-bottom: 16px;
}

#om p:last-child {
  margin-bottom: 0;
}

/* Kontakt */
#kontakt form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#kontakt input,
#kontakt textarea {
  font-family: inherit;
  font-size: 16px;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid rgba(26, 26, 26, 0.2);
  background: transparent;
  color: #1A1A1A;
  outline: none;
  transition: border-color 0.15s ease;
}

#kontakt input:focus,
#kontakt textarea:focus {
  border-bottom-color: #1A1A1A;
}

#kontakt input::placeholder,
#kontakt textarea::placeholder {
  color: rgba(26, 26, 26, 0.5);
}

#kontakt textarea {
  resize: vertical;
  min-height: 100px;
}

#kontakt button[type="submit"] {
  font-family: inherit;
  font-size: 16px;
  color: #1A1A1A;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  align-self: flex-start;
  padding: 0;
  margin-top: 8px;
  transition: opacity 0.15s ease;
}

#kontakt button[type="submit"]:hover {
  opacity: 0.7;
}

#kontakt .kontakt-info {
  margin-top: 32px;
  font-size: 14px;
  opacity: 0.6;
}

/* Footer */
footer {
  padding: 80px 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

footer p {
  font-size: 14px;
  opacity: 0.6;
}

footer button {
  font-family: inherit;
  font-size: 14px;
  color: #1A1A1A;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}

footer button:hover {
  opacity: 1;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #FAFAFA;
  max-width: 540px;
  width: 100%;
  padding: 48px;
}

.modal-content h2 {
  font-size: 24px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.02em;
  opacity: 1;
  margin-bottom: 24px;
}

.modal-content p {
  margin-bottom: 16px;
  font-size: 16px;
}

.modal-content a {
  color: #1A1A1A;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.modal-content button {
  font-family: inherit;
  font-size: 16px;
  color: #1A1A1A;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 16px;
  transition: opacity 0.15s ease;
}

.modal-content button:hover {
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 36px;
  }

  .tagline {
    font-size: 20px;
  }

  #hero {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  section {
    padding: 60px 0;
  }

  .modal-content {
    padding: 32px;
  }

  footer {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
