* { box-sizing: border-box; }
body { margin: 0; background: #090d18; color: #f3eee5; font-family: "Segoe UI", Arial, sans-serif; }
.cover { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; position: relative; isolation: isolate; }
.portrait { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: -1; }
.panel { width: min(36vw, 600px); margin-left: 60vw; }
/* Logo und beide Textzeilen teilen dieselbe Mittelachse. */
.masthead {
  position: absolute;
  top: 8%;
  width: inherit;
  display: grid;
  justify-items: center;
  gap: clamp(3px, .5vh, 8px);
  color: #fffdf7;
}
.logo { width: min(17vw, 29vh, 295px); height: auto; }
.masthead h1 { width: min(24vw, 41vh, 415px); margin: 0; line-height: 0; }
.masthead svg { display: block; width: 100%; height: auto; }
.events { position: absolute; top: 64%; width: inherit; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.events a { min-height: clamp(60px,6vw,88px); padding: 15px; display: flex; align-items: center; text-decoration: none; color: inherit; font-size: clamp(16px,1.45vw,22px); font-weight: 650; background: #131b29ed; border: 1px solid #66707c; border-bottom: 3px solid #b13440; }
.events a:hover,.events a:focus-visible { background: #303a49; outline: 2px solid #f1deca; }
.scene { min-height:100svh; display:grid; align-items:end; padding:5vw; background:url("wettkampf.jpg") center/contain no-repeat; }
.details { background:#141a27ef; padding:24px; width:fit-content; }
.details h1 { margin-bottom:16px; }
.details a { color:inherit; }
@media(max-width:650px) and (orientation:portrait) {
  .cover { display:flex; flex-direction:column; justify-content:center; }
  .portrait { position:static; width:100%; height:auto; }
  .panel { width:min(90%,440px); margin: 16px auto 40px; }
  .masthead, .events { position: static; width: 100%; }
  .logo { width: 120px; }
  .masthead h1 { width: 210px; }
  .events { margin-top: 26px; }
}
