/* =================================================
   rings.info – Website
   Version: 1.1 blogbereinigt
   Stand: November 2026

   Datei:
   - variables.css = Design Tokens
   - design.css = Basislayout
   - responsive.css = Geräteanpassungen
   ================================================= */

/* =================================================
   DESIGN TOKENS (CSS Custom Properties)
   =================================================
   Alle Farben, Abstände und Schriftgrößen zentral
   hier definiert. Änderungen nur an dieser Stelle
   nötig – wirken sich überall aus.
*/

/* 
   variables.css
   =============
   
   INHALTSÜBERSICHT

   (01) Grundlagen des Designs
        1.1 Markenfarben und Farbdefinitionen
        1.2 Schriftgestaltung
        1.3 Allgemeine Gestaltungselemente

   (02) Grundlegendes Seitenlayout
        2.1 Seiten- und Content-Breiten
        2.2 Content-Grid
        2.3 Abstände und Innenabstände

   (03) Website-Bereiche
        3.1 Header und Navigation
        3.2 Hero-Bereich
		3.3 Kompetenzboxen Startseite
        3.4 Content-Bereich
        3.5 Inhaltsnavigation und Aktionslinks
        3.6 Footer

   (04) Technische und ausgabebezogene Einstellungen
        4.1 Breakpoints (Dokumentation)
        4.2 Druckdarstellung
	
   (05) Seitenspezifische Key Visuals
   
   (06) Darkmode
		6.1 Darkmode Varbvariablen
		6.2 Manueller Darkmode
*/


