/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #51dbb1;
  color: #fff;
}

/* Layout (Desktop) */
.layout {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr; /* links / mitte / rechts = 3 drittel */
  gap: 0;
}

/* Seiten */
.side {
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

.side::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(81,219,177,0) 18%, rgba(0,0,0,0.35) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.25));
}

/* Mitte */
.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.14),
    rgba(255,255,255,0.02)
  );
}

.brand {
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: 0.02em;
  font-weight: 800;
  margin: 0 0 12px 0;

  text-shadow:
    0 4px 18px rgba(0, 0, 0, 0.35),
    0 10px 40px rgba(0, 0, 0, 0.25);
}

/* Social Links */
.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.links a {
  color: #073a31; 
  text-decoration: none;
  border: 1px solid rgba(7,58,49,0.35);
  padding: 10px 14px;
  border-radius: 999px;

  background: rgba(255,255,255,0.35);

  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  font-weight: 600;

  /* hilft auf kleinen Screens */
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.links a i {
  margin-right: 0; /* wegen gap */
  font-size: 1.05em;
  line-height: 1;
}

.links a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.55);
  border-color: rgba(7,58,49,0.6);
}

.links a:focus-visible {
  outline: 3px solid rgba(0, 92, 78, .7);
  outline-offset: 3px;
}

/* Responsive: Tablets/Mobil */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;     /* alles untereinander */
    grid-template-rows: 1fr auto 1fr;
    height: 100svh;                  /* besser auf Mobil */
  }

  /* Seitenbilder etwas flächiger/leichter */ 
  .side {
    min-height: 28vh;
  }

  .center {
    padding: 18px 16px;
  }

  .brand {
    /* etwas kleiner auf Mobil */
    font-size: clamp(2rem, 7.5vw, 3.2rem);
    margin-bottom: 10px;
  }

  .links {
    gap: 10px;
    margin-top: 8px;
  }

  .links a {
    padding: 10px 12px;
    max-width: 100%;
  }

  /* Optional: Icons+Text bleiben ok, aber Links dürfen umbrechen */
  .links a {
    white-space: normal;
    text-align: center;
  }
}
