/* Gabriele Pauli-Sylt — Landing Page */

:root {
  --color-sea: #0c3d5c;
  --color-sea-dark: #062a40;
  --color-sand: #e8dcc8;
  --color-sand-light: #f5f0e8;
  --color-red: #c41e3a;
  --color-red-dark: #9a1830;
  --color-text: #1a2a33;
  --color-muted: #5a6b75;
  --color-white: #ffffff;
  --font-display: "Oswald", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --shadow: 0 8px 32px rgba(6, 42, 64, 0.12);
  --radius: 12px;
  --max-width: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-sand-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-sea);
  transition: color 0.2s ease;
}

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

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(12, 61, 92, 0.08);
  box-shadow: 0 2px 16px rgba(6, 42, 64, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-sea-dark);
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-red), var(--color-sea));
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.logo-text small {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--color-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
}

.main-nav a:hover {
  color: var(--color-red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.35);
}

.btn-primary:hover {
  background: var(--color-red-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-sea-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-sea-dark);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(6, 42, 64, 0.88) 0%, rgba(12, 61, 92, 0.75) 50%, rgba(196, 30, 58, 0.45) 100%),
    url("../images/img-portrait.jpg") center / cover no-repeat;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
  max-width: 720px;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-sand);
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(232, 220, 200, 0.4);
  border-radius: 999px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--color-sea-dark);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.section-header p {
  color: var(--color-muted);
  margin: 0;
  font-size: 1.1rem;
}

.section-alt {
  background: var(--color-white);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--color-sand);
}

.about-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-red);
  margin: 0 0 1rem;
}

.about-content p {
  margin: 0 0 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: var(--color-sand-light);
  border-radius: var(--radius);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-sea);
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Content */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
}

.content-main p {
  margin: 0 0 1.15rem;
}

.content-main h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-sea-dark);
  margin: 2rem 0 1rem;
}

.content-sidebar figure {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.content-sidebar figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  background: var(--color-white);
}

.content-sidebar img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--color-sand);
}

.anchor-links {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--color-sand-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-red);
}

.anchor-links h4 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--color-sea-dark);
}

.anchor-links ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
}

.anchor-links li {
  margin-bottom: 0.35rem;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--color-white);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

thead {
  background: var(--color-sea-dark);
  color: var(--color-white);
}

th,
td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(12, 61, 92, 0.08);
}

th {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

tbody tr:hover {
  background: var(--color-sand-light);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--color-white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--color-red);
  transition: transform 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-sea), var(--color-sea-dark));
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-sea-dark);
  margin: 0 0 0.75rem;
}

.benefit-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-sea-dark);
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--color-red);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-muted);
}

/* Footer */
.site-footer {
  background: var(--color-sea-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-text {
  color: var(--color-white);
}

.footer-brand p {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-nav h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sand);
  margin: 0 0 1rem;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid,
  .content-grid,
  .benefits-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 1rem;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .header-cta {
    display: none;
  }

  .hero-inner {
    padding: 4rem 0 3rem;
  }

  .about-stats,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3rem 0;
  }
}
