:root {
  color-scheme: light;
  --ink: #0a0a0a;
  --muted: #555;
  --paper: #f7f7f5;
  --line: #c9c9c4;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

.stage {
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.signet {
  width: clamp(10rem, 32vw, 19rem);
  height: auto;
}

h1 {
  margin: 1.2rem 0 0;
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 800;
  letter-spacing: .16em;
  line-height: .9;
  text-indent: .16em;
}

.claim {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(.9rem, 2vw, 1.08rem);
  letter-spacing: .12em;
  text-transform: uppercase;
}

footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
}

a {
  color: inherit;
  text-underline-offset: .22em;
}

.impressum a {
  color: rgba(0, 0, 0, 0.5);
  text-decoration: none; 
}

.datenschutz a {
  color: rgba(0, 0, 0, 0.5);
  text-decoration: none; 
}

.legal {
  width: min(44rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 4rem 0;
}

.legal h1 {
  margin: 0 0 2.5rem;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  letter-spacing: -.04em;
  line-height: 1;
  text-indent: 0;
}

.legal h2 {
  margin: 2rem 0 .75rem;
  font-size: 1.1rem;
}

.legal p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
}

.back {
  display: inline-block;
  margin-top: 2rem;
}

.mail-icon {
  height: 20px;        /* Passt die Höhe des GIFs an die Textgröße an */
  width: auto;         /* Behält das richtige Seitenverhältnis bei */
  vertical-align: middle;
}

.mail-link {
  text-decoration: none; 
  display: inline-flex;  /* Hilft bei der vertikalen Zentrierung des Bildes */
  align-items: center;
}

/* Optional: Ein kleiner Hover-Effekt (das Icon wird leicht transparent, wenn man mit der Maus darüber fährt) */
.mail-link:hover {
  opacity: 0.7;
  transition: opacity 0.2s ease; /* Macht den Übergang schön weich */
}


.linkedin-icon {
  display: block;
  height: 20px;
  width: auto;
  vertical-align: middle;
}

.linked-link {
  text-decoration: none; 
  display: inline-flex;  /* Hilft bei der vertikalen Zentrierung des Bildes */
  align-items: center;
}

/* Optional: Ein kleiner Hover-Effekt (das Icon wird leicht transparent, wenn man mit der Maus darüber fährt) */
.linked-link:hover {
  opacity: 0.7;
  transition: opacity 0.2s ease; /* Macht den Übergang schön weich */
}

@media (max-width: 38rem) {
  footer {
    justify-content: center;
  }
}
