/* ==========================================================================
   Ismael David Quiñonero Angel – Styles
   Schriften: Outfit (Überschriften/Buttons) · JetBrains Mono / Monospace (Text)
   ========================================================================== */

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

:root {
  --black: #000000;
  --dark: #1d1d1d;
  --cream: #F7F3E0;
  --mint: #DDF2EB;
  --mint-hover: #c8e7dd;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --pad: 6rem;
}

html { font-size: 10pt; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background-color: var(--black);
  color: #fff;
  font-family: var(--mono);
  line-height: 1;
  word-wrap: break-word;
  -webkit-text-size-adjust: none;
}

h1, h2, h3, p, ul, address { margin: 0; padding: 0; font-weight: inherit; font-style: normal; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
strong { font-weight: bolder; }

/* --- Sprachumschalter ---------------------------------------------------- */
.lang-switch {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 9rem;
}
.lang-switch button {
  background: transparent;
  border: 1px solid rgba(247, 243, 224, 0.25);
  border-radius: 0.4rem;
  color: #B5B5B5;
  cursor: pointer;
  font-family: "Outfit", sans-serif;
  font-size: 1.4em;
  font-weight: 500;
  letter-spacing: 0.08rem;
  padding: 0.65rem 1.2rem;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.lang-switch button:hover {
  color: #fff;
  border-color: rgba(247, 243, 224, 0.6);
}
.lang-switch button.active {
  background-color: var(--cream);
  border-color: var(--cream);
  color: var(--dark);
}

/* --- Hero (#1d1d1d) ------------------------------------------------------ */
.hero {
  background-color: var(--dark);
  padding: 5rem var(--pad) 12rem;
  text-align: center;
  text-transform: uppercase;
  font-family: "Outfit", sans-serif;
}
.hero-title {
  margin-bottom: 0;
  color: var(--cream);
  font-size: 5.5em;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.175rem;
}

/* --- Hauptsektion (#000000): Links Liste, Rechts Kontakt ---------------- */
.card-section {
  background-color: var(--black);
  padding: 9rem var(--pad) 7.5rem;
}
.card-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  column-gap: 7rem;
  align-items: start;
  max-width: 104rem;
  margin-inline: auto;
}

/* Linke Hälfte: Kompakte Liste */
.card-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  color: #F2F2F2;
  font-family: var(--mono);
  font-size: 1.65em;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.01rem;
}
.card-list li {
  position: relative;
  padding-left: 2rem;
}
.card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--mint);
}
.card-list a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}
.card-list a:hover {
  color: #fff;
}

/* Rechte Hälfte: Kontakt */
.card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding-left: 4rem;
  border-left: 1px solid #262626;
}
.contact-heading {
  color: var(--cream);
  font-family: "Outfit", sans-serif;
  font-size: 2.2em;
  font-weight: 500;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}
.btn-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2.8rem;
  background-color: var(--mint);
  color: #111111;
  font-family: "Outfit", sans-serif;
  font-size: 1.8em;
  font-weight: 600;
  letter-spacing: 0.05rem;
  text-decoration: none;
  border-radius: 0.45rem;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn-email:hover {
  background-color: var(--mint-hover);
}
.btn-email:active {
  transform: translateY(1px);
}
.card-mail-hint {
  color: #A8A8A8;
  font-family: var(--mono);
  font-size: 1.45em;
  font-weight: 300;
  line-height: 1.4;
}

/* --- Projects (Faint unterhalb von Stichpunkten & Kontakt) --------------- */
.projects-block {
  max-width: 104rem;
  margin: 6.5rem auto 0;
  padding-top: 3.5rem;
  border-top: 1px solid #161616;
}
.projects-heading {
  color: #5A5A5A;
  font-family: "Outfit", sans-serif;
  font-size: 1.35em;
  font-weight: 400;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.projects-links {
  color: #B8B8B8;
  font-family: var(--mono);
  font-size: 1.55em;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.02rem;
}
.projects-links a {
  color: #B8B8B8;
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 184, 184, 0.35);
  padding-bottom: 0.15rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.projects-links a:hover {
  color: #FFFFFF;
  border-bottom-color: #FFFFFF;
}

/* --- Footer / Impressum -------------------------------------------------- */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.1rem;
  padding: 3.5rem var(--pad);
  background-color: var(--dark);
}
.footer-favicon {
  width: 6.6rem;
  height: 6.6rem;
  object-fit: contain;
  border-radius: 0.6rem;
}
.footer-link-small {
  color: #9A9A9A;
  font-family: var(--mono);
  font-size: 1.15em;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.04rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-link-small:hover {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

/* --- Impressum-Seite ----------------------------------------------------- */
.imprint-header {
  padding: 4rem var(--pad);
  text-align: center;
  background-color: var(--dark);
}
.imprint-home {
  color: var(--cream);
  font-family: "Outfit", sans-serif;
  font-size: 2.625em;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1rem;
  text-decoration: none;
  text-transform: uppercase;
}
.imprint-home:hover { color: #fff; text-decoration: underline; }
.back-link {
  align-self: flex-start;
  margin-top: 2rem;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 1.5em;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1680px) {
  html { font-size: 7.5pt; }
}

@media (max-width: 980px) {
  html { font-size: 6.5pt; }

  .card-inner {
    grid-template-columns: 1fr;
    row-gap: 5rem;
  }
  .card-right {
    padding-left: 0;
    padding-top: 4rem;
    border-left: none;
    border-top: 1px solid #262626;
  }
}

@media (max-width: 736px) {
  :root { --pad: 3.5rem; }

  .lang-switch { margin-bottom: 6.5rem; }
  .lang-switch button { font-size: 1.75em; padding: 0.75rem 1.35rem; }

  .hero { padding-top: 4.5rem; padding-bottom: 9rem; }
  .hero-title { font-size: 4.75em; letter-spacing: 0.12rem; }

  .card-section { padding: 6.5rem var(--pad) 5.5rem; }
  .card-list { font-size: 2.05em; gap: 1.4rem; line-height: 1.48; }
  .contact-heading { font-size: 2.6em; }
  .btn-email { font-size: 2.2em; padding: 1.75rem 3rem; }
  .card-mail-hint { font-size: 1.75em; }

  .projects-block { margin-top: 5rem; padding-top: 3rem; }
  .projects-heading { font-size: 1.65em; }
  .projects-links { font-size: 1.9em; }

  .footer-favicon { width: 8.4rem; height: 8.4rem; }
  .footer-link-small { font-size: 1.4em; }
}

@media (max-width: 360px) {
  :root { --pad: 2.5rem; }

  .hero-title { font-size: 4.2em; }
  .card-list { font-size: 1.95em; }
}