:root {

	/* ================================================= */
	/* 01 – GRUNDLAGEN DES DESIGNS                       */
	/* ================================================= */



	/* --- 1.1 Markenfarben und Farbdefinitionen --- */
	/* --------------------------------------------- */

	/* Markenfarben (Brand) */
	--brand-primary:        #4F7800;  /* Primärfarbe: Waldgrün */
	--brand-secondary:      #91B83A;  /* Sekundärfarbe: Salbeigrün */
	--brand-accent:         #51483D;  /* Akzentfarbe: warmes Graphit */
	--brand-success:        #2E7D5B;  /* Positive Ergebnisse und Fortschritt */
	--brand-danger:         #A65353;  /* Kritische Zustände und Handlungsbedarf */


	/* Grautöne (Neutral) */
	--gray-dark:            #333333;  /* Fließtext und hoher Kontrast */
	--gray-mid:             #6B716D;  /* Metadaten und sekundäre Texte */
	--gray-light:           #CCCCCC;  /* Dezente Flächen und Rahmen */
	--gray-bullet:          #777777;  /* Aufzählungszeichen und Markierungen */
	--gray-logo:			#A0A0A0;  /* Schriftzug "rings" im Logo */

	/* Hintergrundfarben */
	--bg-main:              #F8F8F8;  /* Seitenhintergrund */
	--bg-hero:              #F2F3ED;  /* Hero-Bereich */
	--bg-content:           #F4F4F4;  /* Inhaltscontainer */
	--bg-header:            #34372C;  /* Header und Navigation */
	--bg-white:             #FDFEFF;  /* Karten und neutrale Inhaltsflächen */

	/* Semantische Hintergrundfarben – Infoboxen */
	--bg-blue:              #EAF1F5;  /* Wissen, Theorie und Kontext */
	--bg-green:             #F1F7F3;  /* Entwicklung und positive Aspekte */
	--bg-red:               #F9ECEC;  /* Risiken und kritische Aspekte */
	--bg-orange:            #FCF3E7;  /* Ideen, Impulse und Denkanstöße */

	/* Semantische Überschriftenfarben – Infoboxen */
	--heading-neutral:      #51483D;
	--heading-blue:         #365D73;
	--heading-green:        #405B35;
	--heading-red:          #8A4545;
	--heading-orange:       #80613B;

	/* Allgemeine Überschriftenfarbe */
	--heading-dark:         #51483D;

	/* Claim-Farbe */
	--claim-color:          #DADADA;
	
	/* Navigation – inaktive Links */
	--navi-link-color:		#AEB3AC;

	/* Rahmen */
	--border-color:         #CCCCCC;



	/* --- 1.2 Schriftgestaltung --- */
	/* ----------------------------- */

	/* Schriftfamilien */
	--font-base:			"Roboto", Arial, sans-serif;
	--font-copy:			"Roboto", Arial, sans-serif;
	--font-logo:			"Roboto Condensed", sans-serif;
	--font-heading:			"Roboto Slab", Cambria, Georgia, serif;
	
	/* Basis-Typografie */
	--line-height-base:		1.45;
	--line-height-li:		1.3;   /* Zeilenabstand innerhalb mehrzeiliger LI-Tags */
	--line-height-tight:	1.25;
	--line-height-heading:	1.1;
	
	
	/* Schriftgrößen Beiträge Homepage in Info-Box */
	--font-size-small:		0.9em;
	--font-size-verysmall:	0.8em;
	
	/* Absatz */
	--type-p:				1.0em;
	--line-height-p:		1.5;
	--margin-p:				1.2em;
	
	/* Typografie-Skala (Desktop) */
	--type-h1:				1.75em;
	--type-h2:				1.7em;
	--type-h3:				1.6em;
	--type-h4:				1.3em;
	--type-h5:				1.1em;
	--type-h6:				1em;
	--type-footer:			0.8em;
		
	/* Typografie-Skala (Mobile Portrait, kompakter) */
	--type-h1-portrait:		1.3em;
	--type-h2-portrait:		1.3em;
	--type-h3-portrait:		1.2em;
	--type-h6-portrait:		0.9em;
	--type-p-portrait:		0.9em;
	--type-ul-portrait:		0.9em;
	
	/* Typografie-Skala (Mobile Landscape, kompakter) */
	--type-h1-landscape:	1.3em;
	--type-h2-landscape:	1.3em;
	--type-h3-landscape:	1.2em;
	--type-h6-landscape:	1em;
	--type-p-landscape:		1em;
	--type-ul-landscape:	0.95em;
	
	/* Typografie-Skala (Tablet Landscape) */
	--type-h1-tablet-landscape:		1.75em;
	--type-h2-tablet-landscape:		1.7em;
	--type-h3-tablet-landscape:		1.6em;
	--type-h4-tablet-landscape:		1.3em;
	--type-h5-tablet-landscape:		1.1em;
	--type-h6-tablet-landscape:		1em;
	--type-p-tablet-landscape:		1em;
	--type-ul-tablet-landscape:		0.95em;


	/* --- 1.3 Allgemeine Gestaltungselemente --- */
	/* ------------------------------------------ */

	/* Radien */
	--radius-image:			6px;
	
	/* HR */
	--hr-color: var(--border-color);
	--hr-opacity: 0.8;
	
	/* Transitions */
	--transition-fast:		0.2s ease;
	--transition-normal:	0.35s ease;
	--transition-smooth:	0.45s cubic-bezier(.4,0,.2,1);



	/* ================================================= */
	/* 02 – GRUNDLEGENDES SEITENLAYOUT */
	/* ================================================= */


	/* --- 2.1 Seiten- und Content-Breiten --- */
	/* --------------------------------------- */

	/* Layout */
	--max-width:						900px;
	
	/* Maximale Lesebreite ---*/
	--content-width-desktop:			100%;	/* 640px;	<- alter Wert */
	--content-width-mobile-portrait: 	100%;
	--content-width-mobile-landscape:	100%;	/* 530px;	<- alter Wert */
	--content-width-tablet-portrait:	100%;	/* 540px;	<- alter Wert */
	--content-width-tablet-landscape:	100%;

	
	/* Aktive Lesebreite */
	--content-width:					var(--content-width-desktop);
	
	/* Äußerer Content-Container */
	--box-content-width:				100%;


	/* --- 2.2 Content-Grid --- */
	/* ------------------------ */
	
	/* Flexible Layout-Container */
	--content-grid-gap:						var(--pad-desktop);
	--content-grid-min-width:				180px;

	/* --- 2.3 Abstände und Innenabstände --- */
	/* -------------------------------------- */
	
	/* Layout-Padding pro Breakpoint */
	--pad-desktop:						30px;
	--pad-mobile:						14px;
	--pad-mobile-content:				12px;
	--pad-mobile-landscape:				24px;
	--pad-tablet-portrait:				30px;
	--pad-tablet-landscape:				30px;
	
	/* Innenabstände feste Boxen */
	--pad-header:        				28px;
	--pad-header-shrink:				10px;
	--pad-navi:							18px;
	--pad-navi-shrink:					10px;
	--pad-content:						30px;
	
	/* Info-Boxen – Innenabstände Desktop */

	--info-box-padding-top:    18px;
	--info-box-padding-right:  24px;
	--info-box-padding-bottom: 18px;
	--info-box-padding-left:   24px;
	
	/* Content – Tablet Landscape */
	--pad-content-tablet-landscape: 30px;
	
	/* Abstände / Margins */
	--margin-hr:						25px;
	--margin-li:						0.3em;



	/* ================================================= */
	/* 03 – WEBSITE-BEREICHE */
	/* ================================================= */


	/* --- 3.1 Header und Navigation --- */
	/* --------------------------------- */
	
	/* Top-Bar Hintergrund */
	--topbar-bg:							var(--bg-header);
	--topbar-bg-shrink:						var(--bg-header);
	
	/* Schatten */
	--shadow-topbar:						0 3px 8px rgba(0,0,0,0.25);
	
	/* Bildlogo und Grundposition */
	--image-logo-size:						130px;
	--image-logo-size-shrink:				90px;
	--image-logo-offset-top:				6px;
	--image-logo-offset-top-shrink:			4px;
	--image-logo-offset-right:				30px; /*--pad-desktop*/
	
	/* Bildlogo und Grundposition – Mobile Portrait */
	--image-logo-size-mobile-portrait:				78px;
	--image-logo-size-shrink-mobile-portrait:		66px;
	--image-logo-offset-top-mobile-portrait:		16px;
	--image-logo-offset-top-shrink-mobile-portrait:	8px;
	--image-logo-offset-right-mobile-portrait:		24px; /*--pad-mobile 'Original: 14px'*/
	
	/* Bildlogo und Grundposition – Mobile Landscape */
	--image-logo-size-mobile-landscape:					110px;
	--image-logo-size-shrink-mobile-landscape:			76px;
	--image-logo-offset-top-mobile-landscape:			0px;
	--image-logo-offset-top-shrink-mobile-landscape:	0px;
	--image-logo-offset-right-mobile-landscape:			24px; /*--pad-mobile-landscape 'Original: 24px'*/
	
	/* Bildlogo und Grundposition – Tablet Landscape */
	--image-logo-size-tablet-landscape:					130px;
	--image-logo-size-shrink-tablet-landscape:			90px;
	--image-logo-offset-top-tablet-landscape:			10px;
	--image-logo-offset-top-shrink-tablet-landscape:	8px;
	--image-logo-offset-right-tablet-landscape:			30px;
	
	/* Logo-Größen: Normal-Zustand */
	--logo-size-desktop:			3.2rem;
	--logo-size-mobile:				1.8rem;
	--logo-size-mobile-landscape:	2.1rem;
	--logo-size-tablet-landscape:	2.1rem;
	
	/* Logo-Größen: Shrink-Zustand (ca. 75%) */
	--logo-shrink-desktop:			2.4rem;
	--logo-shrink-mobile:			1.35rem;
	--logo-shrink-mobile-landscape:	1.55rem;
	--logo-shrink-tablet-landscape:	1.55rem;
	
	/* Claim-Größen: Normal-Zustand */
	--claim-size-desktop:			0.9rem;
	--claim-size-mobile:			0.53rem;
	--claim-size-mobile-landscape:	0.6rem;
	--claim-size-tablet-landscape:	0.6rem;
	
	/* Claim-Größen: Shrink-Zustand */
	--claim-shrink-desktop:					0.7rem;
	--claim-shrink-mobile:					0.5rem;
	--claim-shrink-scale-mobile-landscape:	0.83;
	--claim-shrink-scale-tablet-landscape:	0.83;
	
	/* Navi-Schriftgrößen */
	--navi-size-desktop:			0.8rem;
	--navi-shrink-desktop:			0.65rem;
	--navi-size-mobile:				0.62rem;
	--navi-shrink-mobile:			0.55rem;
	
	/* Layout */
	--navi-item-width:				105px;


	/* --- 3.2 Hero-Bereich --- */
	/* ------------------------ */

	/* Höhe des Bereichs */
	--hero-height-desktop:					200px;
	
	/* Textbreite */
	--hero-content-width-desktop:			80%;
	--hero-content-width-mobile-portrait:	90%;
	--hero-content-width-mobile-landscape:	80%;
	--hero-content-width-tablet-portrait:	80%;
	
	
	/* --- 3.3 Kompetenzboxen Startseite --- */
	/* ------------------------------------- */
	
	--pad-competence-box: 16px;
	--gap-competence-box: 16px;
	

	/* --- 3.4 Content-Bereich --- */
	/* --------------------------- */
	
	
	/* Key Visuals – seitenspezifisch */
    --keyvisual-top: none;
    --keyvisual-bottom: none;

    --keyvisual-top-size: auto;
    --keyvisual-bottom-size: auto;
	
	/* =========================================
       Key Visuals – Photoshop-Stage
    ========================================= */

    /* Originalgröße der Photoshop-Stage */
    --keyvisual-stage-width: 400px;
    --keyvisual-stage-height: 400px;

    /* Skalierungsfaktoren */
	--keyvisual-scale-desktop:              1.2;
	--keyvisual-scale-mobile-portrait:      0;
	--keyvisual-scale-mobile-landscape:     0.975;
	--keyvisual-scale-tablet-portrait:      1.35;
	--keyvisual-scale-tablet-landscape:     1.05;

    /* Aktiver Skalierungsfaktor */
    --keyvisual-scale: var(--keyvisual-scale-desktop);

    /* Berechnete Darstellungsgröße */
    --keyvisual-width:
        calc(var(--keyvisual-stage-width) * var(--keyvisual-scale));

    --keyvisual-height:
        calc(var(--keyvisual-stage-height) * var(--keyvisual-scale));

    /* Seitenspezifische Bildquellen */
    --keyvisual-top: none;
    --keyvisual-bottom: none;
	
	
	
	/* Originalgröße der Photoshop-Stage: Content-Bilder */
	--content-image-stage-width:				400px;
	--content-image-stage-height:				400px;
	
	/* Skalierungsfaktoren: Content-Bilder */
	--content-image-scale-desktop:				0.7;
	--content-image-scale-mobile-portrait:		0;
	--content-image-scale-mobile-landscape:		0.65;
	--content-image-scale-tablet-portrait:		0.9;
	--content-image-scale-tablet-landscape:     0.7;
	
	/* Aktiver Faktor: Content-Bilder */
	--content-image-scale:						var(--content-image-scale-desktop);
	
	/* Daraus berechnete Darstellungsgröße: Content-Bilder */
	--content-image-width:						calc(var(--content-image-stage-width) * var(--content-image-scale));
	--content-image-height:						calc(var(--content-image-stage-height) * var(--content-image-scale));

	/* Horizontaler Bild-Offset pro Breakpoint; Landscape benötigt eigene Positionierung wegen schmaler Lesespalte: Content-Bilder */
	--content-image-offset-x-desktop:			4px;
	--content-image-offset-x-mobile-portrait:	4px;
	--content-image-offset-x-mobile-landscape:	170px;
	--content-image-offset-x-tablet-portrait:	4px;
	--content-image-offset-x-tablet-landscape:  4px;
	
	/* Aktiver Offset: Content-Bilder */
	--content-image-offset-x:					var(--content-image-offset-x-desktop);
	
	/* Profilbild: feste Breite */
	--profilbild-width:							160px;
	
	/* Piktogramm: feste Breite */
	--piktogramm-width:							85px;
	
	/* Scroll-Offset für sticky Header */
	--scroll-margin-top:						150px;


	/* --- 3.5 Inhaltsnavigation und Aktionslinks --- */
	/* ---------------------------------------------- */
	
	/* Inhaltsnavigation und Aktionslinks */
	--content-link-size:			var(--type-p);
	--content-link-color:			var(--gray-mid);
	--content-link-hover-color:		var(--brand-primary);
	--content-link-line-color:		var(--brand-secondary);
	--content-link-line-width:		1px;
	--content-link-line-offset:		1px;
	
	/* --- 3.6 Footer --- */
	/* ------------------ */
	
	--pad-footer-v:						26px;
	--pad-footer-mobile:				14px;   /* Footer horizontal: Mobile Portrait  */
	--pad-footer-mobile-landscape:		24px;   /* Footer horizontal: Mobile Landscape */
	--pad-footer-tablet-landscape:		30px;


	/* ================================================= */
	/* 04 – TECHNISCHE UND AUSGABEBEZOGENE EINSTELLUNGEN */
	/* ================================================= */


	/* --- 4.1 Breakpoints (Dokumentation) --- */
	/* --------------------------------------- */	
	
	/* Breakpoints (nur zur Dokumentation, nicht als var() nutzbar in @media) */
	/* --bp-mobile:  600px  */
	/* --bp-tablet:  900px  */


	/* --- 4.2 Druckdarstellung --- */
	/* ---------------------------- */
	--print-color: #000000;

}



