body {
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: #000000; 
  margin: 0;
  /* Fallback Hintergrundfarbe */
  background-color: #2a0e18;
}

.content{
	margin-top: 780px;
  background:transparent;
  padding: 32px 24px;
  border: 40px solid transparent;                 /* Rahmen-Breite = Slice-Größe */
  border-image: url(/images/torn-border.png) 80 fill /* slice */ / 40px /* width */ / 0 /* outset */ stretch;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  border-radius: 6px; /* abgerundet, wirkt softer */
}

/* Content normal in den Dokumentfluss holen */
#content-wrap{
  position: static;            /* NICHT absolute */
  width: 720px;
  margin: 80px 80px 40px 80px; 
  padding: 20px;
  z-index: 1;
}

/* Falls du noch das alte inline-style nicht sofort ändern kannst:
   -> überschreiben (nur nutzen, wenn nötig) */
/*
[style*="position: absolute"][style*="width:700px"]{
  position: static !important;
  left: auto !important; top: auto !important;
  width: min(700px, 92vw) !important;
  margin: 40px auto 0 !important;
  padding: 20px !important;
}
*/

/* Dein right-aligned Bild sauber lösen */
img.align-right{ float: right; margin: 0 0 12px 16px; }
/* (In HTML dann: <img class="align-right" ...>) */

/* Footer bleibt full-width am Seitenende */
#footer{
  width:100%;
  height:300px;
  background-image:url('images/renji-footer.jpg');
  background-color:#2a0e18;
  background-repeat:no-repeat;
  background-position:left top;
  background-size: auto;
  display:flex; align-items:flex-end; justify-content:center;
  padding:15px 15px 30px;
  box-sizing:border-box;
  position:relative; 
  clear: both;                 /* WICHTIG: hebt Floats auf, Footer rutscht darunter */
  z-index: 0;
}

/* Neuer Textbereich mit Overlay */
.footer-text-overlay {
    background: #cdccc4; /* Overlay nur hinter Text */
    padding: 10px;
    border-radius: 4px;
    color: #000000;
    font-size: 14px;
    line-height: 1;
    max-width: 40%;
    text-align: left;
	position-left: 120px;
}

.footer-text-overlay a {
    color: #e60c58;
    font-weight: bold;
    text-decoration: none;
}

.footer-text-overlay a:hover {
    text-decoration: underline;
}

#topnavi {
    position: absolute;
    width: 180px;
    left: 200px;
    top: 670px;
  gap: 8px 28px;  /* erster Wert = vertikal, zweiter = horizontal Abstand */
  justify-content: center;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

/* Navigation */
a.navi:link, a.navi:visited {
position: relative;
  font-family: "Arial Black", Gadget, sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
  color: #000000;
  background-color: #ccccc3;
  text-decoration: none;
  letter-spacing: -1px;
  line-height: 1.8;  
  padding: 10px 10px; /* mehr Klickfläche */
  border-radius: 3px;
  transition: color 0.25s ease, background 0.25s ease;
  z-index: 0;
}

a.navi::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px; /* leicht nach oben, damit's über bg sitzt */
  width: 100%;
  height: 3px;
  background: #e60c58; /* pink highlight */
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
  z-index: 2;
}

a.navi:hover {
  color: #fff; /* Text weiß, damit’s knallt */
  background: #e60c58; /* pink background */
}

a.navi:hover::after {
 transform: scaleX(1);
  transform-origin: left;
  background: #fff; /* weißer underline auf pink bg = Kontrast */
}

a.navi:active {
  color: #fff;
  background: #58aebe; /* hellblau background */
}
a.navi:active::after {
  transform: scaleX(1);
  background: #fff; /* underline bleibt weiß für Klarheit */
}

h1 {
  font-family: Arial Black, Arial;
  font-size: 40pt;
  line-height: 44px;
  letter-spacing: -1;
  text-align: left;
  text-transform: uppercase;
  font-weight: normal;
  font-style: normal;
  padding: 5px 0 10px 0;
  margin: 20px 0 20px 0;
  border-bottom: 2px solid #58aebe;
  
  /* Gradient Text */
  background: linear-gradient(to right, #e60c58, #d12643);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

h2{
font-family: Arial Black,Arial;
font-size:30pt;
line-height: 35px;
letter-spacing:-1px;
text-align:left;
font-weight:normal;
font-style: normal;
text-transform: uppercase;
color:#2a0e18;
border-left:20px solid #e60c58;
padding-left: 28px;
padding-top: 5px;
padding-bottom: 5px;
margin-bottom: 30px;
}

h3{
font-family: Arial Black, Arial;
font-size:24pt;
line-height: 26px;
letter-spacing:0;
text-align:left;
text-transform: uppercase;
font-weight:bold;
font-style: normal;
padding-left: 10px;
padding:5px;
margin:20px 0 15px 0;
color:#2a0e18;
border-bottom:1px solid #2a0e18;
}

h4{
font-family: Arial Black, Arial;
font-size:20pt;
line-height: 16px;
letter-spacing:-1px;
text-align:left;
text-transform: normal;
font-weight:bold;
font-style: italic;
padding-left: 0px;
padding:5px;
margin:5px;
color:#2e2f31;
}

b, strong { 
	color: #e60c58; 
	font-weight: 900; 
}

i, em { 
	color: #bc1e52; 
	font-weight: 600; 
}

u { 
	color: #551e42; 
	font-weight: 600; 
	text-decoration: underline; 
}

a {
  color: #bc1e52;
  text-decoration-color: rgba(230, 12, 88, 0.4);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  font-weight:bold;
}

a:hover {
  color: #58aebe; /* hellblau als hover-effekt */
	font-weight:bold;
  text-decoration-color: currentColor;
}

textarea{
	background-color:#d9de7c;
	border:2px solid #b5bb38;
	width: 450px; height: 100px;
	color:#2e2f31;
}

blockquote {
    margin: 5px;
    font-family: Arial Black, Arial;
	font-size: 16px;
    text-align: center;
    color: #e0ecd4;
    background-color: #2a0e18;
    background-image: url("images/renji-blockquote.jpg");
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
    border-left: 10px dotted #e60c58;
    border-right: 1px solid #e60c58;
    border-top: 1px solid #e60c58;
    border-bottom: 1px solid #e60c58;
	padding-top: 10px;
    padding-bottom: 40px;
    padding-left: 10px;
    background-origin: padding-box;
    border-radius: 6px;
	width: 420px;
}

/* Allgemeine Formularfelder */
input[type="text"],
input[type="email"],
input[type="url"],
select,
textarea {
  color: #2a0e18;
  border: 1px solid #2a0e18;
  background: #ccc9c1;
  font-size: 14pt;
  font-family: Arial, serif;
  width: 320px;
  margin: 5px 0;
  padding: 6px 10px;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Submit-Button */
input[type="submit"] {
  background: #e60c58;
  color: #fff;
  border: none;
  font-size: 14pt;
  font-family: Arial, serif;
  padding: 8px 20px;
  margin-top: 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

input[type="submit"]:hover {
  background: #cf1858;
}
