/*------------------------------------------------------------------------------------------*/
/* 0. Rolf Styles */
/*------------------------------------------------------------------------------------------*/
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f6f7f9; /* Helles Grau, wirkt modern und dezent */
}

.main-container {
    flex: 1 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 24px 18px;
}

.main-content-block {
    background: #fff;
    /* border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07); */
    max-width: 900px;
    width: 100%;
    padding: 24px 18px;
}

h4 {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 2rem;
    color: #859749;
}

.container.header {
    flex: 0 0 auto;
}

.kopfbereich {
    background-color: #072746;
    padding: 10px;
    color: white;
    max-height: 200px;
}

.navbar {
    position: relative;
    /* Oder fixed/sticky falls benötigt */
    z-index: 1050;
    /* Bootstrap setzt für navbar standardmäßig z.B. 1030, einfach höher setzen */
}

.fixed-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: whitesmoke;
    /* Hintergrundfarbe nach Wunsch */
    color: #333;
    /* Textfarbe nach Wunsch */
    text-align: right;
    /* Zentrierter Text */
    font-size: 0.9em;
    /* Schriftgröße */
    padding: 5px 15px;
    /* Innenabstand oben/unten */
    z-index: 999;
    /* Bleibt oben, falls andere Elemente überlappen */
}

/* Footer-Schrift für kleine Bildschirme */
@media only screen and (max-width: 600px) {
    .fixed-footer {
        font-size: 0.7em;
        font-weight: normal;
    }
}

.rezept {
	padding: 0% 0% 0% 0%;
	width: 100%;
	grid-template-columns: 1fr ;
	display: grid;
  	flex-wrap: wrap;
	grid-template-areas: 
	"rezeptname"
	"zutaten"
	"zubereitung";
	}
.ueberschrift {
    padding: 15px 15px 8px 15px;
    margin: 10px 0;
    color: darkolivegreen;
    background-color: lightgrey;
    font-size: 1.2em;
    font-weight: bold;
}
/* Style für Bildschirme größer als min-width */
	@media only screen and (min-width: 700px) { 
		.titel {
			font-size: 3vh;
			}
		
		img{
			max-height: 100%;
			}

		.rezept {
		padding: 0% 0% 0% 0%;
		width: 100%;
		grid-template-columns: 4fr 4fr ;
		display: grid;
		flex-wrap: nowrap;
		grid-template-areas: 
		"rezeptname rezeptname"
		"zutaten zubereitung";
		}

		.zubereitung {
			border-left: solid 1px lightgray;
		}

		.rezeptwrapper {
			grid-template-columns: 3fr 8fr;
			grid-template-areas: 
			"sidepanel rezept";
			}
	}

.rezeptname {
	grid-area:rezeptname;
	font-size: 1.2em;
	font-weight: normal;
	color:darkolivegreen;
	border-bottom: darkolivegreen 1px solid;
	}

.zutaten {
	grid-area:zutaten;
    padding: 5px;
    /* width: 40%; */
    /* height: 150px; */
    margin-top: 10px;
    font-size: 1em;
    text-align: left;
  }

.edit-button {
    margin: 10% 5px;
}

.zubereitung {
	grid-area:zubereitung;
    padding: 5px;
    /* width: 40%; */
    /* height: 150px; */
    margin-top: 10px;
    /* line-height: 150px; */
    font-size: 1em;
    text-align: left;
	/* border-left: solid 1px lightgray; */
	padding-left: 10px;
  }