/* =================================================
   05 – SEITENSPEZIFISCHE KEY VISUALS
   ================================================= */


/* Startseite */
body#home {
    --keyvisual-top: url("/images/keyvisual_home_top.png");
    --keyvisual-bottom: url("/images/keyvisual_home_bottom.png");
}

/* Über mich */
body#ueber_mich {
    --keyvisual-top: url("/images/keyvisual_ueber_mich_top.png");
    --keyvisual-bottom: url("/images/keyvisual_ueber_mich_bottom.png");
}

/* Kontakt */
body#kontakt {
    --keyvisual-top: url("/images/keyvisual_kontakt_top.png");
    --keyvisual-bottom: url("/images/keyvisual_kontakt_bottom.png");
}

/* Impressum */
body#impressum {
    --keyvisual-top: url("/images/keyvisual_impressum_top.png");
    --keyvisual-bottom: url("/images/keyvisual_impressum_bottom.png");
}

/* Datenschutz */
body#datenschutz {
    --keyvisual-top: url("/images/keyvisual_datenschutz_top.png");
    --keyvisual-bottom: url("/images/keyvisual_datenschutz_bottom.png");
}

/* 404 */
body[id="404"] {
    --keyvisual-top: url("/images/keyvisual_404_top.png");
    --keyvisual-bottom: url("/images/keyvisual_404_bottom.png");
}


