/*
Theme Name: Haneke 80s
Author: Dein Name
Description: Cleanes, minimalistisches WordPress-Theme mit 80er-Vibes, Glitch, Schriftwechsel und rotem Hover-Leuchten
Version: 1.1
*/

body {
  background-color: #fff;
  color: #111;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: hidden;
}

a {
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  transition: all 0.3s ease;
}
a:hover {
  color: red;
  border-color: red;
  text-shadow: 0 0 5px red;
}

header {
  text-align: center;
  padding: 2em 1em 1em;
  position: relative;
  z-index: 2;
}

nav a {
  margin: 0 1em;
  font-weight: bold;
  text-transform: uppercase;
}

.content {
  max-width: 700px;
  margin: 3em auto;
  padding: 0 1em;
  position: relative;
  z-index: 2;
}

footer {
  text-align: center;
  padding: 2em;
  font-size: 0.9em;
  color: #999;
  z-index: 2;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: url('images/scanlines.png') repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-1px, 1px); }
  40% { transform: translate(1px, -1px); }
  60% { transform: translate(-2px, 2px); }
  80% { transform: translate(1px, 1px); }
  100% { transform: translate(0); }
}

h1 {
  font-size: 2.5em;
  animation: glitch 1s infinite steps(2, end);
  transition: font-family 0.3s ease-in-out, color 0.3s ease-in-out;
}

h1:hover {
  color: red;
  text-shadow: 0 0 5px red;
}