/* =================================================
   06 – DARKMODE                                    
   ================================================= */

/* --- 6.1 Darkmode Farbvariablen --- */
/* ---------------------------------- */

@media (prefers-color-scheme: dark) {

    :root:not([data-theme]) {

        color-scheme: dark;

        /* Markenfarben */
        --brand-primary:    #A0C5AD;
        --brand-secondary:  #83AD95;
        --brand-accent:     #D5B66F;
        --brand-success:    #64A98A;
        --brand-danger:     #D47A7A;

        /* Grautöne */
        --gray-dark:        #E4EAEC;
        --gray-mid:         #B0BEC3;
        --gray-light:       #526168;
        --gray-bullet:      #AAB6BA;

        /* Allgemeine Hintergrundfarben */
        --bg-main:          #202B30;
        --bg-hero:          #29383E;
        --bg-content:       #29383E;
        --bg-header:        #263A31;
        --bg-white:         #34464D;

        /* Semantische Infobox-Hintergründe */
        --bg-blue:          #304653;
        --bg-green:         #293F37;
        --bg-red:           #493438;
        --bg-orange:        #493E2E;

        /* Allgemeine Überschriftenfarbe */
        --heading-dark:     #E4EAEC;

        /* Semantische Infobox-Überschriften */
        --heading-neutral:  #E4EAEC;
        --heading-blue:     #A8C9DD;
        --heading-green:    #A8C9B0;
        --heading-red:      #E0A5A5;
        --heading-orange:   #E3C18E;

        /* Claim */
        --claim-color:      #AAB6BA;
		
		/* Navigation – inaktive Links */
		--navi-link-color:	#89968F;

        /* Rahmen und Trennlinien */
        --border-color:     #526168;
        --hr-color:         #65777A;

    }

}


/* --- 6.2 Manueller Darkmode --- */
/* ---------------------------------- */

:root[data-theme="dark"] {

    color-scheme: dark;

    /* Markenfarben */
    --brand-primary:    #A0C5AD;
    --brand-secondary:  #83AD95;
    --brand-accent:     #D5B66F;
    --brand-success:    #64A98A;
    --brand-danger:     #D47A7A;

    /* Grautöne */
    --gray-dark:        #E4EAEC;
    --gray-mid:         #B0BEC3;
    --gray-light:       #526168;
    --gray-bullet:      #AAB6BA;

    /* Allgemeine Hintergrundfarben */
    --bg-main:          #202B30;
    --bg-hero:          #29383E;
    --bg-content:       #29383E;
    --bg-header:        #263A31;
    --bg-white:         #34464D;

    /* Semantische Infobox-Hintergründe */
    --bg-blue:          #304653;
    --bg-green:         #293F37;
    --bg-red:           #493438;
    --bg-orange:        #493E2E;

    /* Allgemeine Überschriftenfarbe */
    --heading-dark:     #E4EAEC;

    /* Semantische Infobox-Überschriften */
    --heading-neutral:  #E4EAEC;
    --heading-blue:     #A8C9DD;
    --heading-green:    #A8C9B0;
    --heading-red:      #E0A5A5;
    --heading-orange:   #E3C18E;

    /* Claim */
    --claim-color:      #AAB6BA;
	
	/* Navigation – inaktive Links */
	--navi-link-color:	#89968F;

    /* Rahmen und Trennlinien */
    --border-color:     #526168;
    --hr-color:         #65777A;

}


/* Manuell gewählter Hellmodus */

:root[data-theme="light"] {
    color-scheme: light;
}